Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
morelisp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
511.
▲
by
morelisp
3y ago
> publicly accusing your employer's client of war crimes What other factual statements should you not be allowed to make about your employer's clients?
512.
▲
by
morelisp
3y ago
As a name, Lachesis would have made more sense too.
513.
▲
by
morelisp
3y ago
Unless you have a lot of resources to do in-depth code review of tests, a good automated mutation testing pipeline, or a dedicated testing team, this kind of behavior can take a very long time to root out (especially if they are more or l
514.
▲
by
morelisp
3y ago
The books you presented are, roughly speaking, introductions to programming with a focus on data science, functional programming, and common structures/ideas used in those which are, in other texts, not usually considered introductory
515.
▲
by
morelisp
3y ago
I mean, this is the kind of thing I agree with, and would even say I'd trust a project with 90% coverage but no surviving test mutants vs. 100% and lots of mutants. But in reality I'm usually looking at piles of like... 60-70%ish?
516.
▲
by
morelisp
3y ago
You can achieve branch coverage of two if statements by running it twice, taking the different result on each the second time. You are describing stronger / orthogonal types of coverage.
517.
▲
by
morelisp
3y ago
The term you're looking for is "path coverage".
518.
▲
by
morelisp
3y ago
if (a || b) { ... } Branch coverage means testing a = true, b = anything; and a = false, b = true; and a = false, b = false.
519.
▲
by
morelisp
3y ago
Those are not this.
520.
▲
by
morelisp
3y ago
It is, although at both schools I went to "ragged arrays" was the more common term. https://en.wikipedia.org/wiki/Jagged_array I think to some degree it's fallen out of favor as this is the only kind of
521.
▲
by
morelisp
3y ago
There are also multiple definitions of "data-driven" floating around depending on qualifier/context. An OLAP RDBMS, for example, will certainly be written in a data-oriented way, and also have almost fully data-driven behavio
522.
▲
by
morelisp
3y ago
I'm running prod databases in containers so the server infra team doesn't have to know anything about how that specific database works or how to upgrade it, they just need to know how to issue generic container start/stop com
523.
▲
by
morelisp
3y ago
But the entire paragraph where they are introduced is a commentary on them.
524.
▲
by
morelisp
3y ago
No, your misdesigned ntpd resets your clock to 1435708799 at 2015-06-30T23:59:60Z. I have yet to see a convincing argument that smearing and freezing are not compatible with POSIX's definitions of time.
525.
▲
by
morelisp
3y ago
No, I didn't say it was a bijective mapping. (Although with smearing, it still can be.)
526.
▲
by
morelisp
3y ago
> 30th June 2015 23:59:60 has no unix timestamp (which isn't a valid return value of any time API I've seen) https://go.dev/play/p/I8GcKBoAVXi
527.
▲
by
morelisp
3y ago
> omits the massively expensive calendar conversion step Is that not included in what's 6x faster? I agree comparing against strptime is a bit of a gimme and a scalar fixed-format parser would be fairer, but I'm pretty sure it
528.
▲
by
morelisp
3y ago
If you're using epoch timestamps to represent time you don't have leap second bugs. Each Unix timestamp corresponds to one unique point in time which also has some representation in civil time. If you're subtracting Unix time
529.
▲
by
morelisp
3y ago
Whenever I've seen it on timestamped filenames I've also needed sub-second precision. If that's a performance concern, a (potentially zero-padded, but realistically you don't even needed that) Unix timestamp works just a
530.
▲
by
morelisp
3y ago
Other than RRSIG (which I would argue is not at all common), where have you seen it?
531.
▲
by
morelisp
3y ago
H-1B approval has two stages, the registration period (March/April) and the petition period (ends 90 days after post-registration selection). AIUI this is counting petitions (i.e. I-129s), so won't be accurate until at least 90 da
532.
▲
by
morelisp
3y ago
You can look at the NAICS codes, the overwhelming majority are 54.
533.
▲
by
morelisp
3y ago
Individually yes. It's less clear what happens if Twitter is shedding hundreds of engineers at the same time many other companies are freezing hiring or letting people go.
534.
▲
by
morelisp
3y ago
Well, and like, the entire rest of the world.
535.
▲
by
morelisp
3y ago
Drag queens reading at libraries is one of those things that's absolutely more controversial online than IRL. Nobody gave a shit until Facebook and Twitter groups whipped it up as a culture war issue, and so far even conservative analy
536.
▲
by
morelisp
3y ago
> Disagreeing with stuff like drag reading sessions? What does this mean? Drag queens shouldn't be allowed to read? Like what concrete policy are you saying they can't propose which isn't obviously overreach?
537.
▲
by
morelisp
3y ago
This is obviously not taboo to discuss since every mainstream media source has been discussing it nonstop with virtually no reference to like, actual data, for over a year.
538.
▲
by
morelisp
3y ago
Americans used to literally own other Americans, while committing genocide against other Americans.
539.
▲
by
morelisp
3y ago
The year is also only half over.
540.
▲
by
morelisp
3y ago
Around 300. https://www.vice.com/en/article/n7z5px/twitter-employees-on-...
More ›