Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
camgunz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
361.
▲
by
camgunz
1y ago
I wrote a reply to a sibling comment here [0], but wanted to reemphasize that Rust and Swift are far from popular. I think it bears repeating because the gap between a Rust/Swift and Go is notable, but the gap between a Rust/Swift
362.
▲
by
camgunz
1y ago
Just searching for "programming language popularity": - TIOBE [0]: Go 7 :: Rust n/a (> 10) - IEEE Spectrum [1]: Go 8 :: Rust 11 - Stack Overflow [2]: Go 13 :: Rust 14 (they're pretty close here) - GitHub [3]: Go 10 ::
363.
▲
by
camgunz
1y ago
I was sort of with you until Mamdani. He ran as a Democrat, in the Democratic primary. Cuomo outraised him by huge margins. NYC has ranked choice voting. Seems like things worked?
364.
▲
by
camgunz
1y ago
My answer to this (good) question is: do whatever banks do to value illiquid assets when they lend against them (this is how the wealthy largely have cash at all), then levy taxes accordingly. Hell if you want, add the taxes to the interest
365.
▲
by
camgunz
1y ago
The "X is like Y but Z" game w languages is pretty fun, and kind of illuminating as to what one thing you pick. Go is like C but with concurrency/strings/GC/a good stdlib Go is like C++ but simpler/fast compila
366.
▲
by
camgunz
1y ago
> And even regarding proprietary forks, the article makes a point that, long-term, those are prone to enshittification and/or abandonment, while the open fork is always there and keeps changing maintainers and maturing unstoppably D
367.
▲
by
camgunz
1y ago
I read through these on SCP just last week and loved them; can recommend.
368.
▲
by
camgunz
1y ago
This article doesn't reckon with cloud providers (etc) eating your project. (2015) indeed.
369.
▲
by
camgunz
1y ago
Skipping to the end here: if you're inside a Python thread and you're making your own event loop, something has gone badly. Maybe you made a bad choice (using threads inside an async task instead of an executor), maybe you have so
370.
▲
by
camgunz
1y ago
Look, either you move the program counter to a different place in memory (function call) or you push a task into an event loop. Even if you somehow elide all these differences, they're so different under the hood you'll always hav
371.
▲
by
camgunz
1y ago
Well, here we go I guess. Why can't you just use FastAPI? Or Tornado? Isn't there also an async Flask? Isn't Django also async now? What minor god have you angered to be chained to a non-async framework?
372.
▲
by
camgunz
1y ago
I can't say there's no good reason to have per thread event loops, but I think I can say if you do know of one you're suffering a terrible curse. I can only imagine the constraints that would force me to do this.
373.
▲
by
camgunz
1y ago
Oh no you're right it's a pain in the ass and weird. But I think it's the way because there's no good reason to have more than one event loop. Also... maybe it started out as generator wrappers? I think I read something
374.
▲
by
camgunz
1y ago
I thought it was the exact same; an event loop in Python is just whatever Io is in Zig, make it a param, get it from an import and a lookup (`import asyncio; loop = asyncio.get_running_loop()`). I might be misunderstanding what you're
375.
▲
by
camgunz
1y ago
I'm so exhausted by these threads. Hacker News is, if it's anything, a site built by tech entrepreneurs for tech entrepreneurs. If you really think you can do better, fork Firefox, hire some engineers, and have at it. Brendan Eich
376.
▲
by
camgunz
1y ago
Thanks! Uh, it helps a little. I'll see about making an AGENTS.md. I guess I can agree that there's something about like, maximizing the amount of good output from an agent, and to do that you need to give it a lot of access and i
377.
▲
by
camgunz
1y ago
Python, for example, will let you call async functions inside non-async functions, you just have to set up the event loop yourself. This isn't conceptually different than the Io thing here.
378.
▲
by
camgunz
1y ago
I was gonna come down super hard on you, but I think you might be right. Jesus Christ. https://pmc.ncbi.nlm.nih.gov/articles/PMC9385573/
379.
▲
by
camgunz
1y ago
Man, apenwarr for prez. In a weird ass climate of ICE raids, military flexes, AI grift and intense income inequality he drops this gauntlet. I love it.
380.
▲
by
camgunz
1y ago
Can you say more than literally "you're using it wrong"? Otherwise this is a no true scotsman (super common when LLM advocates are touting their newfound productivity). Here are my prompts, lightly redacted: First prompt: ```
381.
▲
by
camgunz
1y ago
I have two responses to the "code review fixes these problems" argument. One: The work to get code to a reviewable point is significant. Skipping it, either with or without AI, is just going to elongate the review process. Two: Th
382.
▲
by
camgunz
1y ago
Yeah it only works at a very high level, but from there it's a pretty good measure. Like it's basically "what are the values of the inputs vs. the outputs", which is dead simple. At any lower level there are lots of conf
383.
▲
by
camgunz
1y ago
I finally took the plunge and did a big chunk of work in Cursor. It was pretty ideal: greenfield but with a very relevant example to slightly modify (the example pulled events over HTTP as a server and I wanted it to pull events over Google
384.
▲
by
camgunz
1y ago
This is maybe true for 2016. In 2020 and 2024 Trump/Biden/Harris were just part of larger trends that saw Western incumbents worldwide lose their seats. As a thought experiment, do you think X would have made the difference if Nik
385.
▲
by
camgunz
1y ago
Wow, I (kind of, my friends were way better at it than I was) played The Two Towers in like '95-'96. Honestly should get back into it; I bet I'd love it now.
386.
▲
by
camgunz
1y ago
Wow it's one of the best things about SQLite, truly tragic. Another point in your favor I think is like, the coding (deployment, etc) isn't usually the bottleneck. Like in a given 2 week sprint I'm probably spending... max 24
387.
▲
by
camgunz
1y ago
You're right and I agree: in order to successfully use LLMs to build software products of any significant complexity, you need an experienced dev at the helm. My guess is this is the case for another couple years max, but who knows rea
388.
▲
by
camgunz
1y ago
Fly.io just shipped Phoenix.new which is legitimately "do the whole thing super fast (as long as you could already mostly do the whole thing at regular speed)". I really don't think this is hype.
389.
▲
by
camgunz
1y ago
Maybe you dashed this off and I'm digging into a comparison that wasn't meant for deep scrutiny. But ripping wood is an extremely small part of carpentry. The AI hype is literally "have an LLM eat a bug report on GitHub, wait
390.
▲
by
camgunz
1y ago
Hey same team. Earnestly asking: what should we do? I have some ideas but honestly they're so radical they feel like wild overreactions.
More ›