Dec
15
2014
Flowers for Algernon

I like spending my free time reading books. Although i don’t have a good memory and my english are far from perfect, i prefer to read books in english.

A few days ago I was wondering what my potentials would be if i could remember everything i have ever read in my life. When discussing that with a good friend, she told me to read:

Flowers for Algernon

flowersforaglernon.jpg

The book is AMAZING !

Is about the life of a retarded person, Charlie Gordon, whom - through a brain surgery - was given the gift of intelligence. The only problem is that no one knows how much time Charlie has, before loosing it all. What would you do if you had all the knowledge of the world, speaking 12 languages and understanding every scientific field there is? We are viewing the progress of Charlie though his reports and seeing him transform from a dummy friendly person to an egoistic self-center genius!

Charlie also has another problem. The problem that no one treats him like a person. Before he was the laugh of everyone, after a guinea pig. As his understanding of the world is growing, the same goes for his mental and physiological state. He is straggling to find out who is he real, what’s his place in the world. To learn from his retarded past, to make amens with his parents, to accept his future.

“First published in 1959 as a short story, Flowers for Algernon was released in novel form in 1966 and has since sold millions of copies.”

There are already two movies (at least), some theatrical plays, audio books, cliff notes, study notes, summaries, reviews, etc etc

You have to read this book!

Tag(s): books
Dec
11
2014
tinc-vpn on android

I ‘ve updated my wiki page to add an android section to my tinc-vpn setup.

So here it is my: tinc-vpn to a redirect-gateway instructions.

Dec
02
2014
genetics and police procedural

From my previous book-related blog post, I ‘ve read NONE of them and started two new books:

chimeras-final-waward.jpg

mosaics.jpg

So, why did I choose those books?

I am a fan boy of police procedural stories (Jeffery Deaver is the BEST in this category) and the DNA-genetic approach was intriguing me. I had tons of questions and a very good friend of mine answered all of my questions on the subject.

So what’s the story of the first book ?

A detective with a dark side is trying to solve a missing-person case. With a strange twist the missing case is transformed to a series of deaths relating to a company that performs genetic research! The dark side of the detective is based on his primitive instincts and that is a result of genetic chimeras. I dont want to spill the beans and that’s way i will not write more about the book. The story is well written and has a technical base around genetics. The book challenges the ethics of DNA research and at what cost we are going to change the quality of our life.

The second book is the sequel of the detective’s story. The detective doesnt seem to be so stable as in the first book. He has health problems and the biggest one is that he is now trying to catch a serial killer who is defacing his victims with acid! The main story is around a HIV research facility which is doing human trials on a new vaccine. The detective is running out of time as his body crashing and everyone has abandoned him.

Tag(s): books
Dec
01
2014
greek spammers part two

Nov 2 2014 - Dec 1 2014

Top spammers:

1. adsgreece.com
2. globalgreece.gr
3. nfs.gr
4. specisoft.biz
5. aldridge.com

Blocked via postfix:

/etc/postfix/header_checks

/massnews\.gr/                  REJECT "Plz stop sending SPAM id=1"
/glc-emea\.com/                 REJECT "Plz stop sending SPAM id=2"
/To:.*info@balaskas\.gr/        REJECT "Plz stop sending SPAM id=3"
/Akis.Angelakis/		REJECT "Plz stop sending SPAM id=4"
/from.*mailendo.com/            REJECT "Plz stop sending SPAM id=5"
/specisoft\.biz/                REJECT "Plz stop sending SPAM id=6"
/advantech\.gr/                 REJECT "Plz stop sending SPAM id=7"
/adsgreece\.com/                REJECT "Plz stop sending SPAM id=8"
/2020web\.gr/                   REJECT "Plz stop sending SPAM id=9"
/nfs\.gr/                       REJECT "Plz stop sending SPAM id=10"
/polimonotiki/                  REJECT "Plz stop sending SPAM id=11"
/eliamep\.org/                  REJECT "Plz stop sending SPAM id=12"
/ellak\.gr/                     REJECT "Plz stop sending SPAM id=13"
/seminaria\.gr/			REJECT "Plz stop sending SPAM id=14"
/stock-house\.gr/		REJECT "Plz stop sending SPAM id=15"
/Lesfemmes/i			REJECT "Plz stop sending SPAM id=16"
/aldridge\.com/			REJECT "Plz stop sending SPAM id=17"
/inter\.net/			REJECT "Plz stop sending SPAM id=18"
/plexpr\.tk/			REJECT "Plz stop sending SPAM id=19"
/industrydisruptors\.org/	REJECT "Plz stop sending SPAM id=20"
/xinis\.com/			REJECT "Plz stop sending SPAM id=21"
/globalgreece\.gr/		REJECT "Plz stop sending SPAM id=22"
/hostzone\.gr/			REJECT "Plz stop sending SPAM id=23"
/mailinglist\.gr/		REJECT "Plz stop sending SPAM id=24"
/profitconsult\.gr/		REJECT "Plz stop sending SPAM id=25"
/pedersenco\.com/		REJECT "Plz stop sending SPAM id=26"
/diadima\.gr/			REJECT "Plz stop sending SPAM id=27"
/helenco\.gr/			REJECT "Plz stop sending SPAM id=28"
/adplus\.gr/			REJECT "Plz stop sending SPAM id=29"
/entos\.gr/			REJECT "Plz stop sending SPAM id=30"
/4udeals\.gr/			REJECT "Plz stop sending SPAM id=31"
/oncseminars\.gr/		REJECT "Plz stop sending SPAM id=32"
/enimerwsi\.gr/			REJECT "Plz stop sending SPAM id=33"
Tag(s): greek, spam, postfix
Nov
28
2014
The problem of communication

There is a big difference between communication and understanding.

Here is a DNS story:

The Internet Bank of Ebal (paraphrasing customer’s name) has their own Authoritative NameServer for their zone.
In the company i am currently working, we provide a secondary dns service.

Bellow the steps/instructions we provide to our customers - in order of action:

1. Inform the customer to allow zone transfer to our Lans
2. We confirm the zone transfer
3. Inform the customer to add our secondary NameServers to his zone
(NS records inside their dns zone)
4. Provisioning the service aka add configuration to our NameServers
and finally
5. inform customer to add our NameServers to the Registry of .gr Domain Names

Just to be perfectly clear - we keep these steps simply cause from our experience not every DNS administrator understand what they must/should do.

So here are the steps the bank’s administrator did:

1. Add one of our NameServers into registry of .gr domain names
2. Allow zone transfer to our Lans.

in that order!

They raised a complain that we dont provide the secondary service and a lot of bank’s customer cant access their site (obviously)!

We re-inform the customer with the actions/steps and we specific told them to REMOVE our nameserver from the registry of .gr domains till WE confirm that everything is ok.

Below the new steps the bank’s administrator did:

1. Add one more of our NameServers into registry of .gr domains names.

So we have a new problem.

I told the administrator (in writing) to remove something and they did the exactly opposite.
Still (at the time of writing this blog post) they havent add our nameservers into their zone
(step number #3).

At this moment i cant think of how to resolve the real problem: “The problem of communication to the point of understanding”

UPDATE:
Seems that we are still having problems with this customer!
The administrator of the bank chose to update the authoritative nameservers on the registry .gr domains.
They removed our authoritative nameservers (acting as secondary) and added our caching nameservers.

Tag(s): work_related
Nov
07
2014
pure HTML5/CSS3 show/hide help box

Just because i am a sysadmin, doesn’t mean that i can’t hack some HTML5/CSS3 code!

Or even do a better job than some “web” devs or devops !!!

In fact, here is an example of a pure HTML5/CSS3 show/hide help box:

 

The below code displays a ? on the HTML page,
so that when hovering over it, shows a help box.

 

HTML5 part

<span class="help">
	<font color=blue>  ?  </font>
	<div class="hidden">
		<b><u>SOA</u></b><BR>
		Specifies authoritative information about a DNS zone, 
		including the primary name server, the email of the domain 
		administrator, the domain serial number, and several timers 
		relating to refreshing the zone.
	</div>
</span>

 

and the CCS3 part:

.help {
	width: 5px;
}

.help:hover {
	width: 500px;
	height: 100px;
	background:#f7f7f7;
	position: fixed;

	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.hidden {
	display: none;
}

.help:hover > .hidden {
	display: block;
	background: #f7f7f7;
	color: #000000;
	text-align: left;
}

 

I am sure, that this (perhaps) is not the perfect way - but it sure beats every JS code I ‘ve already read from web-devs.

Tag(s): HTML5, CSS3
Nov
02
2014
Deep Web

After finishing my Cyberpunk reading of Burning Chrome a short story collection & Neuromance by William Gibson started to search for new books to read.

@comzeradd suggested the bellow books:

  • Ancillary Justice (2013) by Ann Leckie
  • Cryptonomicon (1999) by Neal Stephenson
  • Homeland (2013) by Cory Doctorow
  • Little Brother (2008) by Cory Doctorow
  • Pirate Cinema (2012) by Cory Doctorow
  • Robopocalypse (2011) by Daniel H. Wilson
  • Snow Crash (1992) by Neal Stephenson
  • Permutation City (1994) by Greg Egan
  • The Emperor’s New Mind (1989) by Roger Penrose

but (as always) something new caught my eye!

a tweet about free books at noisetrade, a site that i hadn’t heard before.

There are short stories and books from indie (and not) writers that want to promote their job by giving free some stories/books. After a few searches i came up with Social Engineer by Ian Sutherland and immediately hooked up !

social-engineer.jpg

Searching the web for other work of Ian Sutherland i found his personal page on wattapad, a platform for writing & self-publishing short stories and books.

I have to say that there are a lot of stories that you have to read there !

I understand that self-publishing isn’t something easy. Major publishers with their “politics”, promotion and marketing can affect your book price or even your fan base. But wattapad builds their status upon readers and the publicity is being via social media (or blog posts like this one).

So I’ve read the first chapters of Invasion of Privacy there.

invasion-of-privacy.jpg

OK - this dude knows his stuff !!

From technical view is nearly perfect and the story has many “Jeffery Deaver - paranoia points and twists ”

I don’t want to spoil anything on both books - but I’ve enjoyed the entire time of reading them the last couple weeks.

Take a look on his site Ian Sutherland for more info.

Tag(s): books
Oct
29
2014
greek spam 01

In 30 40 days of my new mail address and the top spammers are:


/massnews.gr/                  REJECT "Plz stop sending SPAM id=1"
/glc-emea.com/                 REJECT "Plz stop sending SPAM id=2"
/To:.*info@balaskas.gr/        REJECT "Plz stop sending SPAM id=3"
/Akis.Angelakis/		REJECT "Plz stop sending SPAM id=4"
/from.*mailendo.com/            REJECT "Plz stop sending SPAM id=5"
/specisoft.biz/                REJECT "Plz stop sending SPAM id=6"
/advantech.gr/                 REJECT "Plz stop sending SPAM id=7"
/adsgreece.com/                REJECT "Plz stop sending SPAM id=8"
/2020web.gr/                   REJECT "Plz stop sending SPAM id=9"
/nfs.gr/                       REJECT "Plz stop sending SPAM id=10"
/polimonotiki/                  REJECT "Plz stop sending SPAM id=11"
/eliamep.org/                  REJECT "Plz stop sending SPAM id=12"
/ellak.gr/                     REJECT "Plz stop sending SPAM id=13"
/seminaria.gr/			REJECT "Plz stop sending SPAM id=14"
/stock-house.gr/		REJECT "Plz stop sending SPAM id=15"
/Lesfemmes/i			REJECT "Plz stop sending SPAM id=16"
/aldridge.com/			REJECT "Plz stop sending SPAM id=17"
/inter.net/			REJECT "Plz stop sending SPAM id=18"
/plexpr.tk/			REJECT "Plz stop sending SPAM id=19"
/industrydisruptors.org/	REJECT "Plz stop sending SPAM id=20"
Tag(s): spam
Oct
19
2014
SatNOGS - Satellite Networked Open Ground Station

What started as a Nasa Space App Challenge now becomes an extraordinary opensource achievement on the top five finalist of hackaday.io.

What is SatNOGS in non technical words: imagine a cheap mobile openhardware ground station that can collaborate through the internet with other ground stations and gather satellite signals all together, participating in a holistic opensource/opendata and public accessible database/site !

If you are thinking, that cant be right, the answer is that it is!!!

The amazing team behind the SatNOGS is working around the clock - non stop ONLY with openhardware and free software to do exactly that !

A fully modular system (you can choose your own antennas! or base setup) you can review the entire code on github, you can see in high quality videos and guides for every step, every process, you can participate via comments, emails or even satellite signals !

satnogs_02.jpg

3D Printing is one of the major component in their journey till now. The have already published every design they are using for the satnogs project on github! You just need to print them. Every non-3d printing hardware are available to every hardware store near by you. The members of this project have published the Arduino code and schematics for the electronics too !!

Everything is fully documented in details, everything is open source !

AMAZING!

satnogs.jpg

It’s seems that i may be bias, so dont believe anything i am writing.
See for your self and be mind-blowing impressed with the quality of their hardware documentation

Visit their facebook account for news and contact them if you have a brilliant idea about satellites or you just want to get a status of their work.

How about the team ?

I’ve met the entire team at Athens Hackerspace and the first thing that came into my mind (and it is most impressive) is the diversity of the members itself.

Not only in age (most of them are university students, but older hobbyists are participating too) but also in the technical area of expertise. This team can easily solve every practical problem they can find in the process.

SatNOGS, as I’ve already mentioned, is fully active and that all started (with the bing bang of-course) with an idea: To reach and communicate with the Space (the final frontier). Satellites are sending signals 24/7 and the ground stations cant reach every satellite (i am not talking to geo-static satellites) and there is no one to acknowledge that. The problem that the satnogs is solving is real.

And i hope with this blog post, more people can understand how important is that this project scale to more hackerspaces around the globe.

To see more, just click here and you can monitor the entire process till now.

Tag(s): SatNOGS
Oct
15
2014
read it later

a blog post about Wallabag

Tons of information are passing through your eyes every day. People now are browsing than reading and there are some things you really want to store and read them when you have some free time. Bookmarks are pretty useful for storing the url but the actual content could be moved somewhere else or even removed from the original place.

read-it-later applications have worked their magic and offline (or caching) storing the actual content to another location. Some of these applications (or online services) have the ability to synchronize their content to your tablet/smartphone or even your ebook reader. The most known service is, of course, pocket.

But then again you have to register to another online service that uses your email for userid and now knows every single thing you like to read! And what will happen if the company behind this service decides to close this or change their policy to sell yours info or hacked or …. whatever …. ?

Well that’s the nice thing about free software!

You can self-hosting your own application for saving web pages (aka read-it-later) with wallabag

Just download and extract the latest version inside your web server document root path:

cd /var/www/

wget -c http://wllbg.org/latest -O wallabag_latest.zip
unzip wallabag_latest.zip
mv wallabag_VERSION wallabag

At this moment you have your own self-hosted read-it-later service.

You need to generate a token for apps to connect with your wallabag instance (login –> config –> Feeds –> generate token) and it will produce something like that:

Token: sd/sdfSDFsdffd20
User ID: 1

Add the firefox add-on from here and then you have to configure only your wallabag URL.

For your smartphone you can use this app
wallabag from F-droid

For this app you need to write the token so that you can synchronize your feeds to your phone.

Wallabag has many features - the most useful for me is the epub export. I can store my articles to my ebook reader !

How about security ? I dont care to setup wallabag under an SSL certificate or bother with “basic auth” login cause i store public articles !!! If someone obtains my credentials he/she/it can use wallabag to mesh with my articles (ok - i have backups) but he/she/it will not gain access to “private” information. That’s said - that dont mean that i dont value of the above (on the contrary) - is just a way to say that in my wallabag instance, i only store already public/publish web pages!

[Edit] UX - update - support - donate

I forgot to mention on my original post that i do appreciate 3 major things when using an free software project.

First is the UX, if something is toooooo difficult for me to use it, i’ll pass it. Even if it is the best project ever. Wallabag isnt top notch on UX, but the design isnt destructive at all when reading an offline article. The work that nicosomb have made on that is really nice.

Second thing the update process: If is too hard for me to update a project, soon i will be bored to do it. I am an intermediate linux user and an open source advocate but i am lazy. Too lazy. Wallabag is super easy to update. Just download and extract. I am amazed that this process isnt already inside wallabag config section. I hope to see that in the next release. But it’s really nice to be notified (internal checks when using config page) and do the hard work of opening a shell, login, download and extract the new release :P

Third thing in my forgot list is support. Wallabag is active and has a new support process. Something that not many opensource projects have. And Nicola (core developer) isnt a hard man to find on social media. That’s always something useful and handy for small things but a known fact that the developer is not MIA.

Finally i choose to support projects via donations. My donates are always smalls - cause i dont have (yet) millions to spare. But even a small contribution from many people can manage to pay for the VPS or other costs that the developer have to pay from his pocket.

Tag(s): wallabag
Oct
14
2014
Fairphone - How to disable the camera shutter sound

Fairphone

How to disable the camera shutter sound:

code snippet only


[root@myhomepc platform-tools]# ./adb shell
shell@android:/ $ su
shell@android:/ # mount -o rw,remount /system                                  
shell@android:/ # echo '' > /system/media/audio/ui/camera_shutter.ogg 
Tag(s): fairphone
Oct
14
2014
Fairphone update #1

If you missed my previous blog post about fairphone click here: here.

this blog post document how to became root and do “advanced” staff.

iFixit

Fairphone comes with an iFixit app - and of course with some other apps too ;)
If you want to remove it, you can simply connect your phone with your linux box, open USB debugging and adb shell through your phone

Fairphone is already rooted, so when you connect to it via adb, simply type:


su 

to became root.

eg.


# adb shell
shell@android:/ $ su
shell@android:/ # 

You can do what-ever you like - but be careful with it !

Next, remount your system partition to be read-write:


# mount -o rw,remount /system 

and then simply remove the app you dont need:


# rm /system/app/FairPhoneIFixIt.apk

(you can alternative use an App-Remove application - but this is more fun, right ?)

and now to the more interesting thing:

Busybox

How to add busybox to your Fairphone.

You need to download the busybox-armv7l from here

and use adb to push it to your phone:


adb push busybox-armv7l /sdcard/

after that, connect via adb shell, become root, open system to read-write and

cp /sdcard/busybox-armv7l /system/bin/

Fairphone comes with toolbox
There are a few commands point to toolbox:

cat chmod chown cmp cp date dd df dmesg du getevent getprop grep hd id ifconfig iftop insmod ioctl ionice kill ln log ls lsmod lsof md5 mkdir mount mv nandread netstat newfs_msdos notify printenv ps reboot renice rm rmdir rmmod route schedtop sendevent setconsole setprop sleep smd start stop sync top touch umount uptime vmstat watchprops wipe

but busybox has move power:

[, [[, acpid, add-shell, addgroup, adduser, adjtimex, arp, arping, ash,
awk, base64, basename, beep, blkid, blockdev, bootchartd, brctl,
bunzip2, bzcat, bzip2, cal, cat, catv, chat, chattr, chgrp, chmod,
chown, chpasswd, chpst, chroot, chrt, chvt, cksum, clear, cmp, comm,
conspy, cp, cpio, crond, crontab, cryptpw, cttyhack, cut, date, dc, dd,
deallocvt, delgroup, deluser, depmod, devmem, df, dhcprelay, diff,
dirname, dmesg, dnsd, dnsdomainname, dos2unix, du, dumpkmap,
dumpleases, echo, ed, egrep, eject, env, envdir, envuidgid, ether-wake,
expand, expr, fakeidentd, false, fbset, fbsplash, fdflush, fdformat,
fdisk, fgconsole, fgrep, find, findfs, flock, fold, free, freeramdisk,
fsck, fsck.minix, fsync, ftpd, ftpget, ftpput, fuser, getopt, getty,
grep, groups, gunzip, gzip, halt, hd, hdparm, head, hexdump, hostid,
hostname, httpd, hush, hwclock, id, ifconfig, ifdown, ifenslave,
ifplugd, ifup, inetd, init, insmod, install, ionice, iostat, ip,
ipaddr, ipcalc, ipcrm, ipcs, iplink, iproute, iprule, iptunnel,
kbd_mode, kill, killall, killall5, klogd, last, less, linux32, linux64,
linuxrc, ln, loadfont, loadkmap, logger, login, logname, logread,
losetup, lpd, lpq, lpr, ls, lsattr, lsmod, lsof, lspci, lsusb, lzcat,
lzma, lzop, lzopcat, makedevs, makemime, man, md5sum, mdev, mesg,
microcom, mkdir, mkdosfs, mke2fs, mkfifo, mkfs.ext2, mkfs.minix,
mkfs.vfat, mknod, mkpasswd, mkswap, mktemp, modinfo, modprobe, more,
mount, mountpoint, mpstat, mt, mv, nameif, nanddump, nandwrite,
nbd-client, nc, netstat, nice, nmeter, nohup, nslookup, ntpd, od,
openvt, passwd, patch, pgrep, pidof, ping, ping6, pipe_progress,
pivot_root, pkill, pmap, popmaildir, poweroff, powertop, printenv,
printf, ps, pscan, pstree, pwd, pwdx, raidautorun, rdate, rdev,
readahead, readlink, readprofile, realpath, reboot, reformime,
remove-shell, renice, reset, resize, rev, rm, rmdir, rmmod, route, rpm,
rpm2cpio, rtcwake, run-parts, runlevel, runsv, runsvdir, rx, script,
scriptreplay, sed, sendmail, seq, setarch, setconsole, setfont,
setkeycodes, setlogcons, setserial, setsid, setuidgid, sh, sha1sum,
sha256sum, sha3sum, sha512sum, showkey, slattach, sleep, smemcap,
softlimit, sort, split, start-stop-daemon, stat, strings, stty, su,
sulogin, sum, sv, svlogd, swapoff, swapon, switch_root, sync, sysctl,
syslogd, tac, tail, tar, tcpsvd, tee, telnet, telnetd, test, tftp,
tftpd, time, timeout, top, touch, tr, traceroute, traceroute6, true,
tty, ttysize, tunctl, udhcpc, udhcpd, udpsvd, umount, uname, unexpand,
uniq, unix2dos, unlzma, unlzop, unxz, unzip, uptime, users, usleep,
uudecode, uuencode, vconfig, vi, vlock, volname, wall, watch, watchdog,
wc, wget, which, who, whoami, whois, xargs, xz, xzcat, yes, zcat, zcip

to add a new command to your fairphone just link it against busybox:


shell@android:/system/bin # ln -s busybox vi 

from here … you can do pretty much whatever you like !.

Tag(s): fairphone