|
Written by JLangbridge
|
|
Thursday, 16 July 2009 00:00 |
|
When you walk around with a Tux on your keychain, chances are that when you are invited out (if ever that happens), people will ask the question - "What's the deal with Linux?". Why Linux? Why did you choose that system? What's wrong with Windows? What's different? Why should we use it? Recurring questions... I've had years to think about the "right" answer, and I've come to the conclusion that there isn't one. My personal answer is this: Dedication, and Choice. I have the dedication, and the choice, to use Linux. I stopped using Windows "full-time" the same day that Windows 95 came out. That doesn't mean that I don't use it from time to time; helping friends with their computer, developing applications for Win platforms, work computers, or just surfing the web whilst at a friend's house. It was my main work platform for years when I worked for Packard Bell NEC. I was even given the role as a beta-tester for Windows XP. So you can imagine the amount of fiddling I did on the systems. My role was to test applications and games coming from the 98/2k realm, and see how they worked with XP, then send of some results. Constant contact with Microsoft, and the editors. Every time I send an email, I really didn't know who was going to get the email, even if someone got it. A while later, I got a reply in my email telling me that thanks, my message was received, and that someone will look into it. The email was sent from customer dot support at whoever, and I didn't even know if it was sent from a program, or from a user playing with Ctrl-C, Ctrl-V. It lacked personality. When reporting a bug for a Linux program, it doesn't happen that way. You don't send a blind email to a company, you log onto a forum, and explain what happened. Someone, a human, answers. So long as your request is structured and relevant, answers will be coming soon. You can actually check the progression, watching people try to reproduce your bug, the different results, hypotheses, and eventual corrective action. From time to time, someone will answer saying that he hasn't got a clue, and this is actually important. It shows that the people here are humans; they have their strong points and their weak points, they are either asking for help, or giving it. They have names, family names, Christian names or sometimes just pseudonyms, but the have personality. Christian is an accountant, Stephanie is a graphist, Alex is a manager, this isn't necessarily their job, but they are spending time helping, because they feel that it is right. I also feel that it is right to hep that way, and yes, I know that some people will take full advantage of that and not give anything back, but hey, that's the game. Some will ask more than they give, others will give more than they ask, and the rewards can be extremely gratifying. A simple "Thankyou!" on a forum is a serious boost to morale. This is what the Open Source community is about. For some it is their job, for others it is a vocation, but an entire community is there to help eachother out. Armel Kermorvant, former boss and now OEM Vice President at Mandriva, has this to say about Open Source: "They are very interesting technologies because open source works as a community. All issues or questions are very important for everybody." That's about as short as it gets, but it is spot on. So that's dedication, but my dedication to helping others, and the dedication of the Open Source community. But what about choice? Choice is the key word to Linux. You don't have to use it, you have the choice to use it. But which one? Ubuntu? Mandriva? Redhat? Fedora? Debian? The list goes on and on, but in the end, it comes down to choice. Each distribution has it's own philosophy, and it is up to you to decide which one you prefer. It isn't that easy with Windows. Today, the choice is either XP or Vista, and even then, some don't have the choice, depending on their hardware or applications. Sure, you can customize it, but to what extent? You can change the wallpaper, the colours, some of the fancy animations, the icons... Practically everything. But not quite everything. The file manager is the same, and you can't change that. Back in the days of Windows 3.1, you could, but those days are long and gone. With Linux, you can. Choose your distribution. I chose Ubuntu. Choose your window manager. I chose Gnome. I could have had KDE, XFCE, AfterStep, Enlightenment... Once again, the list goes on. In the wonderful world of Linux, when you have something to do, you have the choice about what tools to use, and making a choice will not limit you to what you can do next; everything plays well with everything else. Install KDE, but you can still use that Gnome application. Install XFCE, and you can still use the KDE applet to monitor your system battery. Linux will even give you the choice to install other operating systems, and let you use them. Linux will happily give you the choice to start Windows or Linux, but Windows doesn't ask any questions, and will automatically start Windows from there on. Don't get me wrong; choice is good, but it can also be bad. My shiny iPhone is the perfect example. The iPhone is sexy tool, but in order to just start it up, I had to have either Windows or MacOS. It won't start otherwise. It has to be registered through iTunes. All the applications I use have to go through iTunes. My music, videos and photos have to go through iTunes. Who is Apple to say what I can and can not have on my iPhone? Yes, I'll admit, my iPhone has been jailbroken, but that's just me and my twisted philosophy. This has a price to pay, though... The iPhone is a highly closed platform, and Apple gets to say what you can, and can not have on it. The result is a rock solid platform that is ready for practically anything, snappy as the first day you bought it. Just try doing that in your classic Windows CE handheld. My friends also have the choice; I give them my personal advice and my impressions of Linux, and I let them choose. Some might try Linux, others won't. Some could probably find what they are looking for with Linux, but others should clearly stay with Windows. That's what choice is all about.
|
|
Written by JLangbridge
|
|
Tuesday, 30 June 2009 08:37 |
|
When GMail came out, it was a major event. It was on an invitation-only basis, each person having a certain amount of invites, and sending them out to friends, who in turn could invite. Ingenious, really... Instead of opening up and beeing flooded by millions of users, the servers slowly grew in size depending on the amount of invites. At the time, I didn't want a GMail account. I already had a web-based account, and I'm not talking about Hotmail, Yahoo or some other type, this was a real account, paid for, and hosted with Packetfury. I didn't need GMail, I didn't need the @gmail.com email, I didn't need the backups, and I didn't need the size. I was a geek! I had my own domain! I made billions of backups! Times change. My first cell-phone was a monster. My last phone is too, but not for the same reasons. My first cell phone took batteries, real AA batteries. With it, I could actually call people, and also maybe send SMS messages. My latest phone is an iPhone. With it, I can find out where I am, see myself on an updated map, send emails, listen to music, play games, consult my agenda, publish useless Facebook statuses, find out where the nearest café is, and read the daily news. Oh, and I can also call people, but that seems secondary. I got myself an iPhone because at the time, I was an iPhone dev. Today, with the same choice, I probably would have gone for a GooglePhone, because I like Google. Anyway. On the iPhone, Google is omni-present. The search engine in Internet is Google. The maps application is GoogleMaps. I can add emails accounts, and GMail is in the list. They have tons of applications designed specially for the iPhone, so in the end, I took advantage of it. I created a gmail account. I then added the PF account to GMail, just to have a "backup". I then added a few contacts, you never know. I added some more. Then I found out just how good this can be on an iPhone... My iPhone now reads my GMail account, not my PF account. My contacts are synced to my phone in real time, including the details I added, and the pictures. I can also sync with Evolution, if I want a heavy client. My agenda is also synced, but I still have a bit of work to do on that... Onlymy personal calendar appears, not the work calendar. So here I am, all Googled up, and I'm thrilled with it. So much, that I rarely use my heavy client anymore. I can do practically anything right from GMail, and it works just great. Having a 3G card on my PC does help, though, I'll admit. Oh, and another reason. Their anti-spam filter is excellent. My phone no longer vibrates every 15 minutes with useless junk. Today, I use a lot of Google apps. GMail, Google Calendar; those are the logical two. I now have a Picasa account, and the software works great, even on Linux, natively. Google Earth is great fun too.This morning I was sleeping peacefully on the train, and the wakeup call was pretty violent. When I arrived at work, I found out that, yes, the train tracks are perpendicular, and very close to the runway at the Rennes airport. The A320 landing on top of the train scared the hell out of me. I use Google Code search when in need of a hand. My CV is on Google Documents, as well as a few administrative papers, "just in case". And before all that, before any other application... On the top right hand side of y navigator (Firefox, not Chrome, believe it or not), lies a widget, Google Search. This is where it all started!
|
|
Last Updated ( Wednesday, 01 July 2009 09:19 )
|
|
|
Written by JLangbridge
|
|
Tuesday, 02 June 2009 09:16 |
|
For 3 months now, I've been creating a Linux system that is based on an Ubuntu, but that is modified so that it works well on Netbook systems. The processor and RAM are below average, and that is understandable since the system is designed to be low-powered, but my biggest concern hasn't been the CPU or the processor, it has been the hard drive.
SSD technology has been around for some time, and today's disks are little more than updated USB keys, or compact flash systems. When it boils down to bare hardware, the common denominator is NAND flash. The building block of NAND FLASH is a transistor; one transistor per NAND cell. There are two variants, Single Level Cell (SLC) flash that can store one bit, and Multi Level Cell (MLC) flash that can store two. Typical timing for an SLC cell is 25µs read time, 2ms erase per block, and 250µs per write operation. For an MLC, typical results are 50µs read time, 2ms erase per block, and 900µs per write operation. The read time is identical; 25µs to read one bit, 50µs to read two. Nothing strange here. The erase time is constant, since an erase operation will erase an entire block (more on that later), but the write time does change. Writing to an MLC cell is almost 4 times slower than a typical SLC cell. Faster disks will tend to use SLC, and cheaper drives will use MLC. The P-SSD1800 uses MLC. Most desktop SSDs will use MLC, and most server SSDs will use SLC.
|
|
Last Updated ( Thursday, 13 August 2009 10:13 )
|
|
Read more...
|
|
Written by JLangbridge
|
|
Wednesday, 20 May 2009 12:59 |
|
The System Management BIOS (SMBIOS) was created to allow the storage and retrieval of specific information about a computer. Computer parks were becoming bigger and bigger, and sooner or later, something had to be done. Managing systems and inventories was a nightmare, and soon the trend was to install a "watchdog" on each and every computer, not to spy on the users, but to spy on the hardware. A systems administrator knew instantly what his park was like, the weak points and what needed to be done. 40 machines were running with only 512Mb of RAM? The application could retrieve this information and warn administrators. It could also be used to catch sneaky people who decided to alleviate the amount of RAM sticks in a machine, but that's another story.
The Desktop Management Interface was the framework that was used. The DMI provided a table, provided by the BIOS, that could be parsed and gave information about the entire system. Computer serial number, BIOS revision, the type of RAM installed, all of those are potentially hidden away inside your machine, there incase someone needs it. On personal computers, it is rarely used, but it is a requirement since 1999 for anyone who wants to have Microsoft certification, so most, if not all OEMs use it. Linux is shipped with the dmidecode utility, that can parse the DMI tables and return some useful information. There have been blog posts about people wondering how to use it, what it can be used for, and essentialy give some tips on what has been done. For my use, I need to keep track of a small fleet of netbooks; I need to know their BIOS version, installed hardware and, of course, the serial number of the machine, and I can get all this information using a secure system that keeps the user data safe from my prying eyes. dmidecode needs root priviledges to run, since it needs to access protected memory, but that it all it needs. Run it on the command line, and it will dump the entire table. More specific information can be retrieved using flags: root@PC20090514:~/Desktop/Dev# dmidecode -s system-manufacturer Hewlett-Packard HP. That's what it says on the front panel. To see what can information can be retrieved, run dmidecode -c To see more complete information, run dmidecode with the -t flag root@PC20090514:~/Desktop/Dev# dmidecode -t 1 # dmidecode 2.9 SMBIOS 2.4 present.
Handle 0x0001, DMI type 1, 27 bytes System Information Manufacturer: Hewlett-Packard Product Name: HP dx5150 MT(PE679AV) Version: Serial Number: CZC6012FR9 UUID: 00F61AC7-A3EB-1010-A02E-91CA71C6A9A6 Wake-up Type: Power Switch SKU Number: Family: 103C_53307F
For RAM info:
root@PC20090514:~/Desktop/Dev# dmidecode -t 17 # dmidecode 2.9 SMBIOS 2.4 present.
Handle 0x0025, DMI type 17, 27 bytes Memory Device Array Handle: 0x0024 Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: 512 MB Form Factor: DIMM Set: None Locator: A0 Bank Locator: Bank0/1 Type: DDR Type Detail: Synchronous Speed: 400 MHz (2.5 ns) Manufacturer: None Serial Number: None Asset Tag: None Part Number: None
Handle 0x0026, DMI type 17, 27 bytes Memory Device Array Handle: 0x0024 Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: No Module Installed Form Factor: DIMM Set: None Locator: A1 Bank Locator: Bank2/3 Type: DDR Type Detail: Synchronous Speed: 400 MHz (2.5 ns) Manufacturer: None Serial Number: None Asset Tag: None Part Number: None
Handle 0x0027, DMI type 17, 27 bytes Memory Device Array Handle: 0x0024 Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: 512 MB Form Factor: DIMM Set: None Locator: A2 Bank Locator: Bank4/5 Type: DDR Type Detail: Synchronous Speed: 400 MHz (2.5 ns) Manufacturer: None Serial Number: None Asset Tag: None Part Number: None
Handle 0x0028, DMI type 17, 27 bytes Memory Device Array Handle: 0x0024 Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: No Module Installed Form Factor: DIMM Set: None Locator: A3 Bank Locator: Bank6/7 Type: DDR Type Detail: Synchronous Speed: 400 MHz (2.5 ns) Manufacturer: None Serial Number: None Asset Tag: None Part Number: None
2 gigs of memory, with 4 512Mb RAM modules. Time to upgrade my dev PC... At least I know what to ask for, the frequency, etc. All that done by a simple command, that can be interfaced remotely.
|
|
Last Updated ( Monday, 25 May 2009 13:33 )
|
|