Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
johnfn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
961.
▲
by
johnfn
2y ago
The reason I didn't respond to the rest of your post is because I can't understand its relationship to your argument. There is no need for deeper understanding here. It's just a substring match.
962.
▲
by
johnfn
2y ago
> it knows what is being said in those videos at the exact moment it is said. How did you think they did automated closed captioning..?
963.
▲
by
johnfn
2y ago
That's not the whole argument though - the argument is, what is the better alternative?
964.
▲
by
johnfn
2y ago
The "performance angle" isn't really an angle. It gets bandied around by junior devs new to React, but it's not the primary selling point of React - in fact, it's not a selling point at all. Don't believe me? J
965.
▲
by
johnfn
2y ago
Haha, I was wondering how the author did subtitles for the text to speech. Turns out they painstakingly hard-coded every one: https://github.com/AndreiBalan-dev/there-is-no-website/blob/... I'm not even
966.
▲
by
johnfn
2y ago
Write it in React, and if you run into performance issues, there are a bunch of well-known performance optimizations you can make which are easy to discover. It's a well-trodden path that many engineers have walked before. Write it in
967.
▲
by
johnfn
2y ago
> The bugs admitted in the compiler changelogs are just the tip of the iceberg. Whenever possible, compiler writers refuse to take responsibility for the bugs they introduced, even though the compiled code worked fine before the "op
968.
▲
by
johnfn
2y ago
I have aphantasia and I play chess (albeit not very well...) Honestly, I think that aphantasia is a bit overhyped; I can do virtually all the things that people with normal mental imagery can do, except I suppose actually visualize the thin
969.
▲
by
johnfn
2y ago
Do you understand any of it?
970.
▲
by
johnfn
2y ago
Whoa, thanks for sharing this. I've never seen it before. Crazy and kind of sad how much of a difference there was in the last 8 years.
971.
▲
by
johnfn
2y ago
Your solution looks alright. I think you could use a defaultdict() to clean up a few lines of code, and I don't fully understand why you have two nested loops inside your file processing loop. Here's my solution in TS. const
972.
▲
by
johnfn
2y ago
If you have plenty of potential job leads and you find yourself in the position of sifting through them for the best one, that may be true. That's not the case for most people.
973.
▲
by
johnfn
2y ago
Half of all projects fail because they start with making a load balancer. The other half of projects fail because they become successful and don't have one.
974.
▲
by
johnfn
2y ago
Maybe you gave up before Google released Gemini Advanced? This viewpoint seemed more accurate before it was related, but Gemini Advanced is the third best LLM as rated here [1]. In fact, had second place until a few days ago when Claude 3.5
975.
▲
by
johnfn
2y ago
I don't get this. Obviously Figma already stored all your designs in their cloud. What's the additional problem with also getting AI suggestions back from Figma?
976.
▲
by
johnfn
2y ago
The article says that React was about to make a change, the community pointed out it had bad trade-offs, and React backed off. What does that have to do with Vercel? Where's the problem with React here?
977.
▲
by
johnfn
2y ago
Hm, maybe I'm not seeing the point here, or maybe I'm just too old and crotchety. But it seems to me that Effect provides two things: 1. A way to have strongly-typed errors 2. A standard library, like a better HTTP library and bet
978.
▲
by
johnfn
2y ago
It is actually Effect-specific, because Effect modifies control flow in JS. For instance, if you pipe 3 functions in Effect, you'll have to step through the pipe function to get from the execution of the first to the execution of the n
979.
▲
by
johnfn
2y ago
Very impressive. Can I use it as an external display? I assume not, but that would strongly push me towards buying one.
980.
▲
by
johnfn
2y ago
It is true. If you paste it into TS on its own line, even inside a function, TS will flag 'a' as an unused label.
981.
▲
by
johnfn
2y ago
I think this is because {a:1} is a cleverly disguised block statement with a label named 'a', followed by the expression 1. It looks bad, but it never comes up in practice because {a:1} is only parsed as a block if it's at th
982.
▲
by
johnfn
2y ago
Man, where is the hacking spirit? OP posts a very cool, impressive hack and all everyone can talk about in the comments is how it actually isn't interesting to them.
983.
▲
by
johnfn
2y ago
What sort of workouts do you do? I've been trying to do the same thing, but I'm finding it difficult to get VO2max to go up consistently.
984.
▲
by
johnfn
3y ago
A blind person can still hear the spatial audio in Everquest. I think they would get the point.
985.
▲
by
johnfn
3y ago
> But why is virtual reality associated with small screens and head tracking? Because this improves the quality of VR. > Why wasn't Everquest on a CRT "virtual reality"? It is an extremely limited form of VR. > why i
986.
▲
by
johnfn
3y ago
It's as if you're responding to a different comment than the OP. GP talks about dealing with many years of hardship, no food, losing their house and car, and so on. Tolerating that and coming out stronger doesn't seem like do
987.
▲
by
johnfn
3y ago
Shouldn't the price of a burger go down, not up? We should be more efficient at manufacturing and distributing food in 2024.
988.
▲
by
johnfn
3y ago
That's not really true; I see unit-tests for type-level stuff frequently. Here's some: https://github.com/RuyiLi/cursed-typescript/blob/master/type...
989.
▲
by
johnfn
3y ago
I'm surprised this didn't get more votes. I thought it was fantastic!
990.
▲
by
johnfn
3y ago
How does this differ from https://www.looria.com/ ?
More ›