In your day to day cyber text editor is one of the main tools along with the terminal.
Being able to vim or emacs can be a big factor for a job or everyday usage.
People care into making their dev experience better.
So by checking out how other people cyber in the cyber space this is my setup.

Vim or emacs it does not matter they can both be cybered into looking similair.

ctrlp or fiplr for quickly searching files
neotree or nerdtree for tree directory structure viewing
acejump or easymotion for quick move cyber
git plugins
there is also thing that lets you git grep inline

then zsh is the thing that is more cyber than bash
together with oh my zsh it brings out real cyber shine so you can view git branch status and bunch of other stuff right away

then tmux – no need for multiple tabs
setup ctrl-t as your control key on main pc then you can use ctrl-b on nested session

if you are on windows use baboon(cyber cygwin that brings that linux cyber to your windows)
you will never use putty again 😀

docker from scratch

people seems to be using docker images that are just packed binaries.
With some yak shawing it should be possible to do erlang on docker from scratch. 😀 but not gonna yak shave today

dsl for docker

Imagine having dsl that would combine traits into dockerfile in declarative way.
wouldn’t that be nice?
I’ve started to write scripts for it simple concatination for now.
but goal is to support multiple sources for traits.

walkera 250 tips

if you ever get this drone things to look out for:

if you put battery all the way in it’s place drone will not be balanced then it will drift forward in manual mode.
move the battery little bit to the back to balance it out.

once you come to new flight ground calibrate the compas otherwise gps won’t work I calibrate all just in case ince other things are quick to calibrate

minor javascript cyber

have you ever wanted to parse javascript that has \r\n in it but the dev tools stopped the cyber.

What one can do to parse string with \r\n is to replace the characters with temporary placeholder characters


now after you have replaced the placeholder characters you should be able to use JSON.parse() on the new string and you can continue with the cyber

grsecurity hardened kernel + docker

Grsecurity might interfere with docker.
After getting hardened kernel up and running there could be errors like permissions are denied etc.

What to do?

Modify GRSecurity options once you do “make menuconfig” when recompiling kernel
I enabled softmode (does not enforce grsecurity PaX on every executable but only on explicitly marked ones).

Enable various PaX features
PaX control
Not sure if it is needed but I wanted to turn it on just in case

Then I dissabled dissable privileged IO (not sure if needed but had some weird errors on some other thing so I though I’ll just disable this)

and I dissabled chroot jail restriction

you can find this options under security-grsecurity when running make menuconfig

then docker stuff started to work not sure if I am going to bump into more non working stuff but for now that solved some things

also you can disable chroot stuff with
echo 0 > /proc/sys/kernel/grsecurity/chroot_deny_unix

hardening your kernel

so let’s say you rent a server and you want to up the bar on security.

you might want to use GRSecurity that is a patch on top of linux kernel that does not have enough users but provides things that windows has when it comes to having better security with they way memory is managed. That is probably bad way of describing it but let’s say windows has things like ASR and then when you put this patch on linux it has something like that also. For details consult their page. Features that it has are desirable comodity because they remove an entire classes of malicious things that can happen to your computer.

here is how to have centos 7 patched


#install dependencies
yum groupinstall -y “Development Tools”
yum install -y bc
yum install -y openssl-devel
yum install -y gcc-plugin-devel
yum install -y ncurses-devel

#download and patch kernel
cd /tmp
tar -xf linux-4.2.4.tar.xz -C /usr/src/
cd /usr/src/linux-4.2.4
patch -p1 < grsecurity-3.1-4.2.4-201510222059.patch

#make configuration and install
#here you can tupe make menuconfig and make sure to enable GRSecurity in your config
make oldconfig
make modules_install install
once you restart the server type “uname -r” and if it shows the new kernel with grsec string in it then it means it is ok if not check whether your config has the grsecurity enabled

blockchain phantasy

Imagine you have a big computation problem.
You build your app the way it would run on supercomputer.
That unit of computation you sign with your key.
Then you submit it to p2p network.
It is written in blockchain framework that has simple interface calculate verify.
Blockchain network uses interface/strategy pattern to calculate the problem and do verification.
Blockchain does it’s thing you get the result.
Blockchain is used for distributed consesus on some other service like anonimous bitcoin or instant messaging or distributed search or distributed thing that is not distributed but centralized now.
p2p network might run these algos in kubernetes way.

example distributed mail is backed by (pifs|protein fold| neural network training| large prime selection) blockchain algo combo

imagine blockchain for rent where you get compensated for computation?

crowdfunding ?