Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
samatman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
721.
▲
by
samatman
2y ago
I've long been partial to this formulation: > 1972 - Dennis Ritchie invents a powerful gun that shoots both forward and backward simultaneously. Not satisfied with the number of deaths and permanent maimings from that invention he
722.
▲
by
samatman
2y ago
Nit^3: this point would have been effectively conveyed as '"Google's internal style guide"'. By putting only "internal" into quotes, you call into question whether its public existence invalidates the inte
723.
▲
by
samatman
2y ago
So you got me thinking about what I actually do, and several rounds of typing "sphinx of black quartz, judge my vow" while trying to simultaneously notice what my fingers are doing, and do what I would do naturally†, I realized
724.
▲
by
samatman
2y ago
The reasons for this are entirely political. Technology, left to its own devices, would have followed the usual maturity curve on fission power, which would be universal, ubiquitous, abundant, and cheap. Solar power has neither the geopolit
725.
▲
by
samatman
2y ago
Problems with the BMS can become problems with the cells very quickly.
726.
▲
by
samatman
2y ago
> It's only from that horrible hand position that I can imagine "keys in a straight line" being an improvement. As long as you type comfortably, you're doing fine. But if you want to wrap your mind around it, that s
727.
▲
by
samatman
2y ago
Looks great! I don't understand how you minimal-key-count types manage, but that's a me thing. I'm taking the wrist pain comment as a jumping off point to remind those of us who type a lot (surely a comfortable majority!) tha
728.
▲
by
samatman
2y ago
Wikipedia should consider becoming an encyclopedia again. That would be nice.
729.
▲
by
samatman
2y ago
> I don't understand what "Zig comptime is part of the compiling process" means in contrast to Racket. You've made that clear, yes.
730.
▲
by
samatman
2y ago
Everything I know, or need to know, about branch prediction, I learned from James Mickens. https://scholar.harvard.edu/files/mickens/files/theslowwinte...
731.
▲
by
samatman
2y ago
> If you are claiming that "compile-time evaluation" (macros) in Racket works with lists (i.e. the input to a macro is a list, and the output from a macro is a list), that is false. It works with syntax objects This is a dist
732.
▲
by
samatman
2y ago
The comptime keyword is only needed in Zig if the code could execute at runtime. It forces compile-time evaluation, but it isn't the only way for it to happen. So Zig actually does what you seem to think it should do (and I agree! it
733.
▲
by
samatman
2y ago
I wouldn't include codegen under biphasic programming, which is, according to the lede of The Fine Article: > characterized by languages and frameworks that enable identical syntax to express computations executed in two distinct p
734.
▲
by
samatman
2y ago
> Zig's metaprogramming facilities are very simple in comparison. They work differently, is the main thing. Racket's #lang extensions are very sophisticated indeed, but/and they do what Lisp-style compile-time evaluation
735.
▲
by
samatman
2y ago
I second this recommendation. I'm impressed by what TigerBeetle has accomplished, and would love to see more of the industry approach software engineering with their philosophy and rigour. The TigerStyle video is well worth watching fo
736.
▲
by
samatman
2y ago
> Not every open source project needs to be monetized. Where was this claim made? I missed it. > Projects that were created to "scratch one's itch" tend to fare better than those built to make money. Devs put more lo
737.
▲
by
samatman
2y ago
> as far as I know the Brits didn't have any building nearly that tall in 1700 I assume that reference was to Lincoln Cathedral, the tallest spire of which is indeed 520 feet tall. > This argument of yours projects onto the pa
738.
▲
by
samatman
2y ago
The only humans who are "genetically all the same" are pairs of identical twins.
739.
▲
by
samatman
2y ago
Lap swimming is alternating repetition, which Alexander specifically cites as the soul-satisfying alternative to simple repetition.
740.
▲
by
samatman
2y ago
> That was more than a century before we had the technology to determine that humans are genetically all the same. What a comically false thing to say.
741.
▲
by
samatman
2y ago
For what it's worth, I've found that muscular twitches are always a symptom of magnesium deficiency, which caffeine does exacerbate. Since I adore coffee and don't intend to stop drinking it, I supplement with magnesium drops
742.
▲
by
samatman
2y ago
C++ has operator overloading, so you can define the spaceship for any class, and get every comparison operator from the fallback definitions, which use `<=>` in some obvious ways.
743.
▲
by
samatman
2y ago
This is one of the oldest computer operators in the game: the arithmetic IF statement from FORTRAN. It's useful for stable-sorting collections with a single test. Also, overloading <=> for a type, gives all comparison operators &
744.
▲
by
samatman
2y ago
I'm saying that discussions of the origins of Yiddish do not cover Knaanic because it isn't a part of the origin of Yiddish. No different from Judeo-Arabic in that sense: an interesting topic in its own right, just not relevant. &
745.
▲
by
samatman
2y ago
Infrastructure is routinely subsidized because of the benefits it brings. Taxing the problem can help pay for that subsidy, that has some hazards because now government revenue depends on carbon emissions, but it can be part of the solutio
746.
▲
by
samatman
2y ago
The solution to all of these problems is an aggressive buildout of nuclear fission plants to provide baseline power and accelerate the closure of all remaining plants which burn fossil fuel. Subsidized if necessary, as essential infrastruct
747.
▲
by
samatman
2y ago
And they wouldn't, because the only person who suggests that Knaanic was ancestral to Yiddish, rather than having been displaced by it, is Wexler. Who is an unpleasant and academically dishonest crank, who, in addition to his discredit
748.
▲
by
samatman
2y ago
> It's a feature I've not seen elsewhere. Not at all the same feature, but more general and powerful, is registers in Vi-based systems. That was the feature that convinced me to learn the Way of Vim. I get the heaviest use o
749.
▲
by
samatman
2y ago
My point wasn't actually that Rust's ownership model could be improved. While that's also true, features like being able to take disjoint mutable borrows of two fields of a struct are generally agreed to be good things to hav
750.
▲
by
samatman
2y ago
> the problems that "creates" with programming in Rust are actually problems revealed by programming in Rust, not created. I would dearly like to see Rust advocates be more careful when they talk about this aspect of their be
More ›