The objective of this project is to explore the possibility of using X-10 and LabVIEW to control the device in the house. Based on the serial port communication of LabVIEW, the X-10 module can be programmed by using t...The objective of this project is to explore the possibility of using X-10 and LabVIEW to control the device in the house. Based on the serial port communication of LabVIEW, the X-10 module can be programmed by using the X-10 commands. Through the power line, all the devices connected to the socket will be controlled. Without replacing the existing wire, it must be an easy control system for the user who has no experience in electronics or communication engineering. Actually, this is a quite practical X-10 home automation system.展开更多
Problem solving is an important skill for a computer scientist.Mindstorm based robots have been used previously,for teaching programming to computing and engineering students here we look at problem solving.These appr...Problem solving is an important skill for a computer scientist.Mindstorm based robots have been used previously,for teaching programming to computing and engineering students here we look at problem solving.These approaches focus upon the development of problem solving skills and not on learning a new programming language from the outset.Therefore,initially,any programming is kept simple with the minimum of commands,with 'objects' unknowingly used,as these are later introduced/learnt during the programming stage of the computing module.This work suggests that using LEGO robots within the teaching of problem solving and the resulting java GUI emulation has some benefits for the students when learning to program.展开更多
Ancestry composition of populations and individuals has been extensively investigated in recent years due to advances in the genotyping and sequencing technologies. As the number of populations and individuals used fo...Ancestry composition of populations and individuals has been extensively investigated in recent years due to advances in the genotyping and sequencing technologies. As the number of populations and individuals used for ancestry inference increases remarkably, say more than 100 populations or 1000 individuals, it is usually challenging to present the ancestry composition in a traditional way using a rectangular graph. To address this issue, we developed a program,AncestryPainter, which can illustrate the ancestry composition of populations and individuals with a rounded and nice-looking graph to save space. Individuals are depicted as length-fixed bars partitioned into colored segments representing different ancestries, and the population of interest can be highlighted as a pie chart in the center of the circle plot. In addition, AncestryPainter can also be applied to display personal ancestry in a way similar to that for displaying population ancestry.AncestryPainter is publicly available at http://www.picb.ac.cn/PGG/resource.php.展开更多
Alias – Wavefront OBJ meshes are a common text file type for transferring 3D mesh data between applications made by different vendors.However, as the mesh complexity gets higher and denser, the files become larger an...Alias – Wavefront OBJ meshes are a common text file type for transferring 3D mesh data between applications made by different vendors.However, as the mesh complexity gets higher and denser, the files become larger and slower to import.This paper explores the use of GPUs to accelerate the importing and parsing of OBJ files by studying file read-time, runtime, and load resistance. We propose a new method of reading and parsing that circumvents GPU architecture limitations and improves performance, seeing the new GPU method outperforms CPU methods with a 6×– 8× speedup. When running on a heavily loaded system, the new method only received an 80% performance hit, compared to the160% that the CPU methods received. The loaded GPU speedup compared to unloaded CPU methods was3.5×, and, when compared to loaded CPU methods,8×. These results demonstrate that the time is right for further research into the use of data-parallel GPU acceleration beyond that of computer graphics and high performance computing.展开更多
In this paper,an improved graphic representation for Structured Program Design——N-S-Z (Nassi-Shneiderman-Zhou Diagram)is proposed.It not only preserves the advantages of the conventional graphic and non-graphic repr...In this paper,an improved graphic representation for Structured Program Design——N-S-Z (Nassi-Shneiderman-Zhou Diagram)is proposed.It not only preserves the advantages of the conventional graphic and non-graphic representations,but also adds some new features which will enhance the representa- tive power of the original diagram.展开更多
文摘The objective of this project is to explore the possibility of using X-10 and LabVIEW to control the device in the house. Based on the serial port communication of LabVIEW, the X-10 module can be programmed by using the X-10 commands. Through the power line, all the devices connected to the socket will be controlled. Without replacing the existing wire, it must be an easy control system for the user who has no experience in electronics or communication engineering. Actually, this is a quite practical X-10 home automation system.
文摘Problem solving is an important skill for a computer scientist.Mindstorm based robots have been used previously,for teaching programming to computing and engineering students here we look at problem solving.These approaches focus upon the development of problem solving skills and not on learning a new programming language from the outset.Therefore,initially,any programming is kept simple with the minimum of commands,with 'objects' unknowingly used,as these are later introduced/learnt during the programming stage of the computing module.This work suggests that using LEGO robots within the teaching of problem solving and the resulting java GUI emulation has some benefits for the students when learning to program.
基金supported by the Strategic Priority Research Program (Grant No. XDB13040100)Key Research Program of Frontier Sciences (Grant No. QYZDJ-SSWSYS009) of the Chinese Academy of Sciences+5 种基金the National Natural Science Foundation (Grant Nos. 91731303,31771388, and 31711530221)the National Science Fund for Distinguished Young Scholars (Grant No. 31525014)the Program of Shanghai Academic Research Leader (Grant No. 16XD1404700)the National Key R&D Program (Grant No. 2016YFC0906403)the Shanghai Municipal Science and Technology Major Project (Grant No. 2017SHZDZX01), Chinathe support of the ‘‘Ten-Thousand Talents” Program for Young Top-notch Talents, China
文摘Ancestry composition of populations and individuals has been extensively investigated in recent years due to advances in the genotyping and sequencing technologies. As the number of populations and individuals used for ancestry inference increases remarkably, say more than 100 populations or 1000 individuals, it is usually challenging to present the ancestry composition in a traditional way using a rectangular graph. To address this issue, we developed a program,AncestryPainter, which can illustrate the ancestry composition of populations and individuals with a rounded and nice-looking graph to save space. Individuals are depicted as length-fixed bars partitioned into colored segments representing different ancestries, and the population of interest can be highlighted as a pie chart in the center of the circle plot. In addition, AncestryPainter can also be applied to display personal ancestry in a way similar to that for displaying population ancestry.AncestryPainter is publicly available at http://www.picb.ac.cn/PGG/resource.php.
文摘Alias – Wavefront OBJ meshes are a common text file type for transferring 3D mesh data between applications made by different vendors.However, as the mesh complexity gets higher and denser, the files become larger and slower to import.This paper explores the use of GPUs to accelerate the importing and parsing of OBJ files by studying file read-time, runtime, and load resistance. We propose a new method of reading and parsing that circumvents GPU architecture limitations and improves performance, seeing the new GPU method outperforms CPU methods with a 6×– 8× speedup. When running on a heavily loaded system, the new method only received an 80% performance hit, compared to the160% that the CPU methods received. The loaded GPU speedup compared to unloaded CPU methods was3.5×, and, when compared to loaded CPU methods,8×. These results demonstrate that the time is right for further research into the use of data-parallel GPU acceleration beyond that of computer graphics and high performance computing.
文摘In this paper,an improved graphic representation for Structured Program Design——N-S-Z (Nassi-Shneiderman-Zhou Diagram)is proposed.It not only preserves the advantages of the conventional graphic and non-graphic representations,but also adds some new features which will enhance the representa- tive power of the original diagram.