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

SEARCH KEYWORD -- Change



  Comparing Floating Point Numbers, 2012 Edition

We’ve finally reached the point in this series that I’ve been waiting for. In this post I am going to share the most crucial piece of floating-point math knowledge that I have. Here it is:[Floating-point] math is hard.You just won’t believe how vastly, hugely, mind-bogglingly hard it is. I mean, you may think it’s difficult to calculate when trains from Chicago and Los Angeles will collide, but that’s just peanuts to floating-point math.Seriously. Each ti...

   Floating point number,Comparison,True value     2012-02-23 07:11:03

  Why Programmers don’t have a High Social Status?

Up to date there is No single street name for a top programmer or computer scientist in any of the Top 20 most developed countries in the world during the last 60 years. There is no statue built in the center of a major city for a renown programmer or computer scientists. No “Presidential Medal” or “Congressional Gold Medal” has been awarded to a computer scientists or programmer. There is no nationally televised social reward ceremony for computer programmers and scie...

   Propgrammer,Social status,Remember,Achievement     2012-01-04 02:43:05

  Why Memorizing is Ineffective

The information-age has burst into life, creating a wake of social change. Young people are growing up faster and more sophisticated, as raw information, tailored-entertainment, and branded-marketing are streamed into their rooms. But this technological exposure has not necessarily made them savvier or more capable of handling tomorrow’s challenges.The debates in public education over “school-choice” and standardized testing have missed the far more important issue. The real c...

   Memory,Memorization,Ineffective,Career     2011-11-19 02:13:41

  Cache them if you can

“The fastest HTTP request is the one not made.” I always smile when I hear a web performance speaker say this. I forget who said it first, but I’ve heard it numerous times at conferences and meetups over the past few years. It’s true! Caching is critical for making web pages faster. I’ve written extensively about caching: Call to improve browser caching(lack of) Caching for iPhone Home Screen AppsRedirect caching deep diveMobile cache file sizesImproving app ...

   Cache,HTTP request,Websiite     2012-03-27 12:54:02

  5 Reasons to Join a Startup After Graduating

After I wrote my last post, a surprising number of people emailed me asking why I decided to join a startup after graduating from Duke. Many of those I heard from face similar decisions today: either they are college seniors choosing between a big company and a startup, or they are recent graduates who work at a big company and are thinking about making the switch. What’s interesting is that most are already leaning towards the startup career path: it seems they just want someone to ...

   Startup,Graduation,Work,Advice,Passion,Learn     2011-11-23 08:12:13

  The Go Pointer Magic

Go is a language with the pointer type, by which we can Pass pointer into a function and update value in-place. Add methods to a struct as (* T) A, which is different from (T) A(). However, the pointer is type-safe in Go, meaning that there are such restrictions of the pointer. Different types of pointers are unconvertible. Pointer type cannot be used for calculation. Pointer types cannot be compared, either == nor !=. No mutual assignment between different pointer-...

   GOLANG,POINTER,UNSAFE     2021-10-03 02:18:57

  JavaScript is now a necessity

I've long looked at JavaScript as a second-class citizen in the programming world. Early on, it was the source of numerous security problems; it was a nice bit of glue to patch together HTML applications with a bit of styling, but nobody would use it for serious code; and so forth. Java, Ruby, Python, they were the languages for doing real work. But my attitude toward JavaScript has changed completely in the past few years. JavaScript has "grown up." I'm sure there are many JavaScript dev...

   JavaScript,HTML5,Necessary,Client langua     2011-06-24 00:50:14

  For Google CEO Larry Page, a Difficult Premiere Role

When Google Inc. co-founder Larry Page announced that he would take over as chief executive earlier this year, he promised that he would shake up the Internet search giant to speed up decision making. Instead, much of the shaking up has happened to the new CEO.Challenges have piled up for Mr. Page since he assumed his post in April. They include a broad U.S. antitrust probe of the company's practices; the settlement of a long-running criminal investigation into Google's adver...

   Google,CEO,Lary Page,Motorola,Role     2011-08-31 08:55:43

  20 bit operations programmers should know

While talking about bit operation, programmers usually think about its efficiency. In embedded programming and system core optimization, appropriate use of bit operations is always a fascinating. When finding a job, it will help you a lot if you use bit operations when writing codes. Mastering simple bit arithmetic skills is necessary. 1. Get maximum int value int getMaxInt(){           return (1 << 31) - 1;//...

   Bit operation, Tips     2012-12-19 12:53:33

  Thoughts on Python 3

I spent the last couple of days thinking about Python 3's current state a lot. While it might not appear to be the case, I do love Python as a language and especially the direction it's heading in. Python has been not only part of my life for the last couple of five years, it has been the largest part by far. Let there be a warning upfront: this is a very personal post. I counted a hundred instances of a certain capital letter in this text. That's because I am very grateful for all the opport...

   Python,Python 3,Feature,Drawback,Embrace     2011-12-07 08:46:47