Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jonahx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
481.
▲
by
jonahx
3y ago
From the beginning of the article: > In 2015 Ben Blatt simulated the game and found that for P=4 and N=10, the average game will take 860 spins to finish. > But this was based on a mere 50,000 simulated games! We can do better than a
482.
▲
by
jonahx
3y ago
I am so confused. Tailwind UI is a set of prebuilt components for building applications. And catalyst is built from those but is also a "template" which is also an "application UI Kit" which is what I thought Tailwind U
483.
▲
by
jonahx
3y ago
Not necessarily. Think of life in poor neighborhoods today. People can be competitive over limited resources or status within their world of poverty. And the constant threat of violence ("prepared for war") can even exacerbate
484.
▲
by
jonahx
3y ago
This is true, but htmx is targeting developer experience and simplicity, not solving <noscript> user case. For this perspective "interactive websites without any JS" is accurate.
485.
▲
by
jonahx
3y ago
Is it possible to capture changes in git somehow? If not what did you do?
486.
▲
by
jonahx
3y ago
> Every alternative to the big frameworks (looking at you htmlx) feel like minor syntaxic sugar for jQuery Have you used htmx? Since it doesn't solve the same problem jquery did (UX for client side JS), the accusation is misplaced.
487.
▲
by
jonahx
3y ago
To clarify, you mean treat sqrt(5) as a symbolic constant, and then expand out repeated multiplications of "a + sqrt(5)*b" to arrive at an expression with addition and multplications involving powers of a, b, and sqrt(5)?
488.
▲
by
jonahx
3y ago
> They play very fast. It can become more like poker, where deceit is a part of the game. If you spam down your stones fast enough sometimes you can skip a bowl, or drop an extra stone, in order to gain advantage. What you describe is ju
489.
▲
by
jonahx
3y ago
> If you're discussing the expense of attacking your scheme with or without rainbow tables, you've already lost. Can you elaborate on this or link to some info elaborating what you mean? I'd like to learn about it.
490.
▲
by
jonahx
3y ago
It may be hard to define, and sometimes you'll get tricked, but it doesn't make it less real. You know it when you see it. Everyone does.
491.
▲
by
jonahx
3y ago
I believe in both cases the Turing completeness is accidental, and in the case of CSS a security concern. (In the case of TS, see https://github.com/microsoft/TypeScript/issues/14833 ) If anyone has more histo
492.
▲
by
jonahx
3y ago
Images of violence. Also the phrase "you think this image is acceptable to show to young kids" subtly alters my position in a disingenuous and (I think) intentional way. My position is not that you should "show young kids g
493.
▲
by
jonahx
3y ago
The difference is that I rate the amount of "hurt" to the viewers as essentially zero in this case, and I think the concern is misplaced pearl-clutching.
494.
▲
by
jonahx
3y ago
The DALL-E images are surprisingly good, especially compared with my own experiments. Is this due to curation on your part, or some other technique?
495.
▲
by
jonahx
3y ago
I already do.
496.
▲
by
jonahx
3y ago
100%, and not just as devil's advocate. Let the punishment fit the crime. My sympathies are entirely on the side of the game's author. It's just an obscene image -- the "collateral damage" in this case is perfect
497.
▲
by
jonahx
3y ago
Love it!
498.
▲
by
jonahx
3y ago
So beautiful. To be clear, this is a trailer/demo and not an actual game you can play?
499.
▲
by
jonahx
3y ago
> ghci> filter (\x -> (length x) > 2) ["a","bb","ccc","dddd"] ["ccc","dddd"]... I find the Haskell syntax concise and clear... > ["a","bb",&quo
500.
▲
by
jonahx
3y ago
Sigh. Yes, I am aware of the technicalities you describe. I thought my point was clear without my needing to be pedantically accurate. In many languages (even in JS!) you can just map a function point-free, rather than having to introduce
501.
▲
by
jonahx
3y ago
Imo using "good variable names" in cases where that variable is effectively functioning as nothing more than a syntactically necessary placeholder for a point-free phrase is a clear (if well-intentioned) mistake. It makes the cod
502.
▲
by
jonahx
3y ago
Aesthetically, yes, I agree (subjectively) that "_1" is uglier than "|u|". However, saying that the latter is "more readable" lacks foundation imo... both are conventions, both are simple to understand, and you
503.
▲
by
jonahx
3y ago
From the Method section: "In each sequence, people randomly (or according to an algorithm) selected a starting position (heads-up or tails-up) of the first coin flip, flipped the coin, caught it in their hand, recorded the landing posi
504.
▲
by
jonahx
3y ago
TLDR: These are languages I'm familiar with: ... These are languages I'm not: ...
505.
▲
by
jonahx
3y ago
> Are there any other languages that use glyphs so heavily? APL (the first, invented in the 1960s): https://en.wikipedia.org/wiki/APL_(programming_language) BQN (a modern APL, looks like an inspiration for Uiua thou
506.
▲
by
jonahx
3y ago
It seems heavily inspired by BQN, even the style of the web page.
507.
▲
by
jonahx
3y ago
This won't look as good when you include all the boilerplate which defines those methods, and which needs to be repeated or otherwise included for every "value" type. You don't have to worry about this when they are pur
508.
▲
by
jonahx
3y ago
No more often than the names of the sub-functions themselves becoming inaccurate ime. At some point the system does depend on its authors doing the right thing.
509.
▲
by
jonahx
3y ago
I agree this appears to be the intended mental model. But if that is the case, I'd expect all the arguments to be of some type like "Command", which is not the case here. These expected objects have types like RGBColor or Cu
510.
▲
by
jonahx
3y ago
Graphics3D[{Gray, phone, Black, Thick, xaxis, yaxis, zaxis}, This has always seemed an odd API to me, in that the arguments can alternate between "the objects being drawn" and "stylistic configuration params" w
More ›