Topics /

Software Engineering

The most popular blog posts about software engineering on Hacker News. 21,845 posts.

Any year
21392

Merging vs. Rebasing

Compare git rebase with the related git merge command and identify all of the potential opportunities to incorporate rebasing into the typical Git workflow

21402

Aligning Language Models to Follow Instructions

We’ve trained language models that are much better at following user intentions than GPT-3 while also making them more truthful and less toxic, using techniques developed through our alignment research. These InstructGPT models, which are trained with humans in the loop, are now deployed as the default language models…

21404

Pimping out git log

I got playing with git log and ended up creating this alias: [alias] lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative Which adds a git lg command that is a prettier version of git log --oneline.

21407

Beating the Averages (2001)

April 2001, rev. April 2003 (This article is derived from a talk given at the 2001 Franz Developer Symposium.) In the summer of 1995, my friend Robert Morris and I started a startup called Viaweb . Our plan was to write software that would let end users build online stores. What was novel about this software, at the…

21415

Code Reuse in Google Chrome Browser

As everyone already knows, Google released a new open-source web browser called Chrome. Having interest in code reuse, I downloaded the source code and examined all the open-source libraries used. Google Chrome browser shows excellent example of code reuse. I found that they use at least 25 different software...

21419

Django tip: Caching and two-phased template rendering

We've launched user accounts at EveryBlock , and we faced the interesting problem of needing to cache entire pages except for the "You're logged in as [username] " bit at the top of the page. For example, the Chicago homepage takes a nontrivial amount of time to generate and doesn't change often -- which means we want…