New
The latest blog posts to take off on Hacker News. 49,258 posts.
When optimising code, never guess, always measure
This page has been Tagged As Software This is a truism that lots of people quote, but it can be hard to remember, especially in the heat of battle (as it were). Rather fortunately it came to mind just when needed, as I found something completely unexpected.
How the Go runtime implements maps efficiently without generics
This post discusses how maps are implemented in Go. It is based on a presentation I gave at the GoCon Spring 2018 conference in Tokyo, Japan.
“Prestudy”: Learning Chinese Through Reading
In May 2017, I sat and passed the Hanyu Shuiping Kaoshi Level 4. The HSK is a Mandarin Chinese proficency test similar to the TOEFL, and passing Level 4 mean...
UPDuino: a $9.99 FPGA
Create beautiful emails, automate campaigns, and track performance. Try it now and see how our tools can drive your business.
The Tools I Use to Write Books
This article has been translated into Russian: Полезные инструменты для написания книг Thank you Vlad!
“Stateless” sync using version vectors
Isolating cloud sync and persistent storage in an app architecture.
Maybe adding generics to Go is about syntax after all
This is a short response to the recently announced Go 2 generics draft proposals
Measuring context switching and memory overheads for Linux threads
In this post I want to explore the costs of threads on modern Linux machines, both in terms of time and space. The background context is designing high-load concurrent servers, where using threads is one of the common schemes .
Learning Python for Social Scientists (2015)
I’ve compiled a list of Python tutorials and annotated analyses. I've tried to list pages that are accessible to social scientists with little background in Python and/or machine learning.
Notes on “A Philosophy of Software Design”
Jumping on the recent trend, I picked up a copy of A Philosophy of Software Design based on Cindy’s recommendation. It’s a fairly concise read at 160 pages, and I skimmed through it over the last few days, writing up some notes along the way.
How LLVM Optimizes a Function
This is very nice summary of IR Passes. I found “InstCombine” pass to be easier to start with to understand the code flow in LLVM IR Pass. Maybe the beginners can start with that first.
Reading with a pencil
The intellectual is, quite simply, a human being who has a pencil in his or her hand when reading a book. —George Steiner
Why I never finish my Haskell programs
From the highly eclectic blog of Mark Dominus
I was told I would become quadriplegic
I was told, I would become quadriplegic & what I had to do for it among other things regarding my heath.
Learning BASIC Like It's 1983
Imagining a childhood encounter with BASIC on the Commodore 64.
Fear the reaper: characterization and fast detection of card skimmers
Fear the reaper: characterization and fast detection of card skimmers Scaife et al., USENIX Security 2018 Until I can get my hands on a Skim Reaper I’m not sure I’ll ever trust an ATM or other expo…
The Performance Cost of CORS Requests on Single-Page Applications
The title may lead you to think that this post is another ranting post about the downside of a “Single Page Application”. It is more about…
The Camera Is the Lidar
It was clear when Ouster started developing the OS-1 three years ago that deep learning research for cameras was outpacing lidar research…
Peak Valley?
The Economist has a cover story this week called Peak Valley. The article suggests that Silicon Valley’s lead as a hub for innovation has peaked and other regions are rising. It ends with the concern that innovation more broadly has peaked. I somewhat agree with “the rise of elsewhere” narrative and disagree that…
TypeScript at Google
What I've been working on the last few years.
Mastodon and the challenges of abuse in a federated system
This post will probably only make sense to those deeply involved in Mastodon and the fediverse. So if that’s not your thing, or you’re not interested in issues…
Coherence Penalty for Humans
This is a brief aside from my ongoing series about avoiding entity services. An interesting dinner conversation led to thoughts that I needed to write down. Amdahl's Law In 1967, Gene Amdahl presented a case against multiprocessing computers. He argued that the maximum speed increase for a task would be limited…
Notes on the Go2 Generics Draft
These notes are based on the August 27 2018 design draft for generic types in Go2.