Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
qsort
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
601.
▲
by
qsort
3y ago
Coming from someone who has never been a "true believer", I agree that the pushback is a bit harsh, but to be honest they brought it on themselves. When GPT-4 was first released you couldn't walk ten feet without seeing some
602.
▲
by
qsort
3y ago
Why are you noticing a difference? It's one of the most popular N languages in the world for some small value of N, and it's been that way for a long time. The only really big piece of news is the "Shannon plan" but that
603.
▲
by
qsort
3y ago
You can do that by hand writing the number in factorial base: https://en.wikipedia.org/wiki/Factorial_number_system
604.
▲
by
qsort
3y ago
A point that's rightfully emphasized by the author: > Solving problems is the only way to understand physics. There's no way around it. This generalizes well to other fields. I don't want to discourage anybody from trying
605.
▲
by
qsort
3y ago
The election of the doge (ruler) in the Republic of Venice used a mixture of voting and sortition, ostensibly to make it harder to collude. https://www.theballotboy.com/electing-the-doge
606.
▲
by
qsort
3y ago
> But the tendency of compiler people to refuse to take the idea seriously, even for a second, just seems odd. It's not taken seriously because it shouldn't be taken seriously. It's a profoundly ignorant idea that's e
607.
▲
by
qsort
3y ago
No because it's not a random walk. Cards in this problem are not put back in the deck after they are drawn, therefore the probability of going +1/-1 depends on how many cards of each color were drawn so far. It's still markov
608.
▲
by
qsort
3y ago
Any meta-study trying to get replication numbers would likely use a combination of methods, including prediction markets, with techniques like having a small fraction of the contracts resolve. So no, implying this is a Twitter poll is a far
609.
▲
by
qsort
3y ago
They used a prediction market, which at the time the article was published was still to resolve. This is standard practice and methodologically sound. They didn't go around asking people on Twitter.
610.
▲
by
qsort
3y ago
Most social sciences have numbers that are far better than psychology's. https://royalsocietypublishing.org/doi/10.1098/rsos.200566 For fuck's sake, marketing and management has better numbers than psy
611.
▲
The Cognitive Style of PowerPoint [pdf]
(inf.ed.ac.uk)
3 points
by
qsort
3y ago
|
1 comments
612.
▲
by
qsort
3y ago
Stanford's website is apparently unable to explain it either: https://www.gsb.stanford.edu/exec-ed/programs/design-thinkin... Judging from the "participant profile", it sounds like the kind of thing
613.
▲
by
qsort
3y ago
I haven't seen that movie, but yeah, cringe violin aside, that's both a very realistic example of a simple Olympiad-style problem and an actually valid math proof!
614.
▲
by
qsort
3y ago
> I think I figured out that count(2) is from itertools? It is. Itertools is a masterpiece of a module. It has a lot of functions that operate on iterators and will work both on standard iterables (lists, tuples, dicts, range(), count()
615.
▲
by
qsort
3y ago
> can you explain how generators work with multiprocess The best way to think of a generator is as an object implementing the iteration protocol. They don't really interact with concurrency, as far as multiprocess is concerned, they
616.
▲
by
qsort
3y ago
Just to clarify, I don't mean your article is bad or incomplete -- quite the contrary, I enjoyed it a lot. Generators are one of my favorite Python features and they're kind of underused, mostly because people simply don't kn
617.
▲
by
qsort
3y ago
The big missing item from the list: generators! Using "yield" instead of "return" turns the function into a coroutine. This is useful in all sorts of cases and works very well with the itertools module of the standard
618.
▲
by
qsort
3y ago
> Adulation of the Spartans is less about historical exactitude and more about creating a model that everyone can look to in order to build esprit de corps. Very good, but why does it have to be a brutal -- for the standards of the time
619.
▲
by
qsort
3y ago
It's something more like jsfiddle than a full-blown dev environment like codesandbox or stackblitz.
620.
▲
by
qsort
3y ago
The problem with those variants is that they force the usual chess pieces in contexts where they don't really belong. Rooks and bishops follow the obvious geometry of the square chessboard. Knights are the natural complement of rooks a
621.
▲
by
qsort
3y ago
Recent article about this: https://acoup.blog/2023/07/07/collections-the-status-quo-coa...
622.
▲
by
qsort
3y ago
Because everything speaks C. If you write a library in C, it can be easily exposed to a variety of high-level languages and platforms. You might argue this is more a property of the C ABI than of C itself, but unless the project is large en
623.
▲
by
qsort
3y ago
The main reason for that is practicality. '\n' and '\0' are also characters. You could somehow still parse it, but it would be less clear and possibly need more escaping. Multi-character constants are historical baggage.
624.
▲
by
qsort
3y ago
But preference in ordering immediately qualifies you as coming from the east or the west const.
625.
▲
by
qsort
3y ago
Considering we move away from natural language whenever we have the chance to do so (many early formal languages were meant to target the humans who would in turn program computers!), I don't think this is really the case except for ex
626.
▲
by
qsort
3y ago
> I think that confuses doing versus delegating. This is exactly it, thanks for putting it down clearly. Which is also why news of the death of programming as a profession are greatly exagerated. You're not being paid to write code,
627.
▲
by
qsort
3y ago
I get Apple Arcade through my Apple One subscription. I am an happy customer, but also to be honest not much of a gamer. You won't get AAA titles on it (or even a large selection of titles). If you're like me then Apple Arcade is
628.
▲
by
qsort
3y ago
Is it still being played? Back in the day it was one of the few good Linux games.
629.
▲
by
qsort
3y ago
It's one of those things that I would expect people that age to have naturally picked up by themselves. I certainly had, for instance. The world has changed, though, so I don't find unreasonable to have a formal course where you l
630.
▲
by
qsort
3y ago
It's kind of depressing that you need a course to teach those skills, but it's a good thing the need was (eventually) addressed.
More ›