HNHacker News
TopNewBestAskShowJobs

trwhite

649 karma · joined October 9, 2014

I had so many dreams, I had so many breakthroughs https://notoriousbfg.com
submissionscomments
trwhite··on Improving deep sleep may prevent dementia, study finds
This is something I think about a lot.

I sleepwalk and sometimes have night terrors (where I hallucinate an intruder or spiders on the walls/ceiling). Lately I've been having them almost every day, despite practicing good bedtime habits.

Am I going to have early onset dementia? I wake up almost every morning with a headache from sleep deprivation

trwhite··on Ask HN: Could you share your personal blog here?
https://notoriousbfg.com

Some of my favourite posts:

Building Software, Sharing Knowledge https://notoriousbfg.com/building-software-sharing-knowledge...

Code and Context https://notoriousbfg.com/code-and-context/

Some Quality Biases https://notoriousbfg.com/some-quality-biases/

trwhite··on UK: Food inflation rises to 18.2% as it hits highest rate in over 45 years
I think it's in Hackers & Painters that Paul Graham talks about the commonly held view that wealth is like a pie, that one group of people having more somehow means others must have less. He's also immensely wealthy, so I take what he says with a pinch of salt
trwhite··on Don't ignore the janitor
This reminds me of the John Prime song "Hello in There"
trwhite··on Why does everything on Netflix look like that?
While we're listing our Netflix gripes - Why is it so hard to watch the credits? Often there's a good song playing and no simple way to avoid it skipping to some other programme, while the emotional resonance of what I've just watched sits with me.
trwhite··on Show HN: I made a local development, debugging and hotreload tool for AWS Lambda
It must be API Gateway that isn't
trwhite··on Show HN: I made a local development, debugging and hotreload tool for AWS Lambda
There's a free trial that lasts 2 weeks. After that I think it's paid.
trwhite··on No More “Insight Porn”
I think one has to take his writing of late with a pinch of salt because he writes things that only a rich, white and old guy could write. But the earlier stuff is still great. Hackers & Painters is still a wonderful book.
trwhite··on How I successfully became a software engineer in 3 months
Easy to get in. Hard to get out.
trwhite··on Someone is impersonating us in a recruiting scam
These scams always have horrendous grammar. To me that's a huge red flag
trwhite··on It's normal to play the same song over and over again (2016)
You can loop part of a song using loopsome.com
trwhite··on Are you a naïve realist?
Where is the downvote button?
trwhite··on Life is not short
I don't think they're talking about a physical 'product'. They're talking about building character, making themself a better person, learning a skill etc
trwhite··on The Grug Brained Developer
I have been thinking about the complexity bias that affects our perception of quality. I think as programmers it is our natural assumption that if something is complex, lots of thought must have gone into it beyond our understanding. This is especially true when starting a new job. But this is slightly ironic because often more code makes something slow, which isn't a good thing at all.
trwhite··on Meld is a visual diff and merge tool targeted at developers
I do the same. >> usually does the trick
trwhite··on We sound like idiots when we talk about technical debt
That's true. So I suppose I would amend to say "if the line is exponential". At the company I work for presently we try to adopt "painful now, pleasurable later".
trwhite··on We sound like idiots when we talk about technical debt
The metric that you use to measure technical debt is "the time it takes to build new features over time". If that line on your graph is going up, you have a problem.
trwhite··on PHP – The Right Way
You can of course take a TDD approach with Laravel. I think I know what you're getting at, but I do find the Laravel has a lot out of the box now that I would otherwise have to write from scratch. I suppose the Spatie packages (for example) fill some of those gaps. I hadn't heard of Laminas before
trwhite··on PHP – The Right Way
Mocked as in made fun of? Personally (in 7 years as a PHP dev) I've not found this. There was one company I interviewed at where the lead engineer thought facades were dumb, but then couldn't explain why he needed to rebuild the entire backend in Node. Perspective.
trwhite··on PHP – The Right Way
First time I've heard of that. The only thing that rings a bell is the artisan command in Laravel
trwhite··on The strangely successful history of people mailing themselves in boxes (2015)
Me neither actually. I had only this vague recollection from high school Physics that they used gamma to scan shipping containers (but this was 10 years ago).
trwhite··on The strangely successful history of people mailing themselves in boxes (2015)
I wonder if being exposed to the (gamma) radiation they scan some of these packages with is a consideration.
trwhite··on Google Is Forcing Me to Dump a Perfectly Good Phone
Unrelated, but I think the latest Android update is ghastly and I have no way of changing back to how it looked before. I'm all for progressive design but some of the new UI changes (for example the clock app which I use every day) make it way less usable for me.
trwhite··on Stray bullet kills English astrophysicist visiting United States
Thankfully not something I, a civilian, in a gun-free society have to think about.
trwhite··on Stray bullet kills English astrophysicist visiting United States
I don't think you would have time to know or feel anything after being shot. If this is a joke, it seems in bad taste to me. Nonetheless what a terrible waste of human life.
trwhite··on You're not dumb, the prerequisites are bullshit
I remember having this feeling very early on in my career trying to learn about curl and finding it terribly frustrating. Then later when I next needed to work on it, things just seemed to click. It's a feeling I don't have as often these days but still incredibly satisfying.
trwhite··on Who wrote this shit?
I've written about this and some of the ideas being discussed here. Essays that I'm reasonably proud of:

https://notoriousbfg.com/building-software-sharing-knowledge

https://notoriousbfg.com/code-and-context

TLDR: I don't think that poorly written code is as common as devs like to thing it is. Context is just as important in our general perception of how well some code has been written/designed. There are several ways we can and should document our code including descriptive variable and method names, commit messages, tests and PR comments.

trwhite··on U.S. surgeons transplant pig heart into human patient
I think perhaps the wording might have confused you (and now reading again I can see why.) I was merely expressing sadness at the situation, that the man found himself left with no other possibilities. Particularly the quote: "It was either die or do this transplant. I want to live. I know it’s a shot in the dark, but it’s my last choice." By "things have come to" I didn't mean in society, I meant in his life.
trwhite··on U.S. surgeons transplant pig heart into human patient
A sad sign of what things have come to when a man's last hope at survival is a pig heart.
trwhite··on Switching to a four-day workweek (2021)
I've stayed on much longer at the business I work for because of my 4 day week arrangement. Definitely golden handcuffs; I recognise that I probably wouldn't have this anywhere else. It's my life admin day mostly: chores, going to the dentist etc and when it isn't I make time for fun. Generally I feel much more rested in the week.
← PreviousPage 4 of 7Next →