| yuliang's profileYuliangPhotosBlogLists | Help |
|
26 April Allow people share what they want to share!Remember the app you designed should allow people to create and upload content. Allow them to share content online. Allow them to search for content. Allow them to discuss about the content. Allow them to buy and sell. Allow people to personalize and create a particular context! 18 April I finally pick this blog up againTrying to mark you idea in english.
Long time no meet live's blog, she goes more beautiful and makes me remember the things happened at the time when I last time meet her . 20 January JAVA开发者应该去的20个英文网站zzJava开发者年鉴一书的在线版本. 要想快速查到某种Java技巧的用法及示例代码, 这是一个不错的去处. http://www.onjava.com O'Reilly的Java网站. 每周都有新文章 http://java.sun.com 官方的Java开发者网站 - 每周都有新文章发表 http://www.developer.com/java 由Gamelan.com 维护的Java技术文章网站 http://www.java.net Sun公司维护的一个Java社区网站 http://www.builder.com Cnet的Builder.com网站 - 所有的技术文章, 以Java为主. http://www.ibm.com/developerworks/java IBM的Developerworks技术网站; 这是其中的Java技术主页 http://www.javaworld.com 最早的一个Java站点. 每周更新Java技术文章 http://www.devx.com/java DevX维护的一个Java技术文章网站 http://www.fawcette.com/javapro JavaPro在线杂志网站. http://www.sys-con.com/java Java Developers Journal的在线杂志网站. http://www.javadesktop.org 位于Java.net的一个Java桌面技术社区网站. http://www.theserverside.com 这是一个讨论所有Java服务器端技术的网站. http://www.jars.com 提供Java评论服务. 包括各种framework和应用程序 http://www.jguru.com 一个非常棒的采用Q&A形式的Java技术资源社区. http://www.javaranch.com 一个论坛,得到Java问题答案的地方,初学者的好去处。 http://www.ibiblio.org/javafaq/javafaq.html comp.lang.java的FAQ站点 - 收集了来自comp.lang.java新闻组的问题和答案的分类目录. http://java.sun.com/docs/books/tutorial/ 来自SUN公司的官方Java指南 - 对于了解几乎所有的java技术特性非常有帮助. http://www.javablogs.com 互联网上最活跃的一个Java Blog网站. http://java.about.com/ 来自About.com的Java新闻和技术文章网站. 12 January Simple Java Socket zzimport java.net.*;
import java.io.*;
import java.lang.*;
public class myserver{
public static void main(String args[]){
ServerSocket server;
Socket socket;
String s;
InputStream Is;
OutputStream Os;
DataInputStream DIS;
PrintStream PS;
try{
//在端口4321注册服务
server=new ServerSocket(4321);
socket=server.accept(); //监听窗口,等待连接
System.out.println("server ok");
System.out.println("************************************************");
System.out.println("");
//获得对应Socket的输入/输出流
Is=socket.getInputStream();
Os=socket.getOutputStream();
//建立数据流
DIS=new DataInputStream(Is);
PS=new PrintStream(Os);
DataInputStream in=new DataInputStream(System.in);
while(true){
System.out.println("");
System.out.println("please wait client's message...");
System.out.println("");
s=DIS.readLine(); //读入从client传来的字符串
System.out.println("client said:"+s); //打印字符串
if(s.trim().equals("BYE"))break; //如果是"BYE",就退出
System.out.print("you say:");
s=in.readLine(); //读取用户输入的字符串
PS.println(s); //将读取得字符串传给client
if(s.trim().equals("BYE"))break; //如果是"BYE",就退出
}
//关闭连接
DIS.close(); //关闭数据输入流
PS.close(); //关闭数据输出流
Is.close(); //关闭输入流
Os.close(); //关闭输出流
socket.close(); //关闭sockey
}
catch(Exception e){
System.out.println("Error:"+e);
}
}
}
通话器客户端
import java.net.*;
import java.io.*;
import java.lang.*;
public class myclient{
public static void main(String args[]){
if (args.length 11 January It is a good day todayTime run away as the light shine through the space.I have been ZJU for nearly nine half years.
I clear remember the day when the first time I go to this university.It is also a sunshine day.compare with today,that day feel more uncomfortable.the weather today is so good that make me so gready.I want go out for some opening games,such like football,basketball,tennis,eg.
but it is exam time . Friends are all busy in preparing with the exams.Few people like me have the luck to enjoy the good weather.Nowtime I am thinking about how to spend this great afternoon. going out for a walk with a pretty girl,watching TVB,or just reading interesting books under the sunshine? All things can be interesting benefit the good weather.Let's go. Enjoying the great world under the great time. 25 December Christmas DayIt is raining outside but not very cold.i got up early at 9 o'clock,do some washing
and play computer which is the most thing i do everyday.tomorrow i must go class to finish the project what is an fking work must do out of my interests.those days i finish much work upon linux which is follow the lincese of GNU,a opensource project which lead the world software developing with a exciting way.days ago i have got my graduate project which is very interesting ,it combine robot,java,c,xml,control,mechatronics .it is a huge project needs many people's effort to finish or even develop the project.
sorry supper time now.
to be continued 24 December matlab introductionWhat Is MATLAB? MATLAB® is a high-performance language for technical computing. It integrates computation, visualization, and programming in an easy-to-use environment where problems and solutions are expressed in familiar mathematical notation. Typical uses include Math and computation Algorithm development Data acquisition Modeling, simulation, and prototyping Data analysis, exploration, and visualization Scientific and engineering graphics Application development, including graphical user interface building MATLAB is an interactive system whose basic data element is an array that does not require dimensioning. This allows you to solve many technical computing problems, especially those with matrix and vector formulations, in a fraction of the time it would take to write a program in a scalar noninteractive language such as C or Fortran. The name MATLAB stands for matrix laboratory. MATLAB was originally written to provide easy access to matrix software developed by the LINPACK and EISPACK projects. Today, MATLAB engines incorporate the LAPACK and BLAS libraries, embedding the state of the art in software for matrix computation. MATLAB has evolved over a period of years with input from many users. In university environments, it is the standard instructional tool for introductory and advanced courses in mathematics, engineering, and science. In industry, MATLAB is the tool of choice for high-productivity research, development, and analysis. MATLAB features a family of add-on application-specific solutions called toolboxes. Very important to most users of MATLAB, toolboxes allow you to learn and apply specialized technology. Toolboxes are comprehensive collections of MATLAB functions (M-files) that extend the MATLAB environment to solve particular classes of problems. Areas in which toolboxes are available include signal processing, control systems, neural networks, fuzzy logic, wavelets, simulation, and many others. The MATLAB SystemThe MATLAB system consists of five main parts: Development Environment. This is the set of tools and facilities that help you use MATLAB functions and files. Many of these tools are graphical user interfaces. It includes the MATLAB desktop and Command Window, a command history, an editor and debugger, and browsers for viewing help, the workspace, files, and the search path. The MATLAB Mathematical Function Library. This is a vast collection of computational algorithms ranging from elementary functions, like sum, sine, cosine, and complex arithmetic, to more sophisticated functions like matrix inverse, matrix eigenvalues, Bessel functions, and fast Fourier transforms. The MATLAB Language. This is a high-level matrix/array language with control flow statements, functions, data structures, input/output, and object-oriented programming features. It allows both "programming in the small" to rapidly create quick and dirty throw-away programs, and "programming in the large" to create large and complex application programs. Graphics. MATLAB has extensive facilities for displaying vectors and matrices as graphs, as well as annotating and printing these graphs. It includes high-level functions for two-dimensional and three-dimensional data visualization, image processing, animation, and presentation graphics. It also includes low-level functions that allow you to fully customize the appearance of graphics as well as to build complete graphical user interfaces on your MATLAB applications. The MATLAB Application Program Interface (API). This is a library that allows you to write C and Fortran programs that interact with MATLAB. It includes facilities for calling routines from MATLAB (dynamic linking), calling MATLAB as a computational engine, and for reading and writing MAT-files. |
|||
|
|