Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jkoudys
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
121.
▲
by
jkoudys
7y ago
Yep. And I don't see it being fixed in the US, because the anti-single-payer crowd erroneously believes that US healthcare exists under a "free market". In truth, the budget per capita for healthcare in the states is actually
122.
▲
by
jkoudys
7y ago
America has a weird sense of superiority about its lower unemployment numbers vs Canada. The difference is the US, you basically need a job, or else you're one broken ankle, complex childbirth, or infected hangnail away from complete f
123.
▲
by
jkoudys
7y ago
I'm definitely going to The Bad Place when I die, with all that almond milk I drink.
124.
▲
by
jkoudys
7y ago
It's important for developers to understand that programming is at least as much about expressing yourself clearly with language, as it is about maths and compsci views of functions. Language that's more verbose, but also adds cla
125.
▲
by
jkoudys
7y ago
I still remember my first EGA card. I downloaded that picture of Smaug from a BBS. I loaded it up on my screen, stood at the other side of the room, and excitedly declared that from that distance it looked as good as a photo. If I'd se
126.
▲
by
jkoudys
7y ago
I genuinely thought cga was only capable of black, white, cyan, and magenta. Most developers seemed to think the same. Whatever a handful of hackers and the people building the hardware knew, to most of the public that's what cga was.
127.
▲
by
jkoudys
7y ago
ML for resource-intensive apps. Client-side word vectorization would be a nice-to-have -- early classificatiton and sentiment analysis happening client-side opens up a ton of use cases. What I'm more excited for, is it also lets you wr
128.
▲
by
jkoudys
7y ago
Full opt-in for wasm will become as impractical as disabling JS. What we'll need are better resource-level controls, so you could at least be prompted earlier if a site's using high CPU for prolonged periods. Could even help get d
129.
▲
by
jkoudys
7y ago
Well... yeah. I'm much happier using some css-in-ts solution, because then I can use stricter types against what I define. No need to track down why my `background-colour` isn't doing anything somewhere, or setting up some separat
130.
▲
by
jkoudys
7y ago
Html is a language. CSS is a language. JavaScript is a language. You can build the Dom by loading html, and you can build the Dom by making calls from JS. You can write style rules against a selector using CSS, or you can write some declara
131.
▲
by
jkoudys
7y ago
Yep. I feel like most of HN's readership's asm education begins and ends with their 6502 class at uni.
132.
▲
by
jkoudys
7y ago
I wouldn't go by benchmarks run against a 100-length array of numbers. That's so small it's practically a tuple. Where immutable.js improves your perf is if you need to have very large (1M+) datasets, and/or need to keep
133.
▲
by
jkoudys
7y ago
It targets a virtual machine, not a physical one, but other than that it's "assembly-like" enough that learning some core ASM coding practices will help you.
134.
▲
by
jkoudys
7y ago
It's assembly against a virtual machine, not a physical one. You're right it's not appropriate for an embedded system or some other RTS, but assembly doesn't stop being assembly when you target a virtual machine.
135.
▲
by
jkoudys
7y ago
Bytecode is just the instructions, which is actually a level lower than asm, but for a virtual machine instead of a physical one. It's a direct enough abstraction that you can predict the bytecode you'd build from the asm you writ
136.
▲
by
jkoudys
7y ago
Duplicating arrays of objects is well-trod territory as far as the engine goes. Your array isn't storing all the content, just a bunch of pointers to the old objects, so "a couple thousand" entries in the array is trivially s
137.
▲
by
jkoudys
7y ago
Or you can enforce it with readonlys in TypeScript. Not enforced by the engine of course, so there's always the danger some 3rd party component could get its fingers in your objects, but any of the devs on your project will be prevente
138.
▲
by
jkoudys
7y ago
I'd argue that Redux is so downright trivial to learn, there's a good chance that you already know it. The part that takes a bit of study is learning flux. You should already know how a reducer function works from Arrays, and all
139.
▲
by
jkoudys
7y ago
Might see that flip in the coming years, if you consider web assembly (wasm) to be assembly. I do.
140.
▲
by
jkoudys
7y ago
Avoiding "premature optimization" has become such a ridiculous philosophy after it became mainstream and people forgot what it's actually supposed to mean. We stopped understanding the reasoning, and took those two words and
141.
▲
by
jkoudys
7y ago
Doesn't always mean it's particularly performant, unfortunately. The JSON lib in PHP is still C (part of Zend), but it's very susceptible to malloc failures (one big contiguous request for the whole shebang), and it's ge
142.
▲
by
jkoudys
7y ago
This is a constant struggle in design, even (especially) when targeting highly technical audiences. We frequently conflate the familiar with the simple or user-friendly. People will shout "how intuitive!" when a designer repeats a
143.
▲
by
jkoudys
7y ago
ie "python is scary fast because anyone who uses it is mostly running C"
144.
▲
by
jkoudys
7y ago
Dude you've replicated alta vista at best. I'm going to take my google to market and dominate: SELECT * FROM websites WHERE LOWER(title) LIKE '%dancing cats%';
145.
▲
by
jkoudys
7y ago
"I want bunny I want it bunny! I WANT IIIIIIT!" [gets bunny, immediately hurls it across room] "I don't like it I don't want it! I don't like bunny waaaah!" [3 seconds pass] "I want bunny!" My da
146.
▲
by
jkoudys
7y ago
The biggest scam WeWork pulled was only lightly touched on: getting investors to compare them to a software company. I'll never understand how a group trying to monopolize office space so they could jack up the price in the future has
147.
▲
by
jkoudys
7y ago
I'm CTO of a legal tech company, and we've set pretty realistic goals: define a good schema to describe contracts, link them to relevant knowledge, and track how they change over time like git. We use some NLP for figuring out how
148.
▲
by
jkoudys
7y ago
It's a challenge with any demo, because examples in software are always by definition contrived, or too specific to be relatable. There's always going to be some user base that can relate your example better to their challenges th
149.
▲
by
jkoudys
7y ago
They vote.
150.
▲
by
jkoudys
7y ago
What's with the news making every headline about Trump? > after it passed the House and Senate with veto-proof majorities. Doesn't sound like the POTUS had much to do with it, no matter who it was.
More ›