Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
samatman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
331.
▲
by
samatman
2y ago
And yet here you are!
332.
▲
by
samatman
2y ago
Corporate personhood, a legal fiction, is not relevant here. The First Amendment in plain words protects the free speech rights of corporations, by referring to "the press". I have no opinion on what Amazon is doing, but they hav
333.
▲
by
samatman
2y ago
> if it compiles it typechecks is kind of tautological It's not tautological at all, because the type system in Rust and Haskell is not a trivial condition of the language. > not particularly effective as a saying or slogan N
334.
▲
by
samatman
2y ago
I more commonly solve a problem like this one with /findtext<CR>creplacetext<Esc>n.n.n.n. Remembering the syntax is not a problem here. Learning it in the first place, on the other hand... I do like multiple cursors though.
335.
▲
by
samatman
2y ago
Zig: fn signExtend(raw: u11) i32 { return @as(i11, @bitCast(raw)); } test "signExtend" { try expectEqual(1023, signExtend(1023)); try expectEqual(-1, signExtend(2047)); }
336.
▲
by
samatman
2y ago
2048 is a better game, which is why it's 100x or more popular than Threes. I'm sure that you, a connoisseur, greatly prefer Threes, which is great. It can be fun to have a taste which is that of a very small minority. But, to stat
337.
▲
by
samatman
2y ago
I saw that comment but didn't follow the algolia link. I didn't realize Stephen Wolfram was dang's personal We Do Not Mention the Orangutan. I suppose that given the inevitable prevalence of clichéd back-and-forth tropes and
338.
▲
by
samatman
2y ago
I made the suggestion! "if it compiles, it type checks". Rust's type system is much more sophisticated than that of C++ and Python, and that is the difference you're gesturing at. Also, no, the Rust compiler will happi
339.
▲
by
samatman
2y ago
I don't agree. This doctrine presumes all of the following: - String data will be properly encoded - There is one encoding of strings (UTF-8 usually) - Validation must occur when string data is created - Truncating a logical
340.
▲
by
samatman
2y ago
> If it compiles, it works. This slogan sucks. If it compiles, it type checks. Yes, Rust has a more sophisticated type system than Python with annotations, so it catches more type errors. No, the type system cannot prevent logic bugs o
341.
▲
by
samatman
2y ago
I don't understand why this would make a difference. Any given snapshot has a linear history, so it should be as bisectable as the rebased equivalent. What am I missing here?
342.
▲
by
samatman
2y ago
You'll never obtain universal agreement for a mine, because there will always be a contingent for whom the correct number of mines is zero. They'll never put it that way, of course. But the decision process they exhibit is "
343.
▲
by
samatman
2y ago
That was a good decision, because the rule creates a negative responsiveness paradox. Spending money to support your preferred candidate should not make opposing candidates stronger. That was the effect of Arizona's rule: money spent
344.
▲
by
samatman
2y ago
Dog whistling is when a politician from the outgroup says something, and the ingroup wants him to have said something else, so they say "dog whistle" and put the offending meaning in his mouth as a replacement for what was actuall
345.
▲
by
samatman
2y ago
> the elimination Yep, that's bad alright. > marginalizes, dehumanizes This is the part which means anything that authorities or other powerful groups need it to.
346.
▲
by
samatman
2y ago
I was wondering what Timnit Gebru was going to get up to next. This definitely fits the bill. https://www.dair-institute.org/team/
347.
▲
by
samatman
2y ago
There are very few always in such matters, but I view this one as an 'except for rare circumstances'. Even when true, it should be modeled as "contained state where the container includes everyone". The problem is tha
348.
▲
by
samatman
2y ago
Generally, in the United States, you can, in fact, just record people. Legally speaking, that is, which doesn't make it a polite or cool thing to do. Necessarily. If you're on someone else's property, they can of course set
349.
▲
by
samatman
2y ago
Twaddle, actually.
350.
▲
by
samatman
2y ago
Disagree on the order, unless the next institution is also an educational one, which for undergraduates is mostly not the case. If it's a job, the order will be school, school, major, everything else on the résumé, grades maybe.
351.
▲
by
samatman
2y ago
> the metric system itself doesn't use the metric system Of course the metric system doesn't use the metric system. How would that even work? SI units are, as you point out, defined in terms of measured aspects of reality. US
352.
▲
by
samatman
2y ago
The US uses the metric system, just with very non-standard units. All of the fundamental customary units are defined precisely in SI terms. The precise five gram weight of the nickel was deliberate, but dates to the Civil War, a time when t
353.
▲
by
samatman
2y ago
Indeed. Calibrating scales with nickels is a well-known trick in certain circles, including, but not limited to, organic chemistry labs. It won't do for analytic weighing, but for sanity-checking a scale before weighing out reagents, i
354.
▲
by
samatman
2y ago
Ok, but if there isn't a high-entropy sequence of "something you know" somewhere in the system, you've created some pretty bad failure modes. 1Password requires a master password periodically, but can otherwise be unlock
355.
▲
by
samatman
2y ago
This is straightforwardly, nakedly, embarrassingly illiterate and wrong. Money has velocity. The faster it moves around, the more there is. If you're a waiter and you get tipped the same serial-numbered twenty dollar bill five times, y
356.
▲
by
samatman
2y ago
There's a conflation going on here which is a blocker, shall we say, for understanding the two sides of this coin. The antonym of async is not blocking, it is synchronous. The antonym of blocking I/O is evented I/O. Stackless
357.
▲
by
samatman
2y ago
Every dollar a company makes is given to them by someone, in exchange for something else. I go to the supermarket, they don't take my money. I pull it out of my pocket and swipe it into their coffers. They have food, you see. Which I c
358.
▲
by
samatman
2y ago
If you don't want to give away software, and it sounds like you don't, then. Don't. Perhaps you're under the impression that I blindly click the button for a permissive license? No. I read it first. I know what it allows
359.
▲
by
samatman
2y ago
Clockwise with the Vernal Equinox at 9 o'clock. I suspect that's the most common case.
360.
▲
by
samatman
2y ago
I get good mileage out of this as well. Sometimes you know that a bug is dumb and you still don't see it right away. LLMs are good at dumb bugs, and I would much prefer to spare my effort for the not-dumb ones. That, and a head start o
More ›