November 18, 2015

Forever 22

Let’s talk about something that can benefit our lives. No, not online clothes shopping, but SSH to your Linux VPS! If the last sentence contained two things you needed to Google, then this article isn’t for you (it all comes down to remote desktop, but fast). As a programmer, I see myself as an artist. Coding is a creative process for me, which results in making creative notes all the time. Read more

November 18, 2015

Good programmers are irreplaceable, bad are indispensable

This article walks through an important aspect of code maintenance; responsibility. Who is responsible for the code quality, the programmer, the supervisor? Is coding a creative process, can we call it an art form? The statement above may give away a little, as a programmer, I write this to other programmers and the people giving leadership to coders. When we agree that programming can be an art form to some coders, e. Read more

November 11, 2015

My favorite IDE

This is an old post, nowadays I use a web IDE. We all start with something like notepad++ until we start for something more useful. Various editors exist, Xcode with block scope highlighting (which is CPU intensive) to something like vim, which is ideal for quick editing of config files over SSH. My first real IDE My first language was Java, which was taught in BlueJ at my university (if your uni still does this, burn the books! Read more

September 11, 2015

Passwords, can you remember them all?

Old post, do not use this advice, but the tool found at lent.ink/projects/pwd As a logician, I like to order certain things in my life, based on logic, instead of emotion. Examples are file and directory structure, clothes in closet and of course, passwords. You probably all know the deal, of remembering various passwords, which can be a nightmare. And we all know that you should not use the same passwords on multiple site, because some save them plain text, and usually the sites that do, have poor security, which means an easy breach. Read more

May 9, 2008

USB bike charger

Before the era of solar chargers, people could charge their phones via their bike dynamo. Phones back then charged at a maximum of 500mA, which is close to the 400mA a regular bike dynamo generates. Nowadays phones require lots more power. A video of this board can be found here. What you’ll need: 50x100mm board 4 diodes 1n5817 (in order of preference: 1n581[7,8,9] or 1n400[1,2]) large capacitor: 10-35v, 750-1000uf small capacitor: 10-35v, 10-24uf 7805 (don’t get the small 100mA) What you need to know: Read more

January 1, 0001

https://www.chess.com/terms/elo-rating-chess dominance hiarcies jordan peterson china buy house https://mashable.com/article/tinder-bumble-hinge-okcupid-grindr-dating-app-algorithms elo https://towardsdatascience.com/how-i-built-my-own-dating-app-algorithm-2f6def15feb1

January 1, 0001

root@orangepizero:~# find /lib/modules/*/kernel/drivers/i2c/|grep \.ko|sed 's_.*/__'|sed 's_.ko__' i2c-slave-eeprom i2c-algo-bit i2c-mux-pinctrl i2c-mux-pca9541 i2c-mux-pca954x i2c-demux-pinctrl i2c-mux-reg i2c-mux-gpio i2c-arb-gpio-challenge i2c-stub i2c-cp2615 i2c-fsi i2c-tiny-usb i2c-emev2 i2c-sun6i-p2wi i2c-virtio i2c-dln2 root@orangepizero:~# for i in `find /lib/modules/*/kernel/drivers/i2c/|grep \.ko|sed 's_.*/__'|sed 's_.ko__'`;do echo $i && modprobe $i || true;done i2c-slave-eeprom i2c-algo-bit i2c-mux-pinctrl i2c-mux-pca9541 i2c-mux-pca954x i2c-demux-pinctrl i2c-mux-reg i2c-mux-gpio i2c-arb-gpio-challenge i2c-stub modprobe: ERROR: could not insert 'i2c_stub': No such device i2c-cp2615 i2c-fsi i2c-tiny-usb i2c-emev2 i2c-sun6i-p2wi i2c-virtio i2c-dln2

Blog by lent.ink