Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
praptak
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
50 ms
·
811.
▲
by
praptak
4y ago
> You are punishing people for rolling poorly on the parental lottery. If you accept this argument, you are letting the dictator hold his population hostage. Also the same argument applies to killing the invading soldiers. Also it's
812.
▲
by
praptak
4y ago
I certainly hope so! Printf debugging makes you think about the program, build hypotheses and test them. Stepping through the program is hit and miss.
813.
▲
by
praptak
4y ago
So what's wrong with sanctions as an instrument of attrition?
814.
▲
by
praptak
4y ago
Accepting any picture from a stranger seems scary (see Pegasus spyware analysis).
815.
▲
by
praptak
4y ago
Yeah, it is like hashing a phone number to protect its owner's identity. With a small domain known by the attacker hashing isn't really one-directional.
816.
▲
by
praptak
4y ago
My solution is this: In point 2. the solution starts talking about probabilities without defining the sample space. And this is why the solution is nonsensical. "One envelope contains twice as much as the other" does not define a
817.
▲
by
praptak
4y ago
I think Go is currently the best replacement for Python. Static type system seems to help a lot, also Go is slightly boring to write. One would say it's a bad thing but all those "if err != nil {" give something pretty valuab
818.
▲
by
praptak
4y ago
Yes, the ecosystem encourages complex hierarchies and abuse of "patterns" but at least the standard tooling has no problems with things like "find me all places this method is called from" or "find me all implementa
819.
▲
by
praptak
4y ago
My intuitions come from C and C++, so "+=" should always modify a single object (in C lingo it would be "lvalue") in place. Storing the result somewhere else than the left side of "+=" is counterintuitive to me
820.
▲
by
praptak
4y ago
I agree in that it's not these quirks that are the problem with Python. My take on Python is that it has poor support for tools that make it easy(-ier) to reason about code that you don't know very well. "Where is this called
821.
▲
by
praptak
4y ago
Thanks for bringing this up, I didn't make the connection to default args. I think this behavior is actually "default args" but reversed. In case of default args it is the mutability that causes the nasty surprise (ooops, all
822.
▲
by
praptak
4y ago
My experience with Python is that a mid sized code base does not survive a full staff turnaround. So somewhere around the time the last original author is gone, the codebase becomes a haunted graveyard - scary to everyone. Also, unit tests
823.
▲
by
praptak
4y ago
I have a mildly surprising snippet which I believe they don't have. It's about interaction of class and instance attributes with behavior of "X += Y". Python expands it to "X = X + Y" but only if X implements &
824.
▲
by
praptak
4y ago
Hacking inkjets to use continuous refill has been a thing for like 20 years at least. I mean I don't know the current situation (a happy laser printer user here) but last time I checked you could buy kits to convert many inkjet printer
825.
▲
by
praptak
4y ago
Yo dawg, we herd you liek Faraday cages...
826.
▲
by
praptak
4y ago
You can't realistically put a Faraday cage around your car's spying module.
827.
▲
by
praptak
4y ago
> approximately every C program would benefit from correct pointer analysis, yet this remains an open research question. To me this falls under "you don't understand the code enough to want to use it". Which in case of uns
828.
▲
by
praptak
4y ago
An augmented reality (AR) game where you actually interact with other players. Of the AR games I know Ingress was the closest but I think the interactions were too adversarial which made the experience decline. The creators of AR games got
829.
▲
by
praptak
4y ago
In Poland both the employer and the employee have to provide 1 month to 3 months notice, depending on the tenure. This assumes employment under the labor law. In IT it's quite popular for employees to provide service as one person comp
830.
▲
by
praptak
4y ago
It's acceptance of the fact that cats don't respond to commands.
831.
▲
by
praptak
4y ago
You know what country also lies next to Russia? Ukraine. Maybe ask them what they think of using diplomacy here. What kind of de-escalation is possible when it's Russia attacking the Ukrainian territory? Also it's not like RF can
832.
▲
by
praptak
4y ago
TFA uses exaggeration to paint things which are necessary as superfluous bullshit (write a 50-page doc on every feature). When you strip that, you are left with a pretty banal statement: lone coder outside corporate environment can work f
833.
▲
The Miracle of the Commons
(aeon.co)
1 points
by
praptak
4y ago
|
0 comments
834.
▲
by
praptak
4y ago
Spanner may be hard to set up even with source code available. It relies on atomic clocks for reliable ordering of events.
835.
▲
by
praptak
4y ago
Yeah I bet they are also forbidden from looting.
836.
▲
by
praptak
4y ago
Most Poles want to help Ukraine somehow and we didn't drag NATO into the conflict. Sweden would probably get stronger support for other reasons, like being perceived as an established democratic western country.
837.
▲
by
praptak
4y ago
First point - even if, so what? The value of the article is in the thoughts, regardless of motivation. Second point - maybe 5 years and hundreds of "leaving Google" posts ago. And the author doesn't seem to try to make it big
838.
▲
Ask HN: Donating to the Ukraine army – how to allocate funds?
3 points
by
praptak
4y ago
|
0 comments
839.
▲
by
praptak
4y ago
Why would the vine mimic the leaves of the host plant? Is it tasty enough for animals to seek out the specific leaves or what?
840.
▲
by
praptak
4y ago
HN has built in antiprocrastination controls.
More ›