Wednesday, May 16, 2007

all toyota cars will be hybrids by 2020?

hmmm
read this...

TOYOTA CITY, Japan (Reuters) - Toyota Motor Corp. (7203.T: Quote, Profile, Research expects to cut costs for hybrid cars enough to be able to make as much money on them as it does on conventional gasoline cars by around 2010, a top executive said on Thursday.
Toyota likely achieved cumulative hybrid sales of one million units this month, having moved 998,900 by the end of April.
In 2006, it sold 313,000 units, accounting for the majority of the world's hybrid cars, and aims to lift that to 430,000 units this year with ramped-up production of the popular Prius.

Source: Reuters

M$ takes on the free world

Microsoft takes on the free world


Microsoft claims that free software like Linux, which runs a big chunk of corporate America, violates 235 of its patents. It wants royalties from distributors and users. Users like you, maybe. Fortune's Roger Parloff reports.
(Fortune Magazine) -- Free software is great, and corporate America loves it. It's often high-quality stuff that can be downloaded free off the Internet and then copied at will. It's versatile - it can be customized to perform almost any large-scale computing task - and it's blessedly crash-resistant.
A broad community of developers, from individuals to large companies like IBM, is constantly working to improve it and introduce new features. No wonder the business world has embraced it so enthusiastically: More than half the companies in the Fortune 500 are thought to be using the free operating system Linux in their data centers.
But now there's a shadow hanging over Linux and other free software, and it's being cast by Microsoft (Charts, Fortune 500). The Redmond behemoth asserts that one reason free software is of such high quality is that it violates more than 200 of Microsoft's patents. And as a mature company facing unfavorable market trends and fearsome competitors like Google (Charts, Fortune 500), Microsoft is pulling no punches: It wants royalties. If the company gets its way, free software won't be free anymore.

Source: CNN Money

... and linus responds to m$'s claim!


Linus Torvalds, lead developer of the Linux kernel, has a sharp retort to Microsoft executives' statements in a Fortune magazine article that Linux and other open-source code violate 235 Microsoft patents.
"It's certainly a lot more likely that Microsoft violates patents than Linux does," said Torvalds, holder of the Linux trademark. If the source code for Windows could be subjected to the same critical review that Linux has been, Microsoft would find itself in violation of patents held by other companies, said Torvalds.
"Basic operating system theory was pretty much done by the end of the 1960s. IBM probably owned thousands of really 'fundamental' patents," Torvalds said in a response to questions submitted by InformationWeek. But he doesn't like any form of patent saber rattling. "The fundamental stuff was done about half a century ago and has long, long since lost any patent protection," he wrote.
Microsoft should name the patents that it claims have been violated so the claims can be tested in court or so open-source developers can rewrite code to avoid the violation, Torvalds wrote.
"Naming them would make it either clear that Linux isn't infringing at all (which is quite possible, especially if the patents are bad), or would make it possible to avoid infringing by coding around whatever silly thing they claim," he said.
"So the whole, 'We have a list and we're not telling you,' itself should tell you something," Torvalds said of Microsoft's stance in the Fortune story. And for good measure, he added: "Don't you think that if Microsoft actually had some really foolproof patent, they'd just tell us and go, 'nyaah, nyaah, nyaah!'"
Microsoft would prefer not to actually sue anyone, particularly a Linux user who's also a Microsoft customer. "They'd have to name the patents then, and they're probably happier with the FUD [fear, uncertainty, doubt] than with any lawsuit," Torvalds predicted.

Source: InformationWeek

kottu wordpress bug

there was a blog post by a self proclaimed voice of colombo... who i personally think needs to clear his/her throat... and this voice had accused another person of "Stealing Traffic" from kottu.org... 'cos it seems like he/she lives off advertisements in his blog... and probably get a bit upset to find that someone had managed to very easily stay at the top of the list... and since he obviously had noclue of how syndicated content polling works... he felt a bit "unfair" that his posts didnt appear at the top of the list...

i'm just kidding...

back to the flaw in kottu.org...

seems like the rss / atom / html importer in version of wordpress used in kottu.org has a flaw such that it uses the timestamp of the imported content without validating with its own... that is... if i write a blog post at 11:59 PM since its the latest... it will appear at the top... i gave up on wordpress because drupal seemed to be better... well it api was much easier so you can write your own modules or extend the existing ones... wordpress wasnt that cool... so i gave up on it... and switched to drupal...

i made two blog posts: a and b

a and b was posted around the same time (around 6.30 PM on 5/15/07)
but i had put two different timestamps

a: at 5/15/2007 06:00:00 PM
b: at 5/15/2007 11:59:00 PM

b would appear before a in kottu.org

so how do you fix that?

well consult a professional software engineer... its a capitalist world after all...
i'm just kidding... wordpress should have a patch for it... :)
i would run a cron every 15 min or whatever and just import content and stick to my server timestamp... as opposed to using the timestamp in feed....
wordpress is written in php so if you know a bit of php you can modify the code by yourself... its legal 'cos wordpress is opensource...

do the right thing?

the the fuss is about posting a future dated blog entry with the intention of making it stay at the top so that he/she would want some traffic to his/her poll or whatever... and thats supposed to be unethical.... and the solution is to get all the bloggers in kottu.org to stone unethical blogger by visiting the ethical blogger's post...

ya well i dunno... i'd rather try to fix the code in kottu.org and worry about all that ethical bullshit!

and the voice is being anal about this whole thing saying "DO THE RIGHT THING" i just read the thread in his blog... so what if prabath fixed a false date? and DOING THE RIGHT THING and shit like that is boring...

forward dated and back dated blog posting is necessary... its like you've got this diary and you've made notes on another diary and you want to update your main diary... and if the main diary didnt allow you to write on whatever page you wanted to... then thats screwed up... say there is a future event... and you def know that you cant be in front of a computer or use your phone to make a blog post...

modify the code!

if wordpress has issues with taking content and assuming that the date stamped is the actual posted date then thats screwed up
how about this... i have my own server... and i have wordpress running on it... and i modify the code so that whatever blog entry thats put there would have 12:59 PM as its timestamp...

look its an accepted content validation practice... like i said... i would use my time as reference... the time my server imported your content is what would matter...

Related Blog Posts


Memory Bank Threatened..!
Stealing Traffic on Kottu.Org. Bloggers Be on Alert!

Memory Bank had misunderstood my initial comment on the ads... and had said in his blog: " So, for all my blog readers, I would like to say, Memory Bank never depends on 'ads', so never goes after popularity. "... i was not referring to him... i was referring to the colombo voice!
but leaving all that a side... its an issue with kottu.org and not Memory Bank...

kottu -> pls modify your code!

gilchrist and the squash ball

about the whole gilly's additional ball thing... my friends have been asking me "machang is it true"... and this is what i have to say:

squash ball

the coefficient of restitution of the squash ball is about 20%... that is... if 100J is given to the ball it would release 20J as mechanical energy and the rest will be dissipated as heat (entropy)...

the squash ball would have to serve as an energy storage device... the batsman would give energy to the squash ball by compressing it before the cricket ball hits the bat and would allow the ball to expand when the cricket hits the bat...

in terms of physics is see no other way that the squash ball would serve to assist the batsman other than it being a device that would increase the comfort factor... and the batsman obviously gets a better grip and that makes him deliver more power.... also aussies have big palms so the ball def gave him a better grip!!!

on the contrary... if the timing is wrong squash ball would server as a damper... absorbing 80% of the energy of the impact when the ball hits the bat! this would be disadvantageous in terms of energy to the batsman! because the squash ball has a low coefficient of restitution (20%)... so if the squash ball wasnt present... that 80% loss would not be there!

so i seriously doubt that gilchrist had all this in mind when he stuck the squash ball up his gloves! it would have been to get a better grip... or hey... may be he didnt have the balls to face malinga... hehe

but now that we're talking about the dynamics of it... lets just analyze it in a very crude way...

lets look at it in terms of energy

you can do a simple calculation to find out how much energy a cricket ball has when it leaves the bat...

t - time of flight: that is the time when the ball hits the bat till it falls on the ground
v - velocity vector of the ball leaving the bat
m - mass of the ball (163g)

we will make the following assumptions
aerodynamic forces acting on the ball is neglected...
and that the trajectory of the ball is a true parabola

energy, E=½mv2 ---(1)
maximum distance, d=v2/g ---(2)
from (1) and (2): E=½mdg ---(3)

so if the ground radius is 75m and we try to clear the rope by about 10m:
d=85 and from (3) we get E=68J

the bat

the maximum coefficient of restitution of a cricket bat is about 70%... the energy delivered from the bat comes partly from kinetic energy of the cricket ball and of course from the batsman...

fast balls


a cricket ball traveling at 120 km/h (33m/s) would have around 90J of kinetic energy... so 70% of 90J is 63J... and thats 5J short of 68J needed to clear the ropes... so the batsman just needs to add another 7J and thats not much... unless you're like 5 or somethihng!

slow balls


a cricket ball traveling at 80 km/h (22m/s) would have around 50J of kinetic energy... and 70% of that is 35J... so the batsman has to add another 33J to the cricket ball match the 68J needed to clear the ground... so thats 47J that the batsman must add to the bat...

how much is 47J? well 100J is the amount of energy that a paramedic would give to a person who is not breathing... and its not much... a 100J punch woudlnt even hurt you that much... you'd go "ouch" for a few seconds and thats it...

i hope this was useful...

Tuesday, May 15, 2007

ignore this as well...

ignore this... i'm just trying something out...