New
The latest blog posts to take off on Hacker News. 21,843 posts.
Python and the Real-time Web
I had interview for the Flask book recently and some questions were related to realtime functionality - how it works, how to integrate realtime portion with conventional WSGI applications, how to structure application code and so on.
OpenGL – OS X Mountain Lion vs. Mavericks
During Apple's WWDC 2013 keynote, the graphically-inclined may have noted "OpenGL 4" among OS X Mavericks' feature list. I was curious and decided to
Free "Lisp Hackers" Ebook
More than a year passed since I had started to publish a series of interviews with Lisp hackers . It was a great project, but I'm going to...
Prince Of Persia Code Review
On Apr 17, 2012 Jordan Mechner released the source code of Prince of Persia. Even though it is the Apple II version written in 6502 assembly language, it was a pleasant experience to dive in the code of that mythical game: As usual there were many fascinating sofware wizardries to discover. The Apple II apparent poor…
Two dozen mathematicians wrote a 600 page book in 6 months on GitHub
Since spring, and even before that, I have participated in a great collaborative effort on writing a book on Homotopy Type Theory. It is finally finished and ready for public consumption. You can get the book freely at http://homotopytypetheory.org/book/ . Mike Shulman has written about the contents of the book , so I…
What asm.js is and isn't
This is going to be a bit long, so tl;dr asm.js is a formalization of a pattern of JavaScript that has been developing in a natural way o...
Organizational Skills Beat Algorithmic Wizardry
It's not about technology for its own sake. It's about being able to implement your ideas.
On Scala
This is one of a series of posts on languages, you can read more about that here . Scala's blending of programming paradigms in a single language is impressive. It's fun to write code in and is a good language for leaning into the functional plus static typing paradigm. As much as I like
Functional JavaScript: Closure
After a seemingly endless journey , the publication of Functional JavaScript is complete and books have found their way into peoples’ homes. Below is a list of useful links related to the book:
LLVM 3.3 Released
This document contains the release notes for the LLVM Compiler Infrastructure, release 3.3. Here we describe the status of LLVM, including major improvements from the previous release, improvements in various subprojects of LLVM, and some of the current users of the code. All LLVM releases may be downloaded from the…
Automating Card Games Using OpenCV and Python
A friend introduced me to the game 24 , a simple game you can play with a deck of playing cards. Over the course of playing the game, I realized that either my friend was really good at this game, or that I wasn't!
Retiring Chrome Frame
The main goal of the Chromium project has always been to help unlock the potential of the open web. We work closely with the industry to st...
RethinkDB 1.6 is out: regex matching, new array operations, random sampling
This release includes regex string matching, fourteen new array operations, support for random sampling, error handling improvements, support for authentication keys, and over 65 bug fixes, features, and enhancements.
Beyond the default Rails environments
Rails ships with a default configuration for the three most common environments that all applications need: test, development, and production. That’s a great start, and for smaller apps, probably enough too. But for Basecamp, we have another three: Beta: For testing feature branches on rea…
New Werkzeug and Flask Releases
Update on the Flask 0.10 and Werkzeug 0.9 releases.
Edit your code in the cloud with bitbucket
Have you ever wanted to make a quick change to a file in a repository without having to clone it locally? You want to edit your code where it lives. Introducing the Bitbucket online editor: edit your code directly with Bitbucket – no command line, no cloning, no local editor. Edit any file, anywhere From Bitbucket…
Data Parallelism in Rust
Rust currently has very strong support for concurrency in the form of actors which exchange messages and do not share memory. However, there are many tasks for which actors are not a good fit. The unbounded lifetime of actors means that they cannot safely access stack-allocated memory from another task, even if it is…
Logic Programming is Underrated
Mark Engelberg wrote a very interesting post titled Logic Programming is Overrated . I take issue with a quite a few points made in that post and I would like to address a couple of them here.
Statically Recompiling NES Games into Native Executables with LLVM and Go
I have always wanted to write an emulator. I made a half-hearted attempt in college but it never made it to a demo-able state. I also didn't want to write Yet Another Emulator. It should at least bring something new to the table. When I discovered LLVM , I felt like I finally had worthwhile idea for a project.