Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gbuk2013
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
gbuk2013
2mo ago
While there are infinite arguments to be made about individual diets, literally no one can do wrong by heavily cutting refined sugar intake.
2.
▲
by
gbuk2013
2mo ago
> every living member of it's military, has never seen a single real battle How I wish for a world where the same could be said for every other army!
3.
▲
by
gbuk2013
2mo ago
I run Qwen3-Coder-Next-UD-Q4_K_XL and other than the initial wait to initialise context (which takes less than 2 minutes) subsequent prompts return in less than a minute, usually less than 30s. If your performance is significantly slower th
4.
▲
by
gbuk2013
2mo ago
Leaving aside the fact that there are not enough octogenarians in the Commons to pass any legislation, there’s no need to for ageist statements like that.
5.
▲
by
gbuk2013
3mo ago
Not really, more like succeed without having to do anything. The key is the perspective of what success is: it’s the state where the resource does not exist, or is the action having deleted the resource. But 200/202 is perfectly capabl
6.
▲
by
gbuk2013
3mo ago
> Then you'd return 202 on a request to delete any invalid element, which really doesn't sound right It depends on your use-case if you care about this or not. If you do care you will have to handle it either way somehow. But i
7.
▲
by
gbuk2013
3mo ago
Response is implementation detail: a 404 on second request is one way to do it, a 202 would be another, or 200 with some sort of response to distinguish (e.g. { changed: boolean }). Idempotency just means no state mutation on subsequent req
8.
▲
by
gbuk2013
3mo ago
You’re right - it’s not a campaign as such - it’s a set of scenarios (currently 22) in increasing difficulty. I haven’t played for a while after getting stuck but checking now I got stuck on the 5th scenario - even worse than I thought. :)
9.
▲
by
gbuk2013
3mo ago
I used to play the original TA a lot and BAR is very well done. Much harder than the original though - I had no trouble with TA campaigns but I have not even made it halfway with BAR before hitting skill wall. Not a teen anymore so it’s har
10.
▲
by
gbuk2013
4mo ago
Sound like it’s time for yoga :) https://m.youtube.com/watch?v=txNkzlJ0tc4
11.
▲
by
gbuk2013
4mo ago
I mean there’s nothing stopping you from committing node_modules to git (after running something like https://github.com/timoxley/cruft on it) and reviewing code changes on dependency updates. I even managed to make th
12.
▲
by
gbuk2013
4mo ago
I came across this interesting rant the other day: https://github.com/uNetworking/uWebSockets.js/blob/master/mi... It does make sense that the right way would be to fork every dependency you use and inst
13.
▲
by
gbuk2013
4mo ago
It’s not the async loop - it’s interfacing with the system. JS is designed to run in a sandbox and the only way out in say Node.js is to write C++ addons. For example you don’t get to see TCP headers with Node out of the box and you can’t c
14.
▲
by
gbuk2013
4mo ago
I am well aware it supports Linux but the vast majority of work still involves being in Windows-only shops which is a circle of hell I am keen to tread only when I absolutely have to. :)
15.
▲
by
gbuk2013
4mo ago
Sure but that runtime is much more general purpose - JS runtimes are focused on network apps. For example you can write an app like Calibre in Python and QT and it is much lighter than writing something with JS and Electron. Python is easie
16.
▲
by
gbuk2013
4mo ago
I’m a JS/TS dev (and fan) I don’t think either is a replacement for Python. They are not standalone languages but require some runtime to interact with the world (DOM or Node.js etc) which have limited capabilities for interacting with
17.
▲
by
gbuk2013
4mo ago
An interesting tangent on this is: how many answers to these (or any number of factual questions) do you (as in anyone) actually know. Not believe you know, but actually know. Knowing something is different to reading about something, or he
18.
▲
by
gbuk2013
4mo ago
I led a project to (successfully) migrate a Vue 2 to 3 app and while that was painful and expensive, I still find Vue more pleasant to work with than React once it was done. But TBH depending one team code discipline either could be fine or
19.
▲
by
gbuk2013
5mo ago
Random indeed - I’m also just down the road. :)
20.
▲
by
gbuk2013
6mo ago
Me too except I just use rye malt instead of the bread and without making any dough with it. The malt is cheap and easy to get in UK thanks to home brewing suppliers whereas rye bread is super expensive. My only challenge is controlling the
21.
▲
by
gbuk2013
6mo ago
If by tourist track you mean several cities each with a population count greater than London then sure. :) But it is true I was there as a tourist to see a few places and China is an absolutely huge place. I wish the touristy places in the
22.
▲
by
gbuk2013
6mo ago
I’m currently travelling in China and the total absence of graffiti and the wide availability of public toilets as well as the general cleanliness of the place is a stark contrast to London. I am somewhat dreading that part when I return.
23.
▲
by
gbuk2013
6mo ago
As someone who runs a such a VPS this is all a non-issue. Running HTTP service is so trivial that once I set it up I don’t even spend an hour in a year maintaining it. Especially with Caddy which takes care of all the certs for you. And thi
24.
▲
by
gbuk2013
6mo ago
From the article > Analysts concluded that 23 sailors survived the initial blasts and took refuge in the small ninth compartment at the rear of the submarine. > Evidence suggests they remained alive for more than six hours. When oxyge
25.
▲
by
gbuk2013
6mo ago
It is a specialised instrument but a useful one: batch processing and query pagination are first class use cases for generators that can really simplify business logic code. Stream processing is another and in fact Node.js streams have had
26.
▲
by
gbuk2013
7mo ago
I kid you not a few jobs ago I found several race conditions in my code and tests by running them at the same time as a multi threaded openssl burn test. :)
27.
▲
by
gbuk2013
7mo ago
That is a good question - my personal opinion is that it should mean that models are not subject to copyright at all (similar to databases) but we will see what the courts decide :)
28.
▲
by
gbuk2013
7mo ago
In mind, if you feed code into an AI model then the output is clearly a derivative work, with all the licensing implications. This seems objectively reasonable?
29.
▲
by
gbuk2013
7mo ago
Right, this is what they said in the customer notification email I got today: “The underlying causes of the increased costs are, among others, the exploding demand for AI-related computing power and for cloud services. In addition, raw mate
30.
▲
by
gbuk2013
7mo ago
I have to say I am not a fan of doing this on the client side. API gateways (which is what server side load-balancer can be abstracted as) serve as important control points for service traffic, for example for auth, monitoring and observabi
More ›