New

The latest blog posts to take off on Hacker News. 80,912 posts.

Any topic
Any year
20972

APIs for content sites must be free

Social media businesses should not charge* for APIs. If a company like Reddit or Twitter derives most of its value from content that users write for free then it must provide APIs for anyone to download and manipulate that content. While an interactive API that enables third party applications is desirable, a simple…

20975

Dumb and Gets Things Done (2010)

Someone once asked Napoleon how he decided where to assign soldiers. Napoleon's reply was that it's simple: soldiers are either smart or dumb, lazy or energetic. The smart and energetic I make field commanders. They know what to do and can rally the troops to do it. The smart and lazy I make generals. They

20992

Text Editor Data Structures

Text editors can be an interesting challenge to program. The types of problems that text editors need to solve can range from trivial to mind-bogglingly difficult. Recently, I have been on something of a spiritual journey to rework some internal data structures in an editor I have been building, specifically the most…

20996

Rewriting the Ruby parser

At Shopify, we have spent the last year writing a new Ruby parser, which we’ve called YARP (Yet Another Ruby Parser). As of the date of this post, YARP can parse a semantically equivalent syntax tree to Ruby 3.3 on every Ruby file in Shopify’s main codebase, GitHub’s main codebase, CRuby, and the 100 most popular gems…

20997

NVD Damage Continued

There is something about having your product installed in over twenty billion instances all over the world and even out of the globe. In my case it helps me remain focused on and committed to working on the security aspects of curl. Ideally, we will never have our heartbleed moment. Security is also a generally ……