<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>ch3ka's blog</title>
  <link rel="alternate" type="text/html" href="http://pronweb.de/blog/1"/>
  <link rel="self" type="application/atom+xml" href="http://pronweb.de/blog/1/atom/feed"/>
  <id>http://pronweb.de/blog/1/atom/feed</id>
  <updated>2009-09-28T12:25:41+00:00</updated>
  <entry>
    <title>How tough are NES Games?</title>
    <link rel="alternate" type="text/html" href="http://pronweb.de/node/494" />
    <id>http://pronweb.de/node/494</id>
    <published>2010-04-22T11:18:59+00:00</published>
    <updated>2010-04-22T11:18:59+00:00</updated>
    <author>
      <name>ch3ka</name>
    </author>
    <summary type="html"><![CDATA[<p>via randsturz, thx babe :></p>
<div class="asset-asset_youtube-video asset-align-none"><object width="450" height="325"><br />
<param name="movie" value="http://www.youtube.com/v/uCLOxK6FpfA&amp;hl=de_DE&amp;fs=1&amp;"></param>
<param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/uCLOxK6FpfA&amp;hl=de_DE&amp;fs=1&amp;" type="application/x-shockwave-flash" wmode="transparent" width="450" height="325"></embed></object></div>
<p>
<a href="http://www.youtube.com/watch?v=uCLOxK6FpfA" title="http://www.youtube.com/watch?v=uCLOxK6FpfA">http://www.youtube.com/watch?v=uCLOxK6FpfA</a></p>
    ]]></summary>
    <content type="html"><![CDATA[<p>via randsturz, thx babe :><br />
<div class="asset-asset_youtube-video asset-align-none"><object width="450" height="325"><param name="movie" value="http://www.youtube.com/v/uCLOxK6FpfA&hl=de_DE&fs=1&"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/uCLOxK6FpfA&hl=de_DE&fs=1&" type="application/x-shockwave-flash" wmode="transparent" width="450" height="325"></embed></object></div><br />
<a href="http://www.youtube.com/watch?v=uCLOxK6FpfA" title="http://www.youtube.com/watch?v=uCLOxK6FpfA">http://www.youtube.com/watch?v=uCLOxK6FpfA</a></p>
    ]]></content>
  </entry>
  <entry>
    <title>Star Trek tells the story better than this new fancy 3D Movie</title>
    <link rel="alternate" type="text/html" href="http://pronweb.de/node/493" />
    <id>http://pronweb.de/node/493</id>
    <published>2010-03-25T12:25:42+00:00</published>
    <updated>2010-03-25T12:25:42+00:00</updated>
    <author>
      <name>ch3ka</name>
    </author>
    <summary type="html"><![CDATA[<p><embed wmode="opaque" src="http://c2.static.ning.com/socialnetworkmain/widgets/video/flvplayer/flvplayer.swf?v=201003221300" FlashVars="config=http%3A%2F%2Fbamvidvault.ning.com%2Fvideo%2Fvideo%2FshowPlayerConfig%3Fid%3D2820784%253AVideo%253A163488%26ck%3D-&amp;video_smoothing=on&amp;autoplay=off&amp;isEmbedCode=1" width="456" height="344" bgColor="#000000" scale="noscale" allowScriptAccess="always" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"> </embed> </p>
    ]]></summary>
    <content type="html"><![CDATA[<p><embed wmode="opaque" src="http://c2.static.ning.com/socialnetworkmain/widgets/video/flvplayer/flvplayer.swf?v=201003221300" FlashVars="config=http%3A%2F%2Fbamvidvault.ning.com%2Fvideo%2Fvideo%2FshowPlayerConfig%3Fid%3D2820784%253AVideo%253A163488%26ck%3D-&amp;video_smoothing=on&amp;autoplay=off&amp;isEmbedCode=1" width="456" height="344" bgColor="#000000" scale="noscale" allowScriptAccess="always" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"> </embed> </p>
    ]]></content>
  </entry>
  <entry>
    <title>Hacking Single Lens Reflex Cameras with Barcodes</title>
    <link rel="alternate" type="text/html" href="http://pronweb.de/node/492" />
    <id>http://pronweb.de/node/492</id>
    <published>2010-03-24T18:53:04+00:00</published>
    <updated>2010-03-24T18:53:04+00:00</updated>
    <author>
      <name>ch3ka</name>
    </author>
    <summary type="html"><![CDATA[<p>Cool Stuff :D</p>
<blockquote><p>
The Elan/100, like its predecessor the 10/10s, works with an optional Barcode Reader E accessory. This was an experiment in simplifying the camera’s user interface for novices. Or, to be less charitable, an expensive gadget-driven idiot mode.</p>
    ]]></summary>
    <content type="html"><![CDATA[<p>Cool Stuff :D</p>
<blockquote><p>
The Elan/100, like its predecessor the 10/10s, works with an optional Barcode Reader E accessory. This was an experiment in simplifying the camera’s user interface for novices. Or, to be less charitable, an expensive gadget-driven idiot mode.</p>
<p>Basically it works like this. You get a booklet of barcode settings, each illustrated by a photo. (the scanner shipped with a small booklet of barcodes, EOS Photo Files, but Canon also sold a companion volume - EOS Barcodes 101 - stuffed with even more useful and exciting barcode settings!) The photo will be of a typical setting - a backlit item or a flower or a landscape or whatever. You look at the item you want to photograph, flip through the book until you find a similar photo, scan the barcode from the book and then input the barcode into the camera. The barcode is then used to program the camera.</p>
<p>Hacking the barcodes.</p>
<p>The barcode reader wasn’t a very popular feature. In fact, it really was a fundamentally flawed concept from a marketing standpoint - the only people who’d really want such a feature would be rank beginners. However, because of the cost of building the system, only fairly costly midrange cameras supported it. So Canon quickly dropped the barcodes - the 10/10s and the Elan/100 were the only ones bearing this dubious capability. However, there is one handy thing about it. And that is tied to the key word “programmable,” the hacker’s favourite word.</p>
<p>Basically, inquisitive people have figured out how the barcode system works and have written small programs so that you can write your own custom barcode programs. These programs let you design your own custom PIC modes - sometimes even accessing camera functions not available through the camera’s external buttons and dials. You then print out your custom barcodes on your PC or Mac (the camera uses Interleaved 2 of 5 formatting). This can be lots of fun to play with if you happen to be a geek.
</p></blockquote>
<p>See <a href="http://photonotes.org/manuals/eos-elan/#barcode" title="http://photonotes.org/manuals/eos-elan/#barcode">http://photonotes.org/manuals/eos-elan/#barcode</a> for more - fantastic website and yeah I'm ignoring his copyright notice here, but hey I do not care for US or whatever law and I think it is fair use ;)</p>
    ]]></content>
  </entry>
  <entry>
    <title>How to golf in python</title>
    <link rel="alternate" type="text/html" href="http://pronweb.de/node/491" />
    <id>http://pronweb.de/node/491</id>
    <published>2010-03-14T11:16:28+00:00</published>
    <updated>2010-03-14T11:16:28+00:00</updated>
    <author>
      <name>ch3ka</name>
    </author>
    <summary type="html"><![CDATA[<p>Had some fun in c.l.py.<br />
Given was:<br />
<tt><br />
def fizzbuzz(num):<br />
>     if num:<br />
>         if num % 15 is 0: return fizzbuzz(num-1) + 'fizzbuzz \n'<br />
>         elif num % 5 is 0: return fizzbuzz(num-1) + 'buzz \n'<br />
>         elif num % 3 is 0: return fizzbuzz(num-1) + 'fizz \n'<br />
>         else : return fizzbuzz(num-1) + ('%d \n' % num)<br />
>     return ''<br />
> print fizzbuzz(100)<br />
</tt></p>
<p>Since this was not funny enough, I wrote:<br />
<tt>for i in range(1,101):print('','fizz')[not i%3]+('','buzz')[not i%5]or i</tt></p>
<p>This works because not casts to bool and (True, False) == (1, 0).</p>
    ]]></summary>
    <content type="html"><![CDATA[<p>Had some fun in c.l.py.<br />
Given was:<br />
<tt><br />
def fizzbuzz(num):<br />
>     if num:<br />
>         if num % 15 is 0: return fizzbuzz(num-1) + 'fizzbuzz \n'<br />
>         elif num % 5 is 0: return fizzbuzz(num-1) + 'buzz \n'<br />
>         elif num % 3 is 0: return fizzbuzz(num-1) + 'fizz \n'<br />
>         else : return fizzbuzz(num-1) + ('%d \n' % num)<br />
>     return ''<br />
> print fizzbuzz(100)<br />
</tt></p>
<p>Since this was not funny enough, I wrote:<br />
<tt>for i in range(1,101):print('','fizz')[not i%3]+('','buzz')[not i%5]or i</tt></p>
<p>This works because not casts to bool and (True, False) == (1, 0).<br />
It also exploits short circuit evaluation and the fact that the or matches against the result of + due to evaluation order, where '' would yield False.</p>
<p>I guess I should give perl another try someday to get this in a half line :)</p>
    ]]></content>
  </entry>
  <entry>
    <title>Filmtipp</title>
    <link rel="alternate" type="text/html" href="http://pronweb.de/node/490" />
    <id>http://pronweb.de/node/490</id>
    <published>2010-03-12T23:23:01+00:00</published>
    <updated>2010-03-12T23:23:01+00:00</updated>
    <author>
      <name>ch3ka</name>
    </author>
    <summary type="html"><![CDATA[<p>Weil wirs heute erst von Filmen hatten:<br />
Wer "Postal" mochte, wird "War Inc" lieben.<br />
Total bescheuerter Film. Also wirklich.<br />
Minus 5 Sterne.<br />
Aber so bescheuert er auch ist, er ist herrlich sarkastisch was die globale Situation angeht. Und dabei nur ein ganz klein bisschen überspitzt.<br />
Im Gegensatz zu Postal hat die weibliche Begleitung auch keine Anzeichen starker Angewiedertheit gezeigt, aber das kann daran liegen dass es eine andere ist ;)</p>
    ]]></summary>
    <content type="html"><![CDATA[<p>Weil wirs heute erst von Filmen hatten:</p>
<p>Wer "Postal" mochte, wird "War Inc" lieben.</p>
<p>Total bescheuerter Film. Also wirklich.<br />
Minus 5 Sterne.</p>
<p>Aber so bescheuert er auch ist, er ist herrlich sarkastisch was die globale Situation angeht. Und dabei nur ein ganz klein bisschen überspitzt.</p>
<p>Im Gegensatz zu Postal hat die weibliche Begleitung auch keine Anzeichen starker Angewiedertheit gezeigt, aber das kann daran liegen dass es eine andere ist ;)</p>
    ]]></content>
  </entry>
  <entry>
    <title>Radio Station called</title>
    <link rel="alternate" type="text/html" href="http://pronweb.de/node/489" />
    <id>http://pronweb.de/node/489</id>
    <published>2010-03-12T14:46:06+00:00</published>
    <updated>2010-03-12T14:46:31+00:00</updated>
    <author>
      <name>ch3ka</name>
    </author>
    <summary type="html"><![CDATA[<p>I just got interrupted in my work by a call from a radio station.<br />
It was a radio quiz and I was live on air - funny feeling.</p>
<p>They played a short audio sample of a movie and I had to guess the title of the movie.</p>
<p>Well, what should I say... I knew the title in the first two seconds because I heard "Verpasst du auch nem Mann ne Fussmassage?" - And that's of course the german wording in one of the best scenes in one of the best movies ever made - <b>Pulp Fiction</b></p>
<p>Lucky me they picked this one ;) I won a CD and now... back to work :)</p>
    ]]></summary>
    <content type="html"><![CDATA[<p>I just got interrupted in my work by a call from a radio station.<br />
It was a radio quiz and I was live on air - funny feeling.</p>
<p>They played a short audio sample of a movie and I had to guess the title of the movie.</p>
<p>Well, what should I say... I knew the title in the first two seconds because I heard "Verpasst du auch nem Mann ne Fussmassage?" - And that's of course the german wording in one of the best scenes in one of the best movies ever made - <b>Pulp Fiction</b></p>
<p>Lucky me they picked this one ;) I won a CD and now... back to work :)</p>
    ]]></content>
  </entry>
  <entry>
    <title>&gt;&gt;Are you all retarded? This is not facebook.</title>
    <link rel="alternate" type="text/html" href="http://pronweb.de/node/486" />
    <id>http://pronweb.de/node/486</id>
    <published>2010-03-03T10:43:41+00:00</published>
    <updated>2010-03-03T10:45:22+00:00</updated>
    <author>
      <name>ch3ka</name>
    </author>
    <summary type="html"><![CDATA[<p>Yeah I know I'm fucking late.<br />
Had stuff to do other than blogging since this came up.</p>
<blockquote><p>>> it's real. We've determined by looking at our traffic stats that people are doing Google searches for "facebook login" and coming upon RWW. They see the FB Connect button and assume that RWW is the "new Facebook."</p>
<p>Sigh.</p>
<p>The Internet Is Hard.<<</p>
</p></blockquote>
<p>The Article where it all started: <a href="http://www.readwriteweb.com/archives/facebook_wants_to_be_your_one_true_login.php" title="http://www.readwriteweb.com/archives/facebook_wants_to_be_your_one_true_login.php">http://www.readwriteweb.com/archives/facebook_wants_to_be_your_one_true_...</a></p>
    ]]></summary>
    <content type="html"><![CDATA[<p>Yeah I know I'm fucking late.<br />
Had stuff to do other than blogging since this came up.</p>
<blockquote><p>>> it's real. We've determined by looking at our traffic stats that people are doing Google searches for "facebook login" and coming upon RWW. They see the FB Connect button and assume that RWW is the "new Facebook."</p>
<p>Sigh.</p>
<p>The Internet Is Hard.<<</p></blockquote>
<p>The Article where it all started: <a href="http://www.readwriteweb.com/archives/facebook_wants_to_be_your_one_true_login.php" title="http://www.readwriteweb.com/archives/facebook_wants_to_be_your_one_true_login.php">http://www.readwriteweb.com/archives/facebook_wants_to_be_your_one_true_...</a></p>
<p>TL;DR - Version of the story: <a href="http://www.inquisitr.com/61333/there-are-some-seriously-stupid-people-on-the-web/" title="http://www.inquisitr.com/61333/there-are-some-seriously-stupid-people-on-the-web/">http://www.inquisitr.com/61333/there-are-some-seriously-stupid-people-on...</a></p>
<blockquote><p>>>stupid AOL users, we should've cut you guys off when we had the chance<<</p></blockquote>
<blockquote><p>>>So I just thought of a pretty good literacy test for deciding whether people are allowed to internet<<</p></blockquote>
<blockquote><p>>>I don't know what's scarier: the idea that this thread is a sign of the end times, or that it's a sign of the status-quo<<</p></blockquote>
<blockquote><p>>>Won't somebody please think of the children<<</p></blockquote>
<blockquote><p>>>To all the dorks who thought this was Facebook:<br />
Shut down your PC, turn off the monitor, unplug everything, pack it all into the box it arrived in and bring it back to the shop. You are too thick to ever be let loose on a computer.<br />
I console myself with the hope that Darwin was correct, and natural selection will take its course.<<</p></blockquote>
    ]]></content>
  </entry>
  <entry>
    <title>RANT: You are not a webdesigner</title>
    <link rel="alternate" type="text/html" href="http://pronweb.de/node/209" />
    <id>http://pronweb.de/node/209</id>
    <published>2010-01-07T11:34:37+00:00</published>
    <updated>2010-01-07T11:34:37+00:00</updated>
    <author>
      <name>ch3ka</name>
    </author>
    <summary type="html"><![CDATA[<p>If you call yourself a webdesigner and cannot wrtite a page in pure HTML/CSS by hand, you lie. Period.<br />
While this sounds harsh, its actually obvious: you need to know whats possible and how complex it is to implement what you design.<br />
Yes, what you design looks good, but there is a reason that you've never seen tilted text with a drop shadow and a gradient on a website.<br />
Yes, you can slice your psd and it will display in your browser, so obviously it is possible to implement what you design?<br />
really? Think about it...<br />
just look at the "code" you generate with this method.</p>
    ]]></summary>
    <content type="html"><![CDATA[<p>If you call yourself a webdesigner and cannot wrtite a page in pure HTML/CSS by hand, you lie. Period.<br />
While this sounds harsh, its actually obvious: you need to know whats possible and how complex it is to implement what you design.</p>
<p>Yes, what you design looks good, but there is a reason that you've never seen tilted text with a drop shadow and a gradient on a website.</p>
<p>Yes, you can slice your psd and it will display in your browser, so obviously it is possible to implement what you design?<br />
really? Think about it...<br />
just look at the "code" you generate with this method.<br />
And ever thought of *dynamic* content being displayed? And no, I won't constuct an image and slice it on the server side..</p>
<p>Heck, do you realize what evil hacks are necessary just to get the rounded borders on this page? Tons and tons of clientside Javascript render these. Yes, on the client. Yes, on every pageview. No, there is no compatible way of doing this with HTML/CSS until all browsers out there know CSS3.<br />
Billions of billions of billions lines of Javascript get interpreted by home computers every day, wasting energy and computing time just because you guys want rounded borders and did not know how complex this is to implement.</p>
<p>If you feel adressed by this text: You may call yourself designer, but please dont call yourself webdesigner. You'll lie to yourself, to your customer, and that poor little bastard who'll have to translate your .psd into HTML/css will curse you, use evil hacks, will get blamed for things not working and taking too long. He might kill you.</p>
<p>Real webdesigners know what's possible and work with what they have. Sadly this is practically limited to HTML4 und CSS2, but things will soon get better with HTML5 and CSS3.</p>
    ]]></content>
  </entry>
  <entry>
    <title>Fundstücke aus der Wikipedia</title>
    <link rel="alternate" type="text/html" href="http://pronweb.de/node/156" />
    <id>http://pronweb.de/node/156</id>
    <published>2009-12-27T20:45:41+00:00</published>
    <updated>2009-12-27T20:46:55+00:00</updated>
    <author>
      <name>ch3ka</name>
    </author>
    <summary type="html"><![CDATA[<blockquote><p>Anfang April 2008 wurde in der Veltins-Arena in Gelsenkirchen eine Fahne mit dem <b>Motiv der Schäublone</b> während eines Fußballspiels gegen den FC Barcelona unter Verweis auf das Hausrecht des FC Schalke 04 eingezogen. Die Fahne wurde in Reaktion auf einen Polizeikessel am Schalker Fanprojekt[37] vor dem Heimspiel gegen den MSV Duisburg am 15. März 2008 mit in das Stadion genommen. Die Polizei würde prüfen, ob <b>Anzeige wegen „Verwendung von verfassungsfeindlichen Symbolen“</b> erhoben werde, so ein Ordner.[38]</p>
</p></blockquote>
<p>Aber hallo! <b>Recht so!</b> :D</p>
    ]]></summary>
    <content type="html"><![CDATA[<blockquote><p>Anfang April 2008 wurde in der Veltins-Arena in Gelsenkirchen eine Fahne mit dem <b>Motiv der Schäublone</b> während eines Fußballspiels gegen den FC Barcelona unter Verweis auf das Hausrecht des FC Schalke 04 eingezogen. Die Fahne wurde in Reaktion auf einen Polizeikessel am Schalker Fanprojekt[37] vor dem Heimspiel gegen den MSV Duisburg am 15. März 2008 mit in das Stadion genommen. Die Polizei würde prüfen, ob <b>Anzeige wegen „Verwendung von verfassungsfeindlichen Symbolen“</b> erhoben werde, so ein Ordner.[38]</p></blockquote>
<p>Aber hallo! <b>Recht so!</b> :D</p>
<p>(Artikel: <a href="http://de.wikipedia.org/wiki/Zensursula" title="http://de.wikipedia.org/wiki/Zensursula">http://de.wikipedia.org/wiki/Zensursula</a>)</p>
    ]]></content>
  </entry>
  <entry>
    <title>Ach du schönes Web2.0</title>
    <link rel="alternate" type="text/html" href="http://pronweb.de/node/134" />
    <id>http://pronweb.de/node/134</id>
    <published>2009-12-23T16:52:17+00:00</published>
    <updated>2009-12-23T16:52:17+00:00</updated>
    <author>
      <name>ch3ka</name>
    </author>
    <summary type="html"><![CDATA[<p>Facebook, bist wirklich so kaputt wie ich dachte...</p>
<div class="asset-asset-image asset-align-none"><img src="http://pronweb.de/files/ch3ka/facebookfail1.png"  title="facebookfail1.png" alt="facebookfail1.png" height="344" width="467" /></div>
</p>
<p>OK, kann ja mal passieren. Haben wir momentan auf $seite auch so, aus Bequemlichkeit... Aber eine Firma der Größe Facebooks sollte eigentlich gültige E-Mail-Adressen nicht einfach so als ungültig abweisen. Twitter hats ja auch geschafft.</p>
<p>Naja, nett wie ich bin will ich die mal drauf hinweisen dass die mir gerade eine Entschuldigung geben da nicht Mitglied zu werden (wortlaut war natürlich anders), und was passiert?</p>
    ]]></summary>
    <content type="html"><![CDATA[<p>Facebook, bist wirklich so kaputt wie ich dachte...<br />
<div class="asset-asset-image asset-align-none"><img src="http://pronweb.de/files/ch3ka/facebookfail1.png"  title="facebookfail1.png" alt="facebookfail1.png" height="344" width="467" /></div></p>
<p>OK, kann ja mal passieren. Haben wir momentan auf $seite auch so, aus Bequemlichkeit... Aber eine Firma der Größe Facebooks sollte eigentlich gültige E-Mail-Adressen nicht einfach so als ungültig abweisen. Twitter hats ja auch geschafft.</p>
<p>Naja, nett wie ich bin will ich die mal drauf hinweisen dass die mir gerade eine Entschuldigung geben da nicht Mitglied zu werden (wortlaut war natürlich anders), und was passiert?</p>
<p><div class="asset-asset-image asset-align-none"><img src="http://pronweb.de/files/ch3ka/facebookfail2.png"  title="facebookfail2.png" alt="facebookfail2.png" height="417" width="656" /></div></p>
<p>*HEADDESK*</p>
    ]]></content>
  </entry>
  <entry>
    <title>The Web 2.0 got me</title>
    <link rel="alternate" type="text/html" href="http://pronweb.de/node/117" />
    <id>http://pronweb.de/node/117</id>
    <published>2009-12-21T16:40:44+00:00</published>
    <updated>2009-12-21T16:40:44+00:00</updated>
    <author>
      <name>ch3ka</name>
    </author>
    <summary type="html"><![CDATA[<p>Oh man, I never had myspace, never been to *VZ, didn't know WKW and never ever surfed to facebook.<br />
I always hated Web forums - all those Passwords and no offlinecache, no grep, NNTP is way superior, mods stink and all those retards on the web...<br />
But I guess it's time for me to dive in the cesspool of the Web2.0. Just got myself twitter and flickr, expect more to come.<br />
I just hope this isnt all that bad as I thought it is...<br />
Update: Already linked my Twitter to this Blog et vice versa.<br />
Things seem to work now, but had to edit half a dozen PHP Scripts</p>
    ]]></summary>
    <content type="html"><![CDATA[<p>Oh man, I never had myspace, never been to *VZ, didn't know WKW and never ever surfed to facebook.</p>
<p>I always hated Web forums - all those Passwords and no offlinecache, no grep, NNTP is way superior, mods stink and all those retards on the web...</p>
<p>But I guess it's time for me to dive in the cesspool of the Web2.0. Just got myself twitter and flickr, expect more to come.</p>
<p>I just hope this isnt all that bad as I thought it is...</p>
<p>Update: Already linked my Twitter to this Blog et vice versa.<br />
Things seem to work now, but had to edit half a dozen PHP Scripts</p>
    ]]></content>
  </entry>
  <entry>
    <title>Force samba to tell accumulated share size</title>
    <link rel="alternate" type="text/html" href="http://pronweb.de/node/85" />
    <id>http://pronweb.de/node/85</id>
    <published>2009-12-20T16:32:27+00:00</published>
    <updated>2009-12-20T17:04:08+00:00</updated>
    <author>
      <name>ch3ka</name>
    </author>
    <summary type="html"><![CDATA[<p>I wanted to backup my win7 on my fileserver, using the builtin backuptool and CIFS.<br />
However, I have one big share where some cryptofilesystems are mounted, and samba will only tell the size/avail of the root directory which is exported, thus Windows thinks there is not enough space to do the backup.</p>
<p>Fortunately, you can force samba to tell an arbitrary sharesize with the dfree command.</p>
<p>I wanted samba to tell the combined size/avail of all filesystems currently mounted under my share, so I wrote this script:</p>
<p><code><br />
filr ~ # cat /etc/samba/dfree<br />
#!/bin/sh</p>
    ]]></summary>
    <content type="html"><![CDATA[<p>I wanted to backup my win7 on my fileserver, using the builtin backuptool and CIFS.<br />
However, I have one big share where some cryptofilesystems are mounted, and samba will only tell the size/avail of the root directory which is exported, thus Windows thinks there is not enough space to do the backup.</p>
<p>Fortunately, you can force samba to tell an arbitrary sharesize with the dfree command.</p>
<p>I wanted samba to tell the combined size/avail of all filesystems currently mounted under my share, so I wrote this script:</p>
<p><code><br />
filr ~ # cat /etc/samba/dfree<br />
#!/bin/sh<br />
df /enc* | tail -n +2 | sort | uniq | awk '{blocks +=$(NF-4); avail += $(NF-2)}; END {print blocks " " avail}'<br />
</code></p>
<p>and made it executable and told samba to use this for calculating the shares size/avail:<br />
<code><br />
filr ~ # grep dfree /etc/samba/smb.conf<br />
   dfree command = /etc/samba/dfree<br />
</code>(in the [global] section)</p>
<p>And thats it. How does it work? the df - command matches all currently mounted cryptovolumes (as they all begin with /enc* here), tail -n +2 strips the first line of df's output (that would be the header), sort|uniq catches non-mounted Filesystems, and the awk command extracts the columns for blocks and avail and sums them up.</p>
<p>Now Windows sees the "correct" size and usage of the share, and will hopefully be able to backup now.<br />
<div class="asset-asset-image asset-align-none"><img src="http://pronweb.de/files/ch3ka/filr.png"  title="samba filr" alt="samba filr" height="56" width="254" /></div></p>
    ]]></content>
  </entry>
  <entry>
    <title>&quot;Interview&quot; auf wirres.net ueber das Web2.0 ff</title>
    <link rel="alternate" type="text/html" href="http://pronweb.de/node/83" />
    <id>http://pronweb.de/node/83</id>
    <published>2009-11-07T17:08:10+00:00</published>
    <updated>2009-11-07T17:08:10+00:00</updated>
    <author>
      <name>ch3ka</name>
    </author>
    <summary type="html"><![CDATA[<p><b>Q:</b><i></p>
<blockquote><p>Hast du dir schonmal Gedanken darüber gemacht, dass dein Arbeitgeber dich dann vielleicht vor dem Bewerbungsgespräch googelt und dabei peinliche Fotos von dir findet?</p>
</p></blockquote>
<p></i></p>
    ]]></summary>
    <content type="html"><![CDATA[<p><b>Q:</b><i><br />
<blockquote>Hast du dir schonmal Gedanken darüber gemacht, dass dein Arbeitgeber dich dann vielleicht vor dem Bewerbungsgespräch googelt und dabei peinliche Fotos von dir findet?</p></blockquote>
<p></i></p>
<p><b>A:</b><br />
<blockquote>naja, peinliche fotos sollte man schon bei der entstehung vermeiden. und wenn es welche geben sollte, kann man ja auch meist noch was dagegen unternehmen. trotzdem frage ich mich, ob ich bei jemandem arbeiten will, der rumstresst, weil es peinliche fotos von mir gibt. will ich bei jemandem arbeiten, der mir sagt: „wir haben hinweise im internet gefunden, dass sie schonmal betrunken waren.“</p>
<p>abgesehen davon: glaubst du alles was in der zeitung steht? glaubst du alles was man so googlen kann? oder willst bei jemandem arbeiten, der so denkt? </p></blockquote>
<p><a href="http://wirres.net/article/articleview/5420/1/6/">komplettes "Interview"</a></p>
    ]]></content>
  </entry>
  <entry>
    <title>seven tetris</title>
    <link rel="alternate" type="text/html" href="http://pronweb.de/node/82" />
    <id>http://pronweb.de/node/82</id>
    <published>2009-10-01T01:56:03+00:00</published>
    <updated>2009-10-01T01:56:03+00:00</updated>
    <author>
      <name>ch3ka</name>
    </author>
    <summary type="html"><![CDATA[<p>My GF just blew the all-time-highscore on my Gameboy w/ a seven-tetris on lvl 7. pix will follow soon; RSS-Readers, watch for updates. Will deliver in approx. 12h.</p>
    ]]></summary>
    <content type="html"><![CDATA[<p>My GF just blew the all-time-highscore on my Gameboy w/ a seven-tetris on lvl 7. pix will follow soon; RSS-Readers, watch for updates. Will deliver in approx. 12h.</p>
    ]]></content>
  </entry>
  <entry>
    <title>Hrmpf </title>
    <link rel="alternate" type="text/html" href="http://pronweb.de/node/81" />
    <id>http://pronweb.de/node/81</id>
    <published>2009-09-28T12:25:41+00:00</published>
    <updated>2009-09-28T12:25:41+00:00</updated>
    <author>
      <name>ch3ka</name>
    </author>
    <summary type="html"><![CDATA[<p>Last-Minute-Strassenwahlkampf am Samstag in der Fussgaengerzone eines kleinen Schwarzwaldkaffs. </p>
<blockquote><p>"Ihr seid doch die mit dem Kinderpornografen"</p>
</p></blockquote>
<p>... was soll man dazu sagen.<br />
Ueber die Union spricht man doch auch nicht als "Die Partei mit den Kinderpornografen"; <a href="http://www.sueddeutsche.de/muenchen/330/488724/text/">trotz</a> <a href="http://www.welt.de/politik/article3332255/Kinderporno-Verdacht-auch-bei-der-CDU.html">dieser</a> <a href="http://www.focus.de/politik/deutschland/kinderporno-verdacht_aid_93085.html">Vorfaelle</a>. </p>
    ]]></summary>
    <content type="html"><![CDATA[<p>Last-Minute-Strassenwahlkampf am Samstag in der Fussgaengerzone eines kleinen Schwarzwaldkaffs. </p>
<blockquote><p>"Ihr seid doch die mit dem Kinderpornografen"</p></blockquote>
<p>... was soll man dazu sagen.<br />
Ueber die Union spricht man doch auch nicht als "Die Partei mit den Kinderpornografen"; <a href="http://www.sueddeutsche.de/muenchen/330/488724/text/">trotz</a> <a href="http://www.welt.de/politik/article3332255/Kinderporno-Verdacht-auch-bei-der-CDU.html">dieser</a> <a href="http://www.focus.de/politik/deutschland/kinderporno-verdacht_aid_93085.html">Vorfaelle</a>.<br />
Und Tauss wurde ja (bis jetzt zumindest) noch nicht mal verurteilt.</p>
<p>Naja, immerhin 193 Stimmen hier fuer die Piraten, ergibt 1,8% und damit fast Bundesdurchschnitt. Fuer so ein kleines laendliches Kaff ganz in Ordnung wie ich finde.</p>
    ]]></content>
  </entry>
</feed>
