<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:admin="http://webns.net/mvcb/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:content="http://purl.org/rss/1.0/modules/content/">

    <channel>
    
    <title>Geek Tips</title>
    <link>http://www.geektips.org</link>
    <description>On geektips you will find lot of tips for every geek ;)</description>
    <dc:language>en</dc:language>
    <dc:rights>Copyright 2009</dc:rights>
    <dc:date>2009-02-20T21:53:50+01:00</dc:date>
    <admin:generatorAgent rdf:resource="http://expressionengine.com/" />
    

    <item>
      <title>Get CPU temperature on Linux (Archlinux)</title>
      <link>http://www.geektips.org/index.php/site/get_cpu_temperature_on_linux_archlinux/</link>
      <guid>http://www.geektips.org/index.php/site/get_cpu_temperature_on_linux_archlinux/#When:21:53:50Z</guid>
      <description>bash&#45;3.2# pacman &#45;S lm_sensors
bash&#45;3.2# sensors&#45;detect
bash&#45;3.2# modprobe coretemp
bash&#45;3.2# sensors
coretemp&#45;isa&#45;0000
Adapter: ISA adapter
Core 0:&amp;nbsp;  &amp;nbsp;  +40.0Â°C  (high = +74.0Â°C, crit = +100.0Â°C)

coretemp&#45;isa&#45;0001
Adapter: ISA adapter
Core 1:&amp;nbsp;  &amp;nbsp;  +28.0Â°C  (high = +74.0Â°C, crit = +100.0Â°C)

coretemp&#45;isa&#45;0002
Adapter: ISA adapter
Core 2:&amp;nbsp;  &amp;nbsp;  +37.0Â°C  (high = +74.0Â°C, crit = +100.0Â°C)

coretemp&#45;isa&#45;0003
Adapter: ISA adapter
Core 3:&amp;nbsp;  &amp;nbsp;  +41.0Â°C  (high = +74.0Â°C, crit = +100.0Â°C)</description>
      <dc:subject>Linux</dc:subject>
      <dc:date>2009-02-20T21:53:50+01:00</dc:date>
    </item>

    <item>
      <title>100x Denser Chips Possible With Plasmonic Nanolithography</title>
      <link>http://www.geektips.org/index.php/site/100x_denser_chips_possible_with_plasmonic_nanolithography/</link>
      <guid>http://www.geektips.org/index.php/site/100x_denser_chips_possible_with_plasmonic_nanolithography/#When:10:59:53Z</guid>
      <description>Roland Piquepaille wrote on slashdot : 
&#8220;According to the semiconductor industry, maskless nanolithography is a flexible nanofabrication technique which suffers from low throughput. But now, engineers at the University of California at Berkeley have developed a new approach that involves &#8216;flying&#8217; an array of plasmonic lenses just 20 nanometers above a rotating surface, it is possible to increase throughput by several orders of magnitude. The &#8216;flying head&#8217; they&#8217;ve created looks like the stylus on the arm of an old&#45;fashioned LP turntable. With this technique, the researchers were able to create line patterns only 80 nanometers wide at speeds up to 12 meters per second. The lead researcher said that by using &#8216;this plasmonic nanolithography, we will be able to make current microprocessors more than 10 times smaller, but far more powerful&#8217; and that &#8216;it could lead to ultra&#45;high density disks that can hold 10 to 100 times more data than today&#8217;s disks.&#8216;&#8220;


Here the Berkeley News</description>
      <dc:subject></dc:subject>
      <dc:date>2008-10-27T10:59:53+01:00</dc:date>
    </item>

    <item>
      <title>PHP Gets Namespace Separators, With a Twist</title>
      <link>http://www.geektips.org/index.php/site/php_gets_namespace_separators_with_a_twist/</link>
      <guid>http://www.geektips.org/index.php/site/php_gets_namespace_separators_with_a_twist/#When:10:54:53Z</guid>
      <description>PHP is finally getting support for namespaces !!

Here the PHP news
Here the entire IRC conversation</description>
      <dc:subject>News</dc:subject>
      <dc:date>2008-10-27T10:54:53+01:00</dc:date>
    </item>

    <item>
      <title>Apply a replacement regexp on an entire mySQL table</title>
      <link>http://www.geektips.org/index.php/site/apply_a_replacement_regexp_on_an_entire_mysql_table/</link>
      <guid>http://www.geektips.org/index.php/site/apply_a_replacement_regexp_on_an_entire_mysql_table/#When:21:32:00Z</guid>
      <description>You may know the way to select specific rows matching a pattern in mySQL.

Indeed we can use this syntax :
SELECT * FROM `table` WHERE `field` REGEXP &#8217;^my regexp&#8217;;

But I looked a long time for a way to apply a replacement regexp on a table field.
Finally I had to make a shell script do to that because it&#8217;s not implemented in mysql ...

That is the script I wrote :


IFS=&#8217;
&#8217;

for i in $(echo &#8216;SELECT id_field, field FROM  `my_table` ;&#8217; | mysql mydatabase);do

 echo $i |&amp;nbsp; sed &#45;n &#8216;s/([0&#45;9]*).*some_thing_to_remove(.*)/ UPDATE `my_table` SET field = &#8221;2&#8221; WHERE id_field = 1/p&#8217; |&amp;nbsp; mysql mydatabase

done



That is absolutely not an optimized script, but it works and it is very useful to manage a table when the number of rows is not too big.

If you have a better example to do that don&#8217;t hesitate to share it with us !

&amp;nbsp;</description>
      <dc:subject>MySQL, Sed, Zsh</dc:subject>
      <dc:date>2008-10-23T21:32:00+01:00</dc:date>
    </item>

    <item>
      <title>Flash 10 is available</title>
      <link>http://www.geektips.org/index.php/site/flash_10_is_available/</link>
      <guid>http://www.geektips.org/index.php/site/flash_10_is_available/#When:12:29:01Z</guid>
      <description>The famous flash player have been upgraded to its 10th version. Upgrades are available for Windows, MacOSX, and Linux (from release day, which is worth noting) through the Flash Player download center. A beta was made available for Solaris too, check out Adobe Labs for this one.


Flash 10 Benchmarks from Ars. Performance is better. That&#8217;s it
The &#8220;Astro&#8221; 3D demo showcasing the new 3D abilities of flash (requires latest flash plugin)
Flash 10 feature tour (requires latest flash plugin)
GPU Acceleration for Flash 10 is explained in a nice introduction by kaourantin</description>
      <dc:subject>News</dc:subject>
      <dc:date>2008-10-17T12:29:01+01:00</dc:date>
    </item>

    <item>
      <title>Flite: a small, fast run time synthesis engine</title>
      <link>http://www.geektips.org/index.php/site/flite_a_small_fast_run_time_synthesis_engine/</link>
      <guid>http://www.geektips.org/index.php/site/flite_a_small_fast_run_time_synthesis_engine/#When:15:11:01Z</guid>
      <description>Flite (festival&#45;lite) is a small, fast run&#45;time synthesis engine developed at CMU and primarily designed for small embedded machines and/or large servers. 
Flite is designed as an alternative synthesis engine to Festival for voices built using the FestVox suite of voice building tools. 


This is a simple way to test the tool :
zsh$ flite &#45;t &#8216;hello from geek tips&#8217; &#45;o test.wav


Download flite
Flite official website</description>
      <dc:subject>Rocksors</dc:subject>
      <dc:date>2008-10-16T15:11:01+01:00</dc:date>
    </item>

    <item>
      <title>How MySQL Handles a Full Disk</title>
      <link>http://www.geektips.org/index.php/site/how_mysql_handles_a_full_disk/</link>
      <guid>http://www.geektips.org/index.php/site/how_mysql_handles_a_full_disk/#When:22:39:00Z</guid>
      <description>When a disk&#45;full condition occurs, MySQL does the following :

&amp;nbsp;   It checks once every minute to see whether there is enough space to write the current row. If there is enough space, it continues as if nothing had happened.
&amp;nbsp;   Every 10 minutes it writes an entry to the log file, warning about the disk&#45;full condition.


To alleviate the problem, you can take the following actions :

&amp;nbsp;   To continue, you only have to free enough disk space to insert all records.
&amp;nbsp;   To abort the thread, you must use mysqladmin kill. The thread is aborted the next time it checks the disk (in one minute).
&amp;nbsp;   Other threads might be waiting for the table that caused the disk&#45;full condition. If you have several “locked” threads, killing the one thread that is waiting on the disk&#45;full condition allows the other threads to continue.


From MySQL Documentation

&amp;nbsp;</description>
      <dc:subject>MySQL</dc:subject>
      <dc:date>2008-10-15T22:39:00+01:00</dc:date>
    </item>

    <item>
      <title>Something interesting about modern CPUs</title>
      <link>http://www.geektips.org/index.php/site/something_interesting_about_modern_cpus/</link>
      <guid>http://www.geektips.org/index.php/site/something_interesting_about_modern_cpus/#When:16:26:00Z</guid>
      <description>As TheRaven64 pointed out nicely on slashdot, low&#45;cost CPUs are more often the result of a faulty construction than of a brand new design.

Here is how he puts it (in comment 25384737:
A modern CPU is quite big and contains a lot of components that aren&#8217;t essential to the operation of the chip. If you disable these, you have a slightly less good chip without the engineering cost of designing a entirely new die layout. AMD takes this to extremes. Their Opterons have 4 cores, three hypertransport connections and a load of cache. If there is a manufacturing flaw in the cache, they are sold as a model with less cache. If it&#8217;s in the cores, then they are sold as three, two, or single core chips. If it&#8217;s in the HT controllers then they only support 2&#45; or 4&#45;way multichip configurations. Intel&#8217;s 486SX line was just a 486 (later renamed the 486DX) where the FPU didn&#8217;t work.</description>
      <dc:subject>Systems Geekness</dc:subject>
      <dc:date>2008-10-15T16:26:00+01:00</dc:date>
    </item>

    <item>
      <title>Linux 2.6.27 is out</title>
      <link>http://www.geektips.org/index.php/site/linux_2627_is_out/</link>
      <guid>http://www.geektips.org/index.php/site/linux_2627_is_out/#When:02:51:00Z</guid>
      <description>Hey, the famous linux kernel project made a new release.
This time it&#8217;s the 2.6.27 one. You might be interested by the mail announcement (by Torvalds). 

The human readable changelog for kernelnewbies is available here. 
It quotes some features that are really interesting in this release : 

ext4 delayed allocation support
lockless page cache (useful if you have lots of CPUs)
kexec/kdump based hibernation (could provide reliable hibernation even for fucked up ACPI systems in the future !)
UBIFS filesystem for flash based devices. (useful for flash devices where FAT filesystem lock can be disabled)
read&#45;time corruption detection
improved video camera support with the gspca driver (perhaps it&#8217;s the time to try that webcam again)
Details omitted. More to come, I guess.


Finally, you might want to rant about something on the dedicated slashdot thread. More information is obviously available at the right places of the world wide fucked web.</description>
      <dc:subject>Linux, News, Systems Geekness</dc:subject>
      <dc:date>2008-10-14T02:51:00+01:00</dc:date>
    </item>

    <item>
      <title>Check out how the net works</title>
      <link>http://www.geektips.org/index.php/site/check_out_how_the_net_works/</link>
      <guid>http://www.geektips.org/index.php/site/check_out_how_the_net_works/#When:18:17:00Z</guid>
      <description>Ars did it : &#8220;How the &#8216;Net works: an introduction to peering and transit&#8221; How the &#8216;Net works: an introduction to peering and transit by Rudolph van der Berg. Bend !</description>
      <dc:subject>News, Security, Systems Geekness</dc:subject>
      <dc:date>2008-10-13T18:17:00+01:00</dc:date>
    </item>

    
    </channel>
</rss>