HNHacker News
TopNewBestAskShowJobs

sam_bristow

1,387 karma · joined June 5, 2019

Tech-debt loan shark. Yak shaver. Habitual thread-puller
submissionscomments
sam_bristow··on Disillusioned with Deno
https://without.boats/blog/notes-on-a-smaller-rust/

And the follow-up:

https://without.boats/blog/revisiting-a-smaller-rust/

sam_bristow··on So You Want to be a Big Shot: Advice on playing the promotion game
Joining a team with short tenure and high turnover is high risk. Often there are very good reasons noone sticks around and you'll just end up burned out.
sam_bristow··on Boeing ousts 737 MAX chief
CISO: Cyber Incident Sacrificial Offering
sam_bristow··on Htmx become 0 clause BSD-licensed
Without a CLA or equivalent mechanism they would need to get the agreement of every contributor to change licences. Once a project gets large enough the sheer number of people involved usually makes this impossible
sam_bristow··on The boring technology behind a one-person Internet company
I think the opposite is actually a stratified repo with snapshots of the "new hotness" back through the history of the project. Each never _quite_ replaced by the next.
sam_bristow··on JSON Parsing: Intel Sapphire Rapids versus AMD Zen 4
Newer ARM chips already have opcodes to speed up Javascript's handing of numbers.

https://developer.arm.com/documentation/dui0801/h/A64-Floati...

sam_bristow··on Show HN: Visualize the entropy of a codebase with a 3D force-directed graph
Build systems like Bazel provide mechanisms for controlling access at the module-level. If you're disciplined about not just making everything "public" it can be really powerful. Bazel is a very big hammer though and might be overkill for your projects.
sam_bristow··on Show HN: Visualize the entropy of a codebase with a 3D force-directed graph
A tangentially related tool you can use to look at a repo over time is Git of Theseus[1]. It shows things like "what percentage of the code in this repo survives 6 months.

[1]https://erikbern.com/2016/12/05/the-half-life-of-code.html

sam_bristow··on Pandoc
My personal sweet-spot for writing technical documents these days is Asciidoctor with semantic line breaks [1]. There are some warts in the asciidoc syntax but it covers a lot more of the features I need for the types of documents I'm writing compared to Markdown.

[1] https://rhodesmill.org/brandon/2012/one-sentence-per-line/

sam_bristow··on Intel's Humbling
The Altera (FPGA) acquisition could have made sense, but they never really followed through and now it's being spun off again.
sam_bristow··on General purpose MCUs built in to LEDs emulate candle flicker
It might be a myth, but I seem to remember the ASICs used to flicker older LED designs were often repurposed from audio greeting cards. The light was actually just Happy Birthday playing through an LED or bulb rather than a speaker.
sam_bristow··on Wind River Linux
The newer versions of the Wind River compiler is based on Clang under the hood. I wonder how the comparisons shake out vs with older versions which were more custom.
sam_bristow··on Birb and Fossil: An RSS Revival?
For a moment there I thought you were the first person to actually follow the new branding guide for the platform formerly known as Twitter. Of course, I should've known better.
sam_bristow··on Git Things
Also, the commit adding the failing test isn't breaking anything, its demonstrating the already broken nature of the existing codebase.
sam_bristow··on O(1) Build File
$DAYJOB codebase is mostly C++ and Python with a bit of custom configuration DSL for code generation.

Getting hermetic Python was pretty straight forward, hermetic C++ for cross-compilation to our target hardware was a bit more challenging but not too bad.

We also have VHDL which is built outside of Bazel for now. That's a job for 2024 and, I expect, will be a much bigger challenge.

We don't use BuildBuddy or EngFlow as we have some special requirements that made it not an option. I have a couple of personal projects using Buildbuddy though and it works well.

sam_bristow··on O(1) Build File
Some (not all) still applies. I just reworked the Bazel CI at $DAYJOB to simplify the entry points and just call `bazel build //...` And `bazel test //...` erc rather than a bunch of more specific targets. We've got caching etc effective enough that just testing everything is a viable default even in a tight dev loop.

I'm more concerned with duplication of config between the Build and CI configs. https://gregoryszorc.com/blog/2021/04/07/modern-ci-is-too-co...

sam_bristow··on How a script doctor found his own voice
The New Yorker (not NYT) has used diaeresis in their style guide since they started and have stuck with it ever since.

""" Basically, we have three options for these kinds of words: “cooperate,” “co-operate,” and “coöperate.” Back when the magazine was just getting started, someone decided that the first misread and the second was ridiculous, and adopted the diaeresis as the most elegant solution with the broadest application. The diaeresis is the single thing that readers of the letter-writing variety complain about most. """

https://www.newyorker.com/culture/culture-desk/the-curse-of-...

sam_bristow··on Mazzle – A pipelines as code tool
People who liked that paper will also probably enjoy "Build Systems à la carte" [1] which expands on some of the concepts.

[1]https://dl.acm.org/doi/10.1145/3236774

sam_bristow··on Show HN: Languessr – a game where you guess the language of a Wikipedia article
Part of me is disappointed this isn't LAN-guesser where you get creds on a random box and have to work out which internal network it is on.
sam_bristow··on Developer Productivity for Humans: Software Quality
Every layer of indirection needs to earn its keep. I hate working in codebases which are full of indirection without abstraction, you spend so long hunting for the bit of code that actually _does_ something.
sam_bristow··on Developer Productivity for Humans: Software Quality
It sucks when you're in that situation, but sometimes a paper-trail and a dose of failure is the only way people learn.
sam_bristow··on The merge vs. rebase debate
I've been keeping an eye on the Pijul[1] VCS which goes all-in on the whole "theory of patches" thing. I don't expect Git will be going anywhere for a long time, bjt it's interesting to think about what could be next.

[1]https://pijul.org/

sam_bristow··on The merge vs. rebase debate
You can basically achieve that with a rebase then merge with --no-ff. You can then just bisect etc with "first-parent" to see the big chunks as they're landed.
sam_bristow··on YAML's homepage is displayed in YAML
The webpage documenting some of the sharp edges of yaml is also displayed as an editable yaml document

https://noyaml.com/

sam_bristow··on 4B If Statements
Maybe someone needs to do a website in the same spirit of https://youmightnotneedjquery.com except youmightnotneedjonschlinkert.
sam_bristow··on Ask HN: Share your favorite software blog posts of 2023
It's more hardware than software, but "Infra-Red, In Situ (IRIS) Inspection of Silicon" by Bunnie Huang was interesting.

https://www.bunniestudios.com/blog/?p=6712

sam_bristow··on Reforming Unix
I think the Unix model is a local maxima in the design space we've been living in for decades. It's incredible how well we've managed to scale and tweak the concepts but onto the systems we have today, but I'd love to see more experimental OS architectures again.
sam_bristow··on Ask HN: What's your "it's not stupid if it works" story?
At my previous job I had a number of production test rigs in China for testing PCB assemblies as they came off the manufacturing line. These rigs would sit on the shelf for months at a time and be pulled out to fo a run of a couple thousand boards then put away again.

We wanted to collect some stats about the boards being tested but The internet in the factory was really flakey and we didn't want to pay for a 4G internet plan for a rig that was turned off most of the time.

I eventually went for a cron job that would just try uploading all the local logs to s3 through rsnapshot every 15min. It worked great and was less than 20 lines of shell script.

sam_bristow··on What If Russia Wins?
Huh? The Russian Federation absolutely does have nuclear weapons. 5,889 warheads, more than the USA in terms of raw numbers.
sam_bristow··on Code Is Not Technical Debt
One of my key metrics when adding code to a system is how easy it is to rip out later. It's served me well so far.
← PreviousPage 4 of 10Next →