HiTek Review

A tons of reviews and tips about technology product, software and hardware.

Category Archives: Bugs

Quick update – DST issue on cellphones

Those are a real pain
Have you ever got to work one hour late, or worse, early because you forgot to set the DST on your alarm? Yeah, me too. That’s why most of us uses our cellphone as our welcoming-back-to-reality alarm in the morning. They all set their time automatically according to a time server, just like our computers, and are always right… right? Well no, the protocol used to update the time over the air on cellphones is horrible. It have no confirmation bit which means nothing certifies you that your phone will update to the right DST settings.

I had a really nice bad luck, and it happened on both my iPhone and iPad. All my friends phones where all right and searching on Google shown that only a few number of people had the same problem.

Workaround
So I’ve figured out a workaround if you are using an iPhone or iPad. Most cellphone carrier will tell you to shutdown the device or to turn airplane mode on. It will not work on iDevices. If you happen to have this problem, the only way to solve it is to remove your sim card and to put it back in. That will trigger a time update and should fix your issue.

About the next post
I’m pretty busy right now, so I still didn’t had the time to write that post about protecting your iDevices yet. But rejoice as it gave me a lot of time to test a bunch of different solutions for both iPads and iPhones and I think I’ve found exactly what you want. Stay tuned for a new update.

WordPress switch
Switching over to WordPress was the best thing that could happen for me. It is so much more easier to manage posts, pages, media and everything that I don’t even know why I stayed with Bloggers for that long. But, I’d like to know it the switch has been smooth with you, readers. So, for those of you how followed me since the Bloggers days, I’d like to know how you like the new layout. Is it good enough? Is it worth paying the CSS edit upgrade and customize it a little? Would you add more stuff to it?

Advertisements

Understanding flash on OS X

First of all
No, I am not dead. I just don’t like to say stuff that no body want to read anyway so I kept my mouth (keyboard?) shut for a little while.

Second
Next review will be about whatever thing I’ll buy next. It will probably be an iPad or the new rumoured MacBook Pros. I can’t promise anything about this though.

Third, the reason of my post…
As many of you probably heard of already, iPhone OS 4 is coming soon and some of us, like me, already have the beta installed on their phones. Seriously, it is the best operating system I even seen on a phone since smartphone are in the market. There’s a lot of stuff in it that apple didn’t told you which can theoretically bring iPhone OS 4.0 up to par with any DESKTOP operating system out there. That’s just how great it is.

Unfortunately, all that we seem to ear about it these days are bad stuff… which is kind-off strange actually. A big majority wanted multi-tasking. Now that they’ve got it, all that we can read is stuff like: “I don’t really care about it, I would have preferred Flash that this.” Yes, this article is dedicated to you, people that doesn’t have any sense of mobile device logic.

Flash, a plague to avoid
The first reason why anybody would want to avoid Flash like a plague is about stability issue. Here’s a nice one, while I’ve been writing this article, look what popped on my screen!

See, it managed to crash while doing nothing! That little thing made me wonder so I started to investigate on was could be the reason of this crash. After running a little software called Shark, a performance analyzer tool that come with Xcode, I discovered somethings that should have remained buried. What it does it that is detect cache miss (moments when requested data is not available in cache and need to be pulled from an other cache level) in the L2 processor cache and list them.

I have exported the report to a text file and I’m providing it for you to read on this link. It is very easy to understand. The numbers to the left are the numbers of call to a function, the gibberish in the middle is the memory emplacement of the function and the text at the right is the name of the library that provided the function. Now keep in mind that this report was requested during a normal writing session. I have music playing in iTunes and a couple of software is running. Notice anything strange here? First process in the list is the mack kernel (or the OS X subsystems if you prefer). It represent roughly 14.2% of the entire cache misses which is normal. The second one though… I expected it to be iTunes since it is doing realtime audio playback and require frequent access to the processor cache but… no…

In fact, Flash Player represent 51.7% of all the cache miss that happened during this session. Basically, it means that half of the calls that the required my computer to access the RAM during the 10 seconds of profiling happened because of the Adobe Flash library. This is a very good reason to consider it like a plague as it use as much CPU time as a virus! In fact, flash player used 1 minutes 32.24 seconds of CPU time in 4 hours of not using it. As a little comparison note, iTunes only caused 4.4% of the misses and used 9 minutes 23 seconds of CPU time in constant playback during the last 4 hours.

So, what does it mean? It means that Flash is not only very hungry CPU wise but also memory wise. It also show us that it is not optimized at all and keep on doing more and more request to the system memory.

Touch is the future
Based on what we can see today, people consider touch screen devices as the way of the future. It does have a little futuristic sense to it but believe me there’s nothing impressive in them as they were in use since a good 10 to 20 years! Why am I talking about this? Because Flash is the complete opposite! Flash applications are generally built with a point-and-click interface so around 90% of them doesn’t work at all on a touch based device like the iPhone. There’s no way to access the various menus of the interface because you need to point at them and not click or tap on them. As a result even if you could run Flash on a touch based device like an iPhone, you would not be able of using it as it was not designed for this kind of usage.

Some websites like LinkedIn doesn’t use Flash and still have some compatibility issues with a touch based interface because they try to limit their content to the size of the screen and use scrollbars to let you access the rest of it instead of thrusting the web browser and letting it do it’s job.

Flash on the iPhone?
No way! Never! Not because it sucks performance wise and would drain your battery faster than light, but for the same reason I don’t want an HP Slate. It was not designed to be used with touch in the first place.

New arrival, First hardware review

I did it…
Last week, while doing my college homework’s, Windows 7 crashed on me… for the 100th time since my last post (and I’m not exaggerating). I do have patience but I didn’t take that it took my work with him. So, I’ve bought an other computer. That old laptop was very nice but it had a little problem with sleep making it … not that school friendly.

As a result, I decided to go with the best line of laptop for students. Well, at least, that’s what students say. Yes, it’s an Apple computer and it will go well side by side with my Mac Pro. That’s an other review coming… when I’ll have less school work to do. I might also review my last laptop and one from the Sony Vaio line.

Stay tuned for more details

Internet Explorer 8 and Visual Studio Wizards

It happened to one of my friend today. He was trying to add a class in an MFC application and got stuck when an error message came out. This error is caused by a change in the security policies of Internet Explorer 8 and is documented by a blogger on MSDN (click on title for original post).

A fix

  • Open regedit (on a 64-bit OS, open the 32-bit regedit)
  • Under “HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
    Settings\Zones”, create a new key called 1000 (if it isn’t already there)
  • Under 1000, create a DWORD entry with:
    • Name = 1207
    • Type = REG_DWORD
    • Data = 0x000000