Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
patrec
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
71 ms
·
691.
▲
by
patrec
6y ago
Nope :) (Hint: what's the neutral element?)
692.
▲
by
patrec
6y ago
> Spinning up a local instance of postgres defeats the whole purpose of an end-to-end test. So run some end to end test in a fully featured staging-style environment as well? I'm not disagreeing at all that having some environment t
693.
▲
by
patrec
6y ago
In unix every text file is basically a (possibly degenerate, Nx1) matrix and every row is terminated (and demarcated) by a newline. This makes it much easier to filter, concatenate and rearrange rows. Try rewriting this: cat <(cmd1
694.
▲
by
patrec
6y ago
How do you effectively develop if you can't reliably talk to the DB in dev due to configuration, system updates, security, schema changes, and a myriad of other time-consuming hard to diagnose problems? > In the abstract I'm no
695.
▲
by
patrec
6y ago
My point isn't that it's OK to take more than 100ms for and end to end test. My point is there is no reason why you shouldn't be able to reliably run tests that hit databases, multiple times, within a 100ms deadline and witho
696.
▲
by
patrec
6y ago
If you can't hit your database in CI within 100ms or talking to it makes your tests flaky, you got problems.
697.
▲
by
patrec
6y ago
He used to, but I believe he now resides in Switzerland.
698.
▲
by
patrec
6y ago
In addition to “Woman in the Dunes”, I'd also nominate “The Gospel According to Saint Matthew”. And, in fact, “It's a Wonderful Life” for those who haven't seen it (it's a much more grown up and dark film than you may ha
699.
▲
by
patrec
6y ago
> sysdig is useless without installing nontrivial performance-impacting instrumentation Most reasonable people reading this sentence would come away with the conclusion that strace is fast, whereas sysdig has some inherent overheads. In
700.
▲
by
patrec
6y ago
Do not use strace. Use sysdig which is superior in just about every way.
701.
▲
by
patrec
6y ago
Are you aware of PeachPy? It's the only (Intel) assembler I have ever seen I liked.
702.
▲
by
patrec
6y ago
All the more reason to try hard to avoid him ending up at your main competitor if you finally start getting a leg up.
703.
▲
by
patrec
6y ago
In that light AMD losing him to Intel via Tesla sounds like a potential few billion dollar blunder. I wonder how difficult/expensive it would have been to prevent that.
704.
▲
by
patrec
7y ago
Decades ago at least it used to crash and eat your data, which I think is a pretty strong barrier to adoption for software that holds important data of yours in its own proprietary format. I just tried the most recent version, and after two
705.
▲
by
patrec
7y ago
Even if you are an elisp expert, emacs is by now quite inferior to VSCode for most things; what you get out of the box with vscode beats laborious customization by expert hands in emacs 9 times out of 10. Emacs still does some fundamentals
706.
▲
by
patrec
7y ago
Why would it be any harder to have this tooling support in Rust (if this becomes popular)?
707.
▲
by
patrec
7y ago
Not normally a fan, but I think Dorsey should be given massive props for being one of the few ultra rich indviduals (or even companies) to try to actually meaningfully step up to the pandemic challenge. It's not just our governments an
708.
▲
by
patrec
7y ago
Interesting concept. I only skimmed, so maybe the rationale is explained in the article, but I'm a bit surprised by the "reverse subtitle" design aspect. That is to say, rather than seeing the original language by default an
709.
▲
by
patrec
7y ago
I think Adobe or other entrenched bloatware might still break, but I had zero problems with it so far and I use a reasonable range of applications.
710.
▲
by
patrec
7y ago
> The vast majority of the time it doesn't matter. I keep hearing this all the time and keep seeing all the time that it isn't true. Do you know of a single comparable Go web app that's not 10-100x less wasteful than godda
711.
▲
by
patrec
7y ago
APFS can handle FOO and foo just fine, and I think only on macOS do you have to ask nicely that you'd like to have them not conflict, iOS and watchOS already do that by default. I have observed no problems with running a fully case sen
712.
▲
by
patrec
7y ago
I'd be curious to see some examples of what you mean! I think there are definitely cases where DB needs to compensate for bad architecture, but then even competent developers can profit from the flexibility of being able to ad new feat
713.
▲
by
patrec
7y ago
Do you have a good Postgres DBA? Autovacuum can indeed ruin your day if you have a 24/7 DB that is delete or update heavy (the default setting are not very aggressive and once it falls behind badly it will never catch up and you'l
714.
▲
by
patrec
7y ago
Well, you're doing it wrong. It's easy and fast to run tests against real postgres (takes a fraction of a second to spin up the DB for your tests if you do it right).
715.
▲
by
patrec
7y ago
This isn't hard to believe. MySQL basically started out as a key-value store pretending to be a relational database. If you wanted to do KV stuff and didn't care too much about data corruption (or knew the five zillion magic inca
716.
▲
by
patrec
7y ago
Nobody is perfect.
717.
▲
by
patrec
7y ago
> OpenBSD aims to be a secure operating system Pretty idiotic aim if you're writing it in C.
718.
▲
by
patrec
7y ago
Bonkers! Surely there must be a market for this? Also, I get that the selling point of heroku is kind of AWS for dummies, so you are probably slightly less likely to mess up because of that, but it's still some auto-scale-this, click t
719.
▲
by
patrec
7y ago
Well, as long as we can agree that shitty bytecode interpreters are not the way to go ;) I think AOT/JIT as a dichotomy is stupid, for what it's worth. Why shouldn't I have e.g. both profile guided optimization and JIT in the
720.
▲
by
patrec
7y ago
Which cloud or physical server hosting providers provide either user configurable hard spending limits or the option to (only) pre-pay? The big 3 cloud providers obviously don't, and neither does DO, I believe (you can pre-pay but not
More ›