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

 PROGRAMMING


  C++ for the Real-Time Web

C++? Why on Earth?C++ seems like one of the least likely languages to write a web application in.C++ is associated with complexity, both with language design and the need tomanually manage memory. Programming in C++ unleashes a whole class of bugsassociated with memory corruption and memory allocation. This is a trade off forgiving more power to the developer along generally being much faster thanequivalent programs in languages such as Python or Ruby.Real-time Web as a Use CaseMaking a hard real-time application1 onthe web is a futile task. Unpredictable network latencies make this animpossib...

3,995 0       C++ WEB DEVELOPMENT REAL TIME


  Why I love Common Lisp and hate Java

“Common what?” is a common reply I get when I mention Common Lisp. Perhaps rightly so, since Common Lisp is not all that common these days.Developed in the sixties, it is one of the oldest programming languages out there. In its heydays it was used mostly for Artificial Intelligence research at MIT, Stanford, Carnegie Mellon and the like, and therefore has a lingering association with AI. People not in AI shy away from Lisp. Common Lisp is a powerful and versatile programming language that can and should be used more often in other paradigms. It saddens me to see that Common L...

6,754 1       JAVA COMPARISON COMMON LISP LISP


  Let Your Programmers Be Silly

6ShareYou’re in the middle of a crazy startup development sprint. Pressure is sky high as you might have to fire everyone if you don’t generate significant traction over the next 4 months. Make it or #fail situation.The guys (I wish we’d have girls but … wait we have a student, anyway) are killing tickets and you’re pretty much on the target you’ve set with your investors. Not comfortably confident but ok.And you catch your guys debating, for multiple days, whether they should be using “n/a” or a slashed zero to represent a div by ...

2,211 0       PROGRAMMER STYLE WORK MANAGEMENT


  30-Minute Exercise to Become a Better Programmer

I believe that motivation is really important. That’s why from time to time I read books about time management (as they motivate me to be focused and continue evolve my TM-system) and books about software craftsmanship. The other day I finished one of this kind of books - “Apprenticeship Patterns: Guidance for the Aspiring Software Craftsman”. This book motivated me to think carefully what I want to invest my time in.Also, it coincided with my 25th birthday and, of course, the new year is coming in a few days. As you can imagine, all this stuff pushed me to reflect on my sk...

4,153 1       PROGRAMMER EXERCISE SKILL REQUIREMENTS


  How Many Hours Can a Programmer Program?

I am a little late to this party where Michael Arrington says that startups mean working hard and sleeping under your desk. But I will add a few words. I read a lot of commentary about how such death marches can be counter-productive and ultimately unsuccessful, and also the real dangers they pose to the well-being (short-term and long-term) of the lives of the programmers. But I didn’t see many people actually do a quantitative analysis. So here it is.Your average working day is 8 hours and the average week has 40 hours. Now,  in the absolute best case (unworldly) scenar...

4,189 0       PROGRAMMER EFFICIENCY WORKING HOUR


   Move.Me Writing Your Own WebSocket Server

The WebSocket protocol has applications beyond plain vanilla web development.  I will explain how the protocol works, how to implement your own server and share some insights I had along the way. Before we get down and dirty, I will explain what I’ve been doing with it.At this point I expect many of you are saying “I’m not working on a web game this doesn’t seem relevant to me.” Well, neither am I. I embed a WebSocket server into my game engine and with a local web application use the WebSocket protocol as a medium to control, configure and monitor my game...

8,079 0       SOCKET NETWORKING WEBSOCKET SERVER DEVELOPMENT


  The Hungry Programmer

Programming is a lot like eating.Tonight I was hungry. I wasn't at home. I couldn't go to the kitchen for a snack. I looked around and saw only McDonald's across the street.Then I was struck with the same dilemma that I face whenever I leave the comfort of my own home for any decent spread of time: Do I eat crappy food now and satisfy that hunger? Or do I stay hungry for a little longer and eat a healthy meal back at home?As I pondered this dilemma I couldn't help but notice how much it relates to code quality. But more about food first.I can only speak for myself, but I do not consider a McDo...

2,372 0       PROGRAMMER CODER CODING HUNGRY


  C Preprocessor Hell

Lisp programmers should stop reading right now because they'll likely suffer severe injury of the jaw muscles as they laugh themselves silly at how hard it is to do some things in C. The C language has a pre-processor (typically called cpp) that is both infuriating and powerful. How powerful is usually best described as 'just too little' and it has happened more than once that I found myself almost - but not quite - able to do what I wanted to do.The frustration can run very deep at times like these. Recently I had another battle with the C pre-processor to write a set of macros to accompl...

5,716 0       C PREPROCESSOR LISP HELL