Thursday, October 27, 2005

Re: War on Terror - bash style

When I first read the title "War on Terror - bash style".. i thought it was a typo instead of "War on Terror - bush style"

Good read... I meant the bash one

War on Terror - bash style

Seriously (geeky) hilarious - http://blogs.sun.com/roller/page/ThinGuy?entry=the_war_on_terror_as

Charles Petzold on Visual Studio

 
Avalon's dynamic layout sounds interesting. I actually may be doing a POC on Avalon sooner or later for one the projects here! Hoping the work comes through soon!!
 
Dinesh.
 

Thursday, October 20, 2005

AJAX Apps

Word Processor:
http://www.writely.com/

Calendar:
http://www.kiko.com/

Todo List:
http://www.rememberthemilk.com

Monday, October 17, 2005

Re: Project Anyone??


I generated the pdf of the deverloperworks site and it looks just fine.

It all just depends if you want to play with js or read the article.


Like u said the PDF thing worked fine. What I was a bit confused was how the page style changed. I thought it was doing something funny with javascript. But later it was nothing to do with js; but CSS. With CSS you can specify the media type as well as explained here. So the print css was a no frills style which was auto used when printing.

Actually wanted to play with Greasemonkey.. but will try it later.

Sunday, October 09, 2005

Re: Project Anyone??

Revo,
 
I generated the pdf of the deverloperworks site and it looks just fine. If your purpose is just to read the articles then I don't see why you would want anything else. If you want the frills and colors, then do what mohnish suggested.. Say "File -> Save As" and select the type as *.mht, thats a web archive. I tried that too, its even better than the pdf!
 
It all just depends if you want to play with js or read the article.
 
Dinesh.

Friday, October 07, 2005

Re: Project Anyone??

Also related to this, you guys aware of any JavaScript(js) tools. One thing I use a bit is the Javascript console in firefox. But only get errors for lousy methods I have writen. Is there any way I can get all the js loaded by a site. Or the dynamic tracing/state of all the js variables/methods etc that are currently loaded/working in a page.

Download this extension for Firefox. Here is his site. Probably the greatest invention for Javascript ever. Not exaggeratating!

As for your problem... why don't you just use the 'email this page' link to email the page to your 2 1/2 gig gmail account? Or even easier why not just "File -> Save Page As..."?

Re: Project Anyone??

Just install pdf995 - http://www.pdf995.com..

Thanks,,, I was aware of that tool. First the pages are not very printer-friendly. Too many extra elements. Also the idea was to first get the underlying format. And then try to make some Greasemonkey script to modify the developerworks pages and add another; say PDF link.

Also related to this, you guys aware of any JavaScript(js) tools. One thing I use a bit is the Javascript console in firefox. But only get errors for lousy methods I have writen. Is there any way I can get all the js loaded by a site. Or the dynamic tracing/state of all the js variables/methods etc that are currently loaded/working in a page.

Thursday, October 06, 2005

Re: Project Anyone??

Revo,
 
Just install pdf995 - http://www.pdf995.com.. It installs as a printer and when your page asks you to choose the printer, choose the software one and it will print it to a pdf.
 
Dinesh.

Re: What is Web 2.0?

I had read the article recently. That term seems to have got a lot of buzz of late. I guess one of the things that really got it moving was AJAX interfaces.

What I'm starting to notice is that a lot of 'concept' apps or whatever you want to call it are just trying to ape what regular desktop apps do. Now that there is the new idea of making http requests asynchronously which don't require page refreshes, people are going crazy using it as a hammer and seeing everything as a nail. From the few I've seen - they suck. Sure they are all jazzy making full use of dhtml, now with xmlhttprequests behind the scene. But they are a usability nightmare. They are slow as hell. AJAX is a new concept and with people trying to take it to the limits they are abusing the browser. When you want to use a web app you expect it to work in some 'preconcieved' way - through so many years of surfing the web we've become comfortable with certain conventions. AJAX apps go against it. Plus who the hell wants to use a windows type app through a browser? Adam Bosworth - a big shot at Google - the 'father' of AJAX apps - even posted problems he see a while back.

I'm not saying AJAX sucks. I think it's superb. Really. I feel it should be used to enhance the web experience and accepted paradigms. Not just try to rehash Windows type apps.

Wednesday, October 05, 2005

What Is Web 2.0?

A really good writeup on - What Is Web 2.0? at Oreilly.

The conclusions included the following points....

* Services, not packaged software, with cost-effective scalability
* Control over unique, hard-to-recreate data sources that get richer as more people use them
* Trusting users as co-developers
* Harnessing collective intelligence
* Leveraging the long tail through customer self-service
* Software above the level of a single device
* Lightweight user interfaces, development models, AND business models

What I felt is the most important is Control over "unique, hard-to-recreate data sources". If you can generate/own such data; you can expose an API and thus take care of the other points mentioned.

Another point mentioned is rich UI using AJAX.

Monday, September 26, 2005

Project anyone??

I usually get quite a lot of good articles at IBM developerworks. They would initially offer articles in different formats like PDF; which I would save locally. Recently the site was changed and the PDF format support was removed. Instead a "Print this page" link which calls a JavaScript method is present.

As I do not have a printer on clicking the link, it gives me a "No printer found error". So could any of you guys tell me what method is being called on that link. I do not really know JavaScript and was unable to figure out what gets called.

I suppose the method will return a format which is printer friendly and then I could move ahead from there...

Any takers??

Thursday, September 22, 2005

The Jackpot project

Some pretty interesting stuff in this project. See this link http://www.artima.com/weblogs/viewpost.jsp?thread=116895 at artima.

Jackpot provides a few compiler specific views which can then be used for code-optimization etc. Read the article..

Wednesday, August 24, 2005

Comparing Java and .NET security

I'm back. Hopefully there'll be more traffic from my side.

Here's an interesting paper published by couple of students - Comparing Java and .NET security - Lessons learned and missed. Haven't read it, but scanned some parts and it seemed pretty good.

Saturday, August 06, 2005

Hacking the Linux 2.6 kernel

There is a good tutorial at developerworks on Hacking the Linux kernel..

I havent tried the stuff yet.. but seems like a good starting point to go that one level deeper into the Linux OS. Read Part 1 and Part 2.

Friday, July 29, 2005

Hardware: Super Fast Storage

See this article on anandtech.com which is a good site for hardware reviews. The article is about the review of a new product - Solid State Storage (i-RAM). Simply put, i-RAM has a 4 RAM slots. Put in upto 4*1GB RAM cards and what you get is a super fast and silent Storage device. i-RAM plugs into the PCI slot for power and has a battery backup for maintaining data in the RAM cards after power shut down. More on the power to the card.. "As long as your power supply is still plugged in and turned on, regardless of whether or not your system is running, shut down or in standby mode, the i-RAM will still be powered by the 3.3V line feeding it from the PCI slot."

Costly but cool.

Sunday, July 17, 2005

Re: Java Generics Considered Harmful

He's right to say that Generics adds a certain level of complexity to the language. But it's designed to simplify programming. If you don't abuse it, it is a benefit rather than a hindrance.

Consider C++... Why do people think it's so difficult? It's because there are so many different ways to do things and a lot of the features are abused. But if you only use a controlled subset of the features in a consistent way, that complexity goes down and it becomes manageable.

It's the same with Generics. He's given some examples of some real weird stuff that could be done with it. But why would you want to do it? If the whole point of this is to simplify things, why do things like that? I've used Generics and I feel it has made things better. When you're looking over code and you see them declarations which specify what type of object the data structure contains, it makes things so much more clear.

I can't say people in the .NET community have voiced similar concerns, but that may be partly cause .NET 2.0 hasn't come out yet. Maybe once it's out there for a while and people start seeing problems like this there'll be some complaints. I haven't seen a total/complete comparison between the Java/.NET implementations and what can be done with them so I dunno if what he's talking about can be done in .NET also (I would assume so). So lets see.

As I said, my personal feeling is that Generics is definitely an improvement and is something that is needed.

As an aside - Just noticing these two trends... Java and .NET are moving to things like Generics which require you to specify MORE detailed type information, whereas there's also a huge move towards dynamic languages like Python, Ruby and Javascript which are the opposite and infer all type info.

Thursday, July 07, 2005

Re: Why Indians Aren’t Software Innovators?


In the current software industry, there is little ongoing innovation.

The Indian education system fails to teach underlying concepts and understanding.


What you said about education in India is mostly correct. The majority of the students perform really well by rote learning. Although the Indian educational system has flaws, I suppose the courses in schools are much more rigorous compared to stuff taught in Western countries.


If the Indian education system does not actively foster innovative thinking, one may ask why there are so many successful Indian entrepreneurs in the software industry in the United States.

One reason may be that many of these successful ventures were started by graduates of the Indian Institutes of Technology (IIT).
One many then ask about the success of non-IIT Indian software entrepreneurs in the United States. Most of the remaining Indian entrepreneurs are likely completed graduate studies in the United States have developed innovative thinking through these institutions.


I somehow believe that innovation cannot be taught. Pawan mentioned fostering innovation which is more correct. Without a doubt there are many intelligent guys in India. I believe that there are also many innovators. Why? Simply because of the environment. There is a lot of chaos and huge ammounts of competition. This harsh environment makes the best innovators. Those Indians who move abroad find an environment where it is easier to explore new ideas. They can survive anywhere. Remove red-tape and Indians really thrive.

Also IITians are a bunch of really intelligent guys. But not necessarily good at software and definitely not necessarily good innovators. Innovation like Leadership is self-taught. For a similar reason I find it absurd that people are taught managerial skills in MBA schools.

As Pawan mentioned, there is a less demand for products in India. And so most guys move to services.


Therefore, the Indian software industry will inevitably either perish or will have to become innovative as the payoffs for outsourcing decrease.


The Indian software industry has a very long life ahead. They are already moving to higher end services. From testing jobs, companies are now doing some design stuff too. Even in hardware and other domains, more jobs where high skills are needed are being shifted. The quality of the "outsourced jobs" is improving.

Java Generics Considered Harmful

Ken Arnold is one of the authors of The Java Programming Language along with James Gosling.

In this post on Java.Net blogs; he says..

"I don't know how to ease into this gently. So I'll just spit it out.
Generics are a mistake. "

That is a pretty big statement to make.

His reasoning is that for the benefit Generics offer, they are too complex to learn and hence a mistake.

As lazy as I am I have still not played with Generics; so I cannot say much.

Any such feeling in the .NET world??

Thursday, June 23, 2005

Re: Intel at Apple's Core

I don't think this will be the case at all. Apple isn't going to let you run their OS on PCs. A huge part of their revenue is from hardware

Yur right... Apple will try to control their platform/OS and work on specific hardware too.


Sure, people will manage to get it on PCs and there will be hacks etc... but I doubt it will be anything big. Plus OS X isn't Open Source so there's less incentive for the OS community to bother with it.

Actually MacOSX is open source. See darwinsource/. I knew that they are based on BSD Unix, but just realised they are open source too!!.

IMHO the OSX hacks will get quite popular if it happens..