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

SEARCH KEYWORD -- progress



  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 lang...

   AJAX,PHP,progress,long process,demo     2012-06-04 07:29:37

  A simple example on implementing progress bar in GoLang

Sometimes when handling a long running process, there would be need to track the progress so that people know something is still running instead of doubting something goes wrong. In this case, a progress bar which indicates the current status and progress would be desired. This post will show an example on how to implement progress bar using GoLang. Let's take a look at the final outcome first before jumping into the implementation detail. The key in the implementation is actually just the \r ...

   TUTORIAL,EXAMPLE,GOLANG,PROGRESS BAR     2020-08-08 23:53:15

  Use rsync to delete mass files quickly in Linux

Yesterday I encountered an issue to delete many log files in my Linux workstation, there were around 100,000 files to be deleted. These are log files and they grow very fast, and we need to delete them frequently. Usually we would use rm -rf * to delete these files, but we may need to wait for a relative long time if there are too many files. So we must adopt some unusual way. Fortunately, we can use rsync to delete mass files in one shot. 1. Install rsync yum install rsync 2. Create a new empty...

   rsync,delete file, demo     2012-11-13 10:44:50

  Create animated refresh button in Android

In Android, we can have drawings on a button, also we can put animated drawings on a button as well. Today we will show how to create an animated refresh button with an animated spinner on it. We need to create an animated drawing first. Here we name it as progress.xml and put it in the res/drawable folder: <?xml version="1.0" encoding="utf-8"?><animation-list xmlns:android="http://schemas.android.com/apk/res/android"    android:id="@+id/spin_refresh" android:oneshot="fal...

   Animation,Spinner,Refresh button,Android     2012-11-02 11:51:41

  ARE YOU LIKE ME? OR DO YOU HAVE DISCIPLINE?

If you are anything like me, you've started more things than you have finished. We're innately curious about the things around us and inspired when we come across people who have mastered their trade. We see people create cool and beautiful things and think, "Man, that looks easy, if I put in a little time I can do that in no time." What follows is a few days or weeks of focused and dedicated learning. During this time we make some progress, but not much. In fact, the progress that we do ma...

   Work,Learning,Effort,Detail,Complexity     2011-10-25 10:27:28

  Investing in myself: Realizing my value as a programmer

Being a programmer, you have an invaluable skill that you need to learn to harness. Investors realize this already which is why they’ll spend stacks of cash to have you build them something that’ll someday be profitable. Large corporations realize the value in good developers and sometimes bend over backwards trying to retain their top talent. To be able to program well is a skill that people clearly value but why do programmers tend to place such little value on their own ta...

   Career,Inverstment,Self,Software,Developer     2012-01-11 04:36:16

  File upload once again

File upload is one of the oldest operation of web design. After 20 years, it's still has no big change, difficult to handle, lack of interaction and poor user experience. Web developers have thought many methods to improve the experience of uploading file in web apps, they developed various plugins based on different JavaScript libraries. However, because of the difference among different web browsers, there is no common interface which makes these plugins work properly or easily on all web brow...

   Web design, File upload, Asynchronous,HTML5     2012-09-02 11:52:21

  XMLHttpRequest Level 2 user guide

XMLHttpRequest is a web browser interface, it makes it possible for JavaScript doing HTTP(s) communication. Microsoft's IE5 first introduced XMLHttpRequest, because it's so useful that many other browsers also adopted this. AJAX came to the front since. However, this interface is not standardized, implementation among different browsers is different, with the emerging of HTML5, W3C is considering to standardize this interface. In February 2008, they proposed a XMLHttpRequest Level 2 draft. This ...

   XMLHttpRequest, progress, upload, binary data     2012-09-19 11:51:50

  Jack Ma's interviews during Alibaba's IPO at NYSE

Alibaba has been listed on NYSE on 19 September. It becomes the largest IPO ever in the history of US stock exchange, larger than Facebook then the largest one. And after the trading closed on Friday, its share price closed at $93.89 per share, this makes it the second largest Internet company in the world following Google. Jack Ma, the founder of Alibaba, also becomes the richest person in China with a total wealth of $18.1 billion. He accepted interviews from different media during the IPO. Le...

   Alibaba,Interview,Jack Ma,IPO,Video     2014-09-20 20:09:27

  How Online Training Is Revolutionalizing The Corporate Landscape

Everything is transforming to the digital world. Be it a retail store or training of employees, irrespective of the industry, every business, and its aspect is finding its space online.  One of the major reasons for this transformation is the ease of accessibility. When you understand you don’t need to be at a certain place to get your training, you will be more interested. This convenience is what drives online training.  It is vital to keep conducting training programs for empl...

   EDUCATION,ELEARNING     2021-03-08 05:36:41