Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ben509
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
271.
▲
by
ben509
6y ago
Yup, the expected value of the key is P(valid_key) * savings_from_decrypting. So if you're known to negotiators as providing a valid key, it makes the likelihood of paying higher.
272.
▲
by
ben509
6y ago
As stated, this is a non sequitur; you need to explain your reasoning behind why one thing implies the other.
273.
▲
by
ben509
6y ago
This is the strongest argument against claiming "using" or Python's context managers are RAII. RAII naturally composes because a container has to clean up its memory, and it has a well defined lifetime. Python has a very stra
274.
▲
by
ben509
6y ago
CPython uses reference counting and gc. It's the worst of both worlds: the expense of refcounting, and faux determinism until some innocuous code change causes you to hang on to a reference.
275.
▲
by
ben509
6y ago
That person sitting behind you also has to start pleading with you to sign up for a subscription the moment you look away from it to get your coffee.
276.
▲
by
ben509
6y ago
I think it'd be an "indirect" GG because it's electricity intensive to obtain it, and that likely comes from a carbon emitting source. The same argument is often made about electric vehicles.
277.
▲
by
ben509
6y ago
To me it's just, "the dot hugs a field, dot by itself is composition, and module names are capitalized." While I wouldn't write f. g, if I see it, it's not hugging the field name so it's composition. I don'
278.
▲
by
ben509
6y ago
But prefer (55).foo() as you shouldn't expect your reader to have memorized the Python grammar.
279.
▲
by
ben509
6y ago
The breakage problem is interesting. Right now, a.b parses just fine, so existing code will break when this is turned on. And that is an issue as people often turn extensions on per project, but it's also something a code formatter may
280.
▲
by
ben509
6y ago
From the FAQ[1]: > Does Coconut support static type checking? > Yes! Coconut compiles the newest, fanciest type annotation syntax into version-independent type comments which can then by checked using Coconut’s built-in MyPy Integrati
281.
▲
by
ben509
6y ago
1. Write code for production. Set up CI/CD, build tests, deploy to a package repository if it makes sense, etc. If you're building and maintaining an actual product, you get feedback that forces you to identify and solve problems.
282.
▲
by
ben509
6y ago
It looks sane and solidly specified. I never trusted DisambiguateRecordFields, so I'll finally ditch a lot of ugly prefixes I stuck in there. The whitespace requirements, though, are going to lead to some confusing error messages for n
283.
▲
by
ben509
6y ago
Nah, it's already happened, and we all pop up every 10^10^100 eons to pretend this is all real.
284.
▲
by
ben509
6y ago
The worst (well known) offender is grep -v meaning grep --invert-match just for the sheer bafflement of "verbose" now hiding what you were looking for.
285.
▲
by
ben509
6y ago
You have to understand the human element. In any big organization, you have many teams with varying security practices working on systems. It's simply impossible to consistently recruit developers with good security knowledge, especial
286.
▲
by
ben509
6y ago
Self-driving cars and IoT turned that joke into prophecy.
287.
▲
by
ben509
6y ago
> Though I will note that the definition of Autism has gotten broader over time... If dyslexia became broader in the manner Autism has, it would simply be going back to its Greek origin, which is already roughly "bad at reading.&quo
288.
▲
by
ben509
6y ago
Or just some kind of generic way to advertise where they're reading configuration. The worst are programs that search 20 places for configuration, so you have no idea whether you've turned some feature on or off. What I really wan
289.
▲
by
ben509
6y ago
That's as demonic as "assert" silently doing nothing by default.
290.
▲
by
ben509
6y ago
You're misinterpreting the adage. I was doing martial arts in school, and my sensei had me demonstrate some forms. Being new, I was very hesitant. He was annoyed at this and explained that when I kept hesitating, I didn't complete
291.
▲
by
ben509
6y ago
The reason is stated towards the end: > In general, any laxness in actual implementations of a system can create a similar spiral of de facto requirements. Those "de facto requirements" mean that writing something simple become
292.
▲
by
ben509
6y ago
It's parametric, sure. It's not "full" in that it can't express the types of many language features well enough that inference works. Something like the attrs package needs to use a kludge[1] to communicate types ba
293.
▲
by
ben509
6y ago
That's overly broad. A lot of people jump on the latest trends, especially people who are simply new to development, because there's no way you can know stuff you haven't had time to learn.
294.
▲
by
ben509
6y ago
You can threaten to report them to regulators for knowingly sending non-public personal information to a third-party.
295.
▲
by
ben509
6y ago
It's doubly annoying because Tesla had some real achievements and deserved the recognition he got for them. He's overrated now for the stupid Tesla vs. Edison myth that claims he was underrated and suppressed.
296.
▲
by
ben509
6y ago
I'll toss out my top 10, which are probably applicable to other vendors: 1. Entirely separate accounts for each stage, and, past dev, all stages are identical. 2. Include a beta stage that doesn't have crap developers set up and f
297.
▲
by
ben509
6y ago
Even if they did all that, all the states would need reliable mailing lists. Oregon and Washington have been rigorously checking their lists precisely because of this problem, while other states don't need to do that if the onus is on
298.
▲
by
ben509
6y ago
Deletion is effectively a failure mode, and engineering tends to focus on the happy path.
299.
▲
by
ben509
6y ago
Not wanting data shared seems to contradict the mission of a site that shares data.
300.
▲
by
ben509
6y ago
If you want security guarantees, find a service that makes them. Expect to pay more for the additional work it takes to deliver them.
More ›