Showing posts with label review. Show all posts
Showing posts with label review. Show all posts

Monday, July 14, 2008

Firefox 3 Instant Crashes

I use Mozilla Firefox as my browser. I started from version 2, when I migrated from Opera because it wasn't supported by some Google web applications. Version 2 frustrated me with periodical freezes - they lasted for about 30 seconds and then FF came back to live. Now I'm using FF 3. There was a lot of buzz about it. I found that it has some new valuable features that still keep me from downgrading to FF 2. But FF 3 on my computer crashes several time per day. At first it was happening at notebook with Vista. So I had some suggestions that this are the problems with OS. But I found that these crashes happen on desktop computer with XP. Moreover recently I reinstalled OS on notebook and firefox crashes on almost "clean" OS also.

I don't use any *not very popular* extensions. Even more - I disabled them all, but FF 3 continue to crash. May be I should disable some plugins? I don't know. And I didn't heard any significant buzz about "FF crashes on my PC every hour!" so I come to conclusion that these are problems with my environment (Russia, ISP, some software on PC, anything else). But Opera works finely. So I have three ways:
  1. With great patience continue to use FF 3
  2. Downgrade to FF 2 (remember the buzz "downgrade to XP from Vista")
  3. Use another browser: Opera, Maxthon, IE, Safari.
But... I've been waiting for FF 3 and wanted to use it. And now I found it to be a big piece of crashes for me.

Thursday, June 19, 2008

Firefox 3 — am I the only one who is disappointed?

Firefox 3 was released yesterday and there was a great buzz about it. Mozilla announced special "Download day". As I have read there was about 7.5 million downloads of FF yesterday. I've started using it from Beta 6. And I have to say that I couldn't share the joy about FF of others. No, I don't speak new features: they are good and I love new address bar which search not only through addresses but also through titles of pages. I'm speaking about FF bugs. FF crashes regularly on my computer. Most of problems occur on AJAX sites like GMail or Todoist after closing the tab with this site (though it doesn't crash always after closing this site). It seems that this is one error which causes crashes on my computer.

Another issue happened with bookmarks: at one day FF deleted all my bookmarks (I don't remember but may this already happened to me with FF 2). In itself this isn't a dramatic problem: FF creates daily backups of bookmarks and I also have done them in JSON format. But... FF refused to restore backup and said there is an error. Luckily final release of FF 3 was able to import my bookmarks :).

There are also some other issues with Internet (some pictures are not loaded from first few attempts and some pages also) but I'm not sure they are caused by FF because it seems other browsers also suffer from it.

But the bug with GMail really disturbs me. May be it is caused by any specific setting or software on my computer but I've made some new clean installs of FF and this didn't helped. And FF after crash doesn't say something meaningful about the reason of error: if it is caused by any plug-in or extension why not say this me so I'll disable it?

In coclusion I have to say that FF 2 had some really disturbing bug: sometimes it became frozen and doesn't respond to my actions but after about half a minute it came bake to normal work cycle. It seems in FF 3 this bug is fixed. But... it also seems that some new bugs came into it. So now I use Prism to work with GMail and Todoist. But Opera with it's new release 9.50 gets a new chance on my computer :)

Monday, May 26, 2008

NAnt over MSBuild

While working on my C# projects I found it useful for me to start using a build tool. Visual Studio builds assembly files, but many other tasks such as generating documentation are not part of assembly build and can not be just added to "pre-build" and "post-build" actions. So I've decided to use NAnt.

After some working with NAnt I decided to try MSBuild. There were some reasons for that: MSBuild is a part of .NET Framework so there is no extra dependencies; moreover it provides a good integration with project files generated by VS. But after a day of converting my NAnt project to MSBuild I've decided to return back to NAnt. There a plenty of reasons for that, which I found during this day.

The most important (for me) is that almost all settings to MSBuild tasks are set through attributes. The question "What to use: attributes or elements?" is long living and still doesn't have a clear answer (e.g. see this and this articles), but I found it a little inconvenient to set up all parameters of task through attributes. I won't speak here about what as I think should be element or property, but properties with long length data doesn't look good (e.g. lists of files).
In NAnt I feel very comfortable with setting tasks up through elements and attributes and in most cases I think that type of XML node is chosen right for property. And what is more NAnt provides and ability to define in custom tasks to define what property should be: attribute or element, while MSBuild follows it's convention and all properties are set up through attributes. Quite inflexible, though it removes a headache of deciding of type of node.

Secondly writing long lists or properties is a little inconvenient in VS: I prefer to have lines of code not very long and I need to write attributes on several lines. And if I press Enter after a property on a new line VS doesn't suggest me a list of possible items. It is need to start typing on previous line and press Enter only after writing property in editor. Of course I can write all in one line and use Wrap lines ability of text editors, but I prefer not to do so.

All-in-all I've returned to NAnt as a build tool. Sometimes I write additional tasks for it (those that are not in NAnt.Contrib) which gives me an ability to use not only for application builds but for other purposes.

Links:

Wednesday, April 23, 2008

RescueTime

For a month I'm using a web-based application RescueTime. It counts the usage of software and websites on computer so you can find which application you use the most. What is more RescueTime provides ability to assign tags to applications to group them, and to assign efficiency score to each tag. It draws some diagrams shiwing your efficienty so it's much easier to find out whether your are doing something useless to your or perform a productive tasks. And moreover in RescueTime you can create goals on using software, e.g. "Spend less than 1.5 hours per day on games." or whatever can be interpreted as "use something less/greater than..."

I think RescueTime is rather an interseting application that could help better manage time spent with computer.

Saturday, March 29, 2008

MyMiniCity.com

On site www.myminicity.com everyone without registration can start its own minicity. Though there aren't many ways to control your city: the only thing you can do is to post links to the page with your city. Each visit of page increases population of city. As with city growth some new features appear: Industry, Transport network, etc. Each has its own link to invest in development of this city infrastructure. As a result city from small village can grow to the big megapolis.

That's my mini city: http://kaaglecity.myminicity.com/

Sunday, December 09, 2007

Funny Bug in Visual Studio 2008 Beta

While uninstalling MS Visual Studio 2008 Beta 2 I found one funny bug.



Trivial message from uninstaller that indicates that one or more of the files or directories to remove are occupied. The only thing to do is too close this application and click Retry. If this doesn't help, well click Ignore and hope this will not have any negative effect. But... what the heck is application named 4812? Well, it's may be not a name but an ID of process so I open Task Manager and look up for a process with ID 4812. Here it is!



Oops. It is a setup application itself blocked something and couldn't delete it. I tried to click "Retry". And it was a successful attempt process of uninstaller continued.

I even could make a guess why this short story happened but had a good final. While checking files/directories to remove setup.exe locked them. According to my guess releasing of lock is placed in destructor. When message appeared object that locked files was "deleted" but garbage collector wasn't called until that moment so hadn't called destructor. While I was thinking about this problem and taking screenshots garbage collector was invoked and called destructor that released locks. Of course this guess can be true only if setup.exe is using garbage collector. Well, as Andrew Troelsen in his book about C# suggested it is better to manually call method Dispose and release all resources when they already could be released and don't leave this job to GC, which is unpredictable.

Of course my suggestion is only a suggestion, but I think it is rather useful to try to explain bugs in not your applications even if source code is inaccessible.

Wednesday, December 05, 2007

Visual Studio 2008

In the end of November MS released the new version of its IDE Visual Studio 2008. I've used Beta version already. It that post I've written that first impression was that is is very buggy, and later practice showed that there are some mistakes. I usually had some problems with Intellisense and IDE crashed. I have to note that I used Professional Edition.

Now I'm using Express Edition. I'm not so rich to buy IDE now, so use free edition. Of course it's not so functional as Pro version and for each language (C#, C++, VB.NET, Web development) there is it's own IDE. However I'm currently programming only on C# so this is not a big problem for me. Visual Studio is rather comfortable IDE (especially comparing to Turbo C we have in unversity :(. The problem is that it can't be used for editing all types of files I need with syntax coloring. So for editing files such as Nullsoft installation scripts, Python files and others I use PSPad. But for C# Visual Studio is much more preferable because autocompletion, Intellisense and many other small but very useful features.

One interesting note about Visual Studio: with IDE many other components are installed (SQL Server Compact, etc.). But uninstalling them is a manual operation. Not rather comfortable.

I have to say that Visual Studio is one of my favorite MS products and I haven't a lot of complains about it.

Sunday, November 11, 2007

Pragmatic Programmer

Pragmatic Programmer is a classic book for many programmers. It has valuable advices and techniques, which aren't linked to any language or environment, they are applicable to programming as it is, without any additional conditions.

I've read it in September and was highly delighted with it. I think there are two main things I've got from that reading: serious attention to automation and taking responsibility about your decision and having proud of your work.

I've read about automation before PP in "Code Complete" and understood it advantages, but didn't use it actively. Though in PP I haven't read anything new about it I've understood it better and decided to use it more.

Moreover authors of PP actively convince programmers to proud of their work, not think "it is the best program in the world!" but always left your sign on it, never lie that "it's not mine!", taking responsibility about its errors. It is applicable not only to programmers, but also other people who's work is about crafting something new.

I highly recommend PP to all programmers, who haven't read it already and for those who already has a copy of it to read it again, I'm sure you still can get something new from it. :)

Monday, September 17, 2007

Asciidoc

I've recently found new tool for me: asciidoc. It is intended to create documentation in various formats from plain text. What is good that markup elements are not like but more simple symbols so text can be easily written and read without conversion to other formats. I think I'll find use for asciidoc in my projects. Documentation is always needed.

Monday, September 03, 2007

Home network

As I've already posted I had bought a notebook. An now I'm writing from it. I get a wifi card to my desktop computer. It's a D-Link DWL-G510. Both notebook and card supports 802.11g so I've expected rather speedy communication (54 Mbps). I've got it. But only after some "adventures".

Firstly, I found that by default my computers try to found wireless router and communicate across it. So I've needed to create "computer-computer" connection. Really it took me a lot of time to understand this. May be I should google theory of wireless networks, but it's not my habit to google something :(

However after a lot of clicking-and-typing I've got my computers connected in a network. But there was another problem: I wanted my notebook to be connected to internet through desktop PC. I shared my internet connection on it, as my friend advised, but this gave me nothing. After some stumbling with that problem I found that the solution is to set correct IP-addresses on wireless connection on notebook. May be something is spare but for know I haven't got a desire to make new experiments: set DNS-server IP to same as in internet connectio; set mane gateway to IP-address of wifi-card on desktop. After that my connection started to work!

I have to say that there is no significant slowdown on working with internet on notebook. Despite added wireless connection all works fine and rather fast. Sometimes there are pauses in connection to internet but they also exist on desktop so I think they are the result of a work of an ISP (or my software).

All in all I'm pleased that I've got a wireless connection at home and now can work with internet both on PC and notebook.

Tuesday, July 24, 2007

Ubuntu — first try

Recently I've tried to use Ubuntu Feisty Fawn. On virtual machine.

I've tried Linux and FreeBSD a few times before. Not very successful. Though I have to say that these attempts make my brain to think how to use, not just simply "install and use". However I wasn't able to move from familiar Windows environment to unknown *nix.

Some days ago I've decided to try Ubuntu on virtual machine. I've used two of them: VM and VirtualBox.

VirtualBox was the first. What was bad: progress bar of user interface which must be orange was instead almost invisible. But that is not serious bug. Much worse was that while installing OS on virtual HDD it failed on some step without any warning and I wasn't able to start OS from hard drive, the only choice was live-cd but that is not very good because I need to install some software on my OS to feet my purposes.

Then I've tried VM player. It hadn't got problems with progress bar and it installed successfully and now I can run it from virtual HDD. But... I couldn't find how to switch my audio card to OS (that was rather easy on VirtualBox) and, what is much more worse, it had problems with Internet. Internet is too much important for me to use OS without access to it.

As a result of this faulty attempts I've putted Ubuntu on virtual machine in a long-term box and decided.... to try it on real machine. I've already wrote that I'm studying C# now, so I don't think I could leave Windows for a long time, but I could try Ubuntu as an OS for browsing Internet :) Time will show...

Thursday, July 19, 2007

Texter

I've found a good tool from Lifehacker: Texter. What does it do? It watches on input from keyboard and if it find special combination of symbols it replaces if with text snippet. For example I've setted replace MS with Microsoft. So bow I don't need to type full name but only some letters by the result is the full name not the acronym.

This application can be extremely useful in programming if your editor doesn't support code snippets (or supports them badly, or you want to share snippets between different application without some "import/export"). These can be not just simple snippets but full templates of code.

What is more Texter support bundles: groups of text replacements that can be exported and imported. So if you can share your bundles with your friends and colleagues.

And finally: Texter can perform not just text replacement but scripts: it can imitate key commands (for example Tab). This can be useful when filling some forms in which you definitely know tab order of fields.

In conclusion I think Texter is rather a good tool (it provides statistics on how much letters was replaced and how much time this saved to you).

Links:
  • Lifehacker [Site with tips and downloads for getting things done]
  • Texter [text substitution app]


Sunday, June 24, 2007

Launchy

I have a very nice desktop — I've removed all icons from it. Now it is clear and rather beautiful. Moreover I've set Start Menu of Windows to auto-hide. Because I'm needed it in very rare cases. To call applications I now use Launchy.

It's a free utility that scans through set directories and remembers all executable files and shortcuts. When you start in typing in Launchy name of application you want to start Launchy automatically suggests it and if it is right you don't need to type full name of application. Moreover Launchy remembers your choice and when you again type this part of application name Launchy suggests it firstly, so starting frequently used applications is an easy task. Although starting rarely used applications is also rather easy.

You can download Launchy from its site: http://www.launchy.net

Wednesday, June 13, 2007

Lumosity - reclaim your brain

Brain is like muscles — to be in fit it should be trained a lot. While performing intellectual operations brain trains and one of the best things about this is that it trains in something while doing this, so the best way to learn play chess well is to play chess, the best way to learn programming is to write programs. However just performing some operation can train brain to do this operation well but to boost progress in training and learn even more techniques than just from self-studying it is important to get information from another sources, not just own experience.

In article on lifehack.org I've read about Lumosity — training program for brain. It consists of different games to train brains memory, processing speed, attention and cognitive control. I've tried it and found it very interesting to play some these games. Of course without serious study I couldn't say that my memory was improved by Lumosity, but I can say that at least I've trained in these games and now I can play much better than at the beginning. And what is more games are rather exiting, so I advice to try Lumosity while it is on beta and free.

Tuesday, June 12, 2007

Safari web browser

Recently Apple released beta version of it's web browser Safari. What is cool is that now it is available not only for Macs but also for PC. So I've decided to try Safari.

However my attempt wasn't successful. Browser installed normally but on many sites it doesn't show web links! Only an underlined empty place. I've experienced this in GMail and Google Reader. And that are vital web apps for me, some months ago I switched from Opera to FF only because Opera didn't work properly with some AJAX websites, for example Google Reader. Of course I can replace GMail and Reader with other apps, but does it worth the price? I think not, because Safari bugs with links are on many different sites not only Google. I've read on Digg that some people have problems with Yahoo!.

I think problems with links are connected with font rendering, because some links are shown normally, while problems are usually with bold links. And moreover I've read a blogpost about problems with font rendering on CodingHorror. And on Digg discussion there are two main lines of opinions: "Font rendering on Safari looks awesome!!" and "Font rendering on Safari looks terrible!".

So Apple tries to expand it's market in Windows apps. iTunes has been downloaded by 500 millions of Windows users. Will be Safari? Life will show. All in all it is beta version and it is made to find bugs in application, so I couldn't strongly criticise Apple for Safari that doesn't work good. And that beta shows that there are serious problems with porting of Mac look-and-feel on Windows.