Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
owl57
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
owl57
2y ago
Reminded me of an extreme case. In 2012, the largest Russian bank brought its prod back online, and then posted literally this: > We invite specialists to take part in a professional discussion to identify the causes of Oracle DBMS failu
32.
▲
by
owl57
2y ago
As the old saying goes, everyone has a test environment, and some also have a separate production one.
33.
▲
by
owl57
2y ago
Why? They are in a very specific business and have more incentive to cover up successful attacks than most other companies. And while I'm 99% for Hanlon's razor here, I don't see a reason to be sure it wasn't even a com
34.
▲
by
owl57
2y ago
> you do not buy software that does that Note how the incident disproportionally affected highly regulated industries, where businesses don't have a choice to screw "best practice".
35.
▲
by
owl57
2y ago
> synced to the cloud but also stored on the endpoint devices and local servers That's a recipe for a different kind of disaster. I actually used Google Keep some years ago for medical data at home — counted pills nightly, so mom
36.
▲
by
owl57
2y ago
Are you sure that argument still holds when everyone has Android/iOS phone with apps that talk to Linux servers, and some use Windows desktops and servers as well?
37.
▲
by
owl57
2y ago
I believe this update didn't restart the computer, just loaded some new data into kernel. Which didn't crash anything the previous 1000 times. A successful background update could hurt performance, but probably machines where that
38.
▲
by
owl57
2y ago
Real paper is probably as much about breaking from the "IT culture" as it's about the physical properties. E-ink display would probably help with power outage, but happily display BSOD in an incident like this.
39.
▲
by
owl57
2y ago
You say that as it's some bad thing, but it's just other words for "use boring tech". Yes, there could be reasons to choose a lesser-known product, but they better be really good reasons. Because there are multiple gener
40.
▲
by
owl57
2y ago
Well, yes, "Linux" is not well-specified. When one installs Arch, they hopefully know what they want, and it's something else than just a low-maintenance casual desktop OS. :)
41.
▲
by
owl57
2y ago
Are you sure any of the three major operating systems require much maintenance these days?
42.
▲
by
owl57
2y ago
Ranking risks from more to less likely, 1. An expected development of this sort of political message is blocking access to the tool's website to users from some countries, either by the website owners or by the relevant authorities. 2.
43.
▲
by
owl57
2y ago
I hope that tools like apt-get run subcommands in a predictable environment and never leak interactive session's $PATH. Then nothing in $HOME will break them — that user just put his df executable in /usr/bin or somewhere lik
44.
▲
by
owl57
2y ago
> service to unlock bootloader WTF. Did that service check something while it worked?
45.
▲
by
owl57
2y ago
> Even modern Macs snap apps to one monitor or the other, so no video walls Linux, and I believe Windows as well, can display windows across different monitors just fine. But sometimes the monitors are too different, and part of the wind
46.
▲
by
owl57
2y ago
Then the database load from transactions that didn't match a job won't be noticeable until there are thousands of workers. And when (and if!) there are, I don't have experience with that kind of scale but I suspect that all t
47.
▲
by
owl57
2y ago
> in a tight loop Here's the bug. If there are no tasks pending at the moment — you sleep, for example for 10 seconds. The code in the presentation had this handled correctly.
48.
▲
by
owl57
2y ago
> within, say, a minute With this definition of real-time, you can get pretty far just polling for pending jobs.
49.
▲
by
owl57
2y ago
Fair as well. It's just sending a command which you know will fail, and even relying on the fact it fails, feels wrong, whether it sends a request over network or not. BTW I checked and it's not an error in Postgres, only a warn
50.
▲
by
owl57
2y ago
> The Go database/sql package actually executes ROLLBACK in the SQL engine. No: https://github.com/golang/go/blob/beaf7f3282c2548267d3c89441...
51.
▲
by
owl57
2y ago
> You always want to rollback This phrase highlights the confusion. If you learned SQL before Go, you want to rollback only on error. Every time I write `defer tx.Rollback()`, I cringe and have to remind myself that yes, it's actu
52.
▲
by
owl57
2y ago
That is, if you know what to monitor. When you launch an entirely new feature, you often don't know all the ways it will break. And it's not trivial to set up a correct alert for this one. Simple HTTP 5xx threshold wouldn't w
53.
▲
by
owl57
2y ago
> configured their sandbox so have dramatically fewer instances May be a wise thing to do anyway. I would even advocate for the extreme, one instance in sandbox. I've seen quite a variety of bugs that would be easier to detect and
54.
▲
by
owl57
2y ago
> trivial to reproduce if you just try more than once A lot more than once: they had 40 instances of their app, and the bug was only triggered by getting two requests on the same instance. A bunch of developers including me once spen
55.
▲
by
owl57
2y ago
> nothing in the news was really actionable for me A month ago, I was reading the news of my country of birth to decide if it looks stable enough to go there and then get out without surprises at the border. Two months ago, I was reading
56.
▲
by
owl57
2y ago
So, expressing your genes at 37°C is a bit like running your code from Docker image?
57.
▲
by
owl57
2y ago
In Go or any other runtime that schedules code implicitly on multiple OS threads, this wouldn't work: application writer can (and should, if they need deterministic results) ensure that reads from RNG are done in some specific order, b
58.
▲
by
owl57
2y ago
> 720x350 for the pervasive 80x25 text mode With 9x16 font, shouldn't it be 720x400?
59.
▲
by
owl57
2y ago
You mean, the interviewer does the screen share, and the candidate should review whatever they see on the screen? "Can you scroll back a bit? Now, can you show me the docstrings for Foo.detachBar and Bar.attachFoo?"
60.
▲
by
owl57
2y ago
> give some kind of coherence to it (looking at you Java and C++) I have never done any real programming in Java itself, but the parts of Java world that I learned while writing some Clojure circa 2015 felt pretty coherent. Now I'm
More ›