Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ben509
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
90 ms
·
751.
▲
by
ben509
7y ago
(Disclaimer: I used to work at AWS.) > won't try to be a "hero" and use their insider access to try to sabotage your operations or leak confidential data? We do have examples of that. Chelsea Manning and Edward Snowden. SP
752.
▲
by
ben509
7y ago
I've heard "orientate" for "orient" quite a few times, though maybe it was occidental.
753.
▲
by
ben509
7y ago
A major, breaking issue[1] was how Python 3 handled missing LC_* variables. By default, a Python script would simply crash with any non-ASCII input or output. It was fixed[2] in 3.5[3]. [1]: https://bugs.python.org/issue1997
754.
▲
by
ben509
7y ago
That kind of response suggests millions of customers should learn this rather than hundreds of stations posting a sign, and that's the fundamental backwardsness of the "blame the user" approach. And it doesn't work relia
755.
▲
by
ben509
7y ago
Someone is always signing off on routine tests. Same deal as those 50 point inspections your mechanic does: some things are easier to inspect than others, some people do a more thorough job than others, etc.
756.
▲
by
ben509
7y ago
How do you do restore in those scenarios? You have a whole mess of snapshots of data that's in various stages of being wrong. I'd rather just put up with the agony of RDS to get a point in time restore and treat my instances'
757.
▲
by
ben509
7y ago
> This came our of nowhere as social programs were not mentioned before this line. Wasn't the entire prior paragraph his justification for it? > Perhaps I'm being harsh on the author but I just don't see how you can mak
758.
▲
by
ben509
7y ago
> I find these ORM opinions generally coming from someone who is used to, and is proficient in SQL, and only when they have a complex use-case/operation at hand. I'm reasonably proficient in SQL. My practical blocker with ORMs
759.
▲
by
ben509
7y ago
Business logic being in stored procedures is the ideal place for it. The problem with it is technical: the tooling for migrating and managing schemas and stored procedures is hot garbage, and there aren't good ways to enforce consisten
760.
▲
by
ben509
7y ago
> Once you fetch something from the db, you have it in variables in memory. With or without an ORM. That could no longer be sync'd with the db a ms later. Nope. The DBMS is making the same transaction isolation guarantees to an ORM
761.
▲
by
ben509
7y ago
> ORM protections against SQL injection attacks are worth the clunky syntax. Change my mind. Is there a driver out there that doesn't support parameter substitution?
762.
▲
by
ben509
7y ago
The downside of inventing it is the US has a massive amount of legacy in telephony that few other nations have to deal with. That opens up tremendous opportunities to break the system. But, hey, we get +1 as our international code, so there
763.
▲
by
ben509
7y ago
If someone, for instance, takes control of their repo, then they can upload whatever they like. But that auth can be fairly securely guarded, and it's probably a very hard to do it quietly as packages are signed. But now they're h
764.
▲
by
ben509
7y ago
Targeting everyone is a great way to hide who you're targeting.
765.
▲
by
ben509
7y ago
... that's not normal?
766.
▲
by
ben509
7y ago
"I'd like to work two low paying jobs that work around my lifestyle." "Nope, because we care so much, your lifestyle is illegal."
767.
▲
by
ben509
7y ago
Rossmann is great when he's going over some of the practicalities of running an independent repair business, but to get to those you have to go through a lot of videos slagging on Apple. He does try to justify his vitriol, and it'
768.
▲
by
ben509
7y ago
It's hard to see how they'd enforce that. You get a bill with $0 for labor and $x for materials, you just bought parts.
769.
▲
by
ben509
7y ago
A "living wage" bundles the assumption that a single wage must pay for all your expenses in maintaining a predetermined standard of living and that there's no other possible arrangement that should be considered. And that is,
770.
▲
by
ben509
7y ago
>> Sure, but most people don't know or care. > A lot of people care. Both of these claims are true, but yours is missing the point. You grow a userbase by appealing to people who don't use or understand your product. Pe
771.
▲
by
ben509
7y ago
> And I hate them. It's hard for me to think of them as anything but "fuck off boxes" after cursing them dozens and dozens of times.
772.
▲
by
ben509
7y ago
Worse, we're old enough to see people completely forgot about something and try to reinvent it, poorly.
773.
▲
by
ben509
7y ago
Related to that problem, a major source of confusion with IEEE floats is that languages go to great lengths[1] to present them as decimals and hide the underlying binary denominator. Even when you know they're binary internally, it t
774.
▲
by
ben509
7y ago
They're creating a sequence of digits and then truncating. If you want to replicate that precisely, you could use an accumulator and a loop to do the same thing. At least then you could break early.
775.
▲
by
ben509
7y ago
It's slower than native python. %timeit round(12335423552.33, -6) %timeit int(12335423552.33 / 1_000_000.0) * 1_000_000.0 500 ns ± 3.88 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each) 219 ns ± 1.1 ns
776.
▲
by
ben509
7y ago
Compared to base=10^places, multiply, truncate, divide? Horriby inefficient.
777.
▲
by
ben509
7y ago
Rounding a number is, in the common case, multiplying it by some base, truncating to an integer, and dividing by the base. You do have to handle extremely high exponents, but even the logic for that is not complex. Example of implementing i
778.
▲
by
ben509
7y ago
> Also, I won't get into numbers about how much less. They get into numbers in the second paragraph; up to 23% of lifetime earnings. > The key metric would be, how many people act on this impulse. We can get a rough tally of how
779.
▲
by
ben509
7y ago
It's hard to grok until you've gone into business for yourself.
780.
▲
by
ben509
7y ago
The House is the chamber with actual power, while the Senate was intended to act as a check on the House and the executive. That's why the 17th amendment made such a mess: they were supposed to represent state interests, and especially
More ›