Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
KingMob
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
451.
▲
by
KingMob
2y ago
Can I ask some different questions then? Do you parallelize your current tests? Why or why not? Do they work out well for you?
452.
▲
by
KingMob
2y ago
>If your tests are fully isolated (and they should be for many reasons), parallelization ought to be almost drop in. You can set it up in github actions pretty easily. Good point. My experience is that super-long test runs also have depe
453.
▲
by
KingMob
2y ago
Bloom filters are small relative to the amount of data they can hash, but aren't realistic bloom filters still tens of kB at minimum? Might be too heavyweight to send up.
454.
▲
by
KingMob
2y ago
I haven't heard how Mozilla used it, but I know Google and MS use test impact analysis (among other techniques). Do you have a link? I'd like to see it. TIA's definitely not needed for a lot of well-designed projects, though
455.
▲
by
KingMob
2y ago
If you're using `pytest --some-options` locally, preface it with `spdr`, like `spdr pytest --some-options`. If you want help, run `spdr --help`.
456.
▲
by
KingMob
2y ago
No, it's a good question. My tool spdr allows you to select the ref to compare to, but the default "smart" mode uses two different behaviors, depending on whether it's run locally or in CI. If it's local, it compare
457.
▲
You Should Test Less – how to run half your tests with no loss in safety
(getspdr.dev)
3 points
by
KingMob
2y ago
|
8 comments
458.
▲
by
KingMob
2y ago
That's what browsers actually did.
459.
▲
by
KingMob
2y ago
It didn't catch on because it was hard to see the benefits, and if done incorrectly, could actually make things slightly slower . Essentially, the server had to do things like compute RTT and understand the status of the browser'
460.
▲
by
KingMob
2y ago
Yeah, it's a shame you can't take advantage of natural HTTP/2 streaming from the browser. There's the upcoming WebTransport API ( https://developer.mozilla.org/en-US/docs/Web/API/WebTra
461.
▲
by
KingMob
2y ago
"OK, I opened the explorer, but I don't see it." "Type 'kindle' in the search." "Alright, hold on... do I want kindle.com? I'm on Amazon, now where do I go?" A slightly more experienced fas
462.
▲
by
KingMob
2y ago
Not the OP, but usually, when people talk about type safety, they're referring to some flavor of static typing, not strong typing. Very few languages still in use in the modern era are still weakly-typed. My personal take is that while
463.
▲
by
KingMob
2y ago
I think this is a mistaken assumption. Scala was always more popular than Clojure, and even now, I just checked with Google Trends, and Scala's still searched for 4x more frequently.
464.
▲
by
KingMob
2y ago
As someone who was equally deep (I worked with you and the Danes), I think a lot of that elitism isn't just about building software. It's a large part of why I've stepped back from clj these days.
465.
▲
by
KingMob
2y ago
> At least they’re not pushing you down the wrong path No, but the release of spec single-handedly killed Schema, a more mature contract lib. Then spec stagnated, because the core team didn't want to work on it, but as a core team l
466.
▲
by
KingMob
2y ago
tools.deps is less complicated mostly because it just flat-out does much less. To mimic everything lein can do required adopting half a dozen other libs and writing your own build scripts. It's better now, but people are pretty uncriti
467.
▲
by
KingMob
2y ago
Coming soon. Once DOGE eliminates the US government, we will all be either vassals of megacorporations, living in corp arcologies, or homeless with our punk band in burnt-out shipping containers.
468.
▲
by
KingMob
2y ago
I wonder how often people encountering it assume it's a typo of SICP?
469.
▲
by
KingMob
2y ago
> (very easily) sideload "Easily" does not apply to grandpa and huge swathes of the human race.
470.
▲
by
KingMob
2y ago
I agree that words like "buy" are deceptive, but changing the language won't fix the underlying problem that it's getting harder and harder to actually buy certain things permanently.
471.
▲
by
KingMob
2y ago
He wrote that he was hoping the email thread would improve the situation without his involvement, but that turned out not to be the case.
472.
▲
by
KingMob
2y ago
> Government contracts can only flow for so long? I wouldn't bet on that, given the undemocratic influence Grok's owner has in government.
473.
▲
by
KingMob
2y ago
> with a limited budget (of both the financial sort and the effort sort) > When you've got every fiber tapped around the world, it becomes trivial These phrases are in conflict. If their budget is limited, we shouldn't expec
474.
▲
by
KingMob
2y ago
> But as always you need to curate the ones you follow to get a "for you" that's interesting. Sure, but letting neo-nazis run rampant is not just a problem of my personal curation, but a society-wide issue.
475.
▲
by
KingMob
2y ago
Both things are true at the same time. Git is wildly popular, and a large part of that is its solid and fast technical underpinnings. Unlike its open source predecessors (svn/cvs), it excelled at distributed development. At the same ti
476.
▲
by
KingMob
2y ago
The entire chapter 2.4 "Undoing Things" in the Git book can be replaced with a single `jj undo`. ---- Anything to do with IDs is simpler, because a jj change ID is fixed at creation, even as the underlying current commit ID change
477.
▲
by
KingMob
2y ago
A year ago, I played around with jj out of curiosity, and within a couple weeks, I was ready to abandon git forever, despite jj still being so new. I only use git directly when I have to now. (As others have pointed out, jj uses git as a st
478.
▲
by
KingMob
2y ago
> Git is a problem-solver. Git is also a problem-causer. The existence of sites like ohshitgit.com is testament to that. Git has wasted thousands of developer years with a terrible UI, overly-complex concepts, and lack of basic undo. Som
479.
▲
by
KingMob
2y ago
Unironically, it is. The underlying storage engine is git, which is rock-solid. But to put it this way, I've been using jj for almost a year, and even without a 1.0 release, editor support, or mature tooling, it's still such an im
480.
▲
by
KingMob
2y ago
There's no succinct command designed to work with mailed patches yet, but you could mimic it with a little scripting. Maybe something like this? ``` for patch_file in "$@"; do jj new patch -p1 < "$patch_file
More ›