<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>bana's blog</title>
    <subtitle>public.private.sticky.notes</subtitle>
    <link rel="alternate" href="http://89.133.43.124/" />
    <link rel="self" href="http://89.133.43.124/feed.xml" type="application/atom+xml" />
    <id>http://89.133.43.124/</id>
    <updated>2014-03-23T20:39:21Z</updated>
    
    <author>
        <name>bana</name>
        <email>bana@netspin.hu</email>
        <uri>http://89.133.43.124/</uri>
		    </author>
		<entry>
            <title>Fixing electric hair clipper</title>
            <link rel="alternate" href="http://89.133.43.124/news/2015/12/23/Fixing-electric-hair-clipper/" type="text/html" />
            <id>http://89.133.43.124/news/2015/12/23/Fixing-electric-hair-clipper/</id>
            <updated>2015-12-23T22:11:00Z</updated>
            
            <summary type="html">Right now, before christmas day my electric hair cutter is broken. The adapter has fall down and this shit is not working anymore, the 
little red led is absolutely not blinking. So the cable is useless.</summary>
            <content type="html"></content>
        </entry>
		
        <entry>
            <title>Setting up Raspberry PI as webserver</title>
            <link rel="alternate" href="http://89.133.43.124/news/2013/10/15/Setting-up-Raspberry-PI-as-webserver/" type="text/html" />
            <id>http://89.133.43.124/news/2013/10/15/Setting-up-Raspberry-PI-as-webserver/</id>
            <updated>2013-10-15T17:36:00Z</updated>
            
            <summary type="html">
Finally I have decided that sharing my collected notes and put it into some readable format. Yes, the Raspberry PI craziness that nowdays sweep through the internet touched me as well. I could not just pass it and not get one. I have ordered the RPI Model-B rev-2 version with 512Mbyte of RAM, 4Gb SD card and passive coolers. Actually I wanted to use it as own &lt;i&gt;webserver&lt;/i&gt; and creating a blog which running on the machine. Because I thought it would be cool sometimes use it to playing films just wanted to &lt;i&gt;connect it to my Samsung TV through HDMI&lt;/i&gt;. Of course not to use it uncomfortable directly keyboard and mouses but get the X layout of RPI from &lt;i&gt;remote desktop&lt;/i&gt;.</summary>
            <content type="html">&lt;p&gt;
Finally I have decided that sharing my collected notes and put it into some readable format. Yes, the Raspberry PI craziness that nowdays sweep through the internet touched me as well. I could not just pass it and not get one. I have ordered the RPI Model-B rev-2 version with 512Mbyte of RAM, 4Gb SD card and passive coolers. Actually I wanted to use it as own &lt;i&gt;webserver&lt;/i&gt; and creating a blog which running on the machine. Because I thought it would be cool sometimes use it to playing films just wanted to &lt;i&gt;connect it to my Samsung TV through HDMI&lt;/i&gt;. Of course not to use it uncomfortable directly keyboard and mouses but get the X layout of RPI from &lt;i&gt;remote desktop&lt;/i&gt;.&lt;/p&gt;
&lt;h2&gt;Motivation and decision&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Small board, impressive, attractive and cheap computer.&lt;/li&gt;
&lt;li&gt;&lt;i&gt;Hackable Linux based platform&lt;/i&gt; provided with ATM chipset.&lt;/li&gt;
&lt;li&gt;Low electricity consumption.&lt;/li&gt;
&lt;li&gt;Silent machine with possible passive cooler.&lt;/li&gt;
&lt;br&gt;
&lt;li&gt;Own webserver. It&amp;rsquo;s not on the other side of world holding a 3th party ownership.&lt;/li&gt;
&lt;li&gt;Mini file server for notes and not too large files.&lt;/li&gt;
&lt;li&gt;Reusable for several projects.&lt;/li&gt;
&lt;li&gt;&lt;i&gt;Hardwer and software in one hand. ☺&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br&gt;

&lt;h2&gt;Simple box for RPI&lt;/h2&gt;
&lt;p&gt;
I prefer the simple but clever solution. I was seeking something easily accessible box for RPI and surfed the web when I found a creative but easy solution: &lt;a href=&#34;http://www.raspberrypi.org/archives/1515&#34;&gt;LEGO&lt;/a&gt;.
On the net there are lot of cool skins for RPI but just spent some hours to looking for my old LEGO pieces and started to build it.&lt;br&gt;The RPI board fits in a &lt;i&gt;LEGO enclosured box with dimension of 9 x 13 blocks&lt;/i&gt;. Perfect. Because Raspberry PI is small still with the box, the best place was it to me put it behind the TV. It can be easily connected to TV through HDMI. Because the on the board there is not any cooling solution I have also bought a passive coolers whiches just had to stick on the chips. In the most RPI stores can be ordered a prepared package contains three passive coolers for every important chip on RPI board.

Some picture when I have got it and about the result.
&lt;/p&gt;

&lt;table id=&#34;simple-table&#34;&gt;&lt;tr&gt;
&lt;td&gt;
&lt;img src=&#34;http://89.133.43.124/assets/images/rpi-0-small.png&#34; alt&#34;RPI in package&#34;&gt;&lt;/td&gt;

&lt;td&gt;
&lt;img src=&#34;http://89.133.43.124/assets/images/rpi-5-small.png&#34; alt&#34;RPI in package&#34;&gt;&lt;/td&gt;

&lt;td&gt;
&lt;img src=&#34;http://89.133.43.124/assets/images/rpi-2-small.png&#34; alt&#34;RPI behind the TV&#34;&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/table&gt;

&lt;table id=&#34;simple-table&#34;&gt;&lt;tr&gt;
&lt;td&gt;&lt;img src=&#34;http://89.133.43.124/assets/images/rpi-3-small.png&#34; alt&#34;RPI&#34;&gt;&lt;/td&gt;

&lt;td&gt;&lt;img src=&#34;http://89.133.43.124/assets/images/rpi-4-small.png&#34; alt&#34;RPI&#34;&gt;&lt;/td&gt;

&lt;td&gt;&lt;img src=&#34;http://89.133.43.124/assets/images/rpi-1-small.png&#34; alt&#34;RPI&#34;&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/table&gt;

&lt;p&gt;&lt;h2&gt;Doing the software way..&lt;/h2&gt;&lt;br&gt;
&lt;p&gt;There is a set of compatible operating system to RPI for different purposes. At first testing I have just installed the most popular Debian Wheezy system with X layout. Because it may exists better OS for my purposes (e.g. running only webserver I would use the faster Risc OS) but I did&amp;#39;t want to reinstall a new one so it remained. Download OS here and how-to burning the image on SD card can be found &lt;u&gt;&lt;a href=&#34;http://www.raspberrypi.org/downloads&#34; target=&#34;_blank&#34;&gt;here&lt;/a&gt;&lt;/u&gt;. &lt;br&gt;
Let&amp;#39;s do the necessary settings, install the softwares and libraries.&lt;/p&gt;&lt;br&gt;
&lt;pre&gt;&lt;code data-lang=&#34;perl&#34;&gt;&lt;br&gt;
passwd                        # change password from &amp;#39;pi&amp;#39;/&amp;#39;raspberry&amp;#39; to new one&lt;br&gt;
date +%T -s &amp;quot;20:58:00&amp;quot;        # set time&lt;br&gt;
dpkg --get-selections         # checking what we may need to have&lt;br&gt;
sudo apt-get update           # get recommanded software updates&lt;br&gt;
sudo apt-get install xrdp     # server for remote desktop protocol&lt;br&gt;
sudo apt-get remove nano      # remove unnecessary sofwares ...&lt;br&gt;
sudo apt-get install vfstpd   # secure and fast FTP server&lt;br&gt;
sudo vi /etc/bash.bashrc      # write psg=&amp;quot;ps -aux | grep&amp;quot; to use psg alias&lt;br&gt;
!FTP 550 permission upload    # problem solving&lt;br&gt;
!sudo vi /etc/vtftpsd.conf&lt;br&gt;
!sudo service vsftpd restart&lt;br&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;Use this one to know what happens on RPI because the programs are installed here
logging in this file.&lt;/p&gt;
&lt;pre&gt;&lt;code data-lang=&#34;perl&#34;&gt;
tail -f /var/log/messages           # always checking knowing problems
&lt;/code&gt;&lt;/pre&gt;
&lt;br&gt;
&lt;p&gt;Installing Virtual Network Computing program (VNC) to handle RPI from remote.
&lt;pre&gt;&lt;code data-lang=&#34;perl&#34;&gt;
sudo apt-get install tightvncserver # get the VNC server to get new X displays
!vncserver :1 -geometry 1280x800 -depth 16 -pixelformat rgb565: # start
!sudo chown pi /home/pi/.Xauthority # problem solving
!vncpasswd view-pass NONONO         # recover password
sudo apt-get install x11vnc         # get the real X displays
!startx&amp;                            # start X desktop
!vncserver                          # start VNC
!x11vnc                             # start X11VNC
!# From now you can connect with vncviewer on 0 display to get real RPI display
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Testing pendrive. I had no problem the automount worked well on X display and the a folder came up.&lt;/p&gt;
&lt;pre&gt;&lt;code data-lang=&#34;perl&#34;&gt;
/kernel/sda/sda1                    # the path of automounted pendrve
&lt;/code&gt;&lt;/pre&gt;


&lt;p&gt;&lt;br&gt;On the net there is a lot of available webserver on different size and for different purposes. Because of RPI is not made of running heavy webservers I wanted to spare with the load and space (my SD card is only 4GB). And earlier I have decided that I want to create so kind of blog that does not need database and as it possible it avoids the dynamically elements. Decision to lightweight webservers.  &lt;u&gt;&lt;a href=&#34;http://en.wikipedia.org/wiki/Comparison_of_lightweight_web_servers&#34; target=&#34;_blank&#34;&gt;Comparsion of lightweight webservers&lt;/a&gt;&lt;/u&gt;. Here you can find a cool &lt;u&gt;&lt;a href=&#34;http://www.jeremymorgan.com/blog/programming/raspberry-pi-web-server-comparison/&#34; target=&#34;_blank&#34;&gt;analysation of lightweight webservers&lt;/a&gt;&lt;/u&gt;. May it recommended from RPI community? &lt;u&gt;&lt;a href=&#34;http://elinux.org/RPi_Nginx_Webserver&#34; target=&#34;_blank&#34;&gt;Nginx&lt;/a&gt;&lt;/u&gt; (6,2000Kb on my SD card).&lt;/p&gt;
&lt;pre&gt;&lt;code data-lang=&#34;perl&#34;&gt;
sudo apt-get install nginx         # get nginx webserver
sudo useradd www-data              # user grant to user of webserver(s)
sudo groupadd www-data             # group grant to user of webserver(s)
sudo usermod -g www-data www-data  # changing user group of user
!/usr/share/nginx/www/             # path to put the pages
&lt;/code&gt;&lt;/pre&gt;
&lt;br&gt;&lt;br&gt;

&lt;h2&gt;Mplayer, setting sound &lt;/h2&gt;
&lt;p&gt;Playing films and music or just listening to radio, do the compulsory settings.&lt;/p&gt;
&lt;pre&gt;&lt;code data-lang=&#34;perl&#34;&gt;
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install mplayer mplayer-gui alsa-base alsa-utils pulseaudio mpg123
sudo usermod -aG video pi
sudo amixer cset numid=3          # http://elinux.org/R-Pi_Troubleshooting
mplayer -fs xy.avi                # fullscreen mplayer from consol
mplayer -ao alsa -playlist &#34;http://88.151.102.84:8003/mp3.m3u&#34; # FM online radio
&lt;/code&gt;&lt;/pre&gt;
&lt;br&gt;&lt;br&gt;

&lt;h2&gt;Blogging motor&lt;/h2&gt;
&lt;p&gt;On this section I don&amp;rsquo;t want to waste the time to reason why it&amp;rsquo;s good keeping the things as simple as posible but one of the possible way to do it with static blog generator. My requirement was a quite high performance blog platform, track content changes easily, writing posts (using Markdown), publish them in easy format but still holding posts in logic structure like a blog. I wanted to eliminate the complex and large webservers (as I did it with nginx) so being on this way wanted to do it with blogging method as well. There is no need dynamic websites, frameworks systems (CMS), database request and other overheads, instead of them just using &lt;i&gt;static HTML pages&lt;/i&gt;. &lt;br&gt;
The other reason is when once I would like to move on or whatever editing the contain I just simple handle it. No database requests from several tables, no different technology chaos to put the contain in readable format, no dynamic pages, no annoying porting necesseries. Small size, python script, more than enough to my purposes.&lt;br&gt; 
A simpatic static generator: &lt;u&gt;&lt;a href=&#34;http://mynt.mirroredwhite.com/&#34; target=&#34;_blank&#34;&gt;Mynt&lt;/a&gt;&lt;/u&gt;. Mynt supports custom date, tag-based archives, Markdown posts, Jinja templates and YAML front matter.&lt;br&gt;
First I had some problem with different mynt versions and got python compile errors. Because I could not find the solution on forums, in IRC channel Anomareh the developer of mynt helped me to fix it. I was using mynt 0.2.2 instead of 0.2.3 with jinja 2.7.&lt;/p&gt;
&lt;pre&gt;&lt;code data-lang=&#34;perl&#34;&gt;
sudo apt-get install nedit            # get text editor with highlightings
sudo apt-get install git
sudo apt-get install python-dev
sudo apt-get install python-pip
sudo pip install mynt                 # get static site generator
&lt;/code&gt;&lt;/pre&gt;
&lt;br&gt;&lt;br&gt;

&lt;h2&gt;Static address for global access&lt;/h2&gt;
&lt;p&gt;Okey! We got webserver, blogging platform and so static HTML pages. Open the door and make it available from internet. If you want to use free DNS, register at on of the free dynamic DNS service and get a simpatic domain name. I&amp;rsquo;ve used this one: &lt;u&gt;&lt;a href=&#34;http://freedns.afraid.org&#34; target=&#34;_blank&#34;&gt;http://freedns.afraid.org&lt;/a&gt;&lt;/u&gt;.&lt;br&gt;
Install &lt;i&gt;ddclient&lt;/i&gt; client used to update dynamic DNS entries for accounts on Dynamic DNS Network Services&#39; free DNS service. When it is done and the settings are correct, go to settings menu of your router (e.g: 192.168.1.1) and create an open port (do port forwarding) that allow a connection in to your home network from the Internet. To get to know your external IP and port using RPI, here is a &lt;u&gt;&lt;a href=&#34;http://www.yougetsignal.com/tools/open-ports/&#34; target=&#34;_blank&#34;&gt;site&lt;/a&gt;&lt;/u&gt; (port 80 for webserver).&lt;br&gt;
More details about the port forwarding at specific router check this &lt;u&gt;&lt;a href=&#34;http://portforward.com/english/routers/port_forwarding/routerindex.htm&#34; target=&#34;_blank&#34;&gt;site&lt;/a&gt;&lt;/u&gt;.
&lt;/p&gt;
&lt;pre&gt;&lt;code data-lang=&#34;perl&#34;&gt;
sudo apt-get install ddclient         # get ddclient
sudo vi /etc/ddclient.conf            # protocol=dyndns1, server=freedns.afraid.org, login and password
sudo vi /etc/default/ddclient         # run_deamon=&#34;true&#34;, run_ipup=&#34;true&#34;
&lt;/code&gt;&lt;/pre&gt;
&lt;br&gt;&lt;br&gt;

&lt;h2&gt;Commands make sense&lt;/h2&gt;
&lt;p&gt;Some commands I was using during the installation process, they may be helpful.&lt;/p&gt;
&lt;pre&gt;&lt;code data-lang=&#34;perl&#34;&gt;
mynt --version                        # current version of mynt
mynt init ~/src                       # initializing new site
mynt watch -f src/ res/               # automatic regeneration after site modification
du -ch                                # current files total in readble format (Kb, Mb, etc.)
df -h                                 # filesystem disk space usage in readable format
shutdown -r now                       # restart rpi
shutdown -h now                       # halt rpi
/opt/vc/bin/vcgencmd measure_temp     # GPU temperatur
/sys/class/thermal/thermal_zone0/temp # CPU temperatur (is the first two digit)
sudo apt-get install vnstat           # network traffic, vnstat --dumpdb
sudo cat /var/log/nginx/access.log    # nginx log about visitors
netstat -t -u                         # TCP and UDP connections
&lt;/code&gt;&lt;/pre&gt;
&lt;br&gt;&lt;br&gt;

&lt;h2&gt;Experience&lt;/h2&gt;
&lt;p&gt;My RPI has been running for 3 months without problems. Sometime I&amp;rsquo;ve checked and cleaned the dust around the box that was until now the maintenancing. The webserver is also working well but of course it is not sized to heavy-load.
I think to get the passive coolers was also a good idea. Sometime I&amp;rsquo;ve checked the temperatur of chips (or just touched them with finger) and after a film watching, of course an active using it was really hot with the passiv coolers as well. What&amp;rsquo;s else would be without them?! 
&lt;/p&gt;&lt;p&gt;
To powering RPI I use a typical Samsung charger and had never problem with that. (On forums it can be read about some cheap and after made charger which is not workign appropiate e.g.: problems reading pendrive or not powering the RPI.)
&lt;/p&gt;&lt;br&gt;

&lt;h2&gt;Useful links&lt;/h2&gt;
&lt;p&gt;
&lt;u&gt;&lt;a href=&#34;http://yuraa.github.io/Raspberry-Pi-Heartbeat/&#34; target=&#34;_blank&#34;&gt;Raspberry-Pi-Heartbeat&lt;/a&gt;&lt;/u&gt; |
&lt;u&gt;&lt;a href=&#34;http://en.wikipedia.org/wiki/Raspberry_Pi&#34; target=&#34;_blank&#34;&gt;Raspberry Pi Wiki&lt;/a&gt;&lt;/u&gt; |
&lt;u&gt;&lt;a href=&#34;http://elinux.org/R-Pi_Troubleshooting&#34; target=&#34;_blank&#34;&gt;Raspberry Pi Troubleshooting&lt;/a&gt;&lt;/u&gt; |
&lt;u&gt;&lt;a href=&#34;http://elinux.org/RPI_vcgencmd_usage&#34; target=&#34;_blank&#34;&gt;RPI vcgencmd usage&lt;/a&gt;&lt;/u&gt; |
&lt;u&gt;&lt;a href=&#34;http://blog.mivia.dk/2013/03/free-dynamic-dns-for-raspberry-pi/&#34; target=&#34;_blank&#34;&gt;DNS for RPI&lt;/a&gt;&lt;/u&gt;&lt;br&gt;
&lt;u&gt;&lt;a href=&#34;http://mynt.mirroredwhite.com/docs/config/&#34; target=&#34;_blank&#34;&gt;Mynt&lt;/a&gt;&lt;/u&gt; |
&lt;u&gt;&lt;a href=&#34;http://webdesign.tutsplus.com/tutorials/applications/getting-started-with-octopress/&#34; target=&#34;_blank&#34;&gt;Octopress&lt;/a&gt;&lt;/u&gt; |
&lt;u&gt;&lt;a href=&#34;http://www.quora.com/Whats-the-best-available-static-blog-website-generator-in-Python&#34; target=&#34;_blank&#34;&gt;Static blog generators&lt;/a&gt;&lt;/u&gt; |
&lt;u&gt;&lt;a href=&#34;http://lwn.net/Articles/541299/&#34; target=&#34;_blank&#34;&gt;Article about static blog generators&lt;/a&gt;&lt;/u&gt;&lt;br&gt;

&lt;/p&gt;
</content>
        </entry>  
    
        <entry>
            <title>Playing videos with L32D400 Samsung TV</title>
            <link rel="alternate" href="http://89.133.43.124/news/2013/09/15/Playing-videos-with-L32D400-Samsung-TV/" type="text/html" />
            <id>http://89.133.43.124/news/2013/09/15/Playing-videos-with-L32D400-Samsung-TV/</id>
            <updated>2013-09-15T15:14:00Z</updated>
            
            <summary type="html">Last weekends I&amp;rsquo;ve played with my Raspberry PI and looked for descriptions to switch on/off the TV through HDMI using CEC technology. Unfortunately our Samsung TV is not provided CEC so had to give up my project but during reading forums I found a very interesting feature of Samsung TV. </summary>
            <content type="html">&lt;p&gt;Last weekends I&amp;rsquo;ve played with my Raspberry PI and looked for descriptions to switch on/off the TV through HDMI using CEC technology. Unfortunately our Samsung TV is not provided CEC so had to give up my project but during reading forums I found a very interesting feature of Samsung TV. &lt;/p&gt;
&lt;p&gt;On our Samsung TV (model type: LE32D400) the function to play videos is denied but only in software way. So when you get into the menu you can not see any icon to play videos. I&amp;rsquo;ve just set the type of TV to LD451 in service menu and voila I can play the video files.&lt;br&gt; How to do it:
turn off the TV in stand by and with the key sequence INFO + MENU + MUTE + STANDBY + OK (from remote in quite fast order) to get in the service menu to change the parameter MODEL to LD451. Now press RETURN key (from remote) and turn off the TV again. Press on CONTENT (from remote) or just put a pendrive in USB contains e.g. avi files it&amp;rsquo;s automatically come up the possible of playing videos.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve tested the media player only with AVI and MVK files they are just working fine. Tried to play videos with subtitles SRT and SUB but the media player could not played them. The media player can do the ordinary functions (search forward and backward, stop, pause and jump to exact time). But after jumping to exact time or searching forward there is sometime lagging at playing or the sound going away for some seconds. It may occur by weak buffering so I do not recommend to use search function but otherwise the media player is really useful.
And here is a link to the &lt;u&gt;&lt;a href=&#34; http://www.avforums.com/forums/lcd-led-lcd-tvs/1513118-samsung-le32d400-media-player.html&#34; target=&#34;_blank&#34;&gt;forum&lt;/a&gt;&lt;/u&gt; may you find more information.
&lt;/p&gt;
</content>
        </entry>
    
        <entry>
            <title>Simple showing of file processing in Perl</title>
            <link rel="alternate" href="http://89.133.43.124/news/2013/09/06/Perl-simple-showing-of-file-processing/" type="text/html" />
            <id>http://89.133.43.124/news/2013/09/06/Perl-simple-showing-of-file-processing/</id>
            <updated>2013-09-06T10:48:00Z</updated>
            
            <summary type="html">
Today I had to create script in Perl that processing quite long textbased files and convert new ones. Because sometime it takes long time I wanted to give some information to the script-user how many percent is executed of input file by script. I wanted a simple solution (and do not take the implementation more than 20 minutes including the googling) so just update the percentage on terminal window always in the same line. &lt;br&gt;Damn simple but informative!
</summary>
            <content type="html">&lt;p&gt;
Today I had to create script in Perl that processing quite long textbased files and convert new ones. Because sometime it takes long time I wanted to give some information to the script-user how many percent is executed of input file by script. I wanted a simple solution (and do not take the implementation more than 20 minutes including the googling) so just update the percentage on terminal window always in the same line. &lt;br&gt;Damn simple but informative!
&lt;/p&gt;

&lt;pre&gt;&lt;code data-lang=&#34;perl&#34;&gt;
#!/usr/local/bin/perl
..
my $InpFil = $ARGV[0];
my $g_num_of_lines = `wc -l &lt;$InpFile`; #the number of lines in input file   
my $g_cur_of_lines = 0;                 #current line during processing
my $g_cur = 0;
..
open (IN, $InpFile);
while(&lt;IN&gt;){
    ...
    ...
    displayPercent();
}
close(IN);
...
...
sub displayPercent{

  if(eof(IN)){
    print &#34;Processing is done.\n&#34;;
  }else{

    #percent calculation and round numbers to be remained on the same place   
    $g_cur = sprintf(&#34;%.2f&#34;, ($g_cur_of_lines++ / $g_num_of_lines)*100); 

    #refreshing and &#39;\r&#39; get to start of current line
    print &#34;$g_cur %\r&#34;;

  }
}
&lt;/code&gt;&lt;/pre&gt;
</content>
        </entry>
    
        <entry>
            <title>2038 structure time_t in C</title>
            <link rel="alternate" href="http://89.133.43.124/news/2013/08/22/2038-structure-time_t-in-C/" type="text/html" />
            <id>http://89.133.43.124/news/2013/08/22/2038-structure-time_t-in-C/</id>
            <updated>2013-08-22T18:22:00Z</updated>
            
            <summary type="html">Today on my workplace when I was looking for some details about the well-known &lt;i&gt;time_t&lt;/i&gt; and other data
structure conversion came across this problem. I won&amp;rsquo;t say I have never heard about it or even would be
a daily problem but as I am checking our systems in that year 2038 some percent of companies and so one part of programmer society will get a fix job to prepare the old running systems and programs for change. What kind of change? Here is a plain article from the &lt;u&gt;&lt;a href=&#34;http://www.informationweek.com/byte/25-years-from-today-a-time-for-bugs/240146640&#34; target=&#34;_blank&#34;&gt;Informationweek&lt;/a&gt;&lt;/u&gt; portal. Or more details on &lt;u&gt;&lt;a href=&#34;http://en.wikipedia.org/wiki/Year_2038_problem&#34; target=&#34;_blank&#34;&gt;Wikipedia&lt;/a&gt;&lt;/u&gt; site.
</summary>
            <content type="html">&lt;p&gt;Today on my workplace when I was looking for some details about the well-known &lt;i&gt;time_t&lt;/i&gt; and other data
structure conversion came across this problem. I won&amp;rsquo;t say I have never heard about it or even would be
a daily problem but as I am checking our systems in that year 2038 some percent of companies and so one part of programmer society will get a fix job to prepare the old running systems and programs for change. What kind of change? Here is a plain article from the &lt;u&gt;&lt;a href=&#34;http://www.informationweek.com/byte/25-years-from-today-a-time-for-bugs/240146640&#34; target=&#34;_blank&#34;&gt;Informationweek&lt;/a&gt;&lt;/u&gt; portal. Or more details on &lt;u&gt;&lt;a href=&#34;http://en.wikipedia.org/wiki/Year_2038_problem&#34; target=&#34;_blank&#34;&gt;Wikipedia&lt;/a&gt;&lt;/u&gt; site.
&lt;/p&gt;
&lt;p&gt;
&lt;blockquote class=&#34;fun&#34;&gt;&lt;span&gt;25 years from today, January 19, 2038, at 03:14:08 UTC, an odd thing will happen to some of the no doubt very large number of computing devices in our world: an old, well-known and well-understood bug will cause their calculation of time to fail.

The problem springs from the use of a 32-bit signed integer to store a time value, as a number of seconds since 00:00:00 UTC on Thursday, 1 January 1970, a practice begun in early UNIX systems with the standard C library data structure time_t. On January 19, 2038, at 03:14:08 UTC that integer will overflow, as demonstrated in this animated GIF:&lt;/i&gt;
&lt;center&gt;&lt;img src=&#34;http://89.133.43.124/assets/images/Year_2038_problem.gif&#34; alt=&#34;Year of 2038 problem&#34; width=&#34;400&#34; height=&#34;130&#34;&gt;&lt;/center&gt;
&lt;/span&gt;&lt;/blockquote&gt;&lt;/p&gt;

&lt;p&gt;This problem is also actually cool. When you want to earn money now (or maybe a little bit later) it is a possible chance to launch out on an enterprise that specialize to fix this kind of problem. No risk, the problem will come up. Honestly I must say before the year of 2000 was also a good chance for computer specialist to announce that our computers and programs are prepared yet for the next millenium so way get more extra fees in the pockets. I can still remember before the year of 2000 when just got a new desktop machine on that was a little glued stamp it announced proudly &amp;lsquo;Y2K safety&amp;rsquo;. More about &lt;u&gt;&lt;a href=&#34;http://en.wikipedia.org/wiki/Year_2000_problem&#34; target=&#34;_blank&#34;&gt;Y2K&lt;/a&gt;&lt;/u&gt;.&lt;/p&gt;

&lt;p&gt;&lt;p&gt;And of course I&amp;#39;ve almost forgotten to give a new tag to article as disaster. I do not think so that it will be one (like Y2K when it had much smoke little fire, at least for the perfectly ordinary people). But I am curious yet which film studio will be the first one that announce a film around this theme when the computers crash so destroy our ordinary life. &lt;p&gt; &lt;/p&gt;
</content>
        </entry>
    
        <entry>
            <title>Playing experiment with Ngram Viewer</title>
            <link rel="alternate" href="http://89.133.43.124/news/2013/08/16/Ngram-Viewer/" type="text/html" />
            <id>http://89.133.43.124/news/2013/08/16/Ngram-Viewer/</id>
            <updated>2013-08-16T19:10:00Z</updated>
            
            <summary type="html">Today a daily-news portal recommended a not so known Google service the Ngram Viewer. In fact I have never
heard about that before but suddenly I have been really curious to play with that some minutes. The service is about to chart the yearly count of selected words or phrases as found in more than 5.2 million books digitized by Google Inc. Ngram name refers to n-gram that is a finite sequence of n items from a given sequence of text (e.g.: it can be words, phrases or text-parts). This way it&amp;rsquo;s possible to generate talkative diagrams in the requested year-range just the keywords must be choosen clever way.</summary>
            <content type="html">&lt;p&gt;Today a daily-news portal recommended a not so known Google service the Ngram Viewer. In fact I have never
heard about that before but suddenly I have been really curious to play with that some minutes. The service is about to chart the yearly count of selected words or phrases as found in more than 5.2 million books digitized by Google Inc. Ngram name refers to n-gram that is a finite sequence of n items from a given sequence of text (e.g.: it can be words, phrases or text-parts). This way it&amp;rsquo;s possible to generate talkative diagrams in the requested year-range just the keywords must be choosen clever way.&lt;/p&gt;&lt;p&gt; What&amp;rsquo;s telling the books about things in last years?!
Let&amp;rsquo;s do a little experiment with Ngram Viewer and check the result of generated diagrams with a slight sense of humour.&lt;/p&gt;

&lt;p&gt;&lt;a href=&#34;http://89.133.43.124/assets/images/typewriter_computer_ngram.JPG&#34; target=&#34;_blank&#34;&gt;&lt;img src=&#34;http://89.133.43.124/assets/images/typewriter_computer_ngram.JPG&#34; alt=&#34;Typewriter and computer in Ngram Viewer&#34; width=&#34;650&#34; height=&#34;280&#34;&gt;&lt;/a&gt;&lt;center&gt;&lt;i&gt;Typewriter and computer. After the invention..&lt;/i&gt;&lt;/center&gt;&lt;/p&gt;

&lt;p&gt;
&lt;a href=&#34;http://89.133.43.124/assets/images/tamagotchi_tetris_2_ngram.JPG&#34; target=&#34;_blank&#34;&gt;
&lt;img src=&#34;http://89.133.43.124/assets/images/tamagotchi_tetris_2_ngram.JPG&#34; alt=&#34;Tamagotchi and tetris in Ngram Viewer&#34; width=&#34;650&#34; height=&#34;280&#34;&gt;&lt;/a&gt;
&lt;a href=&#34;http://89.133.43.124/assets/images/tamagotchi_tetris_1_ngram.JPG&#34; target=&#34;_blank&#34;&gt;
&lt;img src=&#34;http://89.133.43.124/assets/images/tamagotchi_tetris_1_ngram.JPG&#34; alt=&#34;Tamagotchi and tetris in Ngram Viewer&#34; width=&#34;650&#34; height=&#34;280&#34;&gt;&lt;/a&gt;
&lt;center&gt;&lt;i&gt;Tamagotchi and tetris. The &amp;lsquo;tetris&amp;rsquo; word as latin word was found in set of publications in the last century but after today&amp;rsquo;s called classic Tetris game showed up. Later the crazy spreading of Tamagotchi the Japan digital pet.&lt;/i&gt;&lt;/center&gt;&lt;/p&gt;  

&lt;p&gt;
&lt;a href=&#34;http://89.133.43.124/assets/images/capslock_numlock_ngram_1.JPG&#34; target=&#34;_blank&#34;&gt;
&lt;img src=&#34;http://89.133.43.124/assets/images/capslock_numlock_ngram_1.JPG&#34; alt=&#34;Capslock and numlock in Ngram Viewer&#34; width=&#34;650&#34; height=&#34;280&#34;&gt;&lt;/a&gt;
&lt;a href=&#34;http://89.133.43.124/assets/images/capslock_numlock_ngram_2.JPG&#34; target=&#34;_blank&#34;&gt;
&lt;img src=&#34;http://89.133.43.124/assets/images/capslock_numlock_ngram_2.JPG&#34; alt=&#34;Capslock and numlock in Ngram Viewer&#34; width=&#34;650&#34; height=&#34;280&#34;&gt;&lt;/a&gt;
&lt;a href=&#34;http://89.133.43.124/assets/images/capslock_numlock_ngram_3.JPG&#34; target=&#34;_blank&#34;&gt;
&lt;img src=&#34;http://89.133.43.124/assets/images/capslock_numlock_ngram_3.JPG&#34; alt=&#34;Capslock and numlock in Ngram Viewer&#34; width=&#34;650&#34; height=&#34;280&#34;&gt;&lt;/a&gt;&lt;center&gt;&lt;i&gt;Capslock and numlock. Depending on the spelling..but which one is the more popular?!&lt;/i&gt;&lt;/center&gt;&lt;/p&gt;

&lt;p&gt;
&lt;a href=&#34;http://89.133.43.124/assets/images/transistor_chip_ngram.JPG&#34; target=&#34;_blank&#34;&gt;
&lt;img src=&#34;http://89.133.43.124/assets/images/transistor_chip_ngram.JPG&#34; alt=&#34;Transistor and chip in Ngram Viewer&#34; width=&#34;650&#34; height=&#34;280&#34;&gt;&lt;/a&gt;&lt;center&gt;&lt;i&gt;Transistor vs. chip. All in due time.&lt;/i&gt;&lt;/center&gt;&lt;/p&gt;

&lt;p&gt;
&lt;a href=&#34;http://89.133.43.124/assets/images/horse_car_ngram.JPG&#34; target=&#34;_blank&#34;&gt;
&lt;img src=&#34;http://89.133.43.124/assets/images/horse_car_ngram.JPG&#34; alt=&#34;Horse and car in Ngram Viewer&#34; width=&#34;650&#34; height=&#34;280&#34;&gt;&lt;/a&gt;&lt;center&gt;&lt;i&gt;Horse and car. After the invention..&lt;/i&gt;&lt;/center&gt;&lt;/p&gt;
</content>
        </entry>
    
        <entry>
            <title>First post</title>
            <link rel="alternate" href="http://89.133.43.124/news/2013/08/16/First-post/" type="text/html" />
            <id>http://89.133.43.124/news/2013/08/16/First-post/</id>
            <updated>2013-08-16T14:22:00Z</updated>
            
            <summary type="html">Be this the first post and giving new tags to tag cloud. Nothing else.</summary>
            <content type="html">&lt;p&gt;Be this the first post and giving new tags to tag cloud. Nothing else.&lt;/p&gt;
</content>
        </entry>
    
</feed>