Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
scott_w
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
571.
▲
by
scott_w
1y ago
Absolutely! I’ve used the Manchester Metrolink and it definitely slows down in the city centre. It does speed up a lot (and likely beats bus in rush hour) when you’re off the streets, which makes it an incredible commuter option!
572.
▲
by
scott_w
1y ago
Not really because buses get stuck in traffic all the time because there’s a point where they need to share roads with cars. Once you spend the money on segregating buses entirely, you’re at the same level as the tram line. Also, because of
573.
▲
by
scott_w
1y ago
I’m not denying that awful shit like this happens with humans. I’m pointing out the moral hazard in turning it into a preprogrammed system. We’ve seen software bugs empty bank accounts simply because running that faulty system for 5 minutes
574.
▲
by
scott_w
1y ago
> Drones do not rape Yet. Drones also don't get tired.
575.
▲
by
scott_w
1y ago
The issue is that software making these decisions can't possibly have the full context when making the decision because it was coded long before the decision point occurred. What does that mean in practice? Have you ever saw a flash in
576.
▲
by
scott_w
1y ago
Which, on the face of it, sounds like a violation of the GDPR...
577.
▲
by
scott_w
1y ago
In which case, I’d look at this thread https://news.ycombinator.com/item?id=44145263
578.
▲
by
scott_w
1y ago
Fixed point Decimal is your friend here. I’m guessing you buy tokens in increments of 1,000,000 so it isn’t too much of an issue to account for. You can then normalise in your accounting so 1,000,000 is just “1 unit,” or you can just accoun
579.
▲
by
scott_w
1y ago
For far too many years I had inherited a billing system that used floats for all calculations then rounded up or down. Also doing some calculations in JS and mirroring them on the Python backend, so “just switch to Decimal” wasn’t an easy c
580.
▲
by
scott_w
1y ago
>> the culture of changing an API is much more understood as something that must be communicated and processes are more rehearsed > You're just making this up. There are thousands of incidents every day because someone changed
581.
▲
by
scott_w
1y ago
No, it’s not obvious the DB changes because the team depending on that schema doesn’t necessarily talk to your team much, and you might not even know that team exists. The same is true for API contracts but the culture of changing an API is
582.
▲
by
scott_w
1y ago
Except if your schema changes in a way that forces your API contract to change, you have a big red alarm to tell you to investigate what’s using that contract and update it too. When your apps connect to a DB schema, the change is silent. Y
583.
▲
by
scott_w
1y ago
This isn’t a discussion of whether you should use services or not, only what to do in the case where you do have separate services interacting with a schema. And, in this case, trying to maintain consistency with multiple apps accessing t
584.
▲
by
scott_w
1y ago
So usually one is the “main” but, personally speaking, I’d just say “don’t do it,” for the obvious issues I suspect you’re aware of ;-) By “don’t do it,” I mean having multiple apps talk to one DB schema.
585.
▲
by
scott_w
1y ago
The article said all 195 UN countries, so yes.
586.
▲
by
scott_w
1y ago
If it’s a lawful request, no. They can fight it but it’s a fight under US law, so if the law says they have to do it then that’s the outcome.
587.
▲
by
scott_w
1y ago
I’d say it’s not that the man is intelligent and you can tell just from a photo. It’s instead saying that the photograph is framed in such a way as to make the subject look intelligent. A comment on the artistry rather than the subject.
588.
▲
by
scott_w
1y ago
> There is quite a strong incentive for the 'expert' to say you 'need to do X' when they will get paid for doing it. Be that as the case may be, as a non-expert, you better come up with a strongly sourced reason that
589.
▲
by
scott_w
1y ago
That's a press problem but, without knowing the details, I think that it's reasonable to look into whether we should press criminal charges.
590.
▲
by
scott_w
1y ago
What's your point?
591.
▲
by
scott_w
1y ago
Yes but we should be careful with the word “drill” as I’m not sure how much formal and coordinated training occurred vs just being told to go to the archery range before or after work every day. A quick search didn’t tell me the details. No
592.
▲
by
scott_w
1y ago
We do have written records of how to fight battles: Maurice’s Strategikon, for example. You think he may have mentioned it somewhere.
593.
▲
by
scott_w
1y ago
Yes but they weren’t starving them for their whole lives.
594.
▲
by
scott_w
1y ago
This is highly contextual based on time and place. While most people would have had access to fewer calories compared to the modern day, the average person wasn’t starving to death under normal circumstances. We’re talking a population that
595.
▲
by
scott_w
1y ago
Why is it not reasonable? Because it outweighs the harm? Because it could shut down a company? Because it’s unenforceable? Because of some “it looks silly to me” standard? I can tell you Russia’s “fine” is not reasonable because it’s not en
596.
▲
by
scott_w
1y ago
Why not? A country can, for the most part, set whatever level of fines they want within law. You can make an argument about the practicality of any given punishment but that's separate from the morality (which, from the tone of your co
597.
▲
by
scott_w
1y ago
> Also why is substracting a small number such a problem? I never found adding/substracting 1, much more difficult than 42. It's just math. If the answer to your question is not self-evident, then I don't know of any words
598.
▲
by
scott_w
1y ago
> I mean what is the problem here, you did say it's just adding or subtracting a number whether it's 0, 1, -1 or 42? Should be trivial, right? Apparently I do need to comment but I don't think any human on earth has the wo
599.
▲
by
scott_w
1y ago
> What you could do is take a language that has arbitrary starting index value and set it to something weird. Like 42 or -5. Then rewrite your programs. See how many off by 41 errors you make. Then once you no longer make mistakes with i
600.
▲
by
scott_w
1y ago
I literally just described my process, so I don’t get how you got to “you don’t know how you know” because… well… I just told you. Also, there’s a huge difference between beginners not understanding 0-based indexing and experienced C++ eng
More ›