Skip to navigation
   
Dave F's Blog

Dual Booting - grubs up?

By Dave F in Reader

Posted in Home, the web, Office, Linux on May 28, 2008 at 11:23 am

Permalink | Author Profile

When I got hold a vaguely decent laptop for use at home I thought I’d be adventurous and put Linux on it, then I thought I play safe & dual boot it to Linux and XP. Some time later the XP partition is seriously full and the Linux hasn’t been booted for ages - sorry you Linux fans but this gets used for browsing, homework (Open Office) and games and even the slow XP boot is faster than Linux’s power on to Google home page.

So, obvious choice is to repartition & get rid of the Linux. I have a copy of partition magic so I can probably do it without data loss, I’ll have a go. 

The very lovely portion magic has moved portions OK (I think) & my primary partition is bootable BUT it boots into the grub loader which used to ask if you wanted to run Linux or “Other” (XP). Now it can’t find the Linux and just quits quietly.

Any clever suggestions? Will just booting off an XP CD & selecting recovery fix it? 

12345
Rated: 80% (1 votes)
Loading ... Loading ...

 

Tabs - I might change my mind?

By Dave F in Reader

Posted in Coding, Blogs on May 21, 2008 at 6:08 pm

Permalink | Author Profile

OK having said I have no use for tabs http://www.itpro.co.uk/blogs/davef/2008/04/14/slow-internet-explorer/ I was horrified to learn that MS Visual Studio 2005 (oh yes, I’m right up to date) uses the damn things instead of the old MDI type lots of code windows it used to have in MSVC v6.

After cursing and muttering I discovered that you can turn them off and go back to the old look. However, I have turned them back on - just as an experiment! In the spirit of open minded adventure I’ll give ‘em a try for a while and see how they go. Watch this rant…

12345
Rated: 100% (1 votes)
Loading ... Loading ...

 

Which Linux do you drink?

By Dave F in Reader

Posted in Linux, Microsoft on May 14, 2008 at 4:16 pm

Permalink | Author Profile

Heard a great comment today - unfortunately I can’t claim it as my own - but I love the way it sums the situation up.

Linux users are like Real Ale aficionados - they all agree it’s better than lager (windows) but they can’t agree which flavour is best.

The image of Linux as a thick liquid brewed by a cohort of experts (many with worrying beards), to a myriad of different recipes (the scariest of which have “bits” of dubious provenance floating in them), all rather wonderful, but all likely to give you a thick head if you over indulge, just seems so appropriate!

12345
Rated: 100% (1 votes)
Loading ... Loading ...

 

How do you test a GUI?

By Dave F in Reader

Posted in QT, Coding on May 9, 2008 at 9:50 am

Permalink | Author Profile

Testing, something I have never been happy about - there are just to many options. Maybe I’m a bit mathematical, a bit completist, alright perfectionist but if I can’t do it properly I don’t like to do it at all. I remember in my university days I was asked to write a “comprehensive” RAM test. Since any RAM cell could theoretically leak to any other I figured the only way was to try every combination by counting from 0 to 2^(8*4K) (it was a 4K 8 bit chip). I got an idea of how long this would take (checking every bit at every increment) when I converted the run time from seconds to years and it didn’t dent the figure much! This still wouldn’t be a complete test as it might take a fixed time for the leak to happen so the test should pause between each increment…

My latest GUI is in QT so I had a look at http://www.ics.com/products/qt/kdexecutor/index.html Which has some ideas on testing. Because of the way QT works it is possible to assume the clicks will work and then just test the event handling of simulated clicks which is a good start. Testing methods that rely on recording mouse positions (click at 300,400) and checking against bitmaps (you should get a screen that looks exactly like this) have got to be limited. Most of the bugs that get reported from customers relate to weird (ie ones I haven’t tried) settings they are using - 640×400 screens, 2000×60000 screens (OK I Lied about that one), default fonts of “Hip Hop Graffiti 3″, Korean locale…

Oh well, back to my usual GUI testing. Aim for pressing everything, in every order at every screen resolution but settle for the old company standard. (I should explain that the “old company” started out in hardware so the official testing of a unit was to power it up and see if it performed its self test successfully - indicated by a single beep. )

The old company QA standard is therefore - if it beeps ship it!

12345
Not yet rated
Loading ... Loading ...

 
Advertisement