Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
qsort
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
301.
▲
by
qsort
1y ago
I have done something exactly like this in production for a system that turned natural language into SQL. This was pre-LLM, so we had models that produced intent and keywords as structured output and we had to turn it into queries for sever
302.
▲
by
qsort
1y ago
Well, there's a closed formula right? I wonder if it's faster to carry out the computation in Z[sqrt(5]).
303.
▲
by
qsort
1y ago
Not true quicksort though :) That's the problem with comparing lines of code: you're comparing apples and oranges. In this case you aren't even solving the same problem.
304.
▲
by
qsort
1y ago
I don't deny that there's utility in what you are describing: if you can make it work for you that's fantastic. However: - if you can ship software like that given the current state of the technology, you are probably not the
305.
▲
by
qsort
1y ago
Projects like this have to update frequently, having a mechanism like npm or pip or whatever to automatically handle that is probably easier. It's not like the program is doing heavy lifting anyway, unless you're committing outrig
306.
▲
by
qsort
1y ago
It might be 1998 design, but I'd much rather visit a 1998 website than the vast majority of "modern" stuff. My other screen has Teams on it and without a shred of irony and before accounting for the waste of resources, that w
307.
▲
by
qsort
1y ago
Regrets are mostly irrelevant to this discussion. A "regret" is either: - I now have information I did not have at the time I made a choice that binds me now. - I changed my mind. Whether I believe it or not makes no difference be
308.
▲
by
qsort
1y ago
Those quizzes are completely worthless. There's no way 53% of the population doesn't know that. It was probably worded weirdly or set up in a way that tricked people. Another one that made the rounds recently was the one where t
309.
▲
by
qsort
1y ago
> we're not perfect rational optimizers of anything "Perfect" is too strong an hypothesis, but none of those behaviors are irrational per se. People would rather be fit than overweight, but that's not the choice on th
310.
▲
by
qsort
1y ago
It's basically the story of the last 3 years. Can't ignore the technology, but every loser grifter in existence has been on AI full time. On average, the more they are fanatics of it, the less they're able to take advantage o
311.
▲
by
qsort
1y ago
If you're technical try Fedora. It's a bit on the bleeding edge side, but it's a zero-bullshit OS that mostly just works. Debian is another great option, but packages are a bit behind. If you're not technical honestly ju
312.
▲
by
qsort
1y ago
It's easier to write code for efficiently computing the inverse in that form, roughly: int FastExp(int a, int e, int p) { if (e == 0) return 1; if (e == 1) return a; if (e % 2 == 0) return FastExp((a*a)%p, e/2, p
313.
▲
by
qsort
1y ago
I'm sorry, I simply refuse to take seriously an outlet that publishes the following: """ Remarkably, SQL has started dropping slowly recently. This month it is at position #12, which is its lowest position in the TIOBE i
314.
▲
by
qsort
1y ago
Unless you're running a police state environment where every minute of company time is tracked, enough opportunities for it to happen organically exist that it's not a matter of how you organize it, it's a matter of culture.
315.
▲
by
qsort
1y ago
The vilification of juniors and the abandonment of the idea that teaching and mentoring are worthwhile are single-handedly making me speedrun burnout. May a hundred years of Microsoft Visio befall anybody who thinks that way.
316.
▲
by
qsort
1y ago
> How many years before the industry will get to the point When/if the underlying model gets good enough to support that pattern. As an extreme example, you aren't ever going to make even a basic agent with GPT-3 as the base mo
317.
▲
by
qsort
1y ago
We are talking past each other here. Once I solved an Advent of Code problem, I felt like the problem wasn't general enough, so I solved the more general version as well. I like programming to the point of doing imaginary homework, the
318.
▲
by
qsort
1y ago
I have to flip the question, what is it that people like about it? I certainly don't enjoy writing code for problems that have already been solved a thousand times. We reach for a dictionary, we don't write a hash table from scrat
319.
▲
by
qsort
1y ago
I feel like "do one thing and do it well" is an oversimplification: (i) Make each program do one thing well. To do a new job, build afresh rather than complicate old programs by adding new "features". (ii) Expect the out
320.
▲
by
qsort
1y ago
In decreasing order of importance: culture, a good standard library, and tooling that pushes you to be deliberate about your dependencies rather than dumping 300 stupid packages inside every project.
321.
▲
by
qsort
1y ago
I don't understand why parent is downvoted. I'm not an AI booster, but "if you use X tool then you don't understand" is a bad argument and needs to stop. You're supposed to read the output critically and you&
322.
▲
by
qsort
1y ago
I guess it depends? It seems a limited offering if you're planning to go all-in on agents, but on the other hand one of the most common complaints about Claude Code is that its costs are unpredictable and weird. Your mileage may vary d
323.
▲
by
qsort
1y ago
Seems like it's a "limited" version of the offering though: > Pro ($20/month): Average users can send approximately 45 messages with Claude every 5 hours, OR send approximately 10-40 prompts with Claude Code every 5 h
324.
▲
by
qsort
1y ago
> we need to control the capabilities of software X > let's use blacklists, an idea conclusively proven never to work > blacklists don't work > Post title: rogue AI has jailbroken cursor
325.
▲
by
qsort
1y ago
I think this is pretty cool, but it doesn't really move my priors that much. Looking at the commit history shows a lot of handholding even in pretty basic situations, but on the other hand they probably saved a lot of time vs. doing
326.
▲
by
qsort
1y ago
Probably unrelated to the broader discussion, but I don't think the "skeptic vs pro-AI" distinction even makes that much sense. For example, I usually come off as being relatively skeptic within the HN crowd, but I'm act
327.
▲
by
qsort
1y ago
You don't. You keep them in symbolic form until they simplify and you do arithmetic at the last possible moment.
328.
▲
by
qsort
1y ago
Probably uses less memory? The big one is not having node as a dependency. Performance, extensibility, safety, yeah, don't really warrant a rewrite.
329.
▲
by
qsort
1y ago
It doesn't seem that appealing to me either, but on the other hand I have terrible intuition for popular products, I thought GPT 3.5 was stupid and that the iPhone was dumb, so being bullish on this is probably a good idea.
330.
▲
by
qsort
1y ago
Unrelated to the broader discussion, but that's an artifact of the time control. Humans add nothing to Stockfish in a 90+30 game, but correspondence chess, for instance, is played with modern engines and still has competitive interest.
More ›