<?xml version="1.0" encoding="utf-8"?>
<feed xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom">
  <title>Mihail Stoynov's blog!</title>
  <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/" />
  <link rel="self" href="http://mihail.stoynov.com/blog/SyndicationService.asmx/GetAtom" />
  <icon>favicon.ico</icon>
  <updated>2010-04-24T20:29:43.83075+03:00</updated>
  <author>
    <name>Mihail Stoynov</name>
  </author>
  <subtitle>Surrender your ego</subtitle>
  <id>http://mihail.stoynov.com/blog/</id>
  <generator uri="http://dasblog.info/" version="2.3.9074.18820">DasBlog</generator>
  <entry>
    <title>Java 7 presentation</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2010/04/24/Java7Presentation.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,6fd8b670-6637-4ced-8602-69d93e25026b.aspx</id>
    <published>2010-04-24T20:27:40.01825+03:00</published>
    <updated>2010-04-24T20:29:43.83075+03:00</updated>
    <author>
      <name>mihail.stoynov</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
This is a presentation I co-presented with Svetlin Nakov:
</p>
        <p>
          <a href="http://mihail.stoynov.com/works/presentations/java7/Java-7-New-Features-BGOUG-Stoynov-Nakov.pptx">Presentation</a>
          <br />
          <a href="http://mihail.stoynov.com/works/presentations/java7/Java-7-New-Features-BGOUG-Stoynov-Nakov.(NetBeans.6.9Beta.demos).zip">NetBeans
6.9Beta demos</a>
        </p>
        <img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=6fd8b670-6637-4ced-8602-69d93e25026b" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Review: Up in the Air</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2010/03/03/ReviewUpInTheAir.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,25753155-7a95-40b6-93fc-58c4e7e2d646.aspx</id>
    <published>2010-03-03T16:32:30.6495+02:00</published>
    <updated>2010-03-03T16:32:30.6495+02:00</updated>
    <author>
      <name>mihail.stoynov</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <img style="display: inline; margin: 10px" src="http://static3.nanoset.net/assets/posters/big/21/18/11a799d5f5a87fee4f5146c8c54826b5a42cefc2/Up.In.The.Air.2009.DvDScR.PROPER.XViD-nDn.jpg" align="left" />Long
time no write. But no time for small talk. 
</p>
        <p>
Currently (unfortunately I’ll upload the article later) I'm watching "Up in the
air". It's smart, funny, sad, moralistic. It's so good, it's deep, well made.
So inspirational.
</p>
        <p>
It's a real-life movie. Go watch it.
</p>
        <p>
        </p>
        <p>
        </p>
        <p>
When I read what I wrote it sounds stupid. But the experience made me say it.
</p>
        <img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=25753155-7a95-40b6-93fc-58c4e7e2d646" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Testing Qumana</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2009/11/27/TestingQumana.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,3f084ad9-bd84-4ab4-8527-884d67226c2c.aspx</id>
    <published>2009-11-27T14:15:24.1875+02:00</published>
    <updated>2009-11-27T14:15:24.1875+02:00</updated>
    <author>
      <name>mihail.stoynov</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Test
</p>
        <p>
        </p>
        <p>
          <img height="515" style="margin: 5px" width="603" alt="" src="http://mihail.stoynov.com/blog/content/binary/ecto.png" />
        </p>
        <img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=3f084ad9-bd84-4ab4-8527-884d67226c2c" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Microsoft Excel max number of columns</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2009/11/25/MicrosoftExcelMaxNumberOfColumns.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,142c074c-6c68-4023-8c1b-e20ff6537519.aspx</id>
    <published>2009-11-25T13:24:39.171+02:00</published>
    <updated>2009-11-25T13:35:47.640625+02:00</updated>
    <author>
      <name>mihail.stoynov</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">The last column in Excel 2007 is XFD:<br /><br /><img src="http://mihail.stoynov.com/blog/content/binary/xfd.png" border="1" /><br /><br />
What number is that? 
<br /><br />
XFD =<br />
X*26^2 + F*26^1 + D*26^0 = 
<br />
24*26*26 + 6*26 + 4 =<br />
16 224 + 156 + 4 =<br />
16 384 = 2^14<br /><br />
So Excel uses 14 bits for columns which is odd, but I guess they use the other 2 bits
for something else.<br /><br />
Also the base-26 numerical system (26 letters in English language) is pretty odd too,
but I guess this is a legacy issue.<br /><img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=142c074c-6c68-4023-8c1b-e20ff6537519" /></div>
    </content>
  </entry>
  <entry>
    <title>Wikipedia is there when you need it — now it needs you.</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2009/11/25/WikipediaIsThereWhenYouNeedItNowItNeedsYou.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,f5f139b1-0b8d-46a1-b176-b7718cb79c2c.aspx</id>
    <published>2009-11-25T11:19:00+02:00</published>
    <updated>2009-11-25T13:23:57.71875+02:00</updated>
    <category term="rulez" label="rulez" scheme="http://mihail.stoynov.com/blog/CategoryView,category,rulez.aspx" />
    <author>
      <name>mihail.stoynov</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Wikipedia is the single most useful web site on the internet. I don't spend a single
day without using it (the only other that applies is Google). 
</p>
        <p>
Wikimedia (the non-profit organization that runs Wikipedia) lives on donations mostly.
This year they would spend $9m and they may not be able to raise that much. Here’s
the report for the last year:
</p>
        <p>
          <a href="http://mihail.stoynov.com/blog/content/binary/WindowsLiveWriter/Wikipediaistherewhenyouneeditnowitneeds_BB7C/wikimedia.finances_2.png">
            <img title="wikimedia.finances" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="265" alt="wikimedia.finances" src="http://mihail.stoynov.com/blog/content/binary/WindowsLiveWriter/Wikipediaistherewhenyouneeditnowitneeds_BB7C/wikimedia.finances_thumb.png" width="305" border="0" />
          </a>
        </p>
        <p>
Source: <a title="http://upload.wikimedia.org/wikipedia/foundation/2/26/WMF_20072008_Annual_report._high_resolution.pdf" href="http://upload.wikimedia.org/wikipedia/foundation/2/26/WMF_20072008_Annual_report._high_resolution.pdf">http://upload.wikimedia.org/wikipedia/foundation/2/26/WMF_20072008_Annual_report._high_resolution.pdf</a></p>
        <p>
They want to keep Wikipedia ad-free so go help here: <a title="http://wikimediafoundation.org/wiki/Donate" href="http://wikimediafoundation.org/wiki/Donate">http://wikimediafoundation.org/wiki/Donate</a></p>
        <img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=f5f139b1-0b8d-46a1-b176-b7718cb79c2c" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Review: Dell BH200</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2009/11/20/ReviewDellBH200.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,3cae944f-eddc-4c29-b943-68a53a7875c8.aspx</id>
    <published>2009-11-20T16:58:37.6600901+02:00</published>
    <updated>2009-11-20T17:40:20.4225671+02:00</updated>
    <author>
      <name>mihail.stoynov</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Some years ago I wanted to buy Bluetooth headphones. Then my phone (Sony Ericsson
K750i) did not support the A2DP profile, so I gave up. My next phone (Nokia E71) had
such an aghast audio player that I did not have the mood to use it as an mp3 player.
</p>
        <p>
Android’s audio player is pretty nice and as a whole the OS is a lot of fun to play
with. I recently got a <a href="http://mihail.stoynov.com/blog/2009/11/03/InstallSnowLeopardMacOSX106FromAUSB.aspx" target="_blank">8GB
SD card</a>, so I have the storage to put a lot of music onto.
</p>
        <p>
Few days ago I was wandering, searching for a car charger for miniUSB (for my phone)
and by the way asking for bluetooth headphones too.
</p>
        <p>
In one of the shops they offered me these:
</p>
        <p>
          <a href="http://mihail.stoynov.com/blog/content/binary/WindowsLiveWriter/ReviewDellBH200_EEBF/dell%20bh200_2.jpg">
            <img title="dell bh200" style="border-right: 0px; border-top: 0px; display: inline; margin-left: 0px; border-left: 0px; margin-right: 0px; border-bottom: 0px" height="234" alt="dell bh200" src="http://mihail.stoynov.com/blog/content/binary/WindowsLiveWriter/ReviewDellBH200_EEBF/dell%20bh200_thumb.jpg" width="310" align="left" border="0" />
          </a>
        </p>
        <p>
They were amazingly comfortable. I think I could jog with them. I tried them with
the phone and they produced a pretty good sound. The charger was miniUSB just like
my phone’s.
</p>
        <p>
The good thing is that they’re foldable and have a lot of controls (next, previous,
volume up/down, start, pause). And the price was amazing  - €35, so I got them.<a href="http://mihail.stoynov.com/blog/content/binary/WindowsLiveWriter/ReviewDellBH200_EEBF/dell%20bh200%20folded_2.jpg"><img title="dell bh200 folded" style="border-right: 0px; border-top: 0px; display: inline; margin-left: 0px; border-left: 0px; margin-right: 0px; border-bottom: 0px" height="239" alt="dell bh200 folded" src="http://mihail.stoynov.com/blog/content/binary/WindowsLiveWriter/ReviewDellBH200_EEBF/dell%20bh200%20folded_thumb.jpg" width="317" align="right" border="0" /></a></p>
        <p>
They last more than my phone can play music, so I’d say that the battery life is satisfactory.
The good thing is that they have a mic and can be used as a handsfree too.
</p>
        <p>
The most amazing thing is that they can play while charging, which is amazing and
since my laptop has bluetooth, I can use them to listen music from the laptop too.
</p>
        <p>
While not listening, the headphones hang on the neck without making me uncomfortable.
</p>
        <p>
The only issue I have is that somehow the headphones cannot switch easily from media
to audio mode, so I cannot talk while listening.
</p>
        <p>
Highly recommended.
</p>
        <img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=3cae944f-eddc-4c29-b943-68a53a7875c8" />
      </div>
    </content>
  </entry>
  <entry>
    <title>I so very much hate Windows Live Writer</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2009/11/18/ISoVeryMuchHateWindowsLiveWriter.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,a340f17c-5daf-4e9e-86d8-12a685b605b2.aspx</id>
    <published>2009-11-18T19:17:25.98+02:00</published>
    <updated>2009-11-18T20:05:41.1835+02:00</updated>
    <category term="Sucks" label="Sucks" scheme="http://mihail.stoynov.com/blog/CategoryView,category,Sucks.aspx" />
    <author>
      <name>mihail.stoynov</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">I thought <a href="http://mihail.stoynov.com/blog/2009/05/10/TestBlogPostWithWindowsLiveWriter.aspx">I
had found the holy grail of blog-writing interface</a> and that it's name is WLW (Windows
Live Writer).<br /><br />
WLW does a lot of things (check out the link) but it crashes a lot, it's so very slow,
and it requires a VM.<br /><br />
I'm looking for an alternative. Please tell me one if you know.<br /><br /><p></p><img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=a340f17c-5daf-4e9e-86d8-12a685b605b2" /></div>
    </content>
  </entry>
  <entry>
    <title>Virtual machines and the HDD issue</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2009/11/18/VirtualMachinesAndTheHDDIssue.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,9187ece9-c64a-49f5-888a-54fb71800334.aspx</id>
    <published>2009-11-18T14:28:00+02:00</published>
    <updated>2009-11-18T16:51:57.824125+02:00</updated>
    <category term="Apple" label="Apple" scheme="http://mihail.stoynov.com/blog/CategoryView,category,Apple.aspx" />
    <category term="rulez" label="rulez" scheme="http://mihail.stoynov.com/blog/CategoryView,category,rulez.aspx" />
    <author>
      <name>mihail.stoynov</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
There’s this common issue with virtual machines – <em>the</em><em>HDD deficiency</em> (I
may have coined a new term). You see contemporary processors are so fast and allow
virtualization that they can easily handle the load. The harddrives in contrast cannot
handle load coming from different entities, that is, harddrives are bad in multitasking.
It’s just to expensive to switch between tasks.
</p>
        <p>
Most modern operating systems have a mechanism called commonly <a href="http://en.wikipedia.org/wiki/Paging" target="_blank"><em>paging</em></a>.
It refers to the process of moving data from the limited main memory (ram) to a special
(most often) file on the disk. The main memory is gazillion  times faster than
a harddrive, but limited, ergo the need for more <em>virtual memory</em>. Weirdly
enough most contemporary OSes start using the page file way before they reach the
limit of the physical memory (actual ram).
</p>
        <p>
Contemporary machines can handle a lot of memory (2 or 4 gb for example). So why use
a page file?
</p>
        <p>
Switching the page file can be done like this:
</p>
        <p>
          <a href="http://mihail.stoynov.com/blog/content/binary/WindowsLiveWriter/VirtualmachinesandtheHDDissue_E7A2/vm.memory.print_2.png">
            <img src="http://mihail.stoynov.com/blog/content/binary/howto.switch.off.paging.in.xp.part1.png" />
            <br />
          </a>
        </p>
        <p>
then do that:
</p>
        <p>
          <a href="http://mihail.stoynov.com/blog/content/binary/WindowsLiveWriter/VirtualmachinesandtheHDDissue_E7A2/howto.switch.off.paging.in.xp.part2_2.png">
            <img title="howto.switch.off.paging.in.xp.part2" style="border-width: 0px; display: inline;" alt="howto.switch.off.paging.in.xp.part2" src="http://mihail.stoynov.com/blog/content/binary/WindowsLiveWriter/VirtualmachinesandtheHDDissue_E7A2/howto.switch.off.paging.in.xp.part2_thumb.png" border="0" height="305" width="644" />
          </a>
        </p>
        <p>
This is the memory print of my vm:
</p>
        <table border="0" cellpadding="2" cellspacing="0" height="286" width="552">
          <tbody>
            <tr>
              <td align="left" valign="top" width="200">
idle:<a href="http://mihail.stoynov.com/blog/content/binary/WindowsLiveWriter/VirtualmachinesandtheHDDissue_E7A2/vm.memory.print_2.png"><img title="vm.memory.print" style="border-width: 0px; display: inline;" alt="vm.memory.print" src="http://mihail.stoynov.com/blog/content/binary/WindowsLiveWriter/VirtualmachinesandtheHDDissue_E7A2/vm.memory.print_thumb.png" border="0" height="241" width="244" /></a></td>
              <td valign="top" width="223">
with 3 browsers, outlook, word:<a href="http://mihail.stoynov.com/blog/content/binary/WindowsLiveWriter/VirtualmachinesandtheHDDissue_E7A2/vm.memory.print.with.load_2.png"><br /><img title="vm.memory.print.with.load" style="border-width: 0px; display: inline;" alt="vm.memory.print.with.load" src="http://mihail.stoynov.com/blog/content/binary/WindowsLiveWriter/VirtualmachinesandtheHDDissue_E7A2/vm.memory.print.with.load_thumb.png" border="0" height="240" width="244" /></a></td>
            </tr>
          </tbody>
        </table>
        <p>
 
</p>
        <p>
I think the handling of my machine (host os)  is better now. Let’s see if the
impression persists…
</p>
        <img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=9187ece9-c64a-49f5-888a-54fb71800334" />
      </div>
    </content>
  </entry>
  <entry>
    <title>How is it that all laptops are with DDR2, only Apple goes to DDR3?</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2009/11/18/HowIsItThatAllLaptopsAreWithDDR2OnlyAppleGoesToDDR3.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,3c95dca7-449a-423f-b0cb-9e0708bf5c76.aspx</id>
    <published>2009-11-18T13:28:41.08975+02:00</published>
    <updated>2009-11-18T13:29:10.730375+02:00</updated>
    <author>
      <name>mihail.stoynov</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Most currently sold laptops are with DDR2 memory. Even the high-end ones, like Sony
Vaio. It would seem that only Apple sells its current line of laptops (the aluminum
body ones) with DDR3.
</p>
        <p>
Why is that? Why isn’t there other high-end laptop with DDR3? It would only make sense
to make it faster with DDR3. Or maybe it wouldn’t make it faster? I checked it out.
</p>
        <p>
This is an excerpt from a post in the forum of macrumors.com
</p>
        <blockquote>
          <p>
The polymac has 2gb of DDR2 @667mhz much like it's predecessors. The aluminum mac
has 2gb of DDR3 @1067mhz. At first glance you might say WOW! 1067 is a lot more megahertz
than 667! I gotta have that. 
</p>
          <p>
This doesn't figure in 3 things. 
</p>
          <p>
1. DDR3 increases speed at the penalty of higher latency. In real life terms, lets
simplify it a lot and say that DDR2 and DDR3 are cars, and that the top speed of DDR2
in this case is 66 mph and the top speed of DDR3 is 106mph. But DDR2 has lower latency
than DDR3, so lets say DDR2 only has to drive 5 miles and DDR3 has to drive 8 miles.
So if the speed were the same it would take DDR3 longer cause it has a longer way
to drive. DDR3 makes up for it by driving faster, and as you can see the faster you
can get DDR3 the less difference the latency makes (i.e. that 3 miles makes less over
all difference when you drive 160mph i.e. DDR3 1600mhz (no not available on macbook))
What this does mean though is that at lower speeds of DDR3, there isn't much benefit
as the extra latency makes the performance very similar. 
</p>
          <p>
2. According to others you can upgrade your ram to DDR2 800mhz 
<br /><a href="http://forums.macrumors.com/showthread.php?t=651330&amp;highlight=ddr2+800">http://forums.macrumors.com/showthread.php?t=651330&amp;highlight=ddr2+800</a><br /><a href="http://discussions.apple.com/thread.jspa?threadID=1877953&amp;tstart=0">http://discussions.apple.com/thread.jspa?threadID=1877953&amp;tstart=0</a></p>
          <p>
Now let's go back to point 1. Now if DDR2 can go 80mph over 5 miles vs. DDR3 going
106mph over 8 miles, there's probably even less of a difference. 
</p>
          <p>
3. The last and most important thing to remember is that computer performance is tied
to all the hardware, and is bottlenecked by some things far more than others. In some
benchmarking between DDR2 800mhz and DDR3 1067mhz on a PC with virtually identical
hardware otherwise, the bandwidth increased from 6146 to 6613... or about 10%. Which
sounds alot faster. But then they performed other benchmarks, such as super pi, which
showed that 
<br />
the DDR2 800mhz finished in 46.08 seconds and the DDR3 1067mhz finished in 45.11 seconds.
The difference is 0.97 seconds or a whopping 2.1% performance boost.
</p>
        </blockquote>
        <p>
The guy even supplied a lot of benchmarks:
</p>
        <blockquote>
          <p>
To further illustrate this here are some benchmarks with the old polymacbook vs the
new aluminum macbook 
</p>
          <p>
            <a href="http://eshop.macsales.com/shop/Memory_Benchmark/Apple_MacBook/">http://eshop.macsales.com/shop/Memory_Benchmark/Apple_MacBook/</a>
          </p>
          <p>
To better demostrate apples to apples, (no pun intended we'll look at the 2.4 ghz
macbook aluminum vs the 2.4ghz polycarbonate) in photoshop CS3 
</p>
          <p>
Lower time is better 
<br />
Macbook Aluminum 2GB ram 99.34 
<br />
Polucarbonate macbook 2GB ram 107.63 
</p>
          <p>
which shows that the macbook aluminum is faster 1067 vs 667 here. 
</p>
          <p>
But what happens when you upgrade to a 320gb 7200 rpm drive? 
</p>
          <p>
Macbook aluminum 2gb ram stock 99.34 
<br />
Macbook aluminum 2gb ram 320gb 92.28 
</p>
          <p>
how about when we upgrade the ram? 
</p>
          <p>
Macbook aluminum 4gb ram stock 79.06 
<br />
Macbook aluminum 4gb ram 320gb 77.19 
<br />
Polycarbonate macbook 4gb 78.41
</p>
        </blockquote>
        <p>
Then the guy continues with comparing prices of the two macbooks.
</p>
        <p>
Source: <a title="http://forums.macrumors.com/archive/index.php/t-654277.html" href="http://forums.macrumors.com/archive/index.php/t-654277.html">http://forums.macrumors.com/archive/index.php/t-654277.html</a></p>
        <p>
 
</p>
        <p>
Since this is a forum post, one has to check the validity of the statements. So I
went to wikipedia. This is what I found out:
</p>
        <blockquote>
          <p>
CAS (column address strobe) latency (CL) is the delay time which elapses between the
moment a memory controller tells the memory module to access a particular column of
memory on a DRAM memory module, and the moment the data from given array location
is available on the module's output pins. 
</p>
          <p>
In asynchronous DRAM, the interval is specified in nanoseconds. In synchronous DRAM,
the interval is specified in clock cycles, and must be multiplied by the cycle time
(i.e. divided by the clock frequency in GHz) to convert to nanoseconds.
</p>
          <p>
[…]
</p>
          <p>
Because they have multiple internal banks, and data can be output from one during
access latency for another, the output pins can be kept 100% busy regardless of the
CAS latency; the maximum attainable bandwidth is determined solely by the clock speed.
However, that only applies if the data to be read is known long enough in advance;
if the data being accessed is not predictable, the latency matters. For a completely
unknown memory access, the relevant latency is the time to close any open row, plus
the time to open the desired row, followed by the CAS latency to read data from it.
Due to spatial locality, however, it is common to access several words in the same
row. In this case, the CAS latency alone determines the elapsed time.
</p>
          <p>
[…] Note that memory rated for a certain maximum speed can always be operated at a
lower clock rate. The CAS latency can be set lower in such a case. […]
</p>
          <p>
[Then there’s a table showing how DDR3@1066Mhz has a CAS latency of 7 cycles and DD2@666Mhz
– of 5 cycles]
</p>
        </blockquote>
        <p>
Source: <a title="http://en.wikipedia.org/wiki/Memory_latency" href="http://en.wikipedia.org/wiki/Memory_latency">http://en.wikipedia.org/wiki/Memory_latency</a></p>
        <p>
So the guy in the forum seems to be correct.
</p>
        <p>
One thing remains unfolded though – why is the latency higher with higher speed? This
is not explained in either the wiki, or the forum post. And unfortunately I don’t
have the time to investigate.
</p>
        <p>
If someone knows, please share.
</p>
        <p>
This brings me to the reason I investigated all that - I have a spare 2x 1GB DDR@1066
Mhz:
</p>
        <p>
          <a href="http://mihail.stoynov.com/blog/content/binary/WindowsLiveWriter/HowisitthatalllaptopsarewithDDR2onlyAppl_BD82/2009-11-17-21.04.30_176.0_4.0_41.0_2.jpg">
            <img title="2009-11-17-21.04.30_176.0_4.0_41.0" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="184" alt="2009-11-17-21.04.30_176.0_4.0_41.0" src="http://mihail.stoynov.com/blog/content/binary/WindowsLiveWriter/HowisitthatalllaptopsarewithDDR2onlyAppl_BD82/2009-11-17-21.04.30_176.0_4.0_41.0_thumb.jpg" width="244" border="0" />
          </a>
        </p>
        <p>
(I guess no one will want them because only Macbook guys have machines with DDR3 and
the minimum for them is 2GB)
</p>
        <p>
I have high hopes for the 160GB-5400rpm-Hitachi harddrive though.
</p>
        <p>
          <a href="http://mihail.stoynov.com/blog/content/binary/WindowsLiveWriter/HowisitthatalllaptopsarewithDDR2onlyAppl_BD82/2009-11-17-21.04.21_175.0_3.0_40.0_2.jpg">
            <img title="2009-11-17-21.04.21_175.0_3.0_40.0" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="184" alt="2009-11-17-21.04.21_175.0_3.0_40.0" src="http://mihail.stoynov.com/blog/content/binary/WindowsLiveWriter/HowisitthatalllaptopsarewithDDR2onlyAppl_BD82/2009-11-17-21.04.21_175.0_3.0_40.0_thumb.jpg" width="244" border="0" />
          </a>
        </p>
        <p>
If someone is interested, please let me know.
</p>
        <img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=3c95dca7-449a-423f-b0cb-9e0708bf5c76" />
      </div>
    </content>
  </entry>
  <entry>
    <title>10 items or less</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2009/11/12/10ItemsOrLess.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,5197a467-099d-4266-8554-0d21f3ef3631.aspx</id>
    <published>2009-11-12T20:06:51.171875+02:00</published>
    <updated>2009-11-12T20:10:16.90625+02:00</updated>
    <author>
      <name>mihail.stoynov</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <a href="http://mihail.stoynov.com/blog/content/binary/WindowsLiveWriter/10itemsorless_11ADA/MV5BMTY2NjY2NzQ0MF5BMl5BanBnXkFtZTcwMTEwNjI0MQ@@._V1._SX265_SY400__2.jpg">
            <img title="MV5BMTY2NjY2NzQ0MF5BMl5BanBnXkFtZTcwMTEwNjI0MQ@@._V1._SX265_SY400_" style="border-right: 0px; border-top: 0px; display: inline; margin-left: 0px; border-left: 0px; margin-right: 0px; border-bottom: 0px" height="244" alt="MV5BMTY2NjY2NzQ0MF5BMl5BanBnXkFtZTcwMTEwNjI0MQ@@._V1._SX265_SY400_" src="http://mihail.stoynov.com/blog/content/binary/WindowsLiveWriter/10itemsorless_11ADA/MV5BMTY2NjY2NzQ0MF5BMl5BanBnXkFtZTcwMTEwNjI0MQ@@._V1._SX265_SY400__thumb.jpg" width="163" align="left" border="0" />
          </a>
        </p>
        <p>
Watching a movie has always made me want to share something and there’s always something
obstructing me from doing so.
</p>
        <p>
This time it’s different. It’s called 10 items or less. It has amazing music, it has
an amazing chick, it has Morgan Freeman.
</p>
        <p>
It’s a movie about how even the most mundane things can make one happy. It’s about
enjoying life. This time I think I got it – it’s about enjoying life. IMDB says it’s
about “<a href="http://www.imdb.com/title/tt0499603/" target="_blank">how a positive
attitude can change anything</a>”, so I’m close.
</p>
        <p>
There are some amazing moments, for example when Morgan Freeman follows this supermarket
manager (an old Hispanic man) walking in small step a bit bent over.
</p>
        <p>
Again a quote from IMDB – will “make you clutch your sides with laughter. It’s a rare
masterpiece”. Go watch it.
</p>
        <img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=5197a467-099d-4266-8554-0d21f3ef3631" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Hacking the site of the cyber-crime fighters…</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2009/11/11/HackingTheSiteOfTheCybercrimeFighters.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,087c96d4-0e4d-45cf-9391-e707a1ea87a7.aspx</id>
    <published>2009-11-11T14:01:00+02:00</published>
    <updated>2009-11-11T19:16:33.1775+02:00</updated>
    <category term="rulez" label="rulez" scheme="http://mihail.stoynov.com/blog/CategoryView,category,rulez.aspx" />
    <author>
      <name>mihail.stoynov</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Ain’t that ironic:
</p>
        <p>
          <a href="http://mihail.stoynov.com/blog/content/binary/WindowsLiveWriter/Hackingthesiteofthecybercrimefighters_E174/cybercrime.bg%202009-11-11%20at%2015.54.39_2.png">
            <img title="cybercrime.bg 2009-11-11 at 15.54.39" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="563" alt="cybercrime.bg 2009-11-11 at 15.54.39" src="http://mihail.stoynov.com/blog/content/binary/WindowsLiveWriter/Hackingthesiteofthecybercrimefighters_E174/cybercrime.bg%202009-11-11%20at%2015.54.39_thumb.png" width="793" border="0" />
          </a>
        </p>
        <p>
          <a href="http://cybercrime.bg">http://cybercrime.bg</a> is the web address of a special
division that fights cyber crimes (da!). It is a division of the part of police that
fights with organized crime.
</p>
        <p>
Screenshot taken 2009-11-11 at 15.54.39
</p>
        <p>
This could only happen in Bulgaria.
</p>
        <p>
The site should look like this:
</p>
        <p>
          <a href="http://mihail.stoynov.com/blog/content/binary/WindowsLiveWriter/Hackingthesiteofthecybercrimefighters_E174/cybercrime.bg%20real%202009-11-11%20at%2016.04.53_2.png">
            <img title="cybercrime.bg real 2009-11-11 at 16.04.53" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="755" alt="cybercrime.bg real 2009-11-11 at 16.04.53" src="http://mihail.stoynov.com/blog/content/binary/WindowsLiveWriter/Hackingthesiteofthecybercrimefighters_E174/cybercrime.bg%20real%202009-11-11%20at%2016.04.53_thumb.png" width="677" border="0" />
          </a>
        </p>
        <p>
Look at this zoomed part of the last screenshot:
</p>
        <p>
          <a href="http://mihail.stoynov.com/blog/content/binary/WindowsLiveWriter/Hackingthesiteofthecybercrimefighters_E174/Screen%20shot%202009-11-11%20at%2016.22.46_2.png">
            <img title="Screen shot 2009-11-11 at 16.22.46" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="449" alt="Screen shot 2009-11-11 at 16.22.46" src="http://mihail.stoynov.com/blog/content/binary/WindowsLiveWriter/Hackingthesiteofthecybercrimefighters_E174/Screen%20shot%202009-11-11%20at%2016.22.46_thumb.png" width="811" border="0" />
          </a>
        </p>
        <p>
No comment
</p>
        <p>
          <strong>Update</strong>: the chief of cyber crime division <a href="http://news.ibox.bg/news/id_5484038" target="_blank">denies</a> the
site being hacked.
</p>
        <img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=087c96d4-0e4d-45cf-9391-e707a1ea87a7" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Xmarks</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2009/11/10/Xmarks.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,f738e576-d94c-4ff8-a7cd-a36fad3b6371.aspx</id>
    <published>2009-11-10T15:49:00+02:00</published>
    <updated>2009-11-10T17:50:32.64625+02:00</updated>
    <category term="rulez" label="rulez" scheme="http://mihail.stoynov.com/blog/CategoryView,category,rulez.aspx" />
    <author>
      <name>mihail.stoynov</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <a href="http://xmarks.com/" target="_blank">Xmarks</a> is the name of an old plug-in
for Firefox called Foxmarks. Foxmarks is used to synchronize bookmarks to/from different
browsers. When the guys made plug-ins for different browsers I guess they changed
the name. Now it supports IE, Firefox, Safari, and soon Chrome.
</p>
        <p>
Anyway it’s super useful, it’s free and it’s relatively stable. When you somehow override
the new bookmarks with an old version (I happens a lot) it’s easy to restore from
the browser (Firefox backs up bookmarks regularly).
</p>
        <p>
I’m using one account for me and it’s ultra logical to create one for the office –
now everyone has all the new links.
</p>
        <p>
Also if someone is too paranoid, the plug-in allows to use a custom (own) server,
which, if I remember correctly, was just a Web-DAV (or FTP) directory with some privileges,
but when I tried it (a couple of years ago) it didn’t work that well.
</p>
        <img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=f738e576-d94c-4ff8-a7cd-a36fad3b6371" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Oracle on linux: changing the hostname messes up with Oracle</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2009/11/05/OracleOnLinuxChangingTheHostnameMessesUpWithOracle.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,45e75ccf-f933-4115-9ea0-5b3284a07b02.aspx</id>
    <published>2009-11-05T17:05:00+02:00</published>
    <updated>2009-11-05T19:06:12.591375+02:00</updated>
    <category term="Sucks" label="Sucks" scheme="http://mihail.stoynov.com/blog/CategoryView,category,Sucks.aspx" />
    <author>
      <name>mihail.stoynov</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
There’s this Oracle 10g R2 database. It’s installed on SUSE. The version of the SUSE
as far as I know is 11.1. We had to change the hostname of the linux machine (some
corporate standards). Changing the hostname made Oracle unusable. It started on startup,
but could open port 1521 and still thought it is on the old hostname. “/etc/init.d/oracle-xe
status” said things are not working, even though the processes started without an
error. port 1521 was not opened.
</p>
        <p>
It was strange that the startup script didn’t say something is wrong. It was strange
that the db could be used locally by oracle’s command-line tools ( I guess via pipes
since the port hadn’t been opened).I tried Google the issue, but fruitlessly. Then
I tried to figure out where did Oracle keep the old hostname, but the directory structure
of Oracle is not that easy to understand. Being desperate I tried searching the whole
hard-drive for a specific string:
</p>
        <blockquote>
          <p>
grep –r “old_hostname” /
</p>
        </blockquote>
        <p>
After 24 hours I gave up.
</p>
        <h3>Solution 1
</h3>
        <p>
Being desperate and developing on another temporary oracle server, we decided to give
up corporate naming strategies and to return the old hostname – IT WORKED.
</p>
        <h3>Solution 2
</h3>
        <p>
By chance I saw that the old hostname was used in tnsnames.ora and listener.ora. Being
stubborn I changed the hostname to the one we wanted to use and edited both .ora files.
It worked.
</p>
        <p>
I hate Oracle.
</p>
        <img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=45e75ccf-f933-4115-9ea0-5b3284a07b02" />
      </div>
    </content>
  </entry>
</feed>