Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jeswin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
31.
▲
by
jeswin
3mo ago
They're everywhere. But if you're short on time, buying the postcard is often easier than getting stamps and dropping it in a postbox. One petty complaint - generally across the world, stamp design has nosedived. Compared to old p
32.
▲
by
jeswin
3mo ago
> Thoughts[^0] from Theo, who had early access: I looked at his YouTube, and found a stream of industry gossip and beginner content like "web dev tutorials". I have nothing against such content and it may be useful and good fun
33.
▲
by
jeswin
3mo ago
Misha and Soviet Woman were quite common in the 80s. I remember that the paper and print was much better than what we were used to.
34.
▲
by
jeswin
3mo ago
The problem with ORMs is that they look kludgy without language support - which is why Hibernate in Java looks painful, while DotNet's EF looks like magic. I wrote something similar called TinqerJS - https://tinqerjs.org , w
35.
▲
by
jeswin
3mo ago
I would not trust AI on images. But I once had ChatGPT tell me that an MRI report was very likely to be incorrect based on the text, and offered a different diagnosis. Since it was semi insisting, I visited another doctor who made me do a r
36.
▲
by
jeswin
3mo ago
I was an avid reader during the web 2.0 days. Quite sad that his kind of tech journalism vanished; one could feel the decline of independent blogs month over month, while Facebook and Google were taking over the entirety of the web's t
37.
▲
by
jeswin
3mo ago
At thousands of tokens per second, LLMs (harnesses) can start to do a broader tree search of possibilities even in inefficient token space. This unlocks capabilities outside programming.
38.
▲
by
jeswin
3mo ago
Would prefer not to offend the author, but I do believe this article has very little for the HN audience. No new insight, and no numbers or new information.
39.
▲
by
jeswin
4mo ago
Unrelated to the particular code above. There's a difference between writing code about or adjacent to a proven idea vs writing code in uncharted territory. I suspect that is what happened here. It's the same thing with say music
40.
▲
by
jeswin
4mo ago
Not the same. HttpOnly/Secure cookies were added much later and was not the default. They should have been inaccessible to JS by default from the beginning, and this policy has been a source of countless attacks.
41.
▲
by
jeswin
4mo ago
> utility is of a standard that creates affordances for the insecure defaults You could make the same argument about Cookies. > as opposed to just designing it right from the beginning And generally, it's quite difficult to desig
42.
▲
by
jeswin
4mo ago
Sorry to say this, but it reads promotional. Especially with a model which was on Show HN a couple of months back, and is not a comparable product.
43.
▲
by
jeswin
4mo ago
Lenses are only tested on bodies which are available at the time of manufacture. They might focus hunt on newer bodies, because of tweaks to AF algorithms (for example, the speed at which instructions are transmitted). Sometimes in ways tha
44.
▲
by
jeswin
4mo ago
> at this point a lens for a mirrorless camera will have a USB-C port Ideally, camera bodies should support firmware updates via the body in a non-discriminatory way, but until then I wish manufacturers support firmware updates via USB-C
45.
▲
by
jeswin
4mo ago
Agree that the intermediary is not very useful when you can just use a directory watcher, but driving Claude via another app incurs api level costs starting this month, according to the new ToS.
46.
▲
by
jeswin
4mo ago
> I’m always amazed by human’s capacity to devalue conscious in things they don’t fully understand What? We devalue things we fully understand too. For example, veal = take a baby cow away from the mother, and fry it into cutlets. Or tur
47.
▲
by
jeswin
4mo ago
Docker must always be installed rootless on Linux - https://docs.docker.com/engine/security/rootless/ There's even an install script for it: curl -fsSL https://get.docker.com/rootless |
48.
▲
by
jeswin
4mo ago
tsonic uses NativeAOT by default, and DLR/System.Dynamic isn't supported in NativeAOT. There are switches in tsonic to give you MSIL, but that's used mostly for testing or for compat reasons.
49.
▲
by
jeswin
4mo ago
> strict, deterministic subset of TypeScript I'll add that page, thanks. Today, almost all of idiomatic TS is supported including most of its utility classes. Dynamic JS-style code is not supported, for example adding a function or
50.
▲
by
jeswin
4mo ago
Yes. :) With the goal of compiling it to native code. It's mostly a mechanical port. Hoping to do a Show HN maybe in a month.
51.
▲
by
jeswin
4mo ago
Hmm yeah good point. I didn't think of it. It might even be cheaper to do this when the list of possible types are closed and few. I am still inclined to believe AI just made up the documentation though, because this has its own tradeo
52.
▲
by
jeswin
4mo ago
> Another option is to define your own integer types This is what I did. Most int usage is inferred, but if they had to define it explicitly, I make them import { int } from "@tsonic/core/types.js";
53.
▲
by
jeswin
4mo ago
Yep. The MS compiler written in TypeScript has a lot of dynamic behavior which tsonic cannot support. Those were not easy to port either, and tsgo seemed like a much easier target.
54.
▲
by
jeswin
4mo ago
> such as this project which is converting tsgo to Rust If you'd like to follow, here's my attempt at converting tsgo to typescript (called tsts [1]). Admittedly there's AI involved, but it's a very mechanical job. Go
55.
▲
by
jeswin
4mo ago
> Traditional OOP runtimes use vtables for method resolution, adding a layer of indirection on every call. Perry resolves all method calls statically during compilation, turning interface method calls into direct jumps. What? How is this
56.
▲
by
jeswin
4mo ago
First of all, congrats. The website doesn't explain how it works in a lot of detail. I am the author of tsonic [1], a TS compiler that produces binaries via Clr NativeAOT (on Linux/Mac). The hardest parts were numbers (TS has no i
57.
▲
by
jeswin
4mo ago
> I've been able to refactor one of the most complicated parts of our code base with similar results. Mechanical refactors are relatively straight forward for agents. A rewrite of bun in Rust is unlikely to be a trivial mechanical r
58.
▲
by
jeswin
4mo ago
I'm out of credits codex pro credits (200 plan) in 4-5 days, and then I switch to claude (another large plan) mostly or just go out more and get Vitamin D. :) I spend most of my time designing and tweaking tests suites, and improving t
59.
▲
by
jeswin
4mo ago
It's a highly successful language because (1) it was backed by Google, and (2) created by Robert Griesemer, Rob Pike, and Ken Thompson. If it came out of anywhere else, it might have struggled even to hit the homepage here.
60.
▲
by
jeswin
5mo ago
Docker has not required root for a long time, at least on Linux. There's even a convenience script for it: https://get.docker.com/rootless Almost everyone I know installs docker rootless.
More ›