Archive

Posts Tagged ‘simplicity’

“Parental control” against my internet overuse

April 2, 2018 1 comment

I am the parent and I just configured our router to block the internet for me at all the blue times.

Most of the white (unblocked) time during the week days coincides with my day job, which is unavoidable (paid) screen-stare time, since I earn a living as a computer programmer.

Life is too short to spend >50% of my waking hours staring at a screen. I am excited to spend more time with my kids, my wife, outside, in nature, reading books, etc.

Advertisements
Categories: coding Tags: , , ,

Simplest Dependency Injection

January 17, 2017 Leave a comment

diy

Note to self: If you create a Java application and think you need DI but not AOP, then do not automatically reach for containers like Spring, CDI, Guice. Just do all construction and wiring in the standard main method.

Example: https://github.com/odoepner/bagh-chal/blob/master/src/main/java/net/doepner/baghchal/Main.java