<< Back The truth about my life

Mon, 04 Jun 2007

Since my last GNOME desktop passed away with the laptop I've been using, that is since I started to work for Cellenity, again that is since 1st Feb, I was stuck with Windows XP on the Compaq nx7010. I've been happily hibernating and suspending with it, relying on excellent (!) hardware support of Windows XP. One day it refused to wake up, and on another reboot my single NTFS partition was partially screwed up. Nothing important was lost, thanks to Subversion and DVD-R -- you know that backups are must-have. I don't know what was going on, and I just didn't care. This laptop dude belongs to my employer, but god only knows where the hell its installation CDs are. And I'm obviously not a software pirate, I don't keep illegal copies of Micro$oft crap. So I bite the bullet: I got Ubuntu Feisty running in half an hour. Actually it was running before I got it installed. It would have taken at least 3 hours to get a usable Windows XP, and please don't talk to me about Vista, it's a disaster on itself.

Okay I'm getting to it. I use Evolution on Ubuntu and I found myself missing some features of Outlook. It was nicely able to group mail messages by a very-human date blocks, like today, yesterday, last week, two weeks, last month and so on. Here is your tip to get something like this in Evo. Get to search folders window using the Edit/Search folders menu item. Click the Add button on that window, and create something like this:

How to get relevant mail in Evo

For the lazy guy, here is my ~/.evolution/mail/searches.xml file:

<?xml version="1.0"?>
<filteroptions>
  <ruleset>
    <rule grouping="any" threading="all" source="incoming">
      <title>Relevant mail</title>
      <partset>
        <part name="sent-date">
          <value name="date-spec-type" type="option" value="after"/>
          <value name="versus" type="datespec">
            <datespec type="2" value="604800"/>
          </value>
        </part>
        <part name="status">
          <value name="match-type" type="option" value="is not"/>
          <value name="flag" type="option" value="Seen"/>
        </part>
        <part name="status">
          <value name="match-type" type="option" value="is"/>
          <value name="flag" type="option" value="Flagged"/>
        </part>
        <part name="label">
          <value name="label-type" type="option" value="is"/>
          <value name="versus" type="label" value="todo"/>
        </part>
      </partset>
      <sources with="specific">
        <folder uri="email://local@local/Inbox"/>
        <folder uri="email://local@local/Sent"/>
      </sources>
    </rule>
  </ruleset>
</filteroptions>

Tue, 24 Apr 2007

Doruk CVS dizinlerini find ve rm kullanarak topluca silmenin yolunu yazmış, Can Burak da xargs eklemiş ve daha az sistem yükü oluşturan bir yolu göstermiş.

CVS, bir depodan edinilen (checkout) kopyanın içerisindeki her dizine bu dosyaların nereden geldiği ve her birinin hangi sürüme ait olduğu gibi bilgileri kaydettiği 3 dosyayı barındıran CVS adındaki dizinleri oluşturuyor. Sorunu oluşmadan çözmek lazım; eğer bu dizinleri istemiyorsanız cvs checkout yerine cvs export kullanabilirsiniz.

Sun, 07 Jan 2007

Sisteminizde eli yüzü düzgün yazıtipleri yüklüyse ve GNOME masaüstü ortamınızdaki yazıtipleri LCD ekranınızda Windows altındaki aynı yazıtiplerinden daha çirkin görünüyorsa, özellikle de benim gibi üşenip uğraşmadıysanız ve öntanımlı LCD ayarları ile kullanıyorsanız Joe Shaw size yardım edebilir.

Joe diyor ki, sisteminizdeki freetype font hinting ayarını slight yapınca daha iyi görünüyormuş. Yapalım, görelim:

Ve sonuçlar:

Önce (full hinting)
Sonra (slight hinting)

Son olarak, eğer Firefox kullanıyorsanız, kendisi font rendering işlerinde Pango kullanmadığı için bu ayarları pek dinlemiyormuş. Şunun gibi birşeyleri ~/.fonts.conf dosyanıza yapıştırmanız gerek:

<?xml version="1.0"?>
<fontconfig>
    <!-- Need this to override fontconfig/freetype defaults for Firefox -->
    <match target="font">
        <edit mode="assign" name="rgba">
            <const>rgb</const>
        </edit>
    </match>
    <match target="font">
        <edit mode="assign" name="hinting">
            <bool>true</bool>
        </edit>
    </match>
    <match target="font">
        <edit mode="assign" name="autohint">
            <bool>false</bool>
        </edit>
    </match>
    <match target="font">
        <edit mode="assign" name="hintstyle">
            <const>hintslight</const>
        </edit>
    </match>
    <match target="font">
        <edit mode="assign" name="antialias">
            <bool>true</bool>
        </edit>
    </match>
    <match target="font">
        <edit mode="assign" name="dpi">
            <double>96</double>
        </edit>
    </match>
</fontconfig>

Sun, 27 Nov 2005

Geçen ay bir arkadaşımın bilgisayarında görüp kurdum ve yararlı bir hadise olduğunu düşündüğüm için paylaşmak istedim.

World Community Grid IBM'in de destek olduğu dev bir Grid Computing uygulaması. Grid server'lar tarafından sağlanan küçük veri paketlerini bilgisayarınızın işlemci gücünü kullanarak işliyor ve daha anlamlı veriler haline getiriyor.

Bu sayede Human Proteome Folding Project ve FightAIDS@Home (UNAIDS tarafından destekleniyor) gibi projelere kullanmadığınız işlemci gücünü bağışlayarak önemli destek sağlayabilirsiniz.

WCG Agent hem Windows, hem de Linux/Intel üzerine kolaylıkla kurulabiliyor. Neredeyse tamamen otomatik çalışıyor ve siz bilgisayarınızı kullanırken sizi rahatsız etmiyor. Centrino dizüstü bilgisayarların gereksiz aşırı ısınmasına neden olmuyor ve pilde çalışıyorsanız işlem yapmaktan vazgeçerek size yük olmuyor. Tek gereken katkınızın ölçülebilmesi için bir üye hesabı edinmeniz. Eğer isterseniz takımlardan birine katılabilir, tek bir üye hesabı altında birden fazla bilgisayardan gelen verilerin hesaplanmasını sağlayabilirsiniz.

Eğer isterseniz ekran koruyucu olarak da çalışıyor ve ekranda kayan anlamsız yazılardan ve garip şekillerden çok daha şık görünüyor.

Kullanın, kullandırın! İyi eğlenceler,

Wed, 24 Aug 2005

Bu günlük kaydını Necdet Yücel'in son günlük kaydındaki hatadan dolayı yazıyorum, yoksa pek blog yazasım yoktu.

Gezegen Linux'da düzgün görünmesine karşın, Liferea gibi yazılımların da Gezegen Linux'u düzgün takip edebilmesi için, eğer kullandığınız günlük yazılımı bu işi sizin için yapabilecek kadar akıllı değilse günlük kayıtlarınızın başlıklarında XML Entity olarak tabir edilen "&" karakterini "&amp;" olarak yazmanız gerekiyor.

İlgi, bilgi.

Tue, 31 May 2005

Here is the configuration I use for cpufreqd:

[General]
pidfile=/var/run/cpufreqd.pid
poll_interval=2
pm_type=acpi #(acpi, apm or pmu)
# Uncomment the following line to enable ACPI workaround (see cpufreqd.conf(5))
# acpi_workaround=1
verbosity=4 #(if you want a minimal logging set to 5)

[Profile]
name=hi_boost
minfreq=66%
maxfreq=100%
policy=performance

[Profile]
name=medium_boost
minfreq=33%
maxfreq=66%
policy=performance

[Profile]
name=lo_boost
minfreq=0%
maxfreq=33%
policy=powersave

#[Profile]
#name=boost_enough
#minfreq=33%
#maxfreq=100%
#policy=performance

[Profile]
name=lo_power
minfreq=0%
maxfreq=33%
policy=powersave

# conservative mode when not AC
[Rule]
name=conservative
#ac=off                   # (on/off)
battery_interval=0-100   
cpu_interval=0-40
profile=lo_boost

# need some power
[Rule]
name=lo_cpu_boost
#ac=off                   # (on/off)
battery_interval=0-100
cpu_interval=30-80
profile=medium_boost

# need big power (not if battery very low)
[Rule]
name=hi_cpu_boost
#ac=off                   # (on/off)
battery_interval=50-100
cpu_interval=70-100
profile=hi_boost

# full power when AC
#[Rule]
#name=AC_on
#ac=on                   # (on/off)
#profile=boost_enough

# full power when watching DVDs and not AC:
# this is the last rule and takes less
# precedence with respect to the others
[Rule]
name=dvd_watching
ac=off                   # (on/off)
battery_interval=0-100
programs=xine,mplayer,avidemux
cpu_interval=0-100
profile=hi_boost

About me

I'm Enver ALTIN, a software developer at Cellenity.

Calendar

June 2007
SuMoTuWeThFrSa
      1 2
3 4 5 6 7 8 9
10111213141516
17181920212223
24252627282930

Categories

/ (351)
  articles/ (1)
  books/ (7)
  coffee/ (1)
  debian/ (1)
  events/ (7)
  factsoflife/ (13)
  general/ (8)
  gnome/ (16)
  humor/ (21)
  lkd/ (8)
  management/ (1)
  mobile/ (1)
  mono/ (4)
  music/ (8)
  personal/ (34)
  politics/ (26)
  postgresql/ (4)
  programming/ (12)
  projects/ (2)
  technology/ (6)
  tips/ (6)
  travel/ (1)
  work/ (13)

Archives

Links

Popular

Talk slides

License

Creative Commons License
This work is licensed under a Creative Commons Attribution 2.5 License.

Miscellaneous

This site is built on the wonders of Pyblosxom, supposed to be W3C XHTML 1.0 and CSS 1.0 compliant, always handcoded using Vim. The server that hosts this site is powered by Debian GNU/Linux.
.O.
..O
OOO