Labels

Friday, 18 March 2016

What's the matter with particle-waves?

If waves did turn into particles some of the time, a Faraday cage could not block them out.

makemkv wrapper with auto updater

Installs to home folder, creates usr folder under $HOME/.
Does not require root.
Requires xclip to dump latest beta key to "selection" (middle click "clipboard").
Launches makemkv if build succeeded or if already at latest version.

#!/bin/bash

echo $HOME
cd $HOME
URL='http://www.makemkv.com/forum2/viewtopic.php?f=3&t=224'
[[ -n "$1" ]] \
        && VERSION=$1 \
        || VERSION=$(curl --silent "$URL" | grep MakeMKV.*for.Linux.is | head -n 1 | sed -e 's/.*MakeMKV //g' -e 's/ .*//g')

KEY=$(curl --silent 'http://www.makemkv.com/forum2/viewtopic.php?f=5&t=1053'| grep T-|sed -e 's/.*codecontent..//g' -e 's/..div. .*//g')
echo "key: $KEY"
echo "$KEY" | xclip

if [[ "$VERSION" = "$(cat $HOME/.makemkv-version)" ]]; then
        echo MakeMKV is up to date.
else
        for r in oss bin; do
                wget -c "http://www.makemkv.com/download/makemkv-$r-$VERSION.tar.gz"
                tar xf makemkv-$r-$VERSION.tar.gz
                cd makemkv-$r-$VERSION
                [[ "$r" = "oss" ]] && ./configure || { mkdir -p tmp; echo accepted >tmp/eula_accepted; }
                make -j 17 install DESTDIR=$HOME/ || { echo -e "###\n### Error occurred, maybe missing build deps?\n### $URL\n###"; sleep 30; exit 1; }
                cd ..
        done
fi

env LD_LIBRARY_PATH=usr/bin:usr/lib:usr/share:usr QT_PLUGIN_PATH=/usr/lib/kde4/plugins:$QT_PLUGIN_PATH usr/bin/makemkv \
        && echo $VERSION | tee $HOME/.makemkv-version

Tuesday, 20 March 2012

Gravity, take 2


When I am currently visualizing gravity, I see it as space being consumed directly by matter which results in photons, neutrinos or tiny maybe yet undetected particles being created in the process by capturing and intertwining bits of space.
As a consequence, control over this mechanism could be used to construct a device for propulsion taking in space from a single direction.

Monday, 6 June 2011

Particle stability?

If a particle and gravity is caused by a part of space set in spin or wobbling, then the construct of a stable particle is interesting indeed.
Given the right circumstances, any particle would be unstable. And it makes a lot of sense then, that a disturbance as small as an anti neutrino is enough to cause an unstable particle to decay.
Mapping small particles with different em wavelengths in pulses with multiple waves at a time - could be another way forward towards understanding the basics of building particles.

Saturday, 1 January 2011

Ubuntu 10.10 autologin, CLI way

First, be root
sudo -i
Copy the example
cp /usr/share/doc/gdm/examples/custom.conf /etc/gdm/
Edit it with your favourite editor
vim /etc/gdm/custom.conf
Add lines like these under [daemon]
[daemon]
AutomaticLoginEnable=true
AutomaticLogin=username

Thursday, 1 July 2010

Ubuntu (10.04) custom power button event

Update 14. Oct. 2010: Works in Ubuntu 10.10 as well.

To poweroff only if the power button is pressed twice - change /etc/acpi/powerbtn.sh like this:

#!/bin/sh
# /etc/acpi/powerbtn.sh
# Initiates a shutdown when the power putton has been
# pressed.
# you need to double 'click' the power button to shutdown
( if ! [ $(pidof -x powerbtn.sh | wc -w) -eq 3 ]; then
        sleep .4
        exit
else
        poweroff
fi) &


It won't ask silly questions either - just shutdown now.
Now remove the wire from the reset button to make it more kid proof.

Thursday, 28 May 2009

outside of time

The universe is a picture, your thoughts and actions are part of it.

Free will is an illusion.


November 21, 2016 edit: ..Or perhaps not so static after all, a consequence of entanglement is violating causality as we know it by transferring potential to a slowed member.. Depends.. Depends..