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 stopped worrying and learned to love denormalized tables
You have to denormalize in very common cases even for mostly OLTP workloads in order to get sortable data into an index. Consider a cloud storage product with folders connecting with a many to one to documents. The product wants to display the most recently used folders ordered by their inner document modification date.

Because composite indexes commonly can't span tables, you have to push the last modification date up to the folder row in order to get the data in the right place to build the obvious index.

Denormalization is a normal and expected optimization to scale a relational database.

tlarkworthy··on Europeans drain billions from banks, fed up with shrinking savings
You need some actual tax advice. I deduct EU tax from my tax liabilities in US so my US tax exposure is exactly 0. Still have to file US taxes, so my accountant fee exposure is non-zero but it isn't too hard to do yourself once you have a few examples to copy from.
tlarkworthy··on Is infinity an odd or even number? (2011)
But zero is in the middle, so it must be odd
tlarkworthy··on Ask HN: Besides Legos, what’s the best kit for prototyping mechanical devices?
Lynxmotion is good for servos.
tlarkworthy··on Low Code Software Development Is a Lie
A problem only too familiar to observablehq users, there are quite a few solutions

https://observablehq.com/search?query=Cors&onlyOwner=false

tlarkworthy··on SQL Maxis: Why We Ditched RabbitMQ and Replaced It with a Postgres Queue
It's got a better name called a transactional outbox https://microservices.io/patterns/data/transactional-outbox....
tlarkworthy··on TypeScript 5.0
It has an equivalent but that code is typescript
tlarkworthy··on Python-based compiler achieves orders-of-magnitude speedups
JavaScript/lua are dynamic and they are fast. It's other choices (GIL) which cause problem rather than the nature of the dynamic language space
tlarkworthy··on Lessons from building Plausible Analytics to $1.2M ARR in public
I am a paying PA customer and I love the service but I am kinda surprised they only just reached those figures. They have great market awareness in my circles but it just goes to show that developers are stingy and conservative and it's a hard market to do well in. If feel they should b making 10x this number by now given they are internationally known and the biggest alt to a gigantic usecase
tlarkworthy··on Functional Core, Imperative Shell (2012)
People get confused by the wizardly and can't recognize that in many places they are already doing it. A resource orientated REST API is a great example of this paradigm. The API model is declarative... but you interface with it as sequential http calls.

So just do that in code signatures too.

tlarkworthy··on Direct Sockets: Proposal for a future web platform API
the bridge is just a proxy, the volume if traffic is the same but you now have added a regional hop. Exposing your redis and postgres on the public web is not a good idea, but there are tons of internal usecases, and things like postgres actually have a security mechanism so its not default "insecure"
tlarkworthy··on Direct Sockets: Proposal for a future web platform API
This would be so amazing. In order to access most vanilla services like redis, postgres etc. you need to deploy a bridge https://github.com/zquestz/ws-tcp-proxy

CloudFlare/Deno etc. all have these workarounds around tunnelling but all that would disappear with this protocol. I made a service for writing servers on the web (https://webcode.run -- somewhat abandoned at this point but it is still running), and a big problem with the approach was the web's inability to make TCP connections.

tlarkworthy··on TIL There's Another YAML
It was really small and German speaking and wonderfully low tech but not anti-tech. Parent run meant we had regular meetings and had to paint, clean, organise events and vote on executive decisions like buying a dishwasher. It was really intimate and my kids learnt German really well. It was a lot of overhead but it brought us into the community well. The teachers were really dedicated they were amazing. Best start possible. Parents regularly had tensions between them but this is the nature or a random sample of population, lol.

The website is still retro and bulky but at least the cert works! https://kila-mittenmang.de

tlarkworthy··on How to pull carbon dioxide out of seawater
The molecules in water are more dense than in air. They are talking about density not ratio (PPM)
tlarkworthy··on TIL There's Another YAML
I used them at my parent run kita in Berlin. Very cheap! I eventually moved them to hetzner due to ssl problems but they had good support and I kept the domain with them.
tlarkworthy··on David Guetta uses ChatGPT and uberduck.ai to deepfake Eminem rap for DJ set
The music industry will not like this, seems like a short circuit around royalties and the value of a music deal with an artist.
tlarkworthy··on The future (and the past) of the web is server side rendering
Being dependant on a reliable internet connection sucks, especially when travelling. SSR just won't work for mobile. With offline first, the client is the lowest latency server possible. Yes you should sync too. Offline first, not offline only
tlarkworthy··on The future (and the past) of the web is server side rendering
It's obviously nonsense. The lowest latency cache and state storage is clientside. You can piss around with multi regions and SSR to minimize latency but that's just placing a lot of regional caches near your users. The nearest place is in their actual browser -> offline first is the future
tlarkworthy··on Show HN: Syncing data to your customer’s Google Sheets
What about importing sheets too?
tlarkworthy··on Ask HN: Has anyone fully attempted Bret Victor's vision?
I think https://observablehq.com notebooks are a step towards it. Once you get into it it has the fastest feedback loop I have ever experienced. The concept of reactively changing code with partial recomputation of the dependency graph is amazing.
tlarkworthy··on How to store your app's entire state in the url
I have done this myself and various tools e.g. slack, Twitter will truncate long urls. Eventually it will break somewhere, not just in the browser. If your tool has a hard limit on information content it's ok, but that does not seem to be the case here.
tlarkworthy··on How to store your app's entire state in the url
There is a size limit though that quickly gets exhausted if you are storing text (2000 chars)
tlarkworthy··on Branchless Workflow for Git
I have a lot of trouble pipelining my commits when I get reviewer comments on an early branch, it's very error prone to squash the changes and distribute downstream to avoid merge problems later.

I think this tool is for me, am I able to adopt it without my team needing too?

tlarkworthy··on Ask HN: Since when is everything a scam?
I moved to Germany and find they are quite outspoken with enforcing community norms
tlarkworthy··on Pyright: Static Type Checker for Python
Oh wow, their pyright-browswr package is very nice, the writeup works well!
tlarkworthy··on Pyright: Static Type Checker for Python
Wow that's pure gold
tlarkworthy··on Pyright: Static Type Checker for Python
It's written in Typescript I would love to type check python in the browser without running pyodine, does anyone know how?
tlarkworthy··on State of OpenID Connect Providers
True, the "well-known" path seems to be in a random location but maybe that's a problem with the spec, you might expect it to be off the root of the email domain.
tlarkworthy··on I am done. I give up
Having worked in a successful developer tool (Firebase) this is utter nonsense. Developers are super cheap. People are ringing their hands over the 10 dollar per month copilot price for the world beat ai to help you code for Christ' sake.
tlarkworthy··on Do simpler machine learning models exist and how can we find them?
All the books. I think books might be better
← PreviousPage 8 of 34Next →