Thursday, January 04, 2007

Publish "Add Feed to Your Personalized Site"

Google
http://fusion.google.com/add?feedurl=rss_url

Msn Live
http://www.live.com/?add=rss_url

My Yahoo
http://add.my.yahoo.com/rss?url=rss_url

Netvibes
http://eco.netvibes.com/subscribe.php?url=rss_url;type=rss

Wednesday, January 03, 2007

Eclipse Plug-in Test Framework

After two weeks of configuring and scripting test packages I can say that "building" a build process is a very hard task, but worth the tears!

now you can RSS: http://download.eclipse.org/tools/php/downloads/rss/updates.xml
or be a member in pdt-unit-test@eclipse.org to be updated about the test results.

Good night,
Roy

Tuesday, January 02, 2007

Transforming to linux-style stream

Why there are differences between the platforms end of line characters? Oh yes, Never ask the WHY question on standarts, so I found my self coding a small block to overcome this mini-crisis:

// given an input stream
final InputStream is = ...;

// create a stream that behaves as a linux-style stream
InputStream linuxStream = new InputStream() {
int previous = -1;
int current = -1;
int next = -1;
  public int read() throws IOException {
if (next != -1) {// a buffered int was readen last iteration
current = next;
next = -1;
} else { // else read an int from the stream
current = is.read();
}
    if (current == 13) {
next = is.read();
if (next == 10) { // encounter "\r\n" transform to "\n"
next = -1;
}
current = 10;
}
return previous = current;
}
}


Monday, January 01, 2007

The Future of Operating Systems

Well... as I see it, there is no such thing "future to operating systems".
Hi, wait a minute, are you fooling me? how computer will work without an operating system?

They will, with a small effort one of the open-source companies will create a simple program that will first of all manage the basic hardware of a computer (I/O and memory), and second let the user the ability to browse the internet. Such kind of computers should be called "Webtops" (I know that some people use this word to describe web office-style programs but I think that like laptops/desktops, we should call small computers that designed for the net - "Webtops"). Oh ya! These computers will work fast, since they won't do any "heavy" computations.

So what you're telling me that simple and light computer program will be backup by a huge backend servers? well... yes.

There are many question here that I need to answer:
Q: Online vs. Offline work, how one should work without an internet connection?
A: Do you realy think that internet connection will not be accessible from anywhere in 10 years from now?

Q: What about security?
A: Security will be given by the server software.

TBC...

Roy Ganor,