Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ttfkam
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
ttfkam
2y ago
Transactional DDL!
62.
▲
by
ttfkam
2y ago
Or when the version is EOL, not getting security patches, and/or only compatible with an OS that isn't getting security updates. …or you're on AWS RDS, which will automatically bump your db cluster if it goes EOL and you igno
63.
▲
by
ttfkam
2y ago
Since v16, Postgres supports bidirectional logical replication out of the box. In other words, multiple writers.
64.
▲
by
ttfkam
2y ago
It is a PITA, but I've written scripts that pg_dump just the schema, load the schema into the new db with the new version, set up logical replication between the two, wait for them to sync, reset all the sequences, and rebuild indexes
65.
▲
by
ttfkam
2y ago
> My experience has been that they spin up either a hideously under or over-provisioned RDS or Aurora instance, and then never touch it until it breaks That's a true shame considering how easy it is to make a read replica of any siz
66.
▲
by
ttfkam
2y ago
> none of them could articulate what part of its feature set they actually needed to use. Transactional DDL: migration errors never leave the database in an intermediate/inconsistent state. Range types + exclusion constraint: just n
67.
▲
AI Used to Map "White-Only" Properties
(kron4.com)
4 points
by
ttfkam
2y ago
|
0 comments
68.
▲
by
ttfkam
2y ago
Every company has folks that don't even care sites like HN exist.
69.
▲
by
ttfkam
2y ago
Learning how to do all of this is laudable for the same reason that learning LinuxFromScratch is a stupendous way to learn how Linux works and to get a job doing lower level maintenance work. That said, everything on your list is provided o
70.
▲
by
ttfkam
2y ago
> This is the major barrier. It's a difficult language to learn for people who've worked with a compiled, strictly typed language with manual memory management. This was not what Google and others found when they studied it. h
71.
▲
by
ttfkam
2y ago
I'd put even more concerns on C++. All the same concerns plus all the concerns that arise from the compiler not helping you nearly as much. It's easy with C++ to be lulled into a false sense of security because it compiles, and yo
72.
▲
by
ttfkam
2y ago
A garbage collector really takes away a huge amount of cognitive overhead. In doing away with it, Rust requires that you understand the borrow checker and lifetimes, even if minimally due to extensive use of .clone() in your early code. Thi
73.
▲
by
ttfkam
2y ago
If a garbage collected language can easily do the job, choose the garbage collected language. I like Rust, but it is NOT the fastest language to develop in. Typescript, Python, Go, Swift, and even Bash depending on the situation are all qui
74.
▲
by
ttfkam
2y ago
Another use case is when you need a systems language for a user-facing app (even if not directly connected to the internet) and would have reached for C++ previously. Memory corruption bugs are no joke. If you've got staff that already
75.
▲
by
ttfkam
2y ago
A shame the only two choices were Htmx and React.
76.
▲
by
ttfkam
2y ago
Tauri is indeed heading to mobile. https://v2.tauri.app/blog/tauri-mobile-alpha/
77.
▲
by
ttfkam
2y ago
It's all fun and games until California employees actually experience Texas: the heat, the bugs, and open carry everywhere. Good luck with that, Musk. Theory and practice are not going to get along well, especially since a certain GOP
78.
▲
by
ttfkam
2y ago
What do YOU mean, "You people"? https://youtu.be/99IoN2pymfE?si=xF1me0YbEaK_bvlV
79.
▲
by
ttfkam
2y ago
> I'm not sure there is enough pain for them to get replaced anytime soon. https://blog.cloudflare.com/how-we-built-pingora-the-proxy-t... https://blog.cloudflare.com/pingora-open-source
80.
▲
by
ttfkam
2y ago
90 out of 114. 24 eluded me.
81.
▲
by
ttfkam
2y ago
I'd rather go to Svelte for lower bundle size than Preact, better performance than Preact, and clearer code with fewer lines written than Preact. Sure, I'd lose access to the React ecosystem, but I'd also gain access to the
82.
▲
by
ttfkam
2y ago
So how small can you get for a hello world page with a single "hello $name" component, spending an hour or less on it?
83.
▲
by
ttfkam
2y ago
The "reconcile" (my God do geeks love making what they do sound fancier than it is) does not match the HTML5 parser "reconciliation" spec. The DOM element API "emissions" match the order triggered by the markup
84.
▲
by
ttfkam
2y ago
What's the smallest "Hello ${name}" hooked up to an input field you can make deployable in React? Svelte's is about 2.1KB last I checked. Can React get below 40KB?
85.
▲
by
ttfkam
2y ago
So… you can use other markups seamlessly like SVG and MathML… just like XHTML. Walk like a duck, talk like a duck.
86.
▲
by
ttfkam
2y ago
As I said, I don't like coding in C.
87.
▲
by
ttfkam
2y ago
1. React doesn't have less boilerplate than the average let alone most. 2. You haven't seen Angular lately, have you? It's on 18 now. 15 and 16 really trimmed things down.
88.
▲
by
ttfkam
2y ago
Do you have to close all of your tags? Yes. Is the markup based on HTML with XML rules like closing tags? Yes. Do you even have to close the tags of your custom components? Yes. When generating your createElement sequence from JSX, does it
89.
▲
by
ttfkam
2y ago
Postgres. I don't code in C if I can avoid it, since it often feels like an awful lot of extra typing while still having to worry about memory safety. But the Postgres codebase is extraordinarily well organized and respects the humans
90.
▲
by
ttfkam
2y ago
Learn JavaScript first, then React. Far too many devs know the React APIs without any context. If you know JS/TS, any framework is learnable. If you don't, your React code will never improve past mediocre and bloated. Strong found
More ›