Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vanusa
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
391.
▲
by
vanusa
5y ago
Don't know about FB specifically, but in Bezosland they apparently are, according to this proud Amazonian, at least: https://www.teamblind.com/post/I-always-ask-leetcode-hard-7S... Smells like a troll - but perhap
392.
▲
by
vanusa
5y ago
I opened up Leetcode and started chipping away at the problems in the “Hard” section. It took me days to solve some and I felt miserable. Self-doubt crept in, and I started to lose motivation. I hopped on 2 phone screens and failed both.
393.
▲
by
vanusa
5y ago
My understanding of Roosevelt is that he was not a racist, To be clear I don't see much point in making character judgements of people who lived generations in the past, and in in circumstances radically different from our own. That
394.
▲
Like witnessing a birth in a morgue: Volunteers working to save the Joshua trees
(theguardian.com)
1 points
by
vanusa
5y ago
|
0 comments
395.
▲
by
vanusa
5y ago
Here the lancet unequivocally states that to our best evidence no alcohol is best. The thing is this proscription is essentially useless. It's like saying "to our best evidence no sugar is best". So should you eat that p
396.
▲
by
vanusa
5y ago
What they're implying is that we should connect the dots. It's pretty obvious which demographic the bill is aimed at, despite its race-neutral language. The beauty of this legislation is that its net effect will be to stoke the &q
397.
▲
by
vanusa
5y ago
Of course it's absurd but a lot of research has been done into what motivates people to make so-called discretionary purchases (that is, most anything above the level of bare necessities at the lowest feasible price, if you can afford
398.
▲
by
vanusa
5y ago
Except the "most" part needs, you know, substantiation. Otherwise it's FUD.
399.
▲
by
vanusa
5y ago
Sure, this use of "cringe" in the adjective position is Gen-Z (I guess) and in a way itself "cringe". But overall I found the sentence to be (while clearly a run-on) perfectly readable. Saying the president of El Salva
400.
▲
Tesla’s expansion in Xinjiang ‘sets a poor example’, say US lawmakers
(theguardian.com)
8 points
by
vanusa
5y ago
|
0 comments
401.
▲
by
vanusa
5y ago
I regret my shallow dismissal of this most thoughtful article. All I can say is: I felt triggered by my recollection all of of the cruel and nonconsensual things our species has enacted upon theirs, since the dawn of time.
402.
▲
by
vanusa
5y ago
“Based on recent evidence, it has been concluded that there is “no safe level of alcohol consumption”(5) Which definitely takes artistic license with what the cited article actually said, which was: Our results show that the safest l
403.
▲
by
vanusa
5y ago
Okay, int/uint was a bad example; but what about let a: int = 1 let b: float = a Why wouldn't we want our dream language to infer a coercion here? That said, Python's behavior (though correct to spec) is arguably wor
404.
▲
by
vanusa
5y ago
import numpy as np import numpy.typing as npt x = np.array([1, 2, 3]) def foo(x: npt.NDArray[np.int_]) -> bool: return True
405.
▲
by
vanusa
5y ago
I'd say ask the Octopi first. Wait, can't do that? But you were about to do it anyway ? That's why you can't be friends.
406.
▲
by
vanusa
5y ago
So why can't Nim infer from let b: uint = a that you're really just saying let b: uint = uint(a) And BTW don't you get tired of typing (and reading) `uint` twice in the latter setting? That's what I mean
407.
▲
Newly declassified drone strike video shows US killing of 10 Afghan civilians
(nytimes.com)
3 points
by
vanusa
5y ago
|
0 comments
408.
▲
by
vanusa
5y ago
I'm a huge fan of specifications (despite the downvotes to my comment above). They can be slightly tricky to maintain and to get right. But not nearly as ticky as maintaining software for which there's at best only a partial sens
409.
▲
by
vanusa
5y ago
“Canada Post continues to monitor best practices and recommendations” The fuck they are. Most likely the logic used by whoever is responsible for this decision was: "OMG we've heard about N95 but then there's KN95 what
410.
▲
by
vanusa
5y ago
Yup, way out of style. Because it's, you know "waterfall" (as in, anti-Agile). Can't have that. And because, well, gosh -- "reading". Especially all those icky complete sentences and stuff. Which has defini
411.
▲
The Administration Knew Afghan Air Force Would Collapse After a U.S. Withdrawal
(nationalreview.com)
4 points
by
vanusa
5y ago
|
0 comments
412.
▲
by
vanusa
5y ago
I think I've said about 3 times in this thread that I'm firmly in the "pro" camp as regards the net positives of static typing, and for precisely the reasons you've detailed. I just don't see its absence (or i
413.
▲
by
vanusa
5y ago
Which Python has had since 3.5.
414.
▲
by
vanusa
5y ago
I appreciate your clarifications. And in eschewing brain teasers and leetcode, you're definitely on the right track.
415.
▲
by
vanusa
5y ago
Yeah, life sometimes gets that way.
416.
▲
by
vanusa
5y ago
No, actually I advocate static typing approaches for precisely the reasons you give. As does Python, since years and years ago. I'm just saying that core problem it solves -- "bad developers" -- is going bite you no matter w
417.
▲
by
vanusa
5y ago
A problem but not a huge one in practice. And you're neglecting the part of my statement you conveniently truncated.
418.
▲
by
vanusa
5y ago
PEP 257, and local conventions in certain projects. What all comes down to is: if you really have people on your project writing code like the foo/bar/baz example way up above - then you have problems way bigger than static type c
419.
▲
by
vanusa
5y ago
No - (a) is not what I'm suggesting. And (b) while disappointing, just doesn't slow one's work down very frequently in daily practice. Look, I just don't buy the suggestion that static typing magically solves a huge set
420.
▲
by
vanusa
5y ago
“The advocates of so-called ‘social progress’ believe they are introducing humanity to some kind of a new and better consciousness. Godspeed, hoist the flags, as we say, go right ahead. The only thing that I want to say now is that their p
More ›