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

 PROGRAMMING


  High performance web apps with C++

It is Christmas over here, and it is time of giving. So I decided to give something back to the community. I guess this is as old as web programming itself. Trying to create C++ web framework. If you search on the web, you can find dozen of guys that had exactly the same idea. I am not different. For one of the previous projects(discontinued now) I created simple web framework in C++. If you like to hack in C++, here it is. Code is provided as-is, as part of larger application. You can extract framework code itself, use only some portions of it, or use whole application, if you like. I do not ...

2,411 0       C++ WEB APPS WEB FRAMEWORK


  Interview Programming Problems Done Right

IntroductionWhy 37signals Doesn't Hire Programmers Based on Brainteasers and my comment on HN generated a lot of responses, so much so that I'm writing this post to properly explain the essence of a good (IMHO) interview programming problem.Pascal's TrianglePascal's Triangle is a shortcut for getting coefficients most often used binomial probability. The root element is 1. Every other element is the sum of the one or two above it (diagonally left and diagonally right).There are several variations of the problem:Print out the triangle to a specific row;Return a given row of the triangle;Return ...

2,505 0       INTERVIEW PROGRAMMING PROBLEM PASCAL TRIANGLE


  10 reasons why Dart is cooler than JavaScript

Dart is a new programming language from Google and after coding JavaScript for over one year now, I immediately felt in love with it. Coming from the Java world I had a good bunch of things I had to learn before I could use JavaScript.Some people say, you need to dig deep into JavaScript, otherwise you are not allowed to speak about the pros and cons of a language. I am not a JavaScript Ninja. But I strongly believe a programming language should be easy to learn, easy to understand and should be consequent in terms of language constructs. Even after all the long time I dealt with JavaScripts w...

2,874 0       DART JAVASCRIPT COMPARISON


  Learning Go

This year I'm going to try a new programming language - Go. I had this notion that compiled, type based languages are overly complex and reduces developer efficiency. However, after doing some reading about Go, it appeared to take a different path from the rest and felt like something worth trying.Acquainting a programming language is a journey. First few steps you take with it will define your perception about it. These first few steps went well for me with Go and it felt like a good fit for my repertoire. I thought of sharing my learning experience, hoping it will help others who w...

2,244 0       GOOGLE LEARNING GO RESOURCE


  Could coding be the next mass profession?

Like farming was in the 17th century, factory work during the industrial revolution, construction during the Great Depression, and manufacturing after World War II. Better, because writing code is a creative act which can be done with or without a traditional (antiquated?) office-based job, and can create enormous personal and economic value.Most young people start in jobs that don’t have much of a future. Most don’t get higher education – only a third get any advanced degree. In the past, students who missed out on a higher education learned vocational skil...

2,711 0       CODER LEARNING TRAINING PROFESSION


  Never create Ruby strings longer than 23 characters

Looking at things through a microscopesometimes leads to surprising discoveriesObviously this is an utterly preposterous statement: it’s hard to think of a more ridiculous and esoteric coding requirement. I can just imagine all sorts of amusing conversations with designers and business sponsors: “No… the size of this <input> field should be 23… 24 is just too long!” Or: “We need to explain to users that their subject lines should be less than 23 letters…” Or: “Twitter got it all wrong… the 140 limit should have been 23!â€...

2,434 0       RUBY OPTIMIZATION SPECIFICATION STRING INTERPRETER 23


  A Programming Idiom You've Never Heard Of

Here are some sequences of events:Take the rake out of the shed, use it to pile up the leaves in the backyard, then put the rake back in the shed.Fly to Seattle, see the sights, then fly home.Put the key in the door, open it, then take the key out of the door.Wake-up your phone, check the time, then put it back to sleep.See the pattern? You do something, then do something else, then you undo the first thing. Or more accurately, the last step is the inverse of the first. Once you're aware of this pattern, you'll see it everywhere. Pick up the cup, take a sip of coffee, put the cup down. And it'...

2,926 0       PROGRAMMING IDIOM STRANGE


  Collection Of Puzzles For Programmers

Did you know that we have a nice collection of puzzles here on less than dot? Some are harder than others so there is something for everyone. You can pic any language you want, you will see that there are solutions in Ruby, Python, Visual Basic, SQL, JavaScript, C++ and other.Here is a partial list of what we have Friday the ThirteenthsThe goal is to identify all friday the thirteenths for a given timeframeRegular PentagonGiven a grid co-ordinate (x,y) as the centre point of a regular pentagon, and the sum of the length of the sides, return the co-ordinates of each point as: "Top", "MidLeft",...

4,625 0       ASCII PROGRAMMING PUZZLE FIBONACCI PRIME