Monday, August 31, 2009
Wednesday, August 12, 2009
Vuze rocks !!
I checked out wireless HDMI, and even contemplated writing something over wifi to do streaming ... but gave up considering the cost and other aspects of it (not to mention, a naive impl [which is what I can afford to do] will require quite a bit of bandwidth !)
Next logical option was to try to use my XBox 360 as an extender and get to stream through that ... except for some brain dead asinine reason Microsoft restricts what can be played - DRM worries I am told, bunch of MPAA lapdogs ! Bottomline, I could not use the Media Center which comes with Vista for this purpose. I did not find any viable option in Linux to do the same.
Next up, I tried to use one of those transcoders available online, fiddled around with a bunch of them ... and finally gave up after a few sleepless nights.
And there I was, pretty dejected about my efforts - all the reconfig for nothing ... and then I notice the innocous button 'devices' in Vuze (formerly Azureus) yesterday night. Configured it, and voila, it works beautifully !!
Considering all the effort I had gone through until that moment, it was almost anti-climatic how easy it was to get things to work ! It supports a transcoder (as a plugin) which does on-demand conversion.
The few videos I tried - jitter free sound, and crystal clear video !
Check this link out for more info - in my opinion, it is a seriously cool piece of effort ... Give it a whirl people :-)
1 Comments:
- AK said...
-
well, congrats man!.. So ripping through all those blue ray discs and high def dwnlds eh?
Links to this post:
Sunday, July 26, 2009
uTv World Movies
It has 'officially' become my fav channel !
2 Comments:
- /<0USIK said...
-
Yes you get exposed to a lot of different kind of movies through UTV. I too like it.
- said...
-
Good to see you back!!!
- M K Kabir
Links to this post:
Wednesday, April 29, 2009
Interesting week ... and it is only wed !
So come Sunday and the week starts off with one potential bug, one 'crazy idea' in the mail, a new clarification issue and one pending task. Being the procrastinator that I am, and because the idea was really quite 'crazy' and interesting, I started off with that and discussed/designed/hacked away until we ended up with something pretty neat - and which might become something quite useful for our future projects : was damn happy & cocky ... what could go wrong now ! oh boy - the shitstorm waiting for me blindsided me completely.
For one, the clarification issue, though kind of braindead and trivial from strict URI/HTTP pov ended up being quite messy - normal conventions on the web interacting with slightly long extraction pipeline combining multiple 'methods' and existing yahoo infrastructure ... kicked up quite a bit of dust : though after two days, I hope it is settled now !
In the middle of all this, we still have our apparently "innocuous" bug - the star of the show, revealed only later. The reason I thought it was harmless was 'cos I had fixed something similar - multiple times actually in past because of pig bugs & some side effects of it. The basic problem is something like this -
You start with N entities, and generate candidates each; and features for each entity,candidate pair. The features are generated as multiple vertically partitioned files - like :
file1 having (id, candidate, feature1_0, feature1_1);
file2 having (id, candidate, feature2);
and so on.
So we combine the results finally as a join on (id, candidate) to generate
output_file having (id, candidate, feature1_0, feature1_1 feature2, ....)
(Note, this is done with data which can be webscale - so cant use DB; and number of 'tables' can be quite large).
To give some context, the project uses pig - which makes use of hadoop which is running on a fairly large cluster (1k+ nodes) - though you dont use the whole cluster for all your jobs, just how much you need.
Something as simple as this, ended up with hitting quite a lot of parsing bugs & unexpected pipeline corner cases in pig - so the number of workarounds in our scripts & code was already pretty high.
Given this past history, I was expecting to be able to 'solve' it reasonably quick - heck, I had done it three times already, cant be tough can it ?! Inspection, careful checking, etc lead to nothing.
Ok, good old fashioned debugging - let us look at data generated at each step (thankfully, we 'need' to checkpoint output in pipeline).
So go through the snapshots in the pipeline, and narrow down to a small-ish section where the issue could be present after a few hours - generate a small snippet just to test that and execute it; and off to bed.
14 hours later, what had initially taken about an hour on 50 machines (the full pipeline) is still chugging along at 10% completion on the snippet ! This cant be right, for obvious reasons ...
A few retries later, it is the same ... causing me to attempt to move to another cluster; with no success with the move (that one is too 'full').
In retrospect, it seems I had hit a hadoop bug - and weirdly, others have hit it too - though they just did not seem to notice that their jobs which should take 1 hour to finish was taking 48+ on 100 nodes !
So now we have one hadoop bug, one potential pig/my bug - found a (lucky) workaround for the hadoop issue after more than a few hours of wrangling with the cluster and restarted the jobs ... and now debugging away in earnest.
We hit an interesting issue, paraphrased below :
---
A1 = load input1
A2 = load input2
J1 = join A1 on some_id1, A2 on some_id2;
A3 = load input3
A4 = load input4
result = join A3 on id_1, A4 on id_2, J1 on id1
---
... or something to this effect.
input* to this snippet is fine, but result has only about 30% expected tuples !
So either mucking up the join's (they are outer joins with missing value fills), or a pig pipeline bug ?!
Apparently, a pig pipeline bug - requiring us to store the J1 output into intermediate file and load off it again to 'fix' the issue. By now, it is about 52 hours since start with about 9 hours of sleep (we have a deadline coming up) : and that ended the 'bug'.
So let us recap, a hadoop/grid issue and a pipeline issue - unrelated to eachother, and to our code - hitting us in the same shot ! I would have been happy if there was something, anything, wrong with my code to cause/trigger this ... would have made it feel like it was partly my fault (yes, you do feel this way sometimes too).
So all we now have is the pending task, a really interesting problem and I am going to be so screwed 'cos of it .... as I said, this is just middle of an interesting week !
2 Comments:
- said...
-
Interesting post.
Rajsekhar Narayan - Moonjungle said...
-
corrrectt
Links to this post:
Monday, March 30, 2009
Google Chrome - no shine !
Some observations :
- Unstable. Inspite of the supposed claims of stability due to process isolation, etc - I find it crashing way more frequently than firefox ever did (unless you count some of the FF2/early FF3 releases). These fall into two categories:
- A single window crash - fairly common, once every couple of days.
- The entire browser crashes - couple of times a week.
Which brings us to :
- Very poor session recovery.
In Google chrome, there is no checkpointing of the state possible - so that it can be restored to after browser restarts (from what I saw), neither does it handle crashes gracefully - so having it working for long is not likely.
I have observed restore working in chrome only a very few times (so I know it exists !) - out of the very many crashes I have suffered, restarts I have made.
- Cool looks are fine, functionality is more important.
Another example of functionality I miss is the search bar on the top right corner in firefox, where we can add (multiple) search engines : even IE has copied this off late ... unfortunately, nothing of that sort for Chrome.
It does try to pull something similar in the new tab page, but that just doesn't come anywhere close.
Similarly, the "most visited pages" that they copied from Opera (unacknowledged ?) does not seem to make much sense ... looks more like, the pages I had/used to visit initially got ranked way high and they just sit there off late.
- Pretty bad debugger/page inspection
The good parts of chrome :
- Fast startup time. It might be useful to casual users who want to lookup something fast.
Note that prefetching in OS'es means that subsequent launches of a program would typically be fast so this is usually relevant for first launch - subsequent launches tend to be pretty fast uniformly across browsers.
- Fast javascript engine.
3 Comments:
- said...
-
You just mentioned what I am observing for past few months. For me chrome crashes very frequently. Once it even crashed when I was doing a Credit Card transaction :(
Man thats too scary, luckily, I entered wrong CVV number so nothing happened. Only thing I have seen good about chrome is it's startup time.
Aparup - said...
-
hmmm I havent seen chrome crash on me much. But I dont really keep my browser open for very long. What I love about chrome is the amazing startup speed. It easily beats Firefox (which is my other browser). The sad thing I guess is many of our office pages dont work on chrome, this sucks.
-- param - said...
-
Hi Mridul,
I am sorry to be a pest. Is there any possibility that we could have a chat about the chess engine?
Regards,
Daniel Shroff
Links to this post:
Monday, March 23, 2009
Go blue !!
Shipping estimate: March 23, 2009
|
6 Comments:
- Eliza said...
-
rich guy :P
- aaditya sood said...
-
Now I need to borrow the DVDs *and* the player from you :D
- Mridul said...
-
@jaya unfair !
@sood the player is the blueray writer on my comp, so cant borrow it :-D - said...
-
rich guy indeed
Aparup - Unawoken said...
-
So, how did you like the movies? Any you recommend? Did you like Paprika? I did
- Mridul said...
-
@vinay
I had already seen paprika, just too bloody brilliant ! The amount of detail is breath-taking.
Still yet to watch all of them - but my general reco would be - if you know a movie has a lot of intricate details (animation, action, does not matter what) - get a blue ray : you appreciate the difference from a dvd only after you see it : breathtaking at times !
Links to this post:
Saturday, March 14, 2009
Jon Stewart and Jim Cramer
4 Comments:
- Chiro said...
-
This post has been removed by a blog administrator.
- said...
-
Stewart is fun and the Daily show is sometimes nice to watch but at the end of the day, it too is part of the controlled dissent system that's the media these days.
It's a popularity contest and an attempt to increase viewership. Not a serious attempt to inform the public about anything. Television has ceased to be that and will almost surely never go back. - said...
-
While I enjoy watching Cramer every night, one must remember the show is primarily entertainment. The financial networks exist to promote their advertisers financial and investment products. Who would expect them to warn about the credit bubble or coming Washington national debt collapse which will destroy much of the remaining private wealth in America today or what this will do to the dollar, the stock market, bonds, gold or the real estate market?
China is now worried about their dangerous over investment in US Treasury obligations. Washington ’s long-term choice is either repudiation or monetization. For monetization to be effective, the depreciation in the dollar would have to be substantial and this in turn would dramatically raise prices of imports for American consumers which would mean a tremendous drop in foreign imports. Debt monetization would cause more disruption to exporting nations than selective repudiation of Treasury debt.
The Campaign to Cancel the Washington National Debt By 12/22/2013 Constitutional Amendment is starting now in the U.S. See: http://www.facebook.com/group.php?gid=67594690498&ref=ts
Thanks,
Ron with 30 plus years in the investment business and banking industry. - Mridul said...
-
I think the point of my post, and partly the point of Jon Stewarts attempt (imo) is being missed here in the comments ...
As financial journalists, CNBC the network and its anchors/reporters have a journalistic duty - which is above their responsibilities of making money for their network imo.(perhaps shocking to some ?).
They choose to ignore it ... and therein lies the fault imo. By their silence (whatever be the motive), they were becoming complicit with the fraud being pulled.
This silence could be either due to ignorance and stupidity - in which case, the network is to be avoided; or due to willfully ignoring what was going on (ad-revenue, etc reasons) in which case it is, atleast in my eyes, tantamount to suppressing evidence.
Jon Stewart might have his own reasons for going after CNBC; which are, imo, irrelevant at this point.
The issues he raises are very real and have to be investigated into, and which unfortunately no one in the 'real media' is looking into (iirc).
You could question his methodology, approach, motives, etc ... but we should not forget that he is not a journalist, even if he sometimes pretends to be one :-)
Whether he (mis)uses his show to take pot shots at others is not the point - what he raises is a very valid criticism ... and they are to be asked in current situation.
Links to this post:
Saturday, February 28, 2009
Airtel's unlimited plans - scamming customers
7 Comments:
- Noufal said...
-
Do you have a URL with this notification?
- /<0USIK said...
-
So if you exceed you are punished by halving the b/w. But how long is the timeout? Will they restore the 1M speed after you are good for a week?
- Mridul said...
-
@noufal - they sent me a courier, and I called up their call center to learn more.
Last I checked their website was yet to be updated with details ... though that might change soon.
@kousik
Once you exceed their initial limit, bandwidth is halved for rest of month ... which sucks bigtime !
Considering how shoddy I have found their metering to be (enough hassles with that in past !) this is going to be a contentious issue between me and airtel every other month :-) - Eliza said...
-
dont try tata indicom :P
or reliance - said...
-
I agree
- Shamak - ~~_§þâr†â¢ú§_~~ said...
-
This sucks big time. I will cross their first initial limit in the first week itself probably :(.
They should reduce their tariff rates if they are planning to do this (any ideas on this?). I mean their tariff is only "affordable" (not saying reasonable) if they live up to their promise of 1Mbps unlimited (throughout). - aaditya sood said...
-
You could sign the petition at http://afup.broadbandforum.in/
Maybe it'll help...



5 Comments:
Feel you brother :(
So now you are tight, eh?
what abt the chess engine?
Charlie
Dont get too much time to do chess ... though I am going to start again soon !
Did you start it yet?
Charlie
Post a Comment
Links to this post:
Create a Link
<< Home