Xah Programing Blog Archive 2015-12

Linux: How to Find X11 Keycode/Keysym (updated)

Debian Linux Founder, Ian Murdock Killed Himself

Linux: Monitor Processes, htop (updated)

Trackball vs Mouse, and How to Choose a Trackball

The Hacker Cult, Episode Christmas

Python: Get Function Arity

The little match girl lights match to see grandma. I light up fighting “hackers” cult. FAAK Python: String Methods, Functions, Slashes and Backslashes#comment-2366962676

there's always a answer in every language to counter badly designed part.

the point of this article, is not “Dear pythonic hackers, can you help me to solve problem X in PYTHONIC way?”

this article, is a record of frustration with python, that probably indicates a badly designed aspect of the language.

the whole hacker cult, with lang war drivel, is generation after generation. The participants, are often ignorant. They move with waves.

the fuel of the hacker cult superstition, is those pythonic, perl monger, unix philosophy, and “idioms” fucks.

hacker cult's beliefs, today it's X, tomorrow it's Y by new generation. Usually unaware and ignore the previous generation's fandom.

hacker cult's phenomenon, behavior, are actually the same as politics and religion of human animals. It's a mix of belief and power struggle, and trend by fashion.

as communication tech (internet/phone) progress, hacker cult superstition problem decrease, but VERY slowly.

Farewell R.I.P. Firewire, Hello USB!

Farewell R.I.P. Firewire, Hello USB!

good old memories

macOS: Create Custom Keyboard Layout (updated)

Corsair Keyboards Review

Corsair updated their keyboard line. The new thing is the RGB keyboard.

Why PDF Sucks

Chomsky's articles. Wealth of info. http://chomsky.info/articles/

keyboard key switch: is clicky better than smooth?

after learning about the Stenotype Machine, now am convinced that Cherry MX Red (no click, smooth action) is better than the clicky/tactile ones brown/blue.

This is by first principle. You see, human thinking, are much conditioned by awareness. You may have tried both smooth and clicky ones, and absolutely find that clicky is better. But, my point here is, your judgement, may be clouded, in a deep subconscious part, by what you already know of the world.

sometimes, it's just a click of the mind.

So, now, to me, my point here is, next time i try a Cherry MX Red, now i have the awareness of that it might be better in principle, it might change my mind. (replace the “I/my” by “you/your”) (I myself haven't had conclusion that clicky is better than none-clicky. I only knew that none-clicky often preferred by gamers, because it allows easy repetition (as in pressing the fire button).)

The number one scumbag in computing is Martin Fowler. Other are: Larry Wall, Håkon Wium Lie, Michael Widenius, Bjarne Stroustrup, Eric S Raymond. Runner up idiots: Guido van Rossum, Rob Pike.

People you should follow: Stephen Wolfram, Guy Steele, Edsger W Dijkstra, Anders Hejlsberg, Olin Shivers, Erik Meijer, Bertrand Meyer, Rich Hickey.

when linux starts, at the end, it launches the graphics login screen. That program is called the Display Manager.

Therer are many Display Manegers in Linux.

Ubuntu uses LightDM

Simply edit /etc/xdg/lxsession/LXDE/desktop.conf with a text editor, and replace openbox with your favorite window manager. Note: In lxsession version is less than 0.4.0, you need to edit /etc/xdg/lxsession/LXDE/default instead. from http://wiki.lxde.org/en/LXDE:Questions#How_can_I_use_a_window_manager_other_than_Openbox_with_LXDE.3F

https://wiki.archlinux.org/index.php/Display_manager

https://wiki.ubuntu.com/LightDM

Linux: How to Switch to LXDE, Xfce

Stenotype Machine

Linux: Desktop GUI/Icon Locations

linux lxde: set default browser

if you are running lxde, you'll need to run update-alternatives to set a default browser. exo-preferred-applications itself does not work.

see updated Linux: Set Default App

Linux: Shell Commands for GUI Apps (updated)

vertical mouse update. Ergonomic / Vertical Mouse

Linux: Get System Info (minor update)

Linux: LXDE/Openbox, Change Keyboard Shortcuts (updated)