HNHacker News
TopNewBestAskShowJobs

dps

933 karma · joined March 31, 2009

http://www.linkedin.com/in/davidpsingleton http://blog.singleton.io/ http://www.twitter.com/dps
submissionscomments
dps··on I Wrote a Compiler
Yeah, I really should have included <> :-)

Fun to see this post from the deep archive get some interest - thanks for reading!

dps··on Coding agents have crossed a chasm
Author here… I wrote it, I used Claude for proofreading/editing as mentioned at the end. Anyway point is, real human here!

I do still read the code _except_ when I am consciously vibe coding a non production thing where I will know empirically that it worked or not by using it.

I’m definitely not using agents to do all my coding (as I hope is reasonably) clear from the post. But they have crossed this line from pointless to try to genuinely useful for many real world problems in just the last couple of months in my experience.

dps··on Coding agents have crossed a chasm
Author of the piece here :-). We are not building coding agents and focused on quite different stuff… I am just trying to share my personal experience as a software person!
dps··on TOTP tokens on my wrist with the smartest dumb watch
Author of the post here… Cool to see this back on HN! I was trying to provide instructions that anyone could use regardless of platform, hence the choice of web tools (both those linked process the data locally). If you know of a base32 decoder that’s easily available on Windows, Mac and Linux I’d be delighted to update the post.
dps··on Tart: VMs on macOS using Apple's native Virtualization.Framework
admin/admin worked for me
dps··on Dynamic programming is not black magic
>This year’s Advent of Code has been brutal (compare the stats of 2023 with that of 2022, especially day 1 part 1 vs. day 1 part 2).

I enjoyed completing AoC this year. While it was very clear that day 1 (esp. part 2) was significantly harder than previous years (I wrote about this among other things [0]), OP's claim seemed not obviously self evident when comparing _current_ 2022 stats to _current_ 2023 stats, as folks have had an additional full year to complete the 2022 puzzles.

I grabbed the 2022 stats from Jan 14th 2023 [1] and, indeed, the difference is quite stark. Graphing the part two completion stats[2] for both years, there was a relatively similar starting cohort size on day 1, but 2023 looks clearly harder than 2022 up until day 15. As OP observes, the ratio[3] of folks completing pt1 but not going on to complete pt 2 is way higher for a lot of days in 2023 and suggests the day 5, 10, 12 and especially day 22 part 2s were particularly difficult.

[0] https://blog.singleton.io/posts/2024-01-02-advent-of-code-20...

[1] https://web.archive.org/web/20230114172513/https://adventofc...

[2] https://blog.singleton.io/static/imgs-aoc23/completion.png

[3] https://blog.singleton.io/static/imgs-aoc23/ratios.png

dps··on Wine 101: The Beginners Guide to Wine
I've been making wine at home in California for the past few years. Finding grapes on Craigslist/via friends, picking them myself and fermenting/storing/bottling wine in my basement. It's great fun, and tastes pretty good too! I wrote up a guide for anyone who'd like to try here - https://wine.singleton.io/
dps··on The joy of building a ray tracer, for fun, in Rust
I added an 'almost' caveat to the text - thanks for the note.
dps··on The joy of building a ray tracer, for fun, in Rust
Hi folks, article author here. I just wanted to stop by to say I'm delighted so many folks enjoyed the piece. I really did have a lot of fun :-)
dps··on Root cause analysis: significantly elevated error rates on 2019‑07‑10
(Stripe CTO here)

That's a reasonable question. We wrote this RCA to help our users understand what had happened and to help inform their own response efforts. Because a large absolute number of requests with stateful consequences (including e.g. moving money IRL) succeeded during the event, we wanted to avoid customers believing that retrying all requests would be necessarily safe. For example, users (if they don’t use idempotency keys in our API) who simply decided to re-charge all orders in their database during the event might inadvertently double charge some of their customers. We hear you on the transparency point, though, and will likely describe events of similar magnitude as an "outage" in the future - thank you for the feedback.

dps··on Root cause analysis: significantly elevated error rates on 2019‑07‑10
(Stripe CTO here)

Thanks for the questions. We have testing procedures and deploy mechanisms that enable us to ship hundreds of deploys a week safely, including many which touch our infrastructure. For example, we do a fleetwide version rollout in stages with a blue/green deploy for typical changes.

In this case, we identified a specific code path that we believed had a high potential to cause a follow-up incident soon. The course of action was reviewed by several engineers; however we lacked an efficient way to fully validate this change on the order of minutes. We're investing in building tooling to increase robustness in rapid response mechanisms and to help responding engineers understand the potential impact of configuration changes or other remediation efforts they're pushing through an accelerated process.

I think our engineers’ approach was strong here, but our processes could have been better. Our continuing remediation efforts are focused there.

dps··on Root cause analysis: significantly elevated error rates on 2019‑07‑10
I'm Stripe's CTO and wrote a good deal of the RCA (with the help of others, including a lot of the engineers who responded to the incident). If you've any specific feedback on how to make this more useful, I'd love to hear it.
dps··on Guide to scaling engineering organizations
(stripe head of engineering here) I hosted the open house in Dublin, thanks for coming and sorry to hear about your experience; even if it doesn't end up being a fit, we always want candidates to feel respected rather than demoralized. Without knowing the specifics of your situation, I do want to be clear that there are obviously a lot of factors for us to consider when evaluating candidates, but age isn't one of them.
dps··on A Feasible Approach to Human Stasis for Long-Duration Deep Space Missions
Does the combination of hypothermic state and medically induced coma (“hibernation”) have a prolonging impact on life expectancy? The lower metabolic rate would intuitively suggest that’s a possibility. It’s interesting to think about how this technology, even ahead of use in travel to deep space could be used as a forward only time machine.
dps··on FiveFilters: Send web articles to Kindle
If you already use pocket, then Pocket 2 Kindle https://p2k.co/manage/home is a good service to send stuff from your reading list, nicely formatted to your Kindle.

I wrote something similar (taking lists of URLs) a couple of years ago and it's still live at www.kindlized.com but when think about the next step of grabbing my Pocket article list I found Pocket 2 Kindle and never bothered to update my own - kind of fun and sad at the same time to discover that someone has already built the thing you just thought of :-)

dps··on A paper based journal for hackers
I've made a preview PDF available at singleton.io/alpha/Journal.pdf also.
dps··on Outernet – a curated subset of the web broadcast from space
The broadcast currently contains 758 articles, of which 676 are Wikipedia pages.

The remainder are: - 15 gutenberg texts (e.g. Moby Dick, Fairy Tales, by The Brothers Grimm, ...)

  - 10 open access Harvard papers

  - 54 dw.de news articles

  and...
“Making (Up) an Archive: What Could Writing History Look Like in a Digital Age?” - outernet://dash.harvard.edu/handle/1/11297828

There Can Be No Turing-Test--Passing Memorizing Machines - outernet://dash.harvard.edu/handle/1/11684156

Corbett Report Episode 293 - The Ebola Effect - uternet://www.corbettreport.com/episode-293-the-ebola-effect/

The Place of the Gospel of Philip in the Context of Early Christian Claims about Jesus’s Marital Status - outernet://dash.harvard.edu/handle/1/11041837

The Activity of Reason - outernet://dash.harvard.edu/handle/1/3415961

Corbett Report Episode 293 - The Ebola Effect - outernet://www.corbettreport.com/episode-293-the-ebola-effect/

Civilization Starter Kit v0.01 - outernet://opensourceecology.org/outernet://opensourceecology.org/outernet://opensourceecology.org/Civilization_Starter_Kit_v0.01.pdf

Two Randomized Trials Provide No Consistent Evidence for Nonmusical Cognitive Benefits of Brief Preschool Music Enrichment - outernet://dash.harvard.edu/handle/1/11276120

The Collage of Humanity - https://collage.outernet.is/ Civilization Starter Kit v0.01 - outernet://opensourceecology.org/outernet://opensourceecology.org/Civilization_Starter_Kit_v0.01.pdf

Civilization Starter Kit v0.01 - outernet://opensourceecology.org/Civilization_Starter_Kit_v0.01.pdf

The Parable of Google Flu: Traps in Big Data Analysis - outernet://dash.harvard.edu/handle/1/12016836 "Learning from utopia: contemporary architecture and the quest for political and social relevance." - outernet://dash.harvard.edu/handle/1/10579145

Middle-Period Discourse on the Zhong Guo: The Central Country - outernet://dash.harvard.edu/handle/1/3629313

Be Careful What You Ask For: Reconciling a Global Internet and Local Law - outernet://dash.harvard.edu/handle/1/9696322

Thinking about prestige, quality, and open access - outernet://dash.harvard.edu/handle/1/4322577

dps··on Outernet – a curated subset of the web broadcast from space
Posting to see what HN make of this. A friend backed the Lantern Indiegogo campaign yesterday [https://www.indiegogo.com/projects/lantern-one-device-free-d...] which sounded exciting and useful. I love the idea here - core knowledge, news, crisis response stuff broadcast globally.

While I'm excited about this and will probably back the Lantern myself, the current Outernet could really use help with content. I downloaded the whole of the Outernet [328 MB compressed] and most of the stuff is of pretty dubious interest: "Two Randomized Trials Provide No Consistent Evidence for Nonmusical Cognitive Benefits of Brief Preschool Music Enrichment", or advances a pretty niche non-mainstream media outlook (the Corbett report podcast).

dps··on Why Parse the User Agent?
Isn't this what Accept: image/webp is for?
dps··on Shortwave: iBeacon-powered messaging
Could pick a slightly more inspiring example chat for the landing page!
dps··on Color for the Colorblind
I have a r/g color blind friend who has a pair of these.

He said: "They are amazingly totally worth the money and work very well. I have video of myself realizing that Starbucks is green and not brown for the first time. Mindfuck I thought brown like coffee."

dps··on Link Bubble - A new browser for Android
Nicely executed. The choice of giving one [configurable] app for free and all apps for $5 is also an interesting business model.
dps··on San Francisco’s Secret DC Grid
Also interesting to read about the work ConEd did to move its final customers off DC in NYC

http://www.coned.com/newsroom/news/pr20071115.asp

>In January 1998, Consolidated Edison began a program to eliminate DC service in its operating territory. At that time there were over 4,600 DC customers. By 2006, sixty remained. Between then and today[2007], when the last customer at 10 East 40th Street was switched to rectifiers on their side of the meter to generate direct current to supply its building’s elevators and sprinkler system, Con Edison has been switching DC customers to alternating current.

Since the start of the program in January 1998:

4,541 accounts in 4,288 buildings have been converted; 6,172 DC meters have been removed from the system; 193 in-building rectifiers have been transferred to customers; 148 250KW street rectifiers have been removed; 35,965 sections of DC mains (5,682,337 circuit feet or 2,660,634 cable feet) has been retired; and 545,185 circuit feet or 236,611 cable feet of DC services has been retired.

dps··on Falcon 9 GEO Transfer Mission
commentator said that the flight computer canceled launch because the readings from the 9 merlin engines were "not nominal"
dps··on Overbite - Gopher Client For Android
I guess I shouldn't be surprised by this, but I am... my OS X Mavericks system not only has no built in gopher client, but there are zero results for "gopher" in the Mac App Store.
dps··on Hacking a $9 Remote Control Car with Arduino
I'm just going to shamelessly plug my project which previously featured on HN, where I did something similar and then added a camera on a smartphone to make the cheap RC car drive itself :-)

http://blog.davidsingleton.org/nnrccar/

dps··on A useful program, 0 bytes long
"(a TSR; if the reader knows what such a thing is!)"

Oh dear, I can't imagine not knowing what a TSR is. Feel old.

The wikipedia page is pretty good http://en.wikipedia.org/wiki/Terminate_and_Stay_Resident

dps··on Show HN: PiUi – add a mobile phone UI to your RaspberryPi project
FWIW, this is how the GoPro works with its iPhone app and Android app. It's so easy to set up that I decided to adopt it here. It is of course possible to connect the Pi and the phone to the same (existing) wifi network, but then you need to help the user figure out the right IP address to connect to. I messed around with zeroconf/bonjour for this before I settled on this simpler mechanism -> it works but is pretty temperamental. The other thing I have tried on Android is to have the phone create a wifi hotspot with the same SSID and password as my home network. When at home, the devices are all connected nicely, when away, the Pi connects to the phone and (modulo zeroconf being picky) the whole thing works well; couldn't get this to work with the iPhone.
dps··on Show HN: PiUi – add a mobile phone UI to your RaspberryPi project
Other than the wifi access point set up, it should just work on the BeagleBoard. Follow the detailed instructions on the blog post (not the "easy way" using SD card images) and follow a BeagleBoard wifi AP tutorial.
dps··on Show HN: PiUi – add a mobile phone UI to your RaspberryPi project
Yep, that's neat! Intention was to allow richer, graphical UI. Esp, the timelapse project was a motivating use case for me and seeing the preview images on the phone display is really useful.
Page 1 of 2Next →