Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
morelisp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
571.
▲
by
morelisp
3y ago
I don't think you know what an insanity claim entails. You absolutely give up rights and privileges if you "win" by invoking it.
572.
▲
by
morelisp
3y ago
Because it needs to be hallucinated.
573.
▲
by
morelisp
3y ago
You'll never achieve takeoff if you keep thinking like that.
574.
▲
by
morelisp
3y ago
Yes, I'm sure in 2-3 years I'll be finding plenty of regexes analogous to that cron expression, like one matching balanced parentheses.
575.
▲
by
morelisp
3y ago
> Tell me a cron expression to run command on each third Monday of a month An LLM is probably the only thing which could tell you this.
576.
▲
by
morelisp
3y ago
Even setting temp to 0 retains some nondeterminism.
577.
▲
by
morelisp
3y ago
Even if this is true it's a change.
578.
▲
by
morelisp
3y ago
Ticket control in Berlin seems to have gotten extremely centralized. 5y ago it was pretty random where they might walk a few people through scanning on the train, today it's almost always checks on the platform at major hubs / tou
579.
▲
by
morelisp
3y ago
> converting to a sentinel when possible is the best we can do. Did you, uh, do the thing I can't ask if you did on HN? Because it's entirely about how to get better performance than sentinel values by specially structuring you
580.
▲
by
morelisp
3y ago
The compiler is only vaguely allowed to do this by general "as if" rules; in practice there are so many formal constraints on field layout I don't think it could do better even with the world's most brilliant optimizer
581.
▲
by
morelisp
3y ago
I said conflated, not made formally identical.
582.
▲
by
morelisp
3y ago
https://www.boost.org/doc/libs/1_34_1/boost/optional/optiona... bool m_initialized ; storage_type m_storage ;
583.
▲
by
morelisp
3y ago
Not sure how you come to this conclusion - the sentinel is a performance hit. If you're lucky enough to be working in a language and with the blessed types where it figures out a good sentinel for you, you're still paying the se
584.
▲
by
morelisp
3y ago
C++ would be the obvious poster child. It might be more instructive to list some exceptions: - As described elsewhere in this thread, Julia is able to optimize Array<Option<X>> internally into a bitfield and a tightly-packed arr
585.
▲
by
morelisp
3y ago
Most mainstream languages conflate memory layout and type definitions so your Option<T> is going to be implemented internally with worse-than-sentinel-values and take an even larger performance hit.
586.
▲
by
morelisp
3y ago
Drat. Well, it's an archive format for sharing files, how about shar?
587.
▲
by
morelisp
3y ago
Great point, let's just rename it ar.
588.
▲
by
morelisp
3y ago
IMO this is a fairly deep correspondence. Git and monads both side in the rare octant of "simple, hard, relevant to nearly every programmer's work even if they're not very aware of it". Most quotidian things are simple a
589.
▲
by
morelisp
3y ago
Git stores snapshots. If you want an alternate calculation of diffs git doesn't stand in your way.
590.
▲
by
morelisp
3y ago
How many software developers today are professional chefs (or in training to become one) and how many are unusually high-paying McJobs?
591.
▲
by
morelisp
3y ago
If git is an auxiliary tool, your entire programming environment and language are "auxiliary tools". Today being able to persist and distribute multiple versions of source code is table stakes for being a programmer. If we're
592.
▲
by
morelisp
3y ago
If the last thing you did was switch branches do you want to undo switching branches, or undo the last thing you did on the branch? If the last thing you did was stage, do you want to unstage, or undo the last change outside the staging are
593.
▲
by
morelisp
3y ago
Network effects for distributed VC are quite weak, it's one of the reasons git was able to displace alternatives relatively quietly, and why mercurial is able to soldier on despite git's visible dominance.
594.
▲
by
morelisp
3y ago
This is definitely the real question always underlying this topic, but maybe more charitably: how typical is a collaborative development experience vs. a single-step hierarchy with blessed releases? Is there really a practical argument to l
595.
▲
by
morelisp
3y ago
Yves covered for Maxime Béland's and Serge Hascoët's sexual abuses for decades.
596.
▲
by
morelisp
3y ago
There's no sense in which that's pornographic. The entire point is that it's not sexually arousing.
597.
▲
by
morelisp
3y ago
https://fallout.fandom.com/wiki/RadAway (Some game writer is probably kicking themselves for not coming up with Roentgone, though.)
598.
▲
by
morelisp
3y ago
It seems more likely his advice that the US recognize Russian control of Crimea will be the final beat of his legacy.
599.
▲
by
morelisp
3y ago
It is not versatile - multi-purpose - it is weak - general-purpose. "Encrypt/sign these bytes with this cipher, these parameters, and this key" is the least common denominator of cryptographic ability and ignores all the
600.
▲
by
morelisp
3y ago
Now we will generate the pollution without having to pay anyone anything! Progress!
More ›