HNHacker News
TopNewBestAskShowJobs

soedirgo

89 karma · joined November 14, 2019

--[----->+<]>----.+++++++++++++.-------------..+++++++.----.--[--->++<]>--.-[----->+<]>.----.----------.-.+++++.+++++++++.-----------.++++++++.[->+++++<]>+++.--[--->+<]>.+.[--->+<]>-.
submissionscomments
soedirgo··on Bar-tailed Godwits regularly travel more than 7,000 miles non-stop
This is the one that I remember watching https://www.youtube.com/watch?v=826HMLoiE_o. Not exactly 24 hours though.
soedirgo··on Revisiting “The 4-Hour Workweek”
Haven't read the book, but I liked his lecture series on human behavioral biology: https://youtube.com/playlist?list=PL848F2368C90DDC3D
soedirgo··on Revisiting “The 4-Hour Workweek”
You jest, but... https://www.rangevoting.org/FeynTexts.html

TL;DR: read the end of the first paragraph.

soedirgo··on M1racles: An Apple M1 covert channel vulnerability
> The other person I have similar feelings for is Geohot.

I don't know about that... https://news.ycombinator.com/item?id=25679907

soedirgo··on Zig Makes Rust Cross-Compilation Just Work
Not wasmtime, but I'm reminded of wasm-pack [0], though it's not project ownership but crate ownership, and not really a big kerfuffle.

[0] https://github.com/rustwasm/wasm-pack/issues/928

soedirgo··on “Shared libraries are not a good thing in general”
> One day, game developers will package static binaries

Wouldn't you still need at least runtime linking (dlopen) to link to OpenGL/Vulkan/etc.?

soedirgo··on Modern C++ Won't Save Us (2019)
While I agree with the sentiment, my impression is that the GP's point is about memory safety rather than performance. So yes, this applies for common patterns like per-frame memory in games, in which case the "it" is the arena. Otherwise, as a general rule, profile first, then optimize.
soedirgo··on New Bare Hash Map: 2X-3X Speedup over SOTA
Probably for your PR from way back when: https://news.ycombinator.com/item?id=19359870
soedirgo··on OpenGL Superbible
The latest edition (7th ed, 2015) actually uses 4.5 as well. AFAIK OpenGL hasn't changed too much since 3.3, certainly not to the point of being irrelevant for learning.
soedirgo··on Apple’s M1 silicon is all about platform control
Can you give a source for this? Also, is it still stuck at 4.1/1.2?
soedirgo··on The case for comments in code
Hard to talk about code comments without mentioning 'antirez's article [0] about this where he goes in depth on the different kinds of comments he used throughout Redis.

[0] http://antirez.com/news/124

soedirgo··on Best Practices for Testing in Java (2019)
Are you referring to snapshot testing[0][1]? i.e. you first "snapshot" the output of the function and commit it to VC, and each test run will run the same input and compare it against the "snapshot", failing and giving a diff if it differs.

I'm about to try it soon, seems like a good ROI as you said.

[0] https://jestjs.io/docs/en/22.x/snapshot-testing [1] https://github.com/mitsuhiko/insta

soedirgo··on Never use a dependency that you could replace with an afternoon of programming
Since we're in pedanticville, these aren't converses, but inverses. The converse goes "If you don't outsource X, then X is your core business".
soedirgo··on Show HN: An ORM-Like Rust Client for PostgREST
Hey folks, this is my internship project at Supabase, which you may have heard from its HN thread that got popular recently. We lean heavily on PostgREST, which is a Haskell tool (a wildly successful one!) that turns a Postgres database into a RESTful API.

We use PostgREST through our own client library as it's much easier to use. But it's in JavaScript, and I'm part of the Rust Evangelism Strikeforce myself, and the rest is history. ;)

soedirgo··on Supabase (YC S20) – An open source Firebase alternative
There's also one for JavaScript: https://github.com/supabase/postgrest-js
soedirgo··on GraphBLAS – Graph algorithms in the language of linear algebra
It's the transpose operation [1]. See property 3.

[1] https://en.wikipedia.org/wiki/Transpose

soedirgo··on Ask HN: Production Prolog in 2020?
Yarn 2 uses Prolog for workspace constraints.

https://dev.to/arcanis/introducing-yarn-2-4eh1#workspace-con...

soedirgo··on Rebuilding our tech stack for the new facebook.com
I don't know how many people FB actually allocates for their main app, but this reminds me of a chapter in The Mythical Man-Month. It is said over 1000 people and 5000 man-years went into OS/360. I don't see it anywhere today.

Instead, the book proposes The Surgical Team, i.e. about 10 people taking specialized roles, with the system being the product of the mind of a few key people. I wonder how well this aged.

soedirgo··on Happiness is a freshly organized codebase
Ah! I stand corrected. Mea culpa.
soedirgo··on Happiness is a freshly organized codebase
In Go, there's a standard project layout [1]. It'd be nice to have a project layout linter in Go Report Card [2].

[1]: https://github.com/golang-standards/project-layout

[2]: https://goreportcard.com

soedirgo··on Making Emacs Popular Again

  ;;; -*- lexical-binding: t -*-
isn't present until Emacs 24. After all these years.
soedirgo··on Making Emacs Popular Again
It's the ultimate yak shaver ;-)

Or you could start with a popular .emacs.d (I use Doom Emacs), tweak a few things, and tell yourself "I don't need to modify yet another key binding" a hundred times.

soedirgo··on Luhmann's Zettelkasten
I found this [1] series of posts to be incredible for implementing Zettelkasten using org-mode in Emacs.

I don't use Zettelkasten myself, but maybe I'll have the time to get around to it...

[1]: https://blog.jethro.dev/posts/org_mode_workflow_preview/

soedirgo··on How we built Uber Engineering's highest query-per-second service using Go (2016)
This might be related.

From pg: "...you could get smarter programmers to work on a Python project than you could to work on a Java project." [1]

[1] http://www.paulgraham.com/pypar.html