HNHacker News
TopNewBestAskShowJobs

tlarkworthy

5,770 karma · joined October 22, 2012

Software Developer with a passion for transparency.

Firebase -> Google -> Futurice -> Taktile

Now in Berlin.

submissionscomments
tlarkworthy··on I spent 5 hours learning how ClickHouse built their internal data warehouse
If you built this out of AWS managed services what would you use?
tlarkworthy··on Exponential Rate Limiting
I wrote an interactive notebook visualization and a fast converge optimization for one of these

https://observablehq.com/@tomlarkworthy/rate-estimation

tlarkworthy··on The Elements of APIs (2021)
An empty JSON object for a JSON merge patch, not an empty body
tlarkworthy··on The Elements of APIs (2021)
GET and (sparse upserting) PATCH is all you need for a multiplayer API. Arguably GET is spurious as you could do an empty PATCH to do a read but you generally want a cache infront of GET that exploits etags
tlarkworthy··on Faster CRDTs (2021)
It's not a CRDT, it's LWW at the cell level, transmitted pretty much a typing speed so conflicts are low
tlarkworthy··on The anatomy of a 2AM mental breakdown
... and thats why you pin dependancies
tlarkworthy··on The Red Herring of Red Flags: Why Resumes Are a Relic of the Past
In my mind resumes are the trust part of "trust but verify". The resume is evidence the candidate meets the needs of the role description. The job interview verifies the resume is not a work of fiction.
tlarkworthy··on Show HN: How we leapfrogged traditional vector based RAG with a 'language map'
This is literate programming! Why not just put the codebase in the wiki and not have two representations diverging. Why can't we have diagrams and links in code??? We can, like https://observablehq.com notebooks, it's a better representation for understanding.
tlarkworthy··on We need visual programming. No, not like that
I started calling this DataViz driven Development but I am more interested in DataViz of the application state, than code statistics. I am a big debugger fan, however, it falls down when debugging things that are not well represented as assignments. For example, spatial problems are better visualised with maps (rendered as images), not lists of features with numeric coordinates. Here DataViz can bridge the legibility gap between the internal representation and something a programmer can quickly grasp to find bugs.

So in my opinion the best place for going beyond text in programming is by adding custom DataViz to express program state at runtime.

tlarkworthy··on Show HN: Simulating 20M Particles in JavaScript
An intersection observer can be used to turn the non visible parts off when out of view. https://developer.mozilla.org/en-US/docs/Web/API/Intersectio...
tlarkworthy··on Speeding up the JavaScript ecosystem – Isolated Declarations
I don't know what an isolated declaration is. Do we write TS source differently?
tlarkworthy··on Show HN: Open Sourcing Our No-Code WebXR Editor After 5 Years of Development
Are there any screenshots? edit: ok here https://www.transferthought.com/
tlarkworthy··on Ask HN: What is the best code base you ever worked on?
Google3 codebase. It's just so vast and it works. It's a miracle. I feel lucky to have seen it. Everytime you change it, it reruns the dependencies. Everyone has different view concurrently. Commits are efficient immutable snapshots. It's just incredible multiplayer. So massively beyond what can be done with GitHub. Really I feel it's peak codebase. I've not seen what the other big techs do but it blew my mind
tlarkworthy··on What Happens When You Put a Database in the Browser?
That analytics in the browser is about 10000x times more performant, and doesn't contest on a shared resource.
tlarkworthy··on 20x Faster Background Removal in the Browser Using ONNX Runtime with WebGPU
Onnx is cool, the other option is tensorflow js which I have found quite nice as a usable matrix lib for JS with shockingly good perf.would love to know how well they compare
tlarkworthy··on Ask HN: Create audio software akin to physics engines?
The pluckable string demo on ycombinator the other day is pretty cool https://news.ycombinator.com/item?id=40442595

Just simulating a string vibrating has a huge variety of sounds depending on how its harmonics pile up and where you sample from it (like where the pickup is on an electric guitar).

tlarkworthy··on Sending emails to my three-year-old
Google Family link
tlarkworthy··on Anti-patterns in event-driven architecture
Webhooks? Slack automation? GitHub actions?
tlarkworthy··on 3D Math Primer for Graphics and Game Development (2011)
Homogeneous coordinates is still linear algebra in a 4D space instead of the obvious 3 you would naively pick. Kinda like quaternions where adding an extra degree of freedom suddenly works around some expressivity problem you didn't really know you had but clearly it solves (e.g. gimble lock on euler angles). But the term linear algebra covers high dimensional uses like training neural networks, its the thing that gives us the matrix formulation of stuff.
tlarkworthy··on Unprojecting text with ellipses (2016)
As all the classic computer algorithms are here https://homepages.inf.ed.ac.uk/rbf/HIPR2/index.htm

E.g. https://homepages.inf.ed.ac.uk/rbf/HIPR2/hough.htm

tlarkworthy··on So We've Got a Memory Leak
... or a persistent data-structure [1].

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

tlarkworthy··on Cubic millimetre of brain mapped at nanoscale resolution
The electrical signals in brain are chemical reactions, not conductivity like a metal wire. They are slow! Synaptic junctions are a huge number of indirect chemical cascades, not a direct electrical connection, they are even slower! So brain morphology and connectome has a massive impact on what can be computed. Human twitch responses are done by cerebellum, not cerebrum. It's faster, but you can't do philosophy with the cerebellum, only learn to ride a bike etc. This is the brain doing the best it for the circumstances.
tlarkworthy··on Show HN: Serverless collaborative notion-level note editor using CRDT in GO
yeah, that sentence does imply a last-write-wins in the case of simultaneous keystrokes. But it's at the block level and not the document level.
tlarkworthy··on Show HN: Serverless collaborative notion-level note editor using CRDT in GO
False, I for sure have realtime collaberated with people on the same doc. I thought maybe it might be on a individual block level, but then from the Notion docs https://www.notion.so/help/collaborate-within-a-workspace,

"You can edit the same block as someone else at the same time. Unlike other document software, content is not locked if someone else is making changes to it. The most recent change will be reflected on the page."

tlarkworthy··on 93% of paint splatters are valid Perl programs (2019)
The OCR (optical character recognition) is doing the heavy lifting, essentially forcing the blotches into strings... which then turn out to be valid perl programs
tlarkworthy··on 40 Years of Sopwith
OMG I used to land manually and that was the main cause of death. I always thought that game was great but way too hard. So the fly home lands you?!
tlarkworthy··on Bottle Plotter
There is existing hardware for this https://www.foxalien.com/en-de/products/foxalien-laser-rotar...
tlarkworthy··on Electronic project kits: hands on with a vintage 160-in-1 (2016)
I've been looking for something like this for my kids. No luck yet. Snap electronics was kinda ok spintronics is very engaging but low ceiling.
tlarkworthy··on A nostalgic look back at when the Internet still felt joyful
they bring laptops. We play Java and we have a server (which is a VM I toggle up and down so only pay storage long term)
tlarkworthy··on A nostalgic look back at when the Internet still felt joyful
In my house we have minecraft Lan parties for 8 year old girls. Minecraft is quite good for this because it's such a deep game that realtime help is very useful and the girls are not really able to research on the net, So the social aspect becomes more important to them. Also minecraft is quite cooperative anyway.

Also VR parties are sorta similar in vibe to LAN parties too. I feel this stuff is sorta alive still and it was niche in the 90s too.

← PreviousPage 4 of 34Next →