HNHacker News
TopNewBestAskShowJobs

pjdkoch

114 karma · joined February 21, 2014

Some guy. Doesn't know how to program.

https://pko.ch/

openpgp4fpr:7cf89adcda4cb27d18a943e4f6b4b93498a0c85d

[ my public key: https://keybase.io/pkoch; my proof: https://keybase.io/pkoch/sigs/pTAgxZGL55JuwoQtwte-63GtR0Y9gUM6GdDKFaPN-T8 ]

submissionscomments
pjdkoch··on Ask HN: Is PostgreSQL better than MySQL?
/me cries in range locks and mutexes
pjdkoch··on Tell HN: Do Not Use Docusign
Can you share more about what it takes to build something that'll digitally sign documents that'll be recognized by most countries?
pjdkoch··on Under 30-year sentences: why so many of Forbes’ young heroes face jail
Dirty under thirty.
pjdkoch··on AI doomism is quickly becoming indistinguishable from an apocalyptic religion
Fantastic talk!
pjdkoch··on Big Banks Agree to Historic $30B Deposit Injection in First Republic
How is nobody mentioning crypto yet?
pjdkoch··on The Coffeeshop Fallacy (2011)
Maybe add (2011)?
pjdkoch··on “Latinx is used only by the people educated at America’s most elite schools”
This did have a bit of uptake in Brazil (non-hispanic latinos), but has died out AFAIK. From everywhere else, it's just been ignored.

Don't push solutions from the outside. It's the "we're here to save you from yourselves" problem all over again. Instead, ask latin people what they want.

If you ask me, I want latin. Not latino, not latina.

pjdkoch··on Ask HN: How did you master the art of programming?
Nobody masters programing. They just become less bad in their field of practice.
pjdkoch··on Scientists find first evidence that black holes are the source of dark energy
I also have this conspiracy theory. Maybe we should start selling t-shirts.
pjdkoch··on AMD Grabs over 30% CPU Market Share as Intel Continues to Decline
Such a misleading title.

> [...] AMD now has a market share of 31.3% (up from 28.5% in Q4 2021) versus Intel's 68.7% (down from 71.5%)

That's not "grabbing over 30%" in my book. It's grabbing 2.8%.

pjdkoch··on WebContainer API
For free?
pjdkoch··on Tips for a healthier Postgres database (2021)
This is missing a [2021].
pjdkoch··on Show HN: boxxy – Control where Linux programs put files, without symlinks
I was expecting LD_PRELOAD trickery.
pjdkoch··on Ask HN: Something you’ve done your whole life that you realized is wrong?
> Understanding the incredibly high and hidden cost of conflict and anger. Films romanticize fighting the good fight. Avoiding a fight (legal, arguments, etc) until you absolutely can’t is worth a lot.

This is known to be great project management advice _and_ terrible relationship advice.

For interpersonal relationships, signaling misalignment early, directly, openly, with a sympathetic and reconciling demeanor, has been the best choice for me. Can't find sources anymore, sorry.

For projects, I won't expend more effort than what I have to.

Where does the project work stop and the interpersonal work starts, that's a vague art that demands a bit of intuition.

pjdkoch··on Ask HN: I prefer single letter variables
I don't think we're talking about the same things.

> Not 5 years later, and when it is someone else's code. Just don't.

That's precisely when you rewrite more: when the initial context is gone.

> Initialisms are no better than single char var names.

Correct.

> No one later is going to know you started naming "SmartFooProcessingThing" as "sfpt" and when they search for it in millions of lines of the codebase, they are gonna come up empty and waste time.

They're not meant to be grepped for. They're meant to be local, fleeting, names for something.

> There is nothing you should be finding "satisfying" in a non-obvious piece of code.

There is. When you understand it, it's satisfying. Or so has been my experience. There's also the frustration of "why was this left like this in the first place", but sometimes it's merely a matter of preference.

Please note that I'm advocating for rewriting and throwing away things you don't understand, not for leaving puzzles for others to relish on.

> And if you are working on team, there should be nothing "in your native style". Don't be that person.

Indeed.

pjdkoch··on Putin gives eight gold rings to presidents of CIS countries, keeps ninth
> particularly considering that their troops are already popularly referred to as 'orcs', and Russia itself as 'Mordor'.

The first source I found: https://archive.vn/q3VVx

pjdkoch··on Ask HN: I prefer single letter variables
No, it's more than I'm just dumb.
pjdkoch··on Ask HN: I prefer single letter variables
You're not alone. 3 to 5 letters works best for me.

Obligatory reference, given the aesthetic: https://archive.vn/mIwG0

My rule of thumb is to avoid variable names that are only used once. Instead, use something like pipeline operators, flow(), etc.

Another preference I have is to use initialisms. Might feel dumb at first, but eventually you realize (or I did, at least) that it matters more how things are "braided together" than having perfect names, and your editor prolly highlights all the uses of the variable where you have your cursor.

But, as always, prefer consistency with the rest of the team, even if you feel the rule is dumb. Don't proselytize. If the style really gets in your way to understanding the code, rewrite it and throw it away. There's something elucidating (and satisfying) in seeing a non-obvious piece of code in your native style.

pjdkoch··on Show HN: Obsidian Canvas – An infinite space for your ideas
https://syncthing.net/ is your friend, too.
pjdkoch··on Poll: What do you call the small USB device that you plug in to transfer files?
USB pen.
pjdkoch··on The “spreadsheet mentality” sucks, and kills the efficacy of jobs
ITT: how poor incentive design and Taylorism can team up to wreck any organization. :P
pjdkoch··on Sybil attacks on airdrops
I'm partial, because I work for them, but maybe use https://fractal.id/?
pjdkoch··on Tell HN: I have the perfect job, why is it not enough?
> I realized I was merely creating my own flavor of the distractions I'd tired of.

Bam. Right in the kisser. This is the essence of it.

pjdkoch··on Things I wish everyone knew about Git (Part I)
> the merge conflict resolution UI that lets you go file by file and has a 3-pane split for existing changes, merged file, and incoming changes

`git config --global merge.conflictStyle diff3`

If you ever wanna go back to the command line, your life will be much easier.

pjdkoch··on Make Linux Fast Again
DYM: Hurd immunity
pjdkoch··on Choreography and Diligence: why microservices by default isn't a great bet
A lecture I gave, on 2022-06-08 for the 2022 course of [FEUP's Software Systems Architecture](https://archive.ph/bMx3e), highlighting the trade-offs of microservices and proposing instead using packages as boundaries.

Looking for feedback!

pjdkoch··on Has Hacker New Become Programmer News?
~~/b~~ HN was never good.
pjdkoch··on Researchers achieve ‘absurdly fast’ algorithm for network flow
And the PDF here: https://arxiv.org/pdf/2203.00671v2.pdf
pjdkoch··on Researchers achieve ‘absurdly fast’ algorithm for network flow
Here's a talk they gave: https://www.youtube.com/watch?v=KsMtVthpkzI
pjdkoch··on The Number Guessing Game Written in YAML as Lisp Interpreted with Python
This is an abomination I'd love and nurture. <3
← PreviousPage 2 of 3Next →