Jim's Depositorythis code is not yet written |
help |
I was wondering if I needed to keep as many physical development machines or if I could just use virtual machines on my laptop and main desktop machine. I think I can certainly lose the P4 3GHz. It offers no real advantage over the Atom 330 1.6GHz.
I don't think I'll rely on the VirtualBox machine for Linux kernel work, but perhaps for mortal scale projects it will serve.
(pardon my confusing terminology: Compile time vs. Concurrent Jobs would have been a better graph title. i.e. make -j3 )
![]() The blue line is different. That is a different version of gcc so you can't directly compare the hardware with the others, but for developer experience you can make the comparison.
I guess the bottom line is that I still lust for a Core i7 machine but will hold off for the lower power versions coming in the fall.
I used to test web pages for IE compatibility by walking around the office, finding a person with IE and asking them to pull up the page. I can't do that anymore, and it doesn't seem likely to work well if I go to the local coffee house and try it on a stranger, so I have found a new solution.
Microsoft makes VPC (virtual PC) system images available for minimal OS + IE installs for IE6, IE7, and IE8, some on both Vista and XP. Download details: IE App Compat VHD (These are timebombed and die after a few months, and look in the ReadMe.txt file for passwords.)
These can be run in VirtualBox on Windows, Mac OS X, Linux and Solaris hosts. The initial boot is a little ugly as Windows gropes for drivers, but once you get the VirtualBox guest additions installed it is smooth.
On my 12+ month old iMac booting an XP machine with IE takes about 22 seconds (10 seconds in BIOS, 10 booting XP, 2 logging in), restarting one from saved state takes about 6 seconds. Once running they are snappy. They don't feel any different from native applications.
You can find excellent instructions for running these under VirtualBox at zytzagoo's den. These are written for linux users. I used linux for the unrar step but used my Mac for the VirtualBox machine.
If you want to test with more than one version of IE you will discover that Microsoft used the same UUID for all of the disk images (challenging the meaning of unique) and that VirtualBox is offended by that. You can read the also good instructions at Shape Shed and look at the Fixing Microsoft's Duplicate Identifiers section for details on converting the image to a raw image and back to a VDI to get a new UUID.
My EEE PC is nearly a 900A, it was a bit crippled to be a super lower than low end Best Buy machine.
After 25000km of travel with the a nilfs2 root I have to say I like it a lot. Now to figure out why the Debian start of the cleanerd doesn't reclaim space.
Benchmarking a machine with a surplus of RAM introduces a difference between the first run and subsequent runs when any disk blocks needed are already cached. Fortunately, since 2.6.16 there is a mechanism to discard the caches, /proc/sys/vm/drop_caches.
I use this command to drop my caches between benchmark runs.
sync ; echo 3 > /proc/sys/vm/drop_caches
Note: that command was simplified thanks to anonymous' comment.
As an example, building femtodns currently takes 2.1 seconds with flushed caches and 0.9 seconds on subsequent runs.
You can read more about /proc/sys/vm/drop_caches at Drop Caches - linux-mm.org Wiki
anonymous comment, 6 weeks ago
You don't need to echo 1, 2, and 3. As the page you link to makes clear, it's a bit-mask. Echoing 3 alone is succifient after the sync.
I've installed clicktoflash which stops Flash™ from running in Safari. The web is a much nicer place as a result. I detest things moving in my field of vision while I read.
Flash elements are rendered as gray rectangles, if you click on the rectangle it can run. If you Option+click, then it is whitelisted and can always run.
It could do with a little more user interface, there is really nothing visible now, but if you remember the Option+click and you never accidentally whitelist something you will be fine.
Note: If you want to remove it later, go to ~/Library/Internet Plug-Ins/ and take it out.
comment by jim, 4 months ago
Aw nuts, now I need to implement "delete attachment". The 1.3 version adds a little 'flash' badge instead of just a grey box and a way to edit your whitelist. I've had no problems with this over the weeks I've been using it, in fact it has saved me from canceling my American Express card because their commercial no longer tries to play in my browser when I go to pay the bill.
Google watches me. Now I watch google. You will see a tiny google icon in the title bar of articles which have been scanned by the mighty G.
Following are my notes as I enable IPv6 on my servers.
There will be more.
On the Google Finance pages you can get graphs of stocks, which if you mess with the "settings" tab, you can also display after hours trading. After hours trading is generally much lower volume and less volatile compared to normal hours.
![]() Notice on the image that the 7 normal hours seem rather large compared to the 17 off hours. The X axis is a nonuniform time axis, during normal hours it is 12 pixels/hour (a very programmery value to pick) but the off hours are about 7.6 pixels/hour (not a very programmery value, but perhaps it is really 2/3 of 12).
The end result is a harmonious display but with greater resolution in the more important data. Very nice.
(The sample graph is from the day Steve Jobs announced his medical leave from AAPL. Usually after hours is quite boring.)
Web surfing with U-Verse was getting annoying. I was regularly getting pages that would mostly load, but were delayed from 5 to 20 or more seconds in rendering because some elements failed to load. Noticing that the worst pages were ones with large numbers of DNS names to resolve I swapped my U-Verse supplied DNS server for OpenDNS and things became much faster. (I since swapped that to my own local bind9 because OpenDNS kept hijacking my web sites, this is also fast.)
You can see on my "time to ping google" network check exactly where I changed DNS away from AT&T's servers.
![]() Odd points to ponder: the DNS for www.google.com has a 5 minute life, short enough to expire between tests, but you'd think have it in cache from other client use once in a while. There is an odd quantitization in the earlier data for which I have no explanation. The other ping test running at the same time, by IP directly, does not show this effect and does not show a change at the DNS change.
Moral: Don't trust your ISP for anything but packets in and out, and suspect they will screw that up too.
Note: This may or may not affect your U-Verse. I suspect they have many DNS servers and perhaps they aren't all lame, or perhaps they have a throttling policy or something and they are all lame. Only you will know.
Today I challenge Google. I have placed a pair of google ads in the right hand column. Let's see if Google can figure out what my depository is about. If Google chooses a coherent category for ads, I'll replace the page subtitle with their impression of this site.
So far I'm a little insulted. They are pushing... how to say without using the word... "spectacles to protect your vision organs", and "graphic designers". I don't think they care for my look.
comment by jim, 5 months ago
Those google ads are nice. I almost never get enticed by an ad, but two of the google ads on this site have lured me into visiting the advertiser. (Google's terms forbid me from clicking, so I have to type in the URL.) Virtually 100% of the writing on this site is mine, so they have their little demographic cross hairs right on my brain, and it works.
The femtoblogger software is being written by Jim Studt. The content of this page is provided by anonymous individuals. If you believe something on this page is innapropriate contact Jim Studt. |
Contributeloginlogout post create account (12 seconds) recent comments FilterSearchBrowsers
Archives
|