News for hackers. Stuff that matters.

jdking

Re:Turning back time with epigenetic clocks on Saturday January 29, 2022 @06:37PM (#30131774)
But when being cold and hungry was the norm, life expectancy was much lower. Human life expectancy in the developed world is higher than at any time in human history.
Re:One person's war on junk mail (1996) on Thursday May 13, 2021 @03:23AM (#27139340)
Fight back by mailing back any unsolicited pre-paid envelopes, stuffed with other random junk mail you’ve received.
Re:Why cats won’t punish a stranger who harms you on Saturday April 10, 2021 @11:55AM (#26762390)
This is the weirdest comment I’ve ever read on HN!
Re:.NET 5.0 on Tuesday November 10, 2020 @04:17PM (#25052046)
+1 This is the approach I use, to register a config interface in the DI, just grab IConfiguration and bind it to a config class.

The options stuff is a car crash.

Re:iPhone Performance Degrades as Battery Ages on Wednesday December 20, 2017 @04:08AM (#15968118)
Why does this correlate so well with iOS version increments?

My iPhone 6 was faultless prior to the upgrade to iOS 11, and immediately after it battery life was greatly reduced and it now shuts down automatically when the battery hits 10%.

Apparently I am now supposed to accept that the battery has degraded not gradually but all at once and on the same day as I upgraded iOS, and this is now being managed for my benefit by the OS. Hmmm...

Greenwoods? Yes Amsterdam for me as well!
Re:.NET on Linux – bye, Windows 10 on Monday October 17, 2016 @05:46AM (#12723713)
Looks like a sensible option for .Net Core development. VSCode and the command line tooling look to be pretty decent. I would really miss LINQPad though.
Re:“Ask 'why' five times about every matter” on Monday May 09, 2016 @06:04AM (#11658630)
AKA "Popping the why stack"
Re:Giving Up on TDD on Saturday March 19, 2016 @02:37PM (#11319784)
For a new project I like to start by writing code that sketches out ideas of how the software should hang together.

TDD at this point is kind of wasteful because if you decide to backtrack or rework aspects of the design then you have to also rework all of the tests. I find that once the design begins to crystalize, adding unit tests at this point is valuable, but not necessarily in a 'test-driven' way.

TDD by itself, per se will not automatically produce a good design, and can often produce bad designs with huge proliferation of classes / interfaces that makes a codebase more complex and difficult to understand.

TDD is not the be all and end all that some commentators seem to believe.

Re:Naughty words: What makes swear words so offensive? on Tuesday March 08, 2016 @05:22AM (#11244466)
In Scotland, 'cunt' simply means 'person'.