HNHacker News
TopNewBestAskShowJobs

crehn

881 karma · joined November 25, 2016

submissionscomments
crehn··on The vi family
Yes!
crehn··on The vi family
Same. And if I may, that led me to creating a Vim file browser that runs in a separate terminal (tmux pane!) so I have fewer window navigation shortcuts to remember: https://github.com/hoffa/vitree
crehn··on Show HN: The entire year on a single page
Great idea!

Added: https://github.com/hoffa/year-on-a-page/blob/main/renders/20...

EDIT: I actually updated it to omit the day when it's the first day of the month. So instead of A1, it's just A. In the visual progression, seeing "A" seems to be enough to imply "we're now in August (1st)", and it's a little less visually cluttered when quickly scanning. Hopefully it's still clear, happy to adjust!

crehn··on Show HN: The entire year on a single page
Done!
crehn··on The Nettle Magic Project: Scanner for decks of cards with bar codes on edges
> impossible card effects (ex: "shuffle the deck, pick your favorite card from it, hand the deck back to me, your card is the Ace of Diamonds")

There is one deceivingly simple trick that is essentially just that.

crehn··on Show HN: Bible Semantic Search
Thank you! Added.
crehn··on Show HN: Bible Semantic Search
Hey, I got the original idea from this HN post: https://news.ycombinator.com/item?id=31733673

The main intention was to support more translations for better results.

Code is here: https://github.com/hoffa/bible-search

crehn··on Nearly a third of TV ads play to empty rooms
Depending on TVs to save you from existential panic doesn’t seem like a sustainable solution.
crehn··on Use of Google Analytics declared illegal by French data protection authority
It’d help if the rest of the world tried to aggressively prevent brain drain by making the respective countries more attractive for work.
crehn··on My seatbelt rule for judgment
Why shouldn't tests catch those far-flung consequences?
crehn··on Black, the uncompromising Python code formatter, is stable
> Changing a couple of bytes in a file? Don't change the style. Writing something new? Figure out what's best. Rewriting a big chunk? Make reasonable formatting choices.

This is exactly the type of arguably useless effort we don't want to spend any time on. Having to think about what is "reasonable", "allowed", or "best" is non-negligible cognitive burden for both the writer and reviewer/reader.

crehn··on Doing too much work on one's own before looping in others
This should nearly always include writing integration tests (that run on every change) to ensure you can refactor with confidence.

If there are no tests, the team will waste a ton of time anxiously monitoring and reasoning about the messy code and the impact of their changes.

crehn··on Is Space Pixelated? The Quest for Quantum Gravity
I’ve always wondered what happens when I move my hand.

If I zoom in close on my hand, does it move like a sprite in a 2D video game? Always on a “grid”, with no way to be in between pixels?

crehn··on Who Uses To-Do Lists?
Every day before logging off from work, I write down my todos for the following work day on a blank piece of paper. I close my laptop, tuck the paper in a folder and put both in closet away from sight.

Has worked really well getting things done and disconnecting from work.

crehn··on It’s not still the early days of blockchain
> There exists a transparency in the open-source code of smart contracts that will disrupt the current gatekeepers like the internet did.

Could you elaborate which gatekeepers it will disrupt?

crehn··on Parcel CSS: A new CSS parser, compiler, and minifier
> Because the hex for green (#00ff00) needs more letters than using the named color.

But "#0f0" is fewer letters than "green"?

crehn··on Ask HN: Is anyone working on “downloading” knowledge to the brain?
Tangentially, studying right before sleeping has always been one of the most effective way for me to memorize stuff.
crehn··on Evaluating front end frameworks and not choosing any
To be fair, the Civic does look a little funny.

But yes, there should be more emphasis on what drives business value (hence on picking a stack that allows providing that value as efficiently as possible), and with the minefield that's modern web development, starting from scratch doesn't seem sensible. The post doesn't go too deep into what they're building though, so maybe I'm missing something.

crehn··on Staggering stat: 87% of U.S. teenagers have iPhones
That doesn't answer the question why do you think that group initially acquired critical mass enticing others to change?
crehn··on Staggering stat: 87% of U.S. teenagers have iPhones
I mean, why do you think that certain crowd has gravitated to iPhones and not Androids?
crehn··on Staggering stat: 87% of U.S. teenagers have iPhones
> The most likely reason is certain crowds in school have iPhones.

Why do you think that is?

crehn··on Staggering stat: 87% of U.S. teenagers have iPhones
Not surprising.

Android software and hardware UX is typically subpar, with very little attention to detail, and things just feel out-of-touch and made by engineers and marketing bots. My hypothesis is all these things contribute to a lack of "coolness" (for lack of better word), which has a tremendous impact on the market.

crehn··on Microsoft confirms Exchange Year 2022 problem
Surprised this sort of hack would even pass code review.
crehn··on Tardigrades walk like insects 500k times their size
For contrast, ants have around a quarter million neurons.
crehn··on Street Fighter II, the World Warrier
> Since the logo had already been created, I couldn’t just go in and change the letter at this point.

Why not?

crehn··on Fq: Jq for Binary Formats
And tangentially PEM, which is Base64-encoded DER.
crehn··on Stealth bomber in flight on Google Maps
Is there a dataset with all the close-up satellite images somewhere?
crehn··on Trying Out Generics in Go
I'm concerned about two things (that I hope I'm wrong about): (1) developers will overuse generics and use poor types or `any` where not necessary, and (2) this marks the beginning of Go's convergence to yet another language with a million choices for abstractions and a million ways to misuse its features.
crehn··on Ask HN: I've lost faith in myself as a developer, how do I get it back?
At $company, this is core to how decisions are made. There's no need to get stuck for an extended period of time on "two-way door" decisions; they can always be reverted. Inversely, decisions that cannot be reverted require due consideration. When there are multiple pending decisions, categorizing them into "one-way door" or "two-way door" decisions can help greatly.
crehn··on Log4Shell update: second Log4j vulnerability published
How does that allow RCE?
Page 1 of 9Next →