Dejo un pantallazo:



Hello everybody out there using minix -
I'm doing a (free) operating system (just a hobby, won't be
big and professional like gnu) for 386(486) AT clones.
This has been brewing since april, and is starting to
get ready. I'd like any feedback on things people
like/dislike in minix, as my OS resembles it somewhat
(same physical layout of the file-system (due to practical
reasons) among other things).












import java.io.*;
public class Version {
public static void main(String[] args) throws Exception {
if (args.length != 1) {
System.err.println("Usage: java version <.class file>");
System.exit(1);
}
if (! new File(args[0]).exists()) {
System.err.println(args[0] + " does not exist!");
System.exit(2);
}
DataInputStream dis = new DataInputStream(
new FileInputStream(args[0]));
int magic = dis.readInt();
if (magic != 0xcafebabe) {
System.err.println(args[0] + " is not a .class file");
System.exit(3);
}
int minor = dis.readShort();
int major = dis.readShort();
System.out.println("class file version is " + major + "." + minor);
String version = null;
if (major < 48) {
version = "1.3.1";
} else if (major == 48) {
version = "1.4.2";
} else if (major == 49) {
version = "1.5";
} else if (major == 50) {
version = "6";
} else {
version = "7";
}
System.out.println("You need to use JDK " + version + " or above");
}
}

From: Linus Benedict Torvalds [email blocked]
Newsgroups: comp.os.minix
Subject: What would you like to see most in minix?
Date: 25 Aug 91 20:57:08 GMT
Hello everybody out there using minix -
I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones. This has been brewing since april, and is starting to get ready. I'd like any feedback on things people like/dislike in minix, as my OS resembles it somewhat (same physical layout of the file-system (due to practical reasons) among other things).
I've currently ported bash(1.08) and gcc(1.40), and things seem to work. This implies that I'll get something practical within a few months, and I'd like to know what features most people would want. Any suggestions are welcome, but I won't promise I'll implement them :-)
Linus (torva... at kruuna.helsinki.fi)
PS. Yes - it's free of any minix code, and it has a multi-threaded fs. It is NOT protable (uses 386 task switching etc), and it probably never will support anything other than AT-harddisks, as that's all I have :-(.







Hace tiempo comenté la web The Million Dollar Homepage, una web de 1.000x1000 pixels que se vendían a un dolar cada uno, y que fue un éxito para su creador.

su equivalente en JSON sería:
<invoice>
<date>2006-08-08</date>
<product>
<name>Cámara fotográfica</name>
<quantity>1</quantity>
<payment-type>credit_card</payment-type>
</product>
<product>
<name>Tarjeta memoria</name>
<quantity>1</quantity>
<payment-type>credit_card</payment-type>
</product>
</invoice>
"invoice": {
"date" : "2006-08-08",
"product" : [
{ "name" : "Cámara fotográfica", "quantity" : 1, "payment-type" : "credit-card" },
{ "name" : "Tarjeta memoria", "quantity" : 1, "payment-type" : "credit-card" }
]
}
