HNHacker News
TopNewBestAskShowJobs

benkitzelman

31 karma · joined October 14, 2011

submissionscomments
benkitzelman··on An introduction to metaprogramming in Ruby
We have hundreds of thousands of lines of ruby code spanning many services / monoliths. Even now I find it somewhat annoying to open a controller / component that is basically an empty class def but somehow executes a bunch of complex stuff via mixins, monkey patches etc, and you have to figure out how.

We are turning to https://sorbet.org/ to reign in the madness. I'm keen to know if others are doing the same, and how they are finding it (pros and cons)

benkitzelman··on The past is not true
Yeah... but also from the other perspective (the victim / target) - bitterness about the past is poison and for your own good, forgive.

https://www.psychologytoday.com/au/blog/evolution-the-self/2...

benkitzelman··on Petrucci Music Library
... do they have guitar tab and chord sheets lol. Oh I can imagine the replies to this already lol.
benkitzelman··on Reducing Iron Oxide with Ammonia: A Sustainable Path to Green Steel
Lots of refs here to the Haber-Bosch process in creating the ammonia... for those interested in a break down of what it is - https://www.carbonbrief.org/qa-what-does-the-worlds-reliance...

...sort of feels like kicking the can down the road if this is how the ammonia is generated for "Green Steel".

benkitzelman··on Coffee won’t give you extra energy, just borrow a bit that you’ll pay for later
Coffee naps have definitely helped me meet deadlines lol. The idea is to skull a cup of strong coffee, and have a nap for 15 mins... just enough time to clear the adenosine, and for the caffeine to enter the bloodstream and block the receptors

https://www.vox.com/2014/8/28/6074177/coffee-naps-caffeine-s...

benkitzelman··on Build the Modular Monolith First
I think theres an order to abstraction. Variables, functions, classes / modules, classlibs / pacckages, microservices etc... and with each bump up comes maintenance overhead, version management, integration testing, monitoring etc. so it has to be warranted. There are obviously very legitimate, and pragmatic cases for microservices, but just a monoliths are a magnet attracting all code to an ever growing codebase (i.e. its easier to just add it to the monolith), microservices tend to breed microservices.

Conways law is also a real thing. Sometimes, microservices are a practical choice given team structures and ownership, rather than product reasons.... likewise the monolith. Sometimes with a smaller team(s), the monolith is the most pragmatic option, as increasing product complexity due to all the above needs, reduces the capacity for other work.

Sometimes - its a good thing to embrace conways and run with it, as opposed to discovering it as a side affect.

benkitzelman··on Ask HN: Not smart enough to a programmer, where to take my life from here?
Fear of change keeps you locked into misery. If at all possible take steps to get a new vision of your future and change careers, cos your current vision of your future is sounding pretty bleak (at least from your perspective).

If you need encouragement, try and find others stories of career change, and how they did it - there are plenty of them out there.... From https://www.ambisie.com/st/kerry-kitzelman :

"Some jobs can be like golden handcuffs. They pay well but you feel trapped by them. You are afraid to step out and make a change in case you wind up worse than before. Some jobs are like cardboard handcuffs, they pay nothing but you still allow yourself to be trapped by them because of fear of the unknown.

Making a decision to change may indeed result in your fears being realised, but facing that fear gives you the courage to overcome.

Since the day I decided to cut the umbilical cord to poorly paid employment, I have not been afraid to apply for any position I think I might enjoy and be rewarded for. It sometimes means steep learning curves and working harder than anyone else on your team, especially those that have the experience you don't. But the reward is that the world opens up to you. There is so much more opportunity than you could possibly have imagined."

benkitzelman··on Things you can do with a browser in 2020
...love a bit of rick astley with my morning Covfefe....
benkitzelman··on How Do You Measure Leadership?
Look behind them and see who is following (following.... not just obeying)
benkitzelman··on The rituals we perform and the games we play
Glad I didn’t read this on a Monday! I found this article to be a bit of a bleak outlook, or interpretation of life. At least Ecclesiastes offers a little bit more hope of finding meaning in the ritual than this article (thanks for posting).

‘This is what I have observed to be good: that it is appropriate for a person to eat, to drink and to find satisfaction in their toilsome labor under the sun during the few days of life God has given them—for this is their lot.’

So I guess it acknowledges that we are in the pursuit of contentment / satisfaction - not money... at what ever level of ritual we are following

benkitzelman··on SEO in JavaScript Web Apps
There's a few gems around handling this in middleware:

https://github.com/benkitzelman/google-ajax-crawler

https://github.com/inossidabile/hashbang