Dogmatistic statements are considered harmful
Probably you know about the famous "GOTO statement considered harmful" paper of Dijkstra, Let me tell you: I think it is bullshit. So much so, that I am making youtube on examples of goto statements in useful situations both performance and readability-wise.
This let my brain start up more:
- Isn't all "dogmatic" statements like that actually pretty much nearly always harmful?
- Please take note of "nearly" here. This is NOT a dogmatic statement.
Tags: dogma, cleancode, goto, unclebob, readability, dx, ux, forth
Fixing the pinephone keyboard after 4-5 years of daily use
I have been using a linux phone - not a "smart" phone, but as I like to call it a productivity phone - for the last 4-5 years and I can tell you that with the added keyboard it is an awsome productivity gain.
Everything can break however - regardless of how open or great it is - and its best to document how to fix it (the keyboard).
Tags: pinephone, electronics, low-level, fix, keyboard, linux
TDD is bullshit - early testing is not
Okay blame me, dislike me, but I think TDD is just another Scrum (or communism), where people do it as a cult and whenever there are any issues "you are not doing it right". It is also similar to MLM (multi-level marketing) in that there are more talking than doing. However testing is useful. I would say it is actually more useful than you think - especially early testing your code.
Tags: opinion, TDD, testing, quality, clean-code, continous-delivery
Pro vim development environment 2: mid-level tricks and tips
Pro "haxxors" and coders can live without a full-blown IDE and usually prefer a good editor, a good terminal, a good operating system, scripts and habits.
The second part of the vim devenv story. Read on, more heavy, but still mid level stuff is presented here. I am presenting this not from a purely "vim" viewpoint, but from a "what comes up handy when programmng" viewpoint!
Tags: vim, devenv, development, environment, tips, tricks, pro, hacker, hackz, tutorial, linux, bash, sex
Pro vim development environment 1: basics and motivation
Pro "haxxors" and coders can live without a full-blown IDE and usually prefer a good editor, a good terminal, a good operating system, scripts and habits.
One such good editor is vim and I thought why not blog down some tips&tricks?
Aside of writing down some neat tricks I wrote and wrote and wrote and my text became a spaghetti whose half is for vim-novices and other half is for mid level and "at least casual" vim users so I thought I seperate these two into their own blog posts or maybe later who knows add more and more parts to this little "vim dev env series".
Tags: vim, devenv, development, environment, tips, tricks, pro, hacker, hackz, tutorial, linux, bash, series
Blog not mobile friendly? Neither apache mod_dir is!
As most of you already know, my blog is just static HTML but generated by one
small bash script called bashblog or bb.sh. For this it is blazing fast and
simple to load and pretty much always looked good on my phone too. When lookin
at google search console I spot however that they said it is not really mobile
friendly and you better take that seriously for SEO penalties and such.
Read on for some tips and tricks in responsive blog design.
Tags: responsive, web, blog, development, trickz, tutorial, apache, mod_dir, text-is-too-small-to-read, googlebot, internal, css
Why I like statically typed languages
People usually fall into one of the static vs. dynamic languages fanboy group. I always preferred that static languages where types can be determined at the compile time, but I use languages from both worlds. Now I met the kind of error that shines light on why I prefer static languages though. Read on!
Tags: static, dynamic, type, language, comparison, which-is-better, rant, reality
2020: Re-sharing posts of your company on facebook and linkedin on personal timeline
If you want to know how to re-share our own posts as a person on social media instead of paying high amount of money advertising your business pages, read on. It is not hard once you know it, but social media suppliers did hide it!
Tags: re, share, company, post, facebook, linkedin, social, media, advertisement, online, marketing, tricks, social-media, company, owner, tips