<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>Usable Technology</title>
	<atom:link href="http://www.pkuhar.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.pkuhar.com/blog</link>
	<description>Usable Technology</description>
	<pubDate>Thu, 25 Jun 2009 23:15:38 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>Adding a timecode/datecode/timestamp to a video</title>
		<link>http://www.pkuhar.com/blog/posts/2009/06/25/adding-a-timecodedatecodetimestamp-to-a-video/</link>
		<comments>http://www.pkuhar.com/blog/posts/2009/06/25/adding-a-timecodedatecodetimestamp-to-a-video/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 23:15:23 +0000</pubDate>
		<dc:creator>pero</dc:creator>
		
		<category><![CDATA[IT - ENG]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.pkuhar.com/blog/?p=60</guid>
		<description><![CDATA[I&#8217;m studying some sleep videos and I needed to timelapse them. The problem was adding a timecode to the video. There doesn&#8217;t seem to be any accesible program supporting this.
A solution that come out is to create a subtitle(.srt) file displaying the current time.
0
00:00:00,000 -&#62; 00:00:00,999
00:00:00
1
00:00:01,000 -&#62; 00:00:01,999
00:00:01
I wrote a simple python program that generates [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m studying some sleep videos and I needed to timelapse them. The problem was adding a timecode to the video. There doesn&#8217;t seem to be any accesible program supporting this.</p>
<p>A solution that come out is to create a subtitle(.srt) file displaying the current time.</p>
<blockquote><p>0<br />
00:00:00,000 -&gt; 00:00:00,999<br />
00:00:00</p>
<p>1<br />
00:00:01,000 -&gt; 00:00:01,999<br />
00:00:01</p></blockquote>
<p>I wrote a simple python program that generates it.</p>
<blockquote><p>speed = 10<br />
endtime = 60*60*24/speed</p>
<p>for i in range(0,endtime):<br />
t=i<br />
s = t % 60<br />
m = (t/60) % 60<br />
h = (t/60/60) % 24<br />
print &#8220;%d&#8221; % i<br />
print &#8220;%02d:%02d:%02d,000 -&gt; %02d:%02d:%02d,999 &#8221; % (h,m,s,h,m,s)<br />
t=i*speed<br />
s = t % 60<br />
m = (t/60) % 60<br />
h = (t/60/60) % 24<br />
print &#8220;%02d:%02d:%02d&#8221; % (h,m,s)<br />
print &#8220;&#8221;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.pkuhar.com/blog/posts/2009/06/25/adding-a-timecodedatecodetimestamp-to-a-video/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Using sed to color specific words in Unix consoles</title>
		<link>http://www.pkuhar.com/blog/posts/2009/06/02/using-sed-to-color-specific-words-in-unix-consoles/</link>
		<comments>http://www.pkuhar.com/blog/posts/2009/06/02/using-sed-to-color-specific-words-in-unix-consoles/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 10:35:33 +0000</pubDate>
		<dc:creator>pero</dc:creator>
		
		<category><![CDATA[Electronics - ENG]]></category>

		<category><![CDATA[IT - ENG]]></category>

		<guid isPermaLink="false">http://www.pkuhar.com/blog/?p=58</guid>
		<description><![CDATA[I monitoring live logs bringing out some words is very helpfull. Implementing this in unix console is straightforward.
Let&#8217;s you monitor a log with tail
tail -f log.txt
You can color matched words with ANSI Console escape sequences.
tail -f log.txt &#124; sed &#8220;s/was/&#8221;$(echo -e &#8220;\\033[32m&#8221;)&#8221;WAS&#8221;$(echo -e &#8220;\\033[0m&#8221;)&#8221;/g&#8221;
This for example translates &#8220;pero was here&#8221; into &#8220;pero WAS here&#8221;. Notice [...]]]></description>
			<content:encoded><![CDATA[<p>I monitoring live logs bringing out some words is very helpfull. Implementing this in unix console is straightforward.</p>
<p>Let&#8217;s you monitor a log with tail</p>
<blockquote><p>tail -f log.txt</p></blockquote>
<p>You can color matched words with ANSI Console escape sequences.</p>
<blockquote><p>tail -f log.txt | sed &#8220;s/was/&#8221;$(echo -e &#8220;\\033[32m&#8221;)&#8221;WAS&#8221;$(echo -e &#8220;\\033[0m&#8221;)&#8221;/g&#8221;</p></blockquote>
<p>This for example translates &#8220;pero was here&#8221; into &#8220;pero <span style="color: #008000;">WAS</span> here&#8221;. Notice the green color.</p>
<p>How it works is that sed replaces every was with WAS + some escape sequences to change color to green and back. -e in echo command makes the \ sequences to work.</p>
<p>You can use this in almost any console.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pkuhar.com/blog/posts/2009/06/02/using-sed-to-color-specific-words-in-unix-consoles/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Povprečne cene piva 1995-2009</title>
		<link>http://www.pkuhar.com/blog/posts/2009/03/02/povprecne-cene-piva-1995-2009/</link>
		<comments>http://www.pkuhar.com/blog/posts/2009/03/02/povprecne-cene-piva-1995-2009/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 10:56:08 +0000</pubDate>
		<dc:creator>pero</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.pkuhar.com/blog/?p=48</guid>
		<description><![CDATA[Gibanje cene piva v letih 1995-2009.
Podatki za 1995-2008 so iz podatkov statističnega urada in normalizirani na eno dozo(0.5l). Podatek za 2009(2.3.2009) je cena Zlatoroga na www.mercator.si.

ps.: če se kdo spomni kakšne so bile cene piva v lokalih v tem obdobju, naj prosim komentira.
]]></description>
			<content:encoded><![CDATA[<p>Gibanje cene piva v letih 1995-2009.</p>
<p>Podatki za 1995-2008 so iz podatkov statističnega urada in normalizirani na eno dozo(0.5l). Podatek za 2009(2.3.2009) je cena Zlatoroga na www.mercator.si.</p>
<p><a title="pivo.jpg" rel="lightbox[post-1235991273]" href="http://lh3.ggpht.com/_cWaKEwIFa3M/Sau-K3OEmQI/AAAAAAAABX8/9HLy8gArKMs/pivo2.jpg?imgmax=800"><img src="http://lh3.ggpht.com/_cWaKEwIFa3M/Sau-K3OEmQI/AAAAAAAABX8/9HLy8gArKMs/pivo2.jpg?imgmax=640" alt="Gibanje cene piva" width="640" height="384" /></a></p>
<p>ps.: če se kdo spomni kakšne so bile cene piva v lokalih v tem obdobju, naj prosim komentira.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pkuhar.com/blog/posts/2009/03/02/povprecne-cene-piva-1995-2009/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Sound problems with Ubuntu 8.10 and flash in firefox</title>
		<link>http://www.pkuhar.com/blog/posts/2008/12/18/sound-problems-with-ubuntu-810-and-flash-in-firefox/</link>
		<comments>http://www.pkuhar.com/blog/posts/2008/12/18/sound-problems-with-ubuntu-810-and-flash-in-firefox/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 12:07:26 +0000</pubDate>
		<dc:creator>pero</dc:creator>
		
		<category><![CDATA[IT - ENG]]></category>

		<guid isPermaLink="false">http://www.pkuhar.com/blog/?p=43</guid>
		<description><![CDATA[I recently had problems with sound in Ubuntu. Instead of playing there were just some popping/squeaking/clicking sounds from the speakers. The other side effect was that sometimes the flash video on sites like youtube etc. just stopped after 2-3s ( I guess becouse the audio buffer was full ).
I traced the problems down to pulseaudio [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had problems with sound in Ubuntu. Instead of playing there were just some popping/squeaking/clicking sounds from the speakers. The other side effect was that sometimes the flash video on sites like youtube etc. just stopped after 2-3s ( I guess becouse the audio buffer was full ).</p>
<p>I traced the problems down to pulseaudio sound server that is included in recent ubuntus. It was well hided behind ALSA( probably something like app-&gt;alsa-&gt;pulseaudio-&gt;alsa-&gt;soundcard )</p>
<p>The solution: disable pulseaudio</p>
<blockquote><p>sudo gedit /usr/share/alsa/alsa.conf</p></blockquote>
<p>and comment out the pulse stuff</p>
<blockquote><p>files [<br />
#&#8221;/usr/share/alsa/pulse.conf&#8221;<br />
&#8220;/usr/share/alsa/bluetooth.conf&#8221;</p></blockquote>
<p>I hope this helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pkuhar.com/blog/posts/2008/12/18/sound-problems-with-ubuntu-810-and-flash-in-firefox/feed/</wfw:commentRss>
		</item>
		<item>
		<title>BIO 21 - razstava industrijskega oblikovanja</title>
		<link>http://www.pkuhar.com/blog/posts/2008/10/26/bio-21/</link>
		<comments>http://www.pkuhar.com/blog/posts/2008/10/26/bio-21/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 15:56:37 +0000</pubDate>
		<dc:creator>pero</dc:creator>
		
		<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://www.pkuhar.com/blog/?p=32</guid>
		<description><![CDATA[Oktober je mesec za oblikovalske dogodke po celem svetu (a kdo ve zakaj?), tako je tudi v ljubljani mesec oblikovanja. Ne vem sicer če je BIO del meseca oblikovanja, programsko pa vsekakor spada zraven.
Torej tokrat že tradicionalno na razstavi industrijskega oblikovanja BIO 21 na gradu fužine.

]]></description>
			<content:encoded><![CDATA[<p>Oktober je mesec za oblikovalske dogodke po celem svetu (a kdo ve zakaj?), tako je tudi v ljubljani <a title="Mesec oblikovanja" href="http://www.mesecoblikovanja.com/">mesec oblikovanja</a>. Ne vem sicer če je BIO del meseca oblikovanja, programsko pa vsekakor spada zraven.</p>
<p>Torej tokrat že tradicionalno na razstavi industrijskega oblikovanja <a title="BIO 21" href="http://www.bio.si/">BIO 21</a> na gradu fužine.</p>
<p><a title="IMG_3294.JPG" rel="lightbox[post32]" href="http://lh6.ggpht.com/peter.kuhar/SQSGjD95HVI/AAAAAAAAAt0/7iXvzWbOwOE/IMG_3294.JPG?imgmax=800"><img src="http://lh6.ggpht.com/peter.kuhar/SQSGjD95HVI/AAAAAAAAAt0/7iXvzWbOwOE/s144/IMG_3294.JPG" alt="IMG_3294.JPG" /></a><a title="IMG_3296.JPG" rel="lightbox[post32]" href="http://lh5.ggpht.com/peter.kuhar/SQSGkXgb7jI/AAAAAAAAAuE/fEOWkhj1QBw/IMG_3296.JPG?imgmax=800"><img src="http://lh5.ggpht.com/peter.kuhar/SQSGkXgb7jI/AAAAAAAAAuE/fEOWkhj1QBw/s144/IMG_3296.JPG" alt="IMG_3296.JPG" /></a><a title="IMG_3299.JPG" rel="lightbox[post32]" href="http://lh6.ggpht.com/peter.kuhar/SQSGlsHPvVI/AAAAAAAAAuU/Y-XEJd2LK4k/IMG_3299.JPG?imgmax=800"><img src="http://lh6.ggpht.com/peter.kuhar/SQSGlsHPvVI/AAAAAAAAAuU/Y-XEJd2LK4k/s144/IMG_3299.JPG" alt="IMG_3299.JPG" /></a><a title="IMG_3300.JPG" rel="lightbox[post32]" href="http://lh4.ggpht.com/peter.kuhar/SQSGmM_viQI/AAAAAAAAAuc/2jUwSC-Myx8/IMG_3300.JPG?imgmax=800"><img src="http://lh4.ggpht.com/peter.kuhar/SQSGmM_viQI/AAAAAAAAAuc/2jUwSC-Myx8/s144/IMG_3300.JPG" alt="IMG_3300.JPG" /></a><a title="IMG_3301.JPG" rel="lightbox[post32]" href="http://lh3.ggpht.com/peter.kuhar/SQSGnKX-goI/AAAAAAAAAuk/vARRPjXYbW0/IMG_3301.JPG?imgmax=800"><img src="http://lh3.ggpht.com/peter.kuhar/SQSGnKX-goI/AAAAAAAAAuk/vARRPjXYbW0/s144/IMG_3301.JPG" alt="IMG_3301.JPG" /></a><a title="IMG_3302.JPG" rel="lightbox[post32]" href="http://lh4.ggpht.com/peter.kuhar/SQSGnnpBmMI/AAAAAAAAAus/rrHqEdr4V30/IMG_3302.JPG?imgmax=800"><img src="http://lh4.ggpht.com/peter.kuhar/SQSGnnpBmMI/AAAAAAAAAus/rrHqEdr4V30/s144/IMG_3302.JPG" alt="IMG_3302.JPG" /></a><a title="IMG_3303.JPG" rel="lightbox[post32]" href="http://lh4.ggpht.com/peter.kuhar/SQSGoS-SEaI/AAAAAAAAAu0/1DVU_TLWXak/IMG_3303.JPG?imgmax=800"><img src="http://lh4.ggpht.com/peter.kuhar/SQSGoS-SEaI/AAAAAAAAAu0/1DVU_TLWXak/s144/IMG_3303.JPG" alt="IMG_3303.JPG" /></a><a title="IMG_3306.JPG" rel="lightbox[post32]" href="http://lh6.ggpht.com/peter.kuhar/SQSGpGRVqVI/AAAAAAAAAvE/b8l71skQ4jU/IMG_3306.JPG?imgmax=800"><img src="http://lh6.ggpht.com/peter.kuhar/SQSGpGRVqVI/AAAAAAAAAvE/b8l71skQ4jU/s144/IMG_3306.JPG" alt="IMG_3306.JPG" /></a><a title="IMG_3307.JPG" rel="lightbox[post32]" href="http://lh5.ggpht.com/peter.kuhar/SQSGpjASMEI/AAAAAAAAAvM/OdyOEBFlPQ0/IMG_3307.JPG?imgmax=800"><img src="http://lh5.ggpht.com/peter.kuhar/SQSGpjASMEI/AAAAAAAAAvM/OdyOEBFlPQ0/s144/IMG_3307.JPG" alt="IMG_3307.JPG" /></a><a title="IMG_3308.JPG" rel="lightbox[post32]" href="http://lh5.ggpht.com/peter.kuhar/SQSGqqIan2I/AAAAAAAAAvU/HRit-7nb8io/IMG_3308.JPG?imgmax=800"><img src="http://lh5.ggpht.com/peter.kuhar/SQSGqqIan2I/AAAAAAAAAvU/HRit-7nb8io/s144/IMG_3308.JPG" alt="IMG_3308.JPG" /></a><a title="IMG_3310.JPG" rel="lightbox[post32]" href="http://lh4.ggpht.com/peter.kuhar/SQSGsOpfZWI/AAAAAAAAAvk/GGVkVSs6qLA/IMG_3310.JPG?imgmax=800"><img src="http://lh4.ggpht.com/peter.kuhar/SQSGsOpfZWI/AAAAAAAAAvk/GGVkVSs6qLA/s144/IMG_3310.JPG" alt="IMG_3310.JPG" /></a><a title="IMG_3311.JPG" rel="lightbox[post32]" href="http://lh6.ggpht.com/peter.kuhar/SQSGtKpNR3I/AAAAAAAAAvw/Mj4V8dBdmUc/IMG_3311.JPG?imgmax=800"><img src="http://lh6.ggpht.com/peter.kuhar/SQSGtKpNR3I/AAAAAAAAAvw/Mj4V8dBdmUc/s144/IMG_3311.JPG" alt="IMG_3311.JPG" /></a><a title="IMG_3312.JPG" rel="lightbox[post32]" href="http://lh5.ggpht.com/peter.kuhar/SQSGtuGOx5I/AAAAAAAAAv4/TxHk2AEAyAQ/IMG_3312.JPG?imgmax=800"><img src="http://lh5.ggpht.com/peter.kuhar/SQSGtuGOx5I/AAAAAAAAAv4/TxHk2AEAyAQ/s144/IMG_3312.JPG" alt="IMG_3312.JPG" /></a><a title="IMG_3313.JPG" rel="lightbox[post32]" href="http://lh6.ggpht.com/peter.kuhar/SQSGt8NqMKI/AAAAAAAAAwA/JG4HYAXtSjI/IMG_3313.JPG?imgmax=800"><img src="http://lh6.ggpht.com/peter.kuhar/SQSGt8NqMKI/AAAAAAAAAwA/JG4HYAXtSjI/s144/IMG_3313.JPG" alt="IMG_3313.JPG" /></a><a title="IMG_3314.JPG" rel="lightbox[post32]" href="http://lh4.ggpht.com/peter.kuhar/SQSGugnRqAI/AAAAAAAAAwI/G1vsDGZn1mc/IMG_3314.JPG?imgmax=800"><img src="http://lh4.ggpht.com/peter.kuhar/SQSGugnRqAI/AAAAAAAAAwI/G1vsDGZn1mc/s144/IMG_3314.JPG" alt="IMG_3314.JPG" /></a><a title="IMG_3315.JPG" rel="lightbox[post32]" href="http://lh5.ggpht.com/peter.kuhar/SQSGvK_QhDI/AAAAAAAAAwQ/P-dvdNQyz4o/IMG_3315.JPG?imgmax=800"><img src="http://lh5.ggpht.com/peter.kuhar/SQSGvK_QhDI/AAAAAAAAAwQ/P-dvdNQyz4o/s144/IMG_3315.JPG" alt="IMG_3315.JPG" /></a><a title="IMG_3317.JPG" rel="lightbox[post32]" href="http://lh6.ggpht.com/peter.kuhar/SQSGvu8TdRI/AAAAAAAAAwY/lQN2_oBm_Nw/IMG_3317.JPG?imgmax=800"><img src="http://lh6.ggpht.com/peter.kuhar/SQSGvu8TdRI/AAAAAAAAAwY/lQN2_oBm_Nw/s144/IMG_3317.JPG" alt="IMG_3317.JPG" /></a><a title="IMG_3318.JPG" rel="lightbox[post32]" href="http://lh5.ggpht.com/peter.kuhar/SQSGwFkkwWI/AAAAAAAAAwg/T5tI-psruPQ/IMG_3318.JPG?imgmax=800"><img src="http://lh5.ggpht.com/peter.kuhar/SQSGwFkkwWI/AAAAAAAAAwg/T5tI-psruPQ/s144/IMG_3318.JPG" alt="IMG_3318.JPG" /></a><a title="IMG_3319.JPG" rel="lightbox[post32]" href="http://lh3.ggpht.com/peter.kuhar/SQSGwszYlMI/AAAAAAAAAwo/LAPQ5X8sIZs/IMG_3319.JPG?imgmax=800"><img src="http://lh3.ggpht.com/peter.kuhar/SQSGwszYlMI/AAAAAAAAAwo/LAPQ5X8sIZs/s144/IMG_3319.JPG" alt="IMG_3319.JPG" /></a><a title="IMG_3320.JPG" rel="lightbox[post32]" href="http://lh3.ggpht.com/peter.kuhar/SQSGxULpXoI/AAAAAAAAAww/GzzBUntENBA/IMG_3320.JPG?imgmax=800"><img src="http://lh3.ggpht.com/peter.kuhar/SQSGxULpXoI/AAAAAAAAAww/GzzBUntENBA/s144/IMG_3320.JPG" alt="IMG_3320.JPG" /></a><a title="IMG_3321.JPG" rel="lightbox[post32]" href="http://lh6.ggpht.com/peter.kuhar/SQSGyZbAaoI/AAAAAAAAAw4/sNzQTiPd6mg/IMG_3321.JPG?imgmax=800"><img src="http://lh6.ggpht.com/peter.kuhar/SQSGyZbAaoI/AAAAAAAAAw4/sNzQTiPd6mg/s144/IMG_3321.JPG" alt="IMG_3321.JPG" /></a><a title="IMG_3323.JPG" rel="lightbox[post32]" href="http://lh5.ggpht.com/peter.kuhar/SQSGy1GJorI/AAAAAAAAAxA/zFczCOwveA0/IMG_3323.JPG?imgmax=800"><img src="http://lh5.ggpht.com/peter.kuhar/SQSGy1GJorI/AAAAAAAAAxA/zFczCOwveA0/s144/IMG_3323.JPG" alt="IMG_3323.JPG" /></a><a title="IMG_3325.JPG" rel="lightbox[post32]" href="http://lh3.ggpht.com/peter.kuhar/SQSGz0XDH6I/AAAAAAAAAxI/3V1xf4WFwUA/IMG_3325.JPG?imgmax=800"><img src="http://lh3.ggpht.com/peter.kuhar/SQSGz0XDH6I/AAAAAAAAAxI/3V1xf4WFwUA/s144/IMG_3325.JPG" alt="IMG_3325.JPG" /></a><a title="IMG_3326.JPG" rel="lightbox[post32]" href="http://lh5.ggpht.com/peter.kuhar/SQSG0hxm8mI/AAAAAAAAAxQ/Xaukbhmyn8o/IMG_3326.JPG?imgmax=800"><img src="http://lh5.ggpht.com/peter.kuhar/SQSG0hxm8mI/AAAAAAAAAxQ/Xaukbhmyn8o/s144/IMG_3326.JPG" alt="IMG_3326.JPG" /></a><a title="IMG_3327.JPG" rel="lightbox[post32]" href="http://lh3.ggpht.com/peter.kuhar/SQSG1jhw_EI/AAAAAAAAAxY/yYdu-nvskgM/IMG_3327.JPG?imgmax=800"><img src="http://lh3.ggpht.com/peter.kuhar/SQSG1jhw_EI/AAAAAAAAAxY/yYdu-nvskgM/s144/IMG_3327.JPG" alt="IMG_3327.JPG" /></a><a title="IMG_3329.JPG" rel="lightbox[post32]" href="http://lh3.ggpht.com/peter.kuhar/SQSG2_UvTwI/AAAAAAAAAxo/yGL9t6Ohkc4/IMG_3329.JPG?imgmax=800"><img src="http://lh3.ggpht.com/peter.kuhar/SQSG2_UvTwI/AAAAAAAAAxo/yGL9t6Ohkc4/s144/IMG_3329.JPG" alt="IMG_3329.JPG" /></a><a title="IMG_3332.JPG" rel="lightbox[post32]" href="http://lh6.ggpht.com/peter.kuhar/SQSG3xXO-XI/AAAAAAAAAx4/wjX8_kgTmwM/IMG_3332.JPG?imgmax=800"><img src="http://lh6.ggpht.com/peter.kuhar/SQSG3xXO-XI/AAAAAAAAAx4/wjX8_kgTmwM/s144/IMG_3332.JPG" alt="IMG_3332.JPG" /></a><a title="IMG_3333.JPG" rel="lightbox[post32]" href="http://lh4.ggpht.com/peter.kuhar/SQSG4Ql-u_I/AAAAAAAAAyA/LdvpY18p5bI/IMG_3333.JPG?imgmax=800"><img src="http://lh4.ggpht.com/peter.kuhar/SQSG4Ql-u_I/AAAAAAAAAyA/LdvpY18p5bI/s144/IMG_3333.JPG" alt="IMG_3333.JPG" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pkuhar.com/blog/posts/2008/10/26/bio-21/feed/</wfw:commentRss>
		</item>
		<item>
		<title>3. Slovenski forum inovacij</title>
		<link>http://www.pkuhar.com/blog/posts/2008/10/26/3-slovenski-forum-inovacij/</link>
		<comments>http://www.pkuhar.com/blog/posts/2008/10/26/3-slovenski-forum-inovacij/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 15:19:12 +0000</pubDate>
		<dc:creator>pero</dc:creator>
		
		<category><![CDATA[Podjetništvo]]></category>

		<guid isPermaLink="false">http://www.pkuhar.com/blog/?p=21</guid>
		<description><![CDATA[21. in 22. sem na forumu inovacij v cankarjevem domu predstavljal novo brezžično stikalo.
Več informacij bo na voljo na www.modula.si.
Hvala organizatorjem za dobro organiziran dogodek.

]]></description>
			<content:encoded><![CDATA[<p>21. in 22. sem na <a href="http://www.sfi.si">forumu inovacij</a> v cankarjevem domu predstavljal novo brezžično stikalo.</p>
<p>Več informacij bo na voljo na <a title="wwww.modula.si" href="http://www.modula.si">www.modula.si.</a></p>
<p>Hvala <a title="hevreka" href="http://www.hevreka.si">organizatorjem</a> za dobro organiziran dogodek.</p>
<p><a title="img_3074.jpg" rel="lightbox[post21]" href="http://lh4.ggpht.com/peter.kuhar/SP4NCNTtJfI/AAAAAAAAAUY/l39ah0S4ODo/img_3074.jpg?imgmax=800"><img src="http://lh4.ggpht.com/peter.kuhar/SP4NCNTtJfI/AAAAAAAAAUY/l39ah0S4ODo/s144/img_3074.jpg" alt="img_3074.jpg" /></a><a title="img_3077.jpg" rel="lightbox[post21]" href="http://lh5.ggpht.com/peter.kuhar/SP4NNix48uI/AAAAAAAAAVQ/yGkaKhlD4rM/img_3077.jpg?imgmax=800"><img src="http://lh5.ggpht.com/peter.kuhar/SP4NNix48uI/AAAAAAAAAVQ/yGkaKhlD4rM/s144/img_3077.jpg" alt="img_3077.jpg" /></a><a title="img_3081.jpg" rel="lightbox[post21]" href="http://lh3.ggpht.com/peter.kuhar/SP4NZ36dkdI/AAAAAAAAAV4/qvmIzN5oMZU/img_3081.jpg?imgmax=800"><img src="http://lh3.ggpht.com/peter.kuhar/SP4NZ36dkdI/AAAAAAAAAV4/qvmIzN5oMZU/s144/img_3081.jpg" alt="img_3081.jpg" /></a><a title="img_3080.jpg" rel="lightbox[post21]" href="http://lh5.ggpht.com/peter.kuhar/SP4NX-4vmDI/AAAAAAAAAVs/5CWk1aYc9yA/img_3080.jpg?imgmax=800"><img src="http://lh5.ggpht.com/peter.kuhar/SP4NX-4vmDI/AAAAAAAAAVs/5CWk1aYc9yA/s144/img_3080.jpg" alt="img_3080.jpg" /></a><a title="img_3088.jpg" rel="lightbox[post21]" href="http://lh3.ggpht.com/peter.kuhar/SP4Nq85VTSI/AAAAAAAAAW4/YZJYZ9cvpIE/img_3088.jpg?imgmax=800"><img src="http://lh3.ggpht.com/peter.kuhar/SP4Nq85VTSI/AAAAAAAAAW4/YZJYZ9cvpIE/s144/img_3088.jpg" alt="img_3088.jpg" /></a><a title="img_3106.jpg" rel="lightbox[post21]" href="http://lh4.ggpht.com/peter.kuhar/SP4S8ZIE2KI/AAAAAAAAAZo/B4jcaTX7frE/img_3106.jpg?imgmax=800"><img src="http://lh4.ggpht.com/peter.kuhar/SP4S8ZIE2KI/AAAAAAAAAZo/B4jcaTX7frE/s144/img_3106.jpg" alt="img_3106.jpg" /></a><a title="img_3112.jpg" rel="lightbox[post21]" href="http://lh4.ggpht.com/peter.kuhar/SP4TPR1om-I/AAAAAAAAAak/5J-Edw1Hb6I/img_3112.jpg?imgmax=800"><img src="http://lh4.ggpht.com/peter.kuhar/SP4TPR1om-I/AAAAAAAAAak/5J-Edw1Hb6I/s144/img_3112.jpg" alt="img_3112.jpg" /></a><a title="img_3113.jpg" rel="lightbox[post21]" href="http://lh6.ggpht.com/peter.kuhar/SP4TSQdms9I/AAAAAAAAAas/DysTHGx72BM/img_3113.jpg?imgmax=800"><img src="http://lh6.ggpht.com/peter.kuhar/SP4TSQdms9I/AAAAAAAAAas/DysTHGx72BM/s144/img_3113.jpg" alt="img_3113.jpg" /></a><a title="img_3126.jpg" rel="lightbox[post21]" href="http://lh5.ggpht.com/peter.kuhar/SP4TrfGZ2YI/AAAAAAAAAcA/mjyrLHiYdZA/img_3126.jpg?imgmax=800"><img src="http://lh5.ggpht.com/peter.kuhar/SP4TrfGZ2YI/AAAAAAAAAcA/mjyrLHiYdZA/s144/img_3126.jpg" alt="img_3126.jpg" /></a><a title="img_3127.jpg" rel="lightbox[post21]" href="http://lh3.ggpht.com/peter.kuhar/SP4TuVmTKJI/AAAAAAAAAcM/Bk5B6UcibFA/img_3127.jpg?imgmax=800"><img src="http://lh3.ggpht.com/peter.kuhar/SP4TuVmTKJI/AAAAAAAAAcM/Bk5B6UcibFA/s144/img_3127.jpg" alt="img_3127.jpg" /></a><a title="img_3128.jpg" rel="lightbox[post21]" href="http://lh3.ggpht.com/peter.kuhar/SP4Twio2yOI/AAAAAAAAAcU/d6ePuzE0RuE/img_3128.jpg?imgmax=800"><img src="http://lh3.ggpht.com/peter.kuhar/SP4Twio2yOI/AAAAAAAAAcU/d6ePuzE0RuE/s144/img_3128.jpg" alt="img_3128.jpg" /></a><a title="img_3130.jpg" rel="lightbox[post21]" href="http://lh5.ggpht.com/peter.kuhar/SP4T2K4OS3I/AAAAAAAAAco/iLQO1MMMk9c/img_3130.jpg?imgmax=800"><img src="http://lh5.ggpht.com/peter.kuhar/SP4T2K4OS3I/AAAAAAAAAco/iLQO1MMMk9c/s144/img_3130.jpg" alt="img_3130.jpg" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pkuhar.com/blog/posts/2008/10/26/3-slovenski-forum-inovacij/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Converting mpeg/avi/&#8230; to flv flash movie under Ubuntu Linux</title>
		<link>http://www.pkuhar.com/blog/posts/2008/06/29/converting-mpegavi-to-flv-flash-movie-under-ubuntu-linux/</link>
		<comments>http://www.pkuhar.com/blog/posts/2008/06/29/converting-mpegavi-to-flv-flash-movie-under-ubuntu-linux/#comments</comments>
		<pubDate>Sun, 29 Jun 2008 19:39:03 +0000</pubDate>
		<dc:creator>pero</dc:creator>
		
		<category><![CDATA[IT - ENG]]></category>

		<category><![CDATA[flash]]></category>

		<category><![CDATA[flv]]></category>

		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.pkuhar.com/blog/?p=18</guid>
		<description><![CDATA[1) Install ffmpeg in flvtool2 ( sudo apt-get install ffmpeg flvtool2 )
2) Create file avi2flv.sh with the following content(or download it here avi2flv.sh ):
&#8212;

#!/bin/bash
tempfile=$(tempfile).flv

ffmpeg -y -i "$1" -r 20 -s 360x288  -deinterlace -ar 22050 "$tempfile"
cat "$tempfile" &#124; flvtool2 -U stdin "$2"
rm -rf "$tempfile"
&#8212;
3) Run bash avi2flv.sh input.avi output.flv
4) Upload to web and use some free [...]]]></description>
			<content:encoded><![CDATA[<p>1) Install ffmpeg in flvtool2 ( sudo apt-get install ffmpeg flvtool2 )</p>
<p>2) Create file avi2flv.sh with the following content(or download it here <a href="http://www.pkuhar.com/blog/wp-content/uploads/2008/06/avi2flv.sh" title="avi2flv.sh">avi2flv.sh</a> ):</p>
<p>&#8212;</p>
<pre>
#!/bin/bash
tempfile=$(tempfile).flv

ffmpeg -y -i "$1" -r 20 -s 360x288  -deinterlace -ar 22050 "$tempfile"
cat "$tempfile" | flvtool2 -U stdin "$2"
rm -rf "$tempfile"</pre>
<p>&#8212;</p>
<p>3) Run bash avi2flv.sh input.avi output.flv</p>
<p>4) Upload to web and use some free flv player like  <a href="http://pyg.keonox.com/tests/flash_flv_player/flvplayer.html" title="http://pyg.keonox.com/tests/flash_flv_player/flvplayer.html">http://pyg.keonox.com/tests/flash_flv_player/flvplayer.html</a> to display it.<a href="http://www.pkuhar.com/blog/wp-content/uploads/2008/06/avi2flv.sh" title="avi2flv.sh"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pkuhar.com/blog/posts/2008/06/29/converting-mpegavi-to-flv-flash-movie-under-ubuntu-linux/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The most anoying programming mistakes</title>
		<link>http://www.pkuhar.com/blog/posts/2008/05/22/the-most-anoying-programming-mistakes/</link>
		<comments>http://www.pkuhar.com/blog/posts/2008/05/22/the-most-anoying-programming-mistakes/#comments</comments>
		<pubDate>Thu, 22 May 2008 09:14:43 +0000</pubDate>
		<dc:creator>pero</dc:creator>
		
		<category><![CDATA[IT - ENG]]></category>

		<guid isPermaLink="false">http://www.pkuhar.com/blog/?p=17</guid>
		<description><![CDATA[In c:
 &#8216;/n&#8217; instead of &#8216;\n&#8217;: gcc will warn you, sdcc will not. ( cost 4 hours of staring into wireshark. )
In JavaScript:
string.chatAt(0) -> Unknown method: Since javascript is not a strongly typed language -> 30 minutes of figuring why javascript thinks that the give object is not a string.
]]></description>
			<content:encoded><![CDATA[<p>In c:<br />
 &#8216;/n&#8217; instead of &#8216;\n&#8217;: gcc will warn you, sdcc will not. ( cost 4 hours of staring into <a href="http://www.wireshark.org">wireshark</a>. )</p>
<p>In JavaScript:<br />
string.cha<b>t</b>At(0) -> Unknown method: Since javascript is not a strongly typed language -> 30 minutes of figuring why javascript thinks that the give object is not a string.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pkuhar.com/blog/posts/2008/05/22/the-most-anoying-programming-mistakes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>tusb3410/ez430-f2013 and company on kernel 2.6.24 ( ubuntu 8.04 ) patching</title>
		<link>http://www.pkuhar.com/blog/posts/2008/04/28/tusb3410ez430-f2013-and-company-on-kernel-2624-ubuntu-804-patching/</link>
		<comments>http://www.pkuhar.com/blog/posts/2008/04/28/tusb3410ez430-f2013-and-company-on-kernel-2624-ubuntu-804-patching/#comments</comments>
		<pubDate>Mon, 28 Apr 2008 20:37:32 +0000</pubDate>
		<dc:creator>pero</dc:creator>
		
		<category><![CDATA[Electronics - ENG]]></category>

		<category><![CDATA[IT - ENG]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.pkuhar.com/blog/?p=15</guid>
		<description><![CDATA[Update: Kernel 2.6.25, has this problem fixed. Unfortunately this is not the version that Ubuntu 8.04 uses 
After updating to 8.04 the tusb3410 devices stopped working. There is a patch but it requires a new kernel version( not available for ubuntu jet ).
It basically requires a change in a structure in the ti_usb_3410_5052 driver ( [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update: Kernel 2.6.25, has this problem fixed. Unfortunately this is not the version that Ubuntu 8.04 uses </strong></p>
<p>After updating to 8.04 the tusb3410 devices stopped working. There is a <a href="http://www.gossamer-threads.com/lists/linux/kernel/906606">patch</a> but it requires a new kernel version( not available for ubuntu jet ).<br />
It basically requires a change in a structure in the ti_usb_3410_5052 driver ( see the above patch link ).</p>
<p>I&#8217;ve compiled the patched ti_usb_3410_5052.ko for kernel version 2.6.24-16-generic ( ubuntu 8.04 )<br />
<a href="http://download.modula.si/linux/ti_usb_3410_5052.ko.gz" title="ti_usb_3410_5052.ko.gz">ti_usb_3410_5052.ko.gz</a></p>
<p>You still need the udev rules for switching the configuration.</p>
<p>For vanilla TUSB3420:<br />
&#8212;<br />
#TI USB 3410<br />
SUBSYSTEM==&#8221;usb&#8221;, ACTION==&#8221;add&#8221;, \<br />
ATTR{idVendor}==&#8221;0451&#8243;, ATTR{idProduct}==&#8221;3410&#8243;, \<br />
ATTR{bNumConfigurations}==&#8221;2&#8243;, \<br />
ATTR{bConfigurationValue}==&#8221;1&#8243;, \<br />
RUN+=&#8221;/bin/sh -c &#8216;echo 2 &gt; /sys%p/device/bConfigurationValue&#8217;&#8221;, \<br />
SYSMLINK+=”ttyModulaTalker”</p>
<p>&#8212;</p>
<p>For ez430<br />
&#8212;<br />
#TI ez430<br />
SUBSYSTEM==&#8221;usb&#8221;, ACTION==&#8221;add&#8221;, \<br />
ATTR{idVendor}==&#8221;0451&#8243;, ATTR{idProduct}==&#8221;F430&#8243;, \<br />
ATTR{bNumConfigurations}==&#8221;2&#8243;, \<br />
ATTR{bConfigurationValue}==&#8221;1&#8243;, \<br />
RUN+=&#8221;/bin/sh -c &#8216;echo 2 &gt; /sys%p/device/bConfigurationValue&#8217;&#8221;, \<br />
SYSMLINK+=”ttyEZ430”</p>
<p>&#8212;</p>
<p><em><strong><br />
I&#8217;ve been informed that the download link was not working. The problem is now solved.</strong></em></p>
<p>&#8211;</p>
<p>With the new updates of the kernel on 8.04, this module/driver will stop working. I don&#8217;t have the time to rebuild it again, but you can use my original one and load it with:</p>
<p><strong>modprobe -f  ti_usb_3410_5052</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pkuhar.com/blog/posts/2008/04/28/tusb3410ez430-f2013-and-company-on-kernel-2624-ubuntu-804-patching/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ustanovitev podjetja v 4 dneh na e.VEM preko interneta.  2.</title>
		<link>http://www.pkuhar.com/blog/posts/2008/03/27/ustanovitev-podjetja-v-4-dneh-na-evem-preko-interneta-2/</link>
		<comments>http://www.pkuhar.com/blog/posts/2008/03/27/ustanovitev-podjetja-v-4-dneh-na-evem-preko-interneta-2/#comments</comments>
		<pubDate>Thu, 27 Mar 2008 15:00:56 +0000</pubDate>
		<dc:creator>pero</dc:creator>
		
		<category><![CDATA[Podjetništvo]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.pkuhar.com/blog/?p=14</guid>
		<description><![CDATA[- 18.3.2008 - Dopoldne sem grem(zasnežene ceste, pada k svina) na OOZ Sevnica s potrdilom o depozitu. Še zdej mi ni jasno, kam bodo ta depozit pripeli, glede na to da ga v sistemu ne vidjo.
No izkazal se je, da ga zdej vidjo. Čudežno se je pojavil ravno takrat, ko sem prišel. ( še vedno [...]]]></description>
			<content:encoded><![CDATA[<p>- 18.3.2008 - Dopoldne sem grem(zasnežene ceste, pada k svina) na OOZ Sevnica s potrdilom o depozitu. Še zdej mi ni jasno, kam bodo ta depozit pripeli, glede na to da ga v sistemu ne vidjo.<br />
No izkazal se je, da ga zdej vidjo. Čudežno se je pojavil ravno takrat, ko sem prišel. ( še vedno sumim, da je vloga cel ta čas bila vidna, ampak referent ni niti pogledal na e-VEM pod gospodarske družbe, ampak samo pod s.p., moja vloga je sicer bila edina ). Poskenira potrdilo, pravi da zdej bo vredu, da bo vnesu in da lahko grem.<br />
- nekaj ur kasneje - Grem pogledat na e-VEM, vloga še kr ni potrjena. Spet kličem na OOZ Sevnica. Pravi da je mel stranke in da bo zdele. Ok žez 15 minut je bila stvar potrjena in je romala na Ajpes.</p>
<p>-19.3.2008 - Sodišče je potrdilo vlogo, dobil sem sklep o vpisu( digitalen seveda) matično in davčno. </p>
<h3><a href="http://www.modula-living.com">Modula</a>, inovacije v elektroniki in informacijskih tehnologijah, d.o.o. je registrana <img src='http://www.pkuhar.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </h3>
<p>Torej hitr overview:<br />
Greš na <a href="http://evem.gov.si">e-VEM</a>( za kar rabiš kvalificirano digitalno potrdilo )<br />
- izpolniš podatke,<br />
- Seveda izbereš sebi bližjo VEM točko, za katero sumiš, da bi lahko imeli kaj izkušenj s tem.<br />
- digitalno podpišeš. Stiskaš akt o ustanovitni<br />
- greš na banko, odpreš depozitni račun, vplačaš ustanovni kapital<br />
- neseš potrdilo o vplačilu na VEM točko, kje ga skenirajo, vnesejo v sistem ter arhivirajo.<br />
- čakaš na rezultat s sodišča</p>
<p>Pomoje, če začneš zgodaj zjutraj in maš srečo, bi znala bi zadeva končana v enem dnevu.</p>
<p>Svetla točka celega podviga, je da je večina ljudi, ki sem jih v postopki klical bila pripravljena pomagat in jim to ni bilo odveč.( razen 2 izjem, katere ne bom omenjal ).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pkuhar.com/blog/posts/2008/03/27/ustanovitev-podjetja-v-4-dneh-na-evem-preko-interneta-2/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
