# Alternative to checkinstall

When you want to remove the symlinks created in /usr/local/ for your particular program:

Extremely useful in Cygwin where checkinstall and package managers aren’t available.

# Gentoo on OpenVZ VPS, my experience

The target VPS is running Debian 6 i686 from an OpenVZ template. First, I used this straightforward script; you can find the stage3 tarball in /releases/x86/current-stage3/ : http://linux.arantius.com/how-to-install-gentoo-onto-any-openvz-vps Next I set portage up: https://matt.bionicmessage.net/blog/2011/02/05/Recipe%3A%20’Gentooize’%20an%20existing%20virtual%20server%20(VPS))

Here is how I managed to get networking working with /etc/conf.d/net ; apparently venet0:0 isn’t necessary anymore (we can simply add our IPv4 address to venet0 but very strangely, our external IPv4 address doesn’t show up in ifconfig but works.) Without further do…

routes_venet0=("default") only sets the IPv4 default route, and I haven’t found a way to set the IPv6 default route without knowledge of the gateway IP address, hence the postup() and predown() scripts. Nevertheless, they are “good enough.”

to bring venet0 up at default runlevel. At this point you should be able to run

while logged in without your SSH connection dropping on either IPv4 or IPv6. I am still in the process of setting up ntp, a mailer daemon, syslog-ng, etc. so I may post an update if I find anything extraordinary.

# My first foray into Brainfuck

Print damned.

Obfuscate it.

Now print “damned” in Brainfuck, and let’s play codegolf.

Challenge accepted.

http://www.iamcal.com/misc/bf_debug/ Debugger to help you visualize what’s going on. The first brainfuck works by incrementing the first cell to 10, then the loop increments the second cell to 100 and the 3rd cell to 110, and the <<- decrements the loop “counter”, which is held by the first cell.

At the end of the loop we should have [0][100][110]. Everything after the loop just increments or decrements to the appropriate ascii decimal value and outputs to stdout.

http://www.asciitable.com/ The second one works by first decrementing the value of the first cell, which is 0; hopefully the bf interpreter will wrap around to 255. Not all bf interpreters do this; https://apps.ubuntu.com/cat/applications/saucy/bf/ does but http://swapped.cc/#!/bff doesn’t.

Since the ascii decimal codes of the letters d, m, n, e, d are all in between 100 and 110 (a is 97), the shortest way I could think of was to have a big number to use as the loop counter and decrement it in intervals. 102 is 40% of 255, or 2/5ths, so after incrementing twice for cells 1, 2, and 3 go back to cell 0 and decrement by 5. At the end of the loop we should have [0][102][102][102].

# Bitcoin dev is someone's paranoid father.

Imagine having Satoshi Nakamoto for a father. http://arstechnica.com/business/2014/03/bitcoin-creator-satoshi-nakamoto-revealed-after-years-of-mystery/ He is your usual cranky old man in his 60s. His supposed daughter had this to say about him:

‘He is very wary of government interference in general,’ she says. ‘When I was little, there was a game we used to play. He would say, ‘Pretend the government agencies are coming after you.’ And I would hide in the closet.’

He was a software engineer for the FAA, has worked on military systems, and has done work for Hughes Aircraft at RCA.

# Shooting the messenger: Level Counterforce

The activists claim high-paid tech employees are squeezing out the middle and working classes from the city.

Perhaps it has never occurred to them that they are living in a meritocracy. Perhaps it has never occurred to them that Google has competitors, too…

# A mere 10% of scientific research is reproducible, in some cases.

http://today.duke.edu/2014/02/reproducibility The proposed solution is integrating the raw data, the computing, and analysis into one package as opposed to using different software tools for different stages of research which may make it cumbersome for students to back-step.

Enter R Markdown, a statistical package that integrates seamlessly with the programming language R. The team chose R Markdown for its ease of use – students wouldn’t have to learn a new computer syntax – and because it combines the raw data, computing and written analysis into one HTML document. The researchers hoped a single HTML file would give students a start-to-finish understanding of assignments, as well as make studying and grading easier.

# Some prophet's tirade on knowledge and the "information superhighway" in 1993.

http://preview.tinyurl.com/kctg2k9 Warning, link contains profanity. Here is an excerpt:

There’s a moral to this story boys and girls. Inform, teach, explore. Don’t gain the elitest attitude that only the few computer guru’s deserve the k-nowledge. That will get society nowhere. If something is not done to show Americans the light, then it will all go to hell. All computers will turn into entertainment systems. Inventiveness will be left to the evil, who’s only goal is to get money from you. If you are in disbelief, just turn on your T.V. Didn’t MTV start out as a new media form? Now-a-days, theres about .1% M in MTV, and about 99% ads and manipulation. Lets give a wakeup call to the world. Lets make it big and loud. NOW, not tomorrow.

Linux Meta android file gnu