Today's Question:  What does your personal desk look like?        GIVE A SHOUT

 ALL


  What do people think about IE?

Browser war among major browsers is continuing for a long time since last century. Just a few years ago, Internet Explorer was the most used web browser. But now the situation is completely different, people are making fun of Internet Explorer and switching to other browsers. Today we share some jokes about Internet Explorer, it's just for fun, so grab a cup of coffee and sit down and enjoy.Hmm, is IE so slow?What gun is it?Hmm, I am still one step behindAnd I am lost.Hey, what is HTML5?I am on my own.Are parents still using this?Am I wrong? Everyone wants to be the default web browser.All ima...

60,551 59       CHROME IE JOKE


  How to reset root password in MySQL 8

The user password in MySQL is stored in the user table, the password reset is actually to change the value of record in this table. To change the password in case the password is forgotten, the idea is to bypass the authentication of MySQL and get into the system and update the record password value with SQL command.In MySQL 5, one can start MySQL service with --skip-grant-tables option, this option will tell the service to skip loading the grant tables when starting, hence the root user can login with empty password.mysqld –skip-grant-tables After login, can run below SQL command t...

60,106 5       MYSQL PASSWORD MYSQL 8


  Dart is to JavaScript as C# is to C++

Given the background of Lars Bak, the Google engineer whose V8 JavaScript interpreter upended Firefox's claim on speed, it was reasonable to suspect Google's new Web development language might look a lot like Smalltalk. But that might have taken the Web in a strange and different direction. Today, on the day of a Web developers' conference in Denmark, Google and members of the Chromium open source development team raised the curtain on Dart, the company's bid for a new and somewhat more structured approach to Web programming.Making Dart work will require a new virtual machine, which puts ...

59,403 0       DART GOOGLE JAVASCRIPT VIRTUAL MACHINE CHROMIUM


  PHP to get long running process progress dynamically

Frequently in web applications, we may have a request to the back end system which may trigger a long running process such as searching huge amount of data or a long running database process. Then the front end webpage may hang and wait for the process to be finished. During this process, if we can provide the user some information about the progress of the back end process, it may improve user experience. Unfortunately, in web applications, this seems not an easy task because web scripting languages don't support multithreading and HTTP is stateless.  We now can have AJAX to simulate rea...

59,314 10       PHP AJAX DEMO PROGRESS LONG PROCESS


  Meta tag in HTML header

In server response, we can use response.setHeader() to set the meta information in header of a HTML page. The usage is response.setHeader(name,context);meta is used to simulate the response header of HTTP protocol in HTML page. It should be put between the <head> and </head> tag.1. <meta name="Generator" content="" > <!--This is to specify the tool which generates this page such as Microsoft FrontPage 4.0 etc -->2. <meta name="keywords" content=""> <!-- To tell the search engine what keywords your page contains -->3.<meta name="description" content="">...

58,320 0       HTML HTTP META HEAD


  Read 10 new books from O'Reilly for free

Recently O'Reilly provided free access to some books. Some of them are even in early release status. Here we recommend 10 of them.1、Mastering Perl2、Git Pocket Guide3、Vagrant: Up and Running4、High Performance Browser Networking5、802.11ac: A Survival Guide6、Test-Driven Development with Python7、Interactive Data Visualization for the Web8、HTML5 Canvas9、Programming JavaScript Applications10、Agile DataSource : http://linuxtoy.org/archives/oreilly-new-books.html...

58,296 2       FREE BOOK EARLY RELEASE


  try { return } finally {}

Do you know what value will be printed when following program is ran?class Test { public int aaa() { int x = 1; try { return ++x; } catch (Exception e) { } finally { ++x; } return x; } public static void main(String[] args) { Test t = new Test(); int y = t.aaa(); System.out.println(y); }}And before answering the above question, do you have answers to following questions?If there is a return statement in try block, will the finally block be executed when the return is executed?If finally will be exe...

57,166 4       JAVA JAVA INTERVIEW QUESTION


  Generate certificate in Java -- Self signed certificate

This is the first post in this series which I will show you how to generate SSL certificate in Java programmatically. Certificates are frequently used in SSL communication which requires the authentication of server to client. This is to make the client to trust that the server is actually the one it claims. Certificates are really important on the Internet. All HTTPS communications on the Internet need the server side to present their certificates signed by trusted CAs.The basic flow of a request generation is that we first use some tool to generate the certificate request, this certificate r...

56,699 21       JAVA CERTIFICATE X509