My apologies for not posting this sooner. Somehow I overlooked an email with sample and demo for How to Set ListView Column Header Sort Icons in C# article that John Moreno had emailed me a long time ago. Anyways, it is online now, check it out.
During the course of the day I encounter lots of challenges, some of which take minutes to solve and others that take much longer. My goal for this section is to keep track of these challenges and their solutions. I will turn the longer ones into articles, while the shorter ones will stay as blog entries. You can expect topics to range from very specific programming challenges to broader topics like life.
Below is a list of the recent blog entries. You can also browse the blog by using the tags on the right side, or if you know what you are looking for then you can use the search box at the top right.
My apologies for not posting this sooner. Somehow I overlooked an email with sample and demo for How to Set ListView Column Header Sort Icons in C# article that John Moreno had emailed me a long time ago. Anyways, it is online now, check it out.
My new OCZ Rally2 8GB Dual Channel Flash Drive showed up today. It is a dual channel drive and I wanted to see what speeds it would give me. So, here a few numbers that I got from two of my computers.
| Description | Write | Read |
|---|---|---|
| Laptop, one 1.11GB file | 9.11MB/sec | 30MB/sec |
| Desktop, one 1.11GB file | 7.67MB/sec | 35MB/sec |
| Desktop, multiple smaller files (138MB total) | 2.59MB/sec | 35MB/sec |
My older USB flash drive gives me 4.50MB/second write speed and 21.68MB/second read speed. An even older one does around 6.81MB/second (!!) read with 4.85MB/second write. So, for reading the dual channel drive might be worth the extra price.
2009-11-03, update: GeoHot released the unlock for baseband 05.11.07! Check it out.
—-
Recently a friend purchased an iPhone off of craigslist that he wanted to unlock for use with a different carrier. The phone was running iPhone OS 3.1, which the dev team has released a jailbreak for. Unfortunately, what he didn’t know was that the boot loader (or bootloader) version mattered a lot 🙂
He wanted a good, clean unit, and this was a newly refurbished one, jailbroken, very clean, no scratches, and 0 minute usage. He thought all he had to do was install ultrasn0w and he would be good to go. Well, he tried, but no luck. After a few tries he brought it to me and I started my research. Apparently, because it is a newly refurbished unit, it had the latest version of everything: iPhone 3.1 (seller might have upgraded it), latest baseband, and latest boot loader. Here is what my research turned up.
If you are buying an iPhone for use with a carrier other than AT&T then make sure that your device can be unlocked. Also, be careful once you do get the new, compatible iPhone because upgrading to iPhone OS 3.1 using the official ipsw will upgrade the baseband! and possibly the boot loader; you will be stuck without an unlock! (Hopefully you are not reading this post after the fact :|)
The easiest way to check the boot loader and baseband versions is to install Fuzzyband using Cydia. Do this before the purchase. You want a boot loader that is 05.08 or older, and a baseband that is 05.11.07 or older (if it is 05.11.07 then you will have to downgrade to an older version, which is possible assuming that the boot loader version is correct).
Basically, you need an AT&T subscriber 🙂 Here are a few (realistic!) possibilities.
Finally, the webOS browser’s javascript engine gets 1 mark in the acid3 test. Previously the acid3 would completely bomb out and exclaim “JS?” 🙂
In case if you haven’t seen it yet, Palm released the webOS 1.2 earlier today. For a complete list of changes checkout the official Palm blog post or the PreCentral post (official list of changes from the support site). Here are a few things that I am looking forward to (as I wait for Pre to upgrade) 🙂
Below is one that I am not so sure about.
Let’s see how it turns out 🙂
I have been excited about Windows 7 because it overcomes many of the issues with Windows Vista and has many other improvements. It certainly feels (and is) faster than Windows Vista, but generally you can’t see the improvements unless you use it on the exact same computer with similar programs/drivers installed. I installed Windows 7 on both my computers a few days after it was released on MSDN, but didn’t measure the improvements because I was already convinced 🙂 Today I decided to upgrade my brother’s HP Pavilion dv6 to Windows 7, but this time I decided to take a few measurements to see the difference. So, let’s take a look at the results.
If you are a student then you should definitely check this out. Microsoft has a special for students where you can get Windows 7 upgrade for $30. The normal upgrade price for Windows 7 is about $129 right now. Windows 7 is definitely a worth upgrade for laptops. So, get it if you are student! 🙂
By the way, you might also have access to the MSDNAA program, which has Windows 7 Professional available for free. You can check if your school and program is participating by searching on the MSDN school search page.
A friend was recently looking for a used iPhone so we decided to browse the local craigslist. After some searching we saw an amazingly good deal (first red flag? :)) that included both an iPhone and iPod Touch from what seemed like a good seller. We decided to follow-up, but it wasn’t until 1am that we sent the contact email. Next day we got the following reply back…
sorry I sold them.. but I ordered them from suppliers I found from WEBSITE_REMOVED .. they have much cheaper prices than amazon.com
sorry again I hope I could have been of some help
kind regards,
steveSent from my iPhone.
I have removed the website URL (WEBSITE_REMOVED) because I don’t want to promote it any further 🙂 I was amused by this reply because it was sent around 3am (two hours after our inquiry) and it sounded a bit too much like an advertisement. Also, I get many emails from friends that have iPhones (some of whom have decided to keep that signature!) and that last line didn’t look right. So, I decided to look further into it. The obvious things to check were the email headers to see if they had any signs of an iPhone. Before I looked at the headers for the reply I checked out the headers from a genuine reply. The most obvious sign was the X-Mailer header.
X-Mailer: iPhone Mail (7A400)
Then I looked at this header in the reply from “steve,” and guess what I found.
X-Mailer: Chilkat Software Inc (http://www.chilkatsoft.com)
A quick look at that site and I found out that Chilkat Software makes .NET libraries. Well, that, along with the bogus “Sent from my iPhone.” proves that this is definitely a scam. Another evidence is the peculiar timing of the reply (within 2 hours, at 3 in the morning!), but that can’t be used to prove 🙂 Also, it was the period at the end that isn’t part of the stock “Sent from my XYZ Device” message, subtle but noticeable.
So, stay away from “steve” and the site that “steve” is promoting because that is a scam. A quick search on google also reveals more bad experiences with that site.
I have had the Palm Pre for a month now and I thought it would be a good time to write about my experience with it so far. So, here it is, my review of the Palm Pre.
Django’s admin site is a great tool throughout development. Django also provides an authentication module that also reduces the development time. The problem is that the auth module predefines the admin classes that shows a very simplistic listing in the admin view.
It is not easy to see how you can customize this. But if you read through django.contrib.admin.sites then the answers becomes clearer. You can unregister the existing class for the User model and register your own version. Below is what this translates to, put this code in one of your application’s admin.py (if you are calling admin.autodiscover in urls.py) or models.py files.