Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
qsort
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
541.
▲
by
qsort
3y ago
If you're like me and your first thought was "why can't we just use flatMap and mapMulti, the summary table in the linked article convincingly explains why: https://cr.openjdk.org/~vklang/Gatherers.html
542.
▲
by
qsort
3y ago
If you're a beginner, Ruby is as good a language as any. Fundamentals are what you should focus on. Pick anything reasonable that appeals to you. Ruby is well inside the boundary of reasonable choices, regardless of popularity metrics.
543.
▲
by
qsort
3y ago
> if one deeply, passionately believes in the necessity of The Law and all of society's institutions, one must with equal passion break laws "-- That whenever any Form of Government becomes destructive of these ends, it is the
544.
▲
by
qsort
3y ago
It's accessible to anybody with any experience programming and who is willing to pay attention. You are just taking a formula out of context, omitting the plain English explanation that comes before it, and pretending it's some ki
545.
▲
by
qsort
3y ago
If you want to see how the Curry-Howard isomorphism works in practice, this is a very accessible introduction: https://groups.seas.harvard.edu/courses/cs152/2021sp/lecture...
546.
▲
by
qsort
3y ago
If you are grouping over them, they shouldn't be columns in the first place, the original SQL is "right". Rows and columns aren't symmetric! Reshaping data should be a presentation -time decision, not a query-time decis
547.
▲
by
qsort
3y ago
Which is itself the poor man's groupby. At some point you've just got to admit you have the wrong abstraction. Strong Zalgo vibes.
548.
▲
by
qsort
3y ago
The article nails down a very real pain point with libraries like Pandas: > looping over a set of input lines seems more natural than the dataframe selectors that Pandas favors Row-oriented operations, as opposed to aggregations and othe
549.
▲
by
qsort
3y ago
> People just convince themselves they won't be able to. As they say, there are two kinds of people: those who think they can program and those who think they cannot, and they are both right. I'm not on the LLM hype train eithe
550.
▲
New technology uses good old-fashioned wind to power giant cargo vessels
(text.npr.org)
1 points
by
qsort
3y ago
|
0 comments
551.
▲
MSN Premium
(microsoft.com)
2 points
by
qsort
3y ago
|
1 comments
552.
▲
by
qsort
3y ago
I despise random politics injections as well, but this is rather tame and very much in line with the ironic spirit of how Python release notes are written. I don't think it's offensive to anybody who doesn't go out of their w
553.
▲
by
qsort
3y ago
Too bad there's no Python API available yet :( It's scheduled to be delivered next year if I'm not mistaken. The new syntax for generic types is also a very nice QOL improvement, you can now just do: class MyList[T]:
554.
▲
Python 3.12
(python.org)
652 points
by
qsort
3y ago
|
328 comments
555.
▲
by
qsort
3y ago
In a roundabout way BASIC on those machines is like modern high-level languages. Slow and inefficient for sure, but most of the magic is happening directly at the hardware level (sprites, memory-mapped IO, etc.), so there's a surprisin
556.
▲
by
qsort
3y ago
How? Genuine question, I'm curious. Unfortunately I don't speak German, pretty much the only German websites I visit regularly are dw and Hetzner, and they aren't too different from other European or American analogues. Maybe
557.
▲
by
qsort
3y ago
An additional problem is trust. With any RCV method, you win because math says so. In a normal election you count. It's basically 100% guaranteed that someone who won most first choices but lost the election will try to delegitimize th
558.
▲
by
qsort
3y ago
I majored in CS and followed two graduate level courses on category theory. If it's any consolation I have no idea either.
559.
▲
by
qsort
3y ago
I'm just reading it as an omission of the degree of possibility when making a prediction. We do this all the time in all sorts of contexts, e.g. "we'll not finish the project if we spend time on this feature".
560.
▲
by
qsort
3y ago
Sounds like job security. Loving it.
561.
▲
by
qsort
3y ago
Python's equivalent of Rust's Enums would be the __match_args__ machinery rather than enums themselves, ironically. They aren't as ergonomic or type-safe, and rather surprisingly the match statement is not an expression in Py
562.
▲
by
qsort
3y ago
What exactly makes "chess" baked in? It sounds like they struck a deal with chess.com to put a bookmark that opens a regular web page. It's no more "baked in" than accessing the same website via Chrome or Safari. By
563.
▲
by
qsort
3y ago
I think in this specific case the size is small enough that you could handle it -- 9! ~= 360,000. But yeah, your point is well taken. On the logic programming side, ASP is probably a better fit.
564.
▲
by
qsort
3y ago
In case anybody's wondering what Prolog is for. There you go.
565.
▲
by
qsort
3y ago
There are no benchmarks worth the paper they're written on, so in a real sense nobody knows what they're talking about -- but my intuition is this as well. If you use normal software, you are dealing with a constrained API. std::v
566.
▲
by
qsort
3y ago
What the article talks about is AI-generated explicit images involving celebrities. Calling that "non-consensual porn" is a bit of a clickbait, as it normally implies things with a far higher degree of badness.
567.
▲
by
qsort
3y ago
I mean data size. It's anecdotally the threshold where "normal" ETL methods start having problems. Obviously performance is hard and the only correct answer is "it depends", but I have never seen Spark improve thing
568.
▲
by
qsort
3y ago
Well I mean, that's a problem with all those solutions. If your dataset is so small it fits in RAM it's simply ridiculous to reach for those tools, and you don't start seeing real advantages until you have truly massive datas
569.
▲
by
qsort
3y ago
Yeah, it's typical LLM output in that it superficially makes sense but if you actually know what you're talking about it really doesn't. Dark Ritual (it already exists and does something else, Storm players are super triggere
570.
▲
by
qsort
3y ago
You're not the first to think that to yourself :) > It may be illuminating to try to imagine what would have happened if, right from the start our native tongue would have been the only vehicle for the input into and the output from
More ›