<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8178427947024902213</id><updated>2011-11-27T16:35:46.278-08:00</updated><category term='headphones'/><category term='yahoo'/><category term='gpu'/><category term='hello world'/><category term='Sennheiser PX 100'/><category term='adam'/><category term='phones'/><category term='java'/><category term='processor'/><category term='browser'/><category term='callback hava c++ function pointer'/><category term='apple wireless keyboard'/><category term='takeover'/><category term='microsoft'/><category term='ipad'/><category term='code'/><category term='sennheiser'/><category term='notion ink adam'/><category term='PX-100'/><category term='google chrome'/><category term='google'/><title type='text'>Hermes Wand</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://hermeswand.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8178427947024902213/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://hermeswand.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>SiD</name><uri>http://www.blogger.com/profile/13486203583232315315</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://lh3.google.co.uk/image/siddharthkrish/Rld9de0CvvI/AAAAAAAAAGs/aXkkuM2SgLk/s288/C%3A%5CPicture%5Cme%5Cme%20054.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8178427947024902213.post-2735450902668431143</id><published>2010-04-08T21:28:00.000-07:00</published><updated>2010-04-09T16:55:29.583-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='notion ink adam'/><category scheme='http://www.blogger.com/atom/ns#' term='adam'/><category scheme='http://www.blogger.com/atom/ns#' term='ipad'/><title type='text'>Notion Ink Adam</title><content type='html'>&lt;span style=";font-family:verdana;font-size:100%;"  &gt;So what I want from my tablet PC is quite simple. I want to be able to browse the internet, watch video's &amp;amp; play music. I also don't want to have to keep charging the thing between an episode of star trek (insert geek joke here). For my programming needs I've got a powerful desktop with a BIG monitor &amp;amp; a real keyboard and mouse so I don't care if the tablet falls short when it comes time for me to start writing code.&lt;br /&gt;&lt;br /&gt;The iPad is a great device because it &lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://sphotos.ak.fbcdn.net/hphotos-ak-snc3/hs460.snc3/26281_405164702175_302736112175_5067019_7397398_n.jpg"&gt;&lt;img style="float: right; margin: 0pt 0pt 10px 10px; cursor: pointer; width: 364px; height: 272px;" src="http://sphotos.ak.fbcdn.net/hphotos-ak-snc3/hs460.snc3/26281_405164702175_302736112175_5067019_7397398_n.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;span style=";font-family:verdana;font-size:100%;"  &gt;lets you do everything I want my tablet to do but it does have some major limitations that are a deal killer for me.&lt;br /&gt;&lt;br /&gt;Video: I need to convert all my avi's, mkv's to format's that are, well, apple supported. How many times have you thought to yourself, let me convert my bluray disk or DVD to mp4 &amp;amp; QuickTime (the default app on a mac) isn't really "Quick" now is it? The other problem playing video on the iPad is the screen, its a really nice big screen but the pixel density isn't great. &lt;/span&gt;&lt;span style=";font-family:verdana;font-size:100%;"  &gt;Sure you can play 720p videos (H264  encoded) but &lt;/span&gt;&lt;span style=";font-family:verdana;font-size:100%;"  &gt;with 1024x786 pixels, hi-def content just doesn't feel right.&lt;br /&gt;&lt;br /&gt;Internet Browsing: if you want to get a feel of what its like to browse the internet on an iPad have a look at this post on &lt;a href="http://www.groovypost.com/howto/apple/surf-web-ipad-style-from-mac-pc-firefox/"&gt;groovyPost.&lt;/a&gt; It's not going to be accurate but you'll get the idea. Its definitely a nice experience but as you start stumbling on sites not designed for the iPad/mobile devices, you start seeing some problems (remember Firefox will display flash, the iPad won't).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Enter Adam, Notion Ink's Adam is a device with a lot of promise, support for 1080p video, Android &amp;amp; an HDMI port letting you connect it to your LCD TV.&lt;br /&gt;The tegra2 processor on the Adam should let us play almost any content; at this point its still a little trouble playing divx &amp;amp; mkv's on Android, but I really think because of the open nature of the OS it won't be long before this'll be fully supported (Notion Ink might just release Adam with support for these video formats).&lt;br /&gt;&lt;br /&gt;16 hours of HD video playback is unheard of in most devices &amp;amp; if the Adam can deliver, that alone would be a reason to buy it.&lt;br /&gt;&lt;br /&gt;Then there's the Pixel Qi display, if you don't already know about it, search google for it and you'll be impressed. The display let's you turn off the led's resulting in HUGE power reduction when there's enough ambient light &amp;amp; you're reading something. It might not be as nice as the e-ink but its close. Having said this, &lt;/span&gt;&lt;span style=";font-family:verdana;font-size:100%;"  &gt;the display of the Notion Ink is still a 1024x600  display &amp;amp; if anything might not be as nice as the iPad&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:verdana;"&gt;'s but there will be smaller black bars on the screen while playing HD content.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:verdana;font-size:100%;"  &gt;&lt;br /&gt;Then there's the internet browsing. The guys at Notion Ink want to wait for flash to become stable before they release the Adam. That in my humble opinion isn't the right thing to do. Sure full flash support will result in a much richer browsing experience, but even in its current state, its going to be no worse than the iPad or other similar devices. I like browsing on my Android powered device, some things could be improved (text flow on double tap, pinch &amp;amp; zoom) but those are pure software components that can be improved.&lt;br /&gt;&lt;br /&gt;In conclusion, The iPad's a great little device but I'll wait and see what the guys at Notion Ink come out with. I just hope they come out with something before its too late.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8178427947024902213-2735450902668431143?l=hermeswand.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hermeswand.blogspot.com/feeds/2735450902668431143/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8178427947024902213&amp;postID=2735450902668431143' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8178427947024902213/posts/default/2735450902668431143'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8178427947024902213/posts/default/2735450902668431143'/><link rel='alternate' type='text/html' href='http://hermeswand.blogspot.com/2010/04/notion-ink-adam.html' title='Notion Ink Adam'/><author><name>SiD</name><uri>http://www.blogger.com/profile/13486203583232315315</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://lh3.google.co.uk/image/siddharthkrish/Rld9de0CvvI/AAAAAAAAAGs/aXkkuM2SgLk/s288/C%3A%5CPicture%5Cme%5Cme%20054.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8178427947024902213.post-4454424533836818919</id><published>2008-09-04T20:58:00.000-07:00</published><updated>2008-09-06T02:58:37.741-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='google chrome'/><category scheme='http://www.blogger.com/atom/ns#' term='browser'/><title type='text'>Google Chrome</title><content type='html'>Microsoft has been a little worried about Google and for good reason. Google's new web browser, Chrome, is the latest product offering by the company that's adamant that they're not taking over the desktop. For a first release Chrome isn't bad. It does everything a browser should do quite well.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Rendering web pages: Its rendering engine seems like someone's slaved over it and has come up with a product that unlike safari is more concerned with showing up "real world" web pages as they were intended rather than just sticking to standards. It's able to show most pages very well and very quick.&lt;/li&gt;&lt;li&gt;Speed: The browser is quick. A lot of browser claim they're fast but I've yet to come accross any browser that's as quick. I don't have figures as yet but its the perceived delay that matters to the ultimate user isn't it?&lt;/li&gt;&lt;li&gt;Tabs as different processes: Helps, definitely helps in case one of the tabs crashes its not supposed to take the entire browser down. However I've had a case in which all of Chrome crashed!!!&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;Problems:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Downloads: Didn't see an option to pause and restart downloads. Once I cancel a download there's no option to restart it either.&lt;/li&gt;&lt;li&gt;The colours: Blue under XP... that's the only colour that the browser's tiny task area's available in and doesn't take the colours assigned in the OS and doesn't seem to support skins.&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;Wishlist:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Full screen mode&lt;/li&gt;&lt;li&gt;Easier access to plugins.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Just a note to people who go on about the integrated search in the address bar! IE and Firefox both have it in case you've not realized yet.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8178427947024902213-4454424533836818919?l=hermeswand.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hermeswand.blogspot.com/feeds/4454424533836818919/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8178427947024902213&amp;postID=4454424533836818919' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8178427947024902213/posts/default/4454424533836818919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8178427947024902213/posts/default/4454424533836818919'/><link rel='alternate' type='text/html' href='http://hermeswand.blogspot.com/2008/09/google-chrome.html' title='Google Chrome'/><author><name>SiD</name><uri>http://www.blogger.com/profile/13486203583232315315</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://lh3.google.co.uk/image/siddharthkrish/Rld9de0CvvI/AAAAAAAAAGs/aXkkuM2SgLk/s288/C%3A%5CPicture%5Cme%5Cme%20054.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8178427947024902213.post-8431468980645587500</id><published>2008-05-06T23:09:00.000-07:00</published><updated>2008-05-06T23:12:55.768-07:00</updated><title type='text'>umount (but in windows)</title><content type='html'>Here's the command. Its similar to &lt;em&gt;umount&lt;/em&gt; in linux. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;rsm eject /pf"VOLUME_LABEL"&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Some places where its useful.&lt;br /&gt; - scripting automatic backup&lt;br /&gt; - when your SA has too much power ;-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8178427947024902213-8431468980645587500?l=hermeswand.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hermeswand.blogspot.com/feeds/8431468980645587500/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8178427947024902213&amp;postID=8431468980645587500' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8178427947024902213/posts/default/8431468980645587500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8178427947024902213/posts/default/8431468980645587500'/><link rel='alternate' type='text/html' href='http://hermeswand.blogspot.com/2008/05/umount-but-in-windows.html' title='umount (but in windows)'/><author><name>SiD</name><uri>http://www.blogger.com/profile/13486203583232315315</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://lh3.google.co.uk/image/siddharthkrish/Rld9de0CvvI/AAAAAAAAAGs/aXkkuM2SgLk/s288/C%3A%5CPicture%5Cme%5Cme%20054.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8178427947024902213.post-6781300820855032929</id><published>2008-02-10T23:49:00.000-08:00</published><updated>2008-02-10T23:59:50.320-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='takeover'/><category scheme='http://www.blogger.com/atom/ns#' term='yahoo'/><category scheme='http://www.blogger.com/atom/ns#' term='microsoft'/><title type='text'>Yahoo!</title><content type='html'>Since everyone's got an opinion about the takeover of yahoo by Microsoft, I thought I'd add my 2 cents worth in this $44 billion bid as well.&lt;br /&gt;I'm one of the few who think Microsoft deserves every bit they've got because they've earned it by making sure they are besides agents of change also extremely good at the business they're in. Just imagine what the world would be like if there wasn't any Windows or Office. Would it have forced others to work this hard in making all the new operating systems and improving the user experience?&lt;br /&gt;So keeping this in view I'm glad that Yahoo and MS are going to be one, however I'm also a big advocator of free and open source software and Yahoo has done a lot in that space and Microsoft hasn't been as open with its code base for most software they've put out.&lt;br /&gt;The other problem is that Yahoo has done some really good stuff with certain companies they own, flickr being one major one and I just don't like the thought of flickr being owned by Microsoft. Maybe it'll be good and it'll become more open then again it might not and we might have to deal with Microsoft thinking they can make something better by using their products.&lt;br /&gt;If Microsoft uses Yahoo as a pool of great programmers and set of great applications that they're going to support two thumbs up but one is left with the feeling that they won't be un-interfering parents.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8178427947024902213-6781300820855032929?l=hermeswand.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hermeswand.blogspot.com/feeds/6781300820855032929/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8178427947024902213&amp;postID=6781300820855032929' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8178427947024902213/posts/default/6781300820855032929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8178427947024902213/posts/default/6781300820855032929'/><link rel='alternate' type='text/html' href='http://hermeswand.blogspot.com/2008/02/yahoo.html' title='Yahoo!'/><author><name>SiD</name><uri>http://www.blogger.com/profile/13486203583232315315</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://lh3.google.co.uk/image/siddharthkrish/Rld9de0CvvI/AAAAAAAAAGs/aXkkuM2SgLk/s288/C%3A%5CPicture%5Cme%5Cme%20054.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8178427947024902213.post-7121079327782726036</id><published>2007-11-17T12:33:00.000-08:00</published><updated>2007-11-17T21:55:26.524-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple wireless keyboard'/><title type='text'>The New Apple Wireless Keyboard</title><content type='html'>Every time I buy an Apple product I'm greeted by this really nice product that's been designed first but the engineers have put in the extra effort making sure that design works.&lt;br /&gt;One gets the feeling that at Apple its not about who caused the problem and who's wrong but rather how a problem can be fixed.&lt;br /&gt;Why am I all praises about apple? I just bought the new wireless keyboard from Apple. As soon as it was out of its sleek packaging I was amazed by how neat it was. Clean lines, laptop style keys.&lt;br /&gt;Its not a full keyboard. Its missing the numeric pad but I think i can live with that. I've bought this to go with the new HTPC that i'm building that'll be sitting below the flat screen TV and I don't want a keyboard that's big and needs wires. I can see most ladies smile at this point, maybe that's what women want "No Wires"...&lt;br /&gt;I've tried the keyboard with my iMac (new 20" core 2 duo) running Mac OS X and Windows XP. I've tried it with my windows XP PC that's hidden somewhere out of sight (i'm writing this review on that) and it works really well with all those.&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Update&lt;/span&gt;: Just tried it with my Nokia N80 and it works really well with it as well. If i use this i'm sure my SMS are going to become LMS's... The only problem I found was that i couldn't find a 'Menu' button on the keyboard.&lt;br /&gt;&lt;br /&gt;There is a bit of delay at times but for the most part it works flawlessly without missing out anything. &lt;br /&gt;The other problem I found was that its got no indication of if its switched on or not and i'm assuming that's because they want to conserve power (the caps lock does have a LED)&lt;br /&gt;I've still not been able to connect it to my phone so i guess that's next and i'll try a little more tomorrow.&lt;br /&gt;Overall a sexy keyboard just like the one that comes standard with the iMac's without the numeric keypad.&lt;br /&gt;Also note that the keyboard won't work if you choose to pair it without a key.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Pros&lt;/span&gt;:&lt;br /&gt;- Worked on all computers i've tried (Windows, Mac OS X)&lt;br /&gt;- Sleek and very sexy&lt;br /&gt;- Works from across my room without a hitch&lt;br /&gt;- Bluetooth so no software required.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Cons&lt;/span&gt;:&lt;br /&gt;- A little slow at times&lt;br /&gt;- Price: cost me Rs.2500 but that was because i bought the iMac from the same guy too otherwise the price is Rs.4500/-&lt;br /&gt;- No numeric keypad.&lt;br /&gt;&lt;br /&gt;overall score: 4.5/5&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8178427947024902213-7121079327782726036?l=hermeswand.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hermeswand.blogspot.com/feeds/7121079327782726036/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8178427947024902213&amp;postID=7121079327782726036' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8178427947024902213/posts/default/7121079327782726036'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8178427947024902213/posts/default/7121079327782726036'/><link rel='alternate' type='text/html' href='http://hermeswand.blogspot.com/2007/11/new-apple-wireless-keyboard.html' title='The New Apple Wireless Keyboard'/><author><name>SiD</name><uri>http://www.blogger.com/profile/13486203583232315315</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://lh3.google.co.uk/image/siddharthkrish/Rld9de0CvvI/AAAAAAAAAGs/aXkkuM2SgLk/s288/C%3A%5CPicture%5Cme%5Cme%20054.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8178427947024902213.post-8093403900691936217</id><published>2007-08-22T03:23:00.000-07:00</published><updated>2007-08-22T03:25:32.065-07:00</updated><title type='text'>java check file existance</title><content type='html'>here's a simple function that checks to see if a file exists&lt;br /&gt;&lt;br /&gt;--------------------------------------------------&lt;br /&gt;    &lt;span style="font-weight: bold; color: rgb(153, 51, 153);"&gt;public boolean&lt;/span&gt; exists(&lt;span style="font-weight: bold; color: rgb(153, 51, 153);"&gt;String &lt;/span&gt;filename) {&lt;br /&gt;        File file = new File(filename);&lt;br /&gt;        &lt;span style="font-weight: bold; color: rgb(153, 51, 153);"&gt;return &lt;/span&gt;file.exists();&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;--------------------------------------------------&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8178427947024902213-8093403900691936217?l=hermeswand.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hermeswand.blogspot.com/feeds/8093403900691936217/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8178427947024902213&amp;postID=8093403900691936217' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8178427947024902213/posts/default/8093403900691936217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8178427947024902213/posts/default/8093403900691936217'/><link rel='alternate' type='text/html' href='http://hermeswand.blogspot.com/2007/08/java-check-file-existance.html' title='java check file existance'/><author><name>SiD</name><uri>http://www.blogger.com/profile/13486203583232315315</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://lh3.google.co.uk/image/siddharthkrish/Rld9de0CvvI/AAAAAAAAAGs/aXkkuM2SgLk/s288/C%3A%5CPicture%5Cme%5Cme%20054.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8178427947024902213.post-6694776219919749632</id><published>2007-07-13T09:56:00.000-07:00</published><updated>2007-07-16T05:15:16.886-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PX-100'/><category scheme='http://www.blogger.com/atom/ns#' term='Sennheiser PX 100'/><category scheme='http://www.blogger.com/atom/ns#' term='sennheiser'/><category scheme='http://www.blogger.com/atom/ns#' term='phones'/><category scheme='http://www.blogger.com/atom/ns#' term='headphones'/><title type='text'>Sennheiser PX 100</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.headphone.com/productphotos/large/0020080010_174.jpg"&gt;&lt;img style="FLOAT: right; MARGIN: 0pt 0pt 10px 10px; WIDTH: 200px; CURSOR: pointer" alt="" src="http://www.headphone.com/productphotos/large/0020080010_174.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I just bought those today. I know this blog was supposed to be about code but I have decided, i might add other tech stuff up here as well. So here's my review of the Sennheiser PX-100.&lt;br /&gt;&lt;br /&gt;First of all, if you enjoy music and have been listening to it on your portable music player using the ear buds or phones that came with it, its time for a change. These headphones are the perfect replacement for the stock ones that come with the players today. Yes! that does include the iPod. At $50 in the US and Rs.3400 in India these phones are priced well for the headphones of their quality.&lt;br /&gt;As you can probably make out in the picture they're open backed which means they're not going to do a lot in terms of blocking out outside sounds which can be a bit of a concern in India but they do make these super efficient. In spite of the small size these produce really good bass and the output isn't bad either. The open approach also means if you've got your music up loud (turn it down) others can hear it too...&lt;br /&gt;Coming to how comfortable they are, well i'd give them a 5/10 on that. if you're using these for long hours (i've had them on all day) you've got to keep removing them unlike the pair of altec's i also own which i can wear all day without even feeling them. The fact that they fold away are really neat though i'm not a 100% convinced that its entirely a safe, they don't give the feel of being bullet proof if you know what i mean. talking about build quality the wires feel like they could snap too (and they're not replacable) but i'll update you on that. Having said that, these do come with a years warranty which might come in handy in case something happens.&lt;br /&gt;Overall besides the build of these things I'd recomment them to anyone without a second thought.&lt;br /&gt;PS: I'll update you in sometime about how these are doing :)&lt;br /&gt;PS2: I've got a set of Grado's on the way, can't wait ;-)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;update:&lt;/strong&gt; i've been using these headphones for the last few days and i'm really impressed. the bass is nice and crisp, the detail in the sound is better then  some of the more expensive cans i've heard.&lt;br /&gt;I'm constantly scared i'm going to snap the wire.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8178427947024902213-6694776219919749632?l=hermeswand.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hermeswand.blogspot.com/feeds/6694776219919749632/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8178427947024902213&amp;postID=6694776219919749632' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8178427947024902213/posts/default/6694776219919749632'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8178427947024902213/posts/default/6694776219919749632'/><link rel='alternate' type='text/html' href='http://hermeswand.blogspot.com/2007/07/sennheiser-px-100.html' title='Sennheiser PX 100'/><author><name>SiD</name><uri>http://www.blogger.com/profile/13486203583232315315</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://lh3.google.co.uk/image/siddharthkrish/Rld9de0CvvI/AAAAAAAAAGs/aXkkuM2SgLk/s288/C%3A%5CPicture%5Cme%5Cme%20054.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8178427947024902213.post-1569005030569677006</id><published>2007-06-07T03:37:00.000-07:00</published><updated>2007-06-07T03:46:41.344-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='processor'/><category scheme='http://www.blogger.com/atom/ns#' term='gpu'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><title type='text'>Google's Many Computers</title><content type='html'>Well, I know I was said i'll post only code here but here's some rather interesting news that I think is worth a mention. I'm a big fan of the google way... but what's amazing is that almost all of google.com is running off x86 processors. As you can imagine that'll require a vast number of computers which require lots of energy and space. Enter PeakStream the company that specializes in programming the graphics processor units or GPU's on our computers. If you've played any new game GTA or Need for speed or any such game you'll know that these processors have massive computing power these days.&lt;br /&gt;How does all this fit into Google's plans? Well, cheap, multi-processor systems that use every bit of computing power available on the standard boxes available.&lt;br /&gt;Maybe its just my mind, maybe google infact will do this, either way its a nice thought.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;color:#666666;"&gt;      processor = gpu.getMorePower();   // hehe &gt;:-)&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8178427947024902213-1569005030569677006?l=hermeswand.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hermeswand.blogspot.com/feeds/1569005030569677006/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8178427947024902213&amp;postID=1569005030569677006' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8178427947024902213/posts/default/1569005030569677006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8178427947024902213/posts/default/1569005030569677006'/><link rel='alternate' type='text/html' href='http://hermeswand.blogspot.com/2007/06/googles-many-computers.html' title='Google&apos;s Many Computers'/><author><name>SiD</name><uri>http://www.blogger.com/profile/13486203583232315315</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://lh3.google.co.uk/image/siddharthkrish/Rld9de0CvvI/AAAAAAAAAGs/aXkkuM2SgLk/s288/C%3A%5CPicture%5Cme%5Cme%20054.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8178427947024902213.post-3726256784439575870</id><published>2007-05-15T06:31:00.000-07:00</published><updated>2007-05-17T02:41:24.258-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='callback hava c++ function pointer'/><title type='text'>Callbacks in Java</title><content type='html'>Unlike most other languages that provide function pointers in some form or other, Java doesn't. So the next question leading up is what's the workaround?&lt;br /&gt;Ans. Event handlers or interfaces&lt;br /&gt;&lt;br /&gt;Java or any other language that supports inheritance makes it possible to define something called an interface (abstract class with only pure virtual functions in c++).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Java&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;span style="color:#993399;"&gt;public interface&lt;/span&gt; Callback {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;span style="color:#993399;"&gt;&amp;nbsp;&amp;nbsp;public void&lt;/span&gt; fn();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;C++&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;span style="color:#993399;"&gt;class&lt;/span&gt; callback {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;span style="color:#993399;"&gt;public&lt;/span&gt;:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;span style="color:#993399;"&gt;&amp;nbsp;&amp;nbsp;virtual void&lt;/span&gt; fn() = &lt;span style="color:#3366ff;"&gt;0&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;&lt;br /&gt;so when we want to create a callback function we implement this interface, with the function '&lt;strong&gt;fn&lt;/strong&gt;' in this example being defined in the derived class. This function then becomes your callback.&lt;br /&gt;&lt;br /&gt;Java&lt;br /&gt;&lt;hr /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;span style="color:#993399;"&gt;public&lt;/span&gt; &lt;span style="color:#993399;"&gt;class&lt;/span&gt; CallbackHandler &lt;span style="color:#993399;"&gt;&lt;strong&gt;implements&lt;/strong&gt;&lt;/span&gt; Callback {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;span style="color:#993399;"&gt;&amp;nbsp;&amp;nbsp;public void&lt;/span&gt; fn() {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;span style="color:#009900;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// your implementation goes here&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;span style="color:#993399;"&gt;public class&lt;/span&gt; SomeClass {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;span style="color:#993399;"&gt;&amp;nbsp;&amp;nbsp;public void&lt;/span&gt; foo() {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;EventGenerator event = &lt;span style="color:#993399;"&gt;new&lt;/span&gt; EventGenerator();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;span style="color:#009900;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// we're creating an instance of the callback&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Callback handler = &lt;span style="color:#993399;"&gt;new&lt;/span&gt; ClallbackHandler();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;span style="color:#009900;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/* register this class as the handler for the event. In other words&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;color:#009900;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* call function 'fn' when some event we're interested in happens &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;color:#009900;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;event.registerCallback ( handler );&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;color:#009900;"&gt;/* some class that needs to call our callback */&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;span style="color:#993399;"&gt;public class&lt;/span&gt; EventHandler {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;span style="color:#993399;"&gt;&amp;nbsp;&amp;nbsp;public void&lt;/span&gt; registerCallback( Callback callbackObj ) {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;this.callback = callbackObj;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;span style="color:#3333ff;"&gt;&amp;nbsp;&amp;nbsp;...&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;span style="color:#993399;"&gt;&amp;nbsp;&amp;nbsp;public void&lt;/span&gt; bar() {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;span style="color:#009900;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// this will call the function we defined in our CallbackHandler class&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;this.callback.fn();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;span style="color:#993399;"&gt;&amp;nbsp;&amp;nbsp;private&lt;/span&gt; Callback callback = &lt;span style="color:#993399;"&gt;&lt;strong&gt;null&lt;/strong&gt;&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;&lt;br /&gt;The able code contains three classes. The first class is the &lt;strong&gt;CallbackHandler&lt;/strong&gt; which will contain the code for the actual implementation of the callback. Note that it extends from the 'Callback' class.&lt;br /&gt;&lt;br /&gt;The second class is where you actually want to the callback to be implemented. i.e. this is where the object of the CallbackHandler will be created.&lt;br /&gt;&lt;br /&gt;Finally the third class is where the Callback will be called from. Note here that it doesn't know anything about &lt;strong&gt;'CallbackHandler'&lt;/strong&gt; except that its derived from the &lt;strong&gt;'Callback'&lt;/strong&gt; class. This makes it possible to have multiple "CallbackHandler's".&lt;br /&gt;&lt;br /&gt;Note that the principal remainds the same and this can be done in any language. However C++ and C# provide a way to pass around the function pointer itself without the need to wrap it into a class.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8178427947024902213-3726256784439575870?l=hermeswand.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hermeswand.blogspot.com/feeds/3726256784439575870/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8178427947024902213&amp;postID=3726256784439575870' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8178427947024902213/posts/default/3726256784439575870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8178427947024902213/posts/default/3726256784439575870'/><link rel='alternate' type='text/html' href='http://hermeswand.blogspot.com/2007/05/callbacks-in-java.html' title='Callbacks in Java'/><author><name>SiD</name><uri>http://www.blogger.com/profile/13486203583232315315</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://lh3.google.co.uk/image/siddharthkrish/Rld9de0CvvI/AAAAAAAAAGs/aXkkuM2SgLk/s288/C%3A%5CPicture%5Cme%5Cme%20054.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8178427947024902213.post-7493498127176460635</id><published>2007-05-15T04:48:00.000-07:00</published><updated>2007-05-15T06:04:58.672-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='hello world'/><category scheme='http://www.blogger.com/atom/ns#' term='code'/><title type='text'>hello world</title><content type='html'>Hi,&lt;br /&gt;&lt;br /&gt;I'm starting this blog with the intention of posting some pieces of code i find interesting. I can assure you that all of it will be my own work and none if it might be reproduced in a commercial product non-open source product without my prior consent. GNU licence applies to it all.&lt;br /&gt;&lt;br /&gt;Now that I'm done scaring myself, the name of this blog comes from the wand that Hermes (the messenger for the Greek gods) carried with him. The wand itself was was used by him to break the fight between two snakes that then wrapped themselves around it in peace for eternity. He was also knows to be a great helper to all the other gods loaning his flying sandals and invisible helmets to those in need.&lt;br /&gt;&lt;br /&gt;to start of with&lt;br /&gt;&lt;br /&gt;&lt;em&gt;Java: HelloWorld.java&lt;/em&gt;&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="color:#993399;"&gt;public class&lt;/span&gt; HelloWorld {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="color:#993399;"&gt;&amp;nbsp;&amp;nbsp;public static void&lt;/span&gt; main ( String[] args ) {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.&lt;span style="color:#3333ff;"&gt;out&lt;/span&gt;.println ( &lt;span style="color:#009900;"&gt;"hello world"&lt;/span&gt; );&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;span style="font-family:verdana;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Another thing, there will be code from a lot of different languages here.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8178427947024902213-7493498127176460635?l=hermeswand.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hermeswand.blogspot.com/feeds/7493498127176460635/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8178427947024902213&amp;postID=7493498127176460635' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8178427947024902213/posts/default/7493498127176460635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8178427947024902213/posts/default/7493498127176460635'/><link rel='alternate' type='text/html' href='http://hermeswand.blogspot.com/2007/05/hello-world.html' title='hello world'/><author><name>SiD</name><uri>http://www.blogger.com/profile/13486203583232315315</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://lh3.google.co.uk/image/siddharthkrish/Rld9de0CvvI/AAAAAAAAAGs/aXkkuM2SgLk/s288/C%3A%5CPicture%5Cme%5Cme%20054.jpg'/></author><thr:total>0</thr:total></entry></feed>
