Archive for the 'Me' Category



Minix 3.1.4 under VMware Workstation (1/3)

Minix 3 has been accepted as a mentoring organization for Google Summer of Code again this year. That’s pretty good news. Last year I applied and I was one of the mentored students. My project (Minix USB Stack) could not be finished, but I learnt a lot about Operating Systems by the way. I spent almost a month to get Minix 3.1.3 working on my machine. There was not a reliable source of information or there were too many assumptions about the underlying hardware. I wish I had a tutorial like the one I am about to write.

The easiest way to give a try to Minix is running it on a Virtual Machine such as VMware. Go to wmware.com and download VMware Workstation. Once you have installed it, we could move on.

I assume you were able to download and install VMWare Workstation.

In first place, download the latest version of Minix (3.1.3a) from the website. Extract the ISO image from the file. If your favorite compression program does not support the Bzip2 format, then you might try 7-Zip. Now, you are ready to create the virtual machine.

Creating the virtual machine

Open VMware Workstation (Start > All Programs > VMWare > VMware Workstation). Press Ctrl + N to create a new virtual machine through the Wizard. Follow the each step as you can see in the pictures.

Wizard_Custom

Wizard_Workstation5

Choose Workstation 5 in Hardware compatibility. There is a strange bug in VMware that makes Minix 3 to freeze just after booting.

Wizard_GuestOS

Wizard_OtherOS

Wizard_VM_Name

Choose a representative name for your virtual machine. I used such an creative name as ‘Minix3’.

Wizard_Processors

Minix 3 does not support more than one processor, so choose One.

Wizard_Mem

My physical machine have RAM enough, so I gave Minix 1GB of RAM. However, if this is not your situation, try to allocate 128 MB of memory for your virtual machine at least (make that 512 MB if you plan to run X).

Wizard_Network

Use NAT to share your network connection with your virtual machine without trouble.

Wizard_Scsi

Don’t care about this. Minix 3 does not support SCSI disks.

Wizard_Disk

Wizard_IDE

Wizard_Capacity

The maximum disk size never should be bigger than 128GB, because Minix does not support much than that. 4.0 GB should be enough to test Minix. Check “Allocate all disk space now” if you want to get the most out of your VM.

Wizard_DiskFile

Wizard_Ready

If you did every step correctly, you should see a screen like this:

VMware_ItWorks

The next post will explain how to install Minix 3 (this is very straightforward) and how to modify the rc file to workaround the LANCE DMA bug (so as to make your virtual network interface card work in Minix).

Firefox is my web browser; I shall not want

This post have been in my drafts for a long time but after watching the Safari hype on Twitter, I think it is the right time to write this, because of the momentum.

On September 2008, Google released its own web browser: Google Chrome. During a week, everyone wrote and talked about it. As fast as I knew I could not block Ads, I didn’t bother trying it.

I don’t like surfing the web while I am being bombarded with lots of banners, pop-ups, etc. Most of the time, these ads are completely unrelated to the site and most of them are a offensive to me (I don’t need a Russian wife, okay?).

Since I discovered AdBlock Plus and NoScript I don’t need other browser than Firefox. A WWW without banners is better and feels good. You also can save more memory and prevent browser crashes removing ads and banning JavaScript/Flash/etc.

But what about the morals on removing advertising from web sites?

I know some websites’ revenue come from advertising. Nonetheless, the less intrusive, the better when it comes to advertising. Look how some people are using blogs for marketing or how Automattic convinced me to buy this domain and add it to my blog site.

Some people didn’t get it, but I bet they will some day not so far…

And you, why are you still suffering advertising?

How many Windows users know Windows?

I have been wondering about that question for a long time. According to NetApplications, Windows owns 88% of the operating system market share. However, how many of them could we call “power users”?

Lately, there is so much buzz about Linux security after this article. It seems some part of the Linux community have been living in Mars, since they firmly believed their system was intouchable. But there is something that makes virus in Linux infeasible: user education. Most of Linux users know how to use their system and know what to do when unknown senders send them email. On the contrary, on Windows, most of users would open an executable file from anyone only for curiosity (and, as we know, most of people use Administrator accounts when navigating on the Internet).

So, how would you measure how much people really know Windows? Would we obtain a good approach counting the people who use limited accounts to surf the web? How would you do it?

Lesson Learned: Language Processing

The Business of Software has been one of the most influential books I have ever read. Although it is not a self-help book, it made me feel great and gave me hope when I first read it. Since then, I knew I wanted to build my software company someday in future.

There are anecdotal experiences  from Eric Sink in this book like when he speaks about the C compiler he developed. It was not better than the C compilers out there, but it was able to compile itself. That’s impressive!

During college I wrote a C compiler, just for fun. It was written in C, entirely from scratch, with a handwritten recursive descent parser. I even did some peephole optimizations on the back-end. It wasn’t very fast, but it could compile itself with no errors. I released it under the GPL, but I was only the person who ever used it.

During last semester, I have wrote a Lexer, a Parser and a Tree Parser for a college project. It was not a compiler after all, but it is somewhat near a compiler. This project was an open assignment, I mean I could choose whatever language to parse (even an invented one up to certain degree of hardness). I have not written all the code from the scratch, like Eric did. However, I studied how ANTLR works and all the theory behind language parsing and I think I have done a great work.

Personally, I had never managed myself to recognize languages properly until I passed this subject. I was afraid of building a lexical analyzer: I never knew where to start. But now, language processing has become something fun :)

To WordPress or not to WordPress: made up my mind

WordPress Logo Months ago, I wondered whether I had to host my own blog or sticking with WordPress.com service’s crippled customizations. After a year and a half, I made up my mind: WordPress.com. After studying some offers from different hosting providers, I thought it was not worth the trouble maintaining my own blog site. Now, as you can see, this blog has turn into http://rafavargas.com.

Okay, time for Q&A.

Why have you done something like that? I thought you were able to bring the famous 5-minute installation
Yes, I can :) But, what would have happened with you, my fellow reader? As Scobleizer’s “ Corporate Weblog Manifesto” rule twelve says: Never change the URL of your weblog. A few months back, I wanted you to change the feed and only 30% of you did it. For those of you who still did not update the RSS, click here. (If you add this RSS feed, you will sometimes receive a list with my last posts on delicious.com)

How much was it?
Hey, this questions should be made in private! But it would be okay for this time. It was 11.68 € with the current USD-EUR exchange rates. Really cheap, easy and good. The process is pretty straightforward so thumbs up for the Automattic team! If you are still debating what you should do: take this post as advice.

What was what made you to change mind?
An ad. Have you ever seen those little yellow boxes on the top of the dashboard? There was an ad instead of an announcement. Good for them: they got a new client. If ads were like that instead of the lousy ones we saw on the Internet, I think people would not ignore them.

Thanks for your time.

« Previous PageNext Page »


About me


My name is Rafa Vargas. I'm an undergraduate student of Computer Science at University of Seville, Spain. I am mainly interested in computer security, usability and the business of software.

Click here to read the full story.

Twitter subscription

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,022 other followers

Archives


Follow

Get every new post delivered to your Inbox.

Join 1,022 other followers