Saturday, June 24, 2006

Updated Movie List

Hi people, Here's the new list of my movies. I updated the last one quite a few times in place, but from now on, I'll post an entirely new list every couple of month or so, or when my collection has changed (grown, shrunk, etc.) In addition to all these films, I also have the following :
  • The TV series "Friends". Yeah, every single episode of all the 10 seasons! The whole thing is about 35 GiB in size!
  • Currently, I'm acquiring the anime series "Robotech". It's 85 episodes and 14.4 GiB, and so far I have about 50 episodes (it's 3 seasons in total.)
OK. Here's the list:
No. Title Sizes (in MiB) Format
1 16 Blocks 701 AVI
2 2 Fast, 2 Furious 700 AVI
3 2001: A Space Odyssey 649 AVI
4 2046 699, 700 AVI
5 40 Year Old Virgin, The 704 AVI
6 8 Mile 334 AVI
7 Academy Awards 2006 691, 693 AVI
8 Aeon Flux 699 AVI
9 Agent Cody Banks 2 701 AVI
10 Alice in Wonderland 643 AVI
11 Alien vs Predator 700 AVI
12 Amadeus 700 AVI
13 America's Sweethearts 701 AVI
14 American Beauty 669 AVI
15 American Psycho 669 AVI
16 Analyze That 696 AVI
17 Analyze This 659 AVI
18 Animatrix 700 AVI
19 Anything Else 700 AVI
20 Apocalypse Now 613 AVI
21 Around the World in 80 Days 701 AVI
22 Assassins 700 AVI
23 Austin Powers - Goldmember 701 AVI
24 Austin Powers - International Man of Mystery 697 AVI
25 Austin Powers - The Spy Who Shagged Me 696 AVI
26 Avalon 854 AVI
27 Bachelor 700 AVI
28 Bad Boys 700 AVI
29 Bad Boys 2 720 AVI
30 Basic Instinct 687 AVI
31 Batman Begins 700, 551 AVI
32 Batman Forever 689 AVI
33 Battle Royale 702 AVI
34 Beautiful Mind, A 701 AVI
35 Benny and Joon 701 AVI
36 Beyond Borders 700 AVI
37 Big Fish 700 AVI
38 Big Mama's House 700 AVI
39 Black Knight 701 AVI
40 Blade Runner - Director's Cut 701 AVI
41 Blue Streak 702 AVI
42 Bond 01 - Dr. No 695 AVI
43 Bond 02 - From Russia with Love 700 AVI
44 Bond 03 - Goldfinger 688 AVI
45 Bond 04 - Thunderball 898 AVI
46 Bond 05 - You Only Live Twice 618 AVI
47 Bond 06 - On Her Majesty's Secret Service 687 AVI
48 Bond 07 - Diamonds Are Forever 683 AVI
49 Bond 08 - Live And Let Die 686 AVI
50 Bond 09 - The Man With The Golden Gun 701 AVI
51 Bond 10 - The Spy Who Loved Me 686 AVI
52 Bond 11 - Moonraker 686 AVI
53 Bond 12 - For Your Eyes Only 664 AVI
54 Bond 13 - Octopussy 699 AVI
55 Bond 14 - A View To A Kill 701 AVI
56 Bond 15 - The Living Daylights 703 AVI
57 Bond 16 - Licence to Kill 703 AVI
58 Bond 17 - Goldeneye 701, 699 AVI
59 Bond 18 - Tomorrow Never Dies 606 AVI
60 Bond 19 - The world is not enough 628 AVI
61 Bond 20 - Die Another Day 700, 699 AVI
62 Bone Collector 695 AVI
63 Bourne Identity 700 AVI
64 Brokeback Mountain 954 AVI
65 Broken Flowers 698, 702 AVI
66 Bruce Almighty 700 AVI
67 Casablanca 697 AVI
68 Catch Me If You Can 699, 697 AVI
69 Catwoman 700 AVI
70 Charlie and the Chocolate Factory 1400 AVI
71 Charlie's Angels 2 - Full Throttle 694 AVI
72 Chicken Little 700 AVI
73 Chicken Run 349 AVI
74 Chinatown 887 AVI
75 Chocolat 680, 698 AVI
76 Chronicles of Narnia - The Lion, the Witch and the Wardrobe 701, 699 AVI
77 Citizen Kane 683 AVI
78 City of Angels 701 AVI
79 Clockwork Orange, A 625 AVI
80 Collateral 700 AVI
81 Con Air 670 AVI
82 Constant Gardener, The 701 AVI
83 Contact 710 AVI
84 Crash 700 AVI
85 Crouching Tiger, Hidden Dragon 801 AVI
86 Cube 629 AVI
87 Dancer In The Dark 721 AVI
88 Dancer Upstairs, The 674, 675 AVI
89 Dances with Wolves - Special Edition 1380, 1299 AVI
90 Dark City 689 AVI
91 Dead Man 676 AVI
92 Dead Poets Society 649 AVI
93 Decalogue (Dekalog) 546, 568, 563, 554, 572, 591, 551, 543, 583, 569 VCD
94 Derailed 700 AVI
95 Devil's Advocate, The 581 AVI
96 Dick Tracy 700, 80 AVI
97 Dirty Harry 695 AVI
98 Dirty Harry 2 - Magnum Force 697 AVI
99 Dirty Harry 3 - The Enforcer 696 AVI
100 Disclosure 697 AVI
101 Dog Day Afternoon 688 AVI
102 Dogma 561 AVI
103 Domino 701 AVI
104 Donnie Darko 699 AVI
105 Doom 700, 701 AVI
106 Dr. Strangelove 713 AVI
107 Dreamers, The 700 AVI
108 Edward Scissorhands 700 AVI
109 Elektra 701 AVI
110 Elephant 701 AVI
111 Elizabeth 699 AVI
112 Entrapment 697 AVI
113 Equilibrium 664 AVI
114 Equilibrium - Making of 38 AVI
115 ET 699 AVI
116 Eyes Wide Shut 1239 AVI
117 Fabuleux destin d'Amélie Poulain, Le 704 AVI
118 Falling Down 700, 699 AVI
119 Family Man, The 697 AVI
120 Fantasia 696 AVI
121 Fantasia 2000 620 AVI
122 Fantastic Four 699 AVI
123 Fast and Furious 700 AVI
124 Fear And Loathing in Las Vegas 694 AVI
125 Femme Fatale 698 AVI
126 Few Good Men, A 701 AVI
127 Fight Club 693 AVI
128 Final Fantasy VII - Advent Children 699 AVI
129 Finding Nemo 700 AVI
130 First Daughter 690 AVI
131 Forest Gump 704 AVI
132 Four Weddings and a Funeral 1140 AVI
133 Freaky Friday 700 AVI
134 Freddy vs Jason 697 AVI
135 From Hell 672 AVI
136 Full Metal Jacket 635 AVI
137 Fun with Dick and Jane 700 AVI
138 Game, The 694 AVI
139 Gangs of New York 700, 695 AVI
140 Garfield 700 AVI
141 Gladiator 762 AVI
142 Glengarry Glen Ross 1644 AVI
143 Godfather, The 692, 701 AVI
144 Godfather, The - Part II 697 AVI
145 Godfather, The - Part III 692, 675 AVI
146 Good Fellas 701 AVI
147 Good Night And Good Luck 700 AVI
148 Good, Bad, Ugly 667, 614 AVI
149 Great Dictator, The 698 AVI
150 Great Expectations 541, 576 VCD
151 Groundhog Day 1493 AVI
152 Guy Thing, A 642 AVI
153 Harry Potter and the Prisoner of Azkaban 700 AVI
154 Heat 687 AVI
155 Hercules 626 AVI
156 Hero (Ying Xiong) 701 AVI
157 Hire, The - Ambush 129 AVI
158 Hire, The - Beat the Devil 244 AVI
159 Hire, The - Chosen 110 AVI
160 Hire, The - Powder Keg 282 AVI
161 Hire, The - Star 174 AVI
162 Hire, The - The Follow 139 AVI
163 Hire, The - The Hostage 178 AVI
164 Hire, The - Ticker 188 AVI
165 History of Violence, A 700 AVI
166 Hitch 695, 693 AVI
167 Hitchhikers Guide to the Galaxy, The 701, 693 AVI
168 Hostel 701 AVI
169 House of Flying Daggers 700, 701 AVI
170 Howl's Moving Castle (Hauru no Ugoku Shiro) 599 AVI
171 Hulk, The 699 AVI
172 Human Stain, The 689 AVI
173 I, Robot 700 AVI
174 Identity 700 AVI
175 Immortel 691 AVI
176 In Good Company 792 AVI
177 Independence Day 694 AVI
178 Indiana Jones and the Last Crusade 1400 MOV
179 Indiana Jones and the Temple of Doom 1398 MOV
180 Interview with a Vampire 703 AVI
181 Into the Blue 700 AVI
182 Irreversible 699 AVI
183 Italian Job 697 AVI
184 Jackie Brown 1401 AVI
185 Jay and Silent Bob Strike Back 699 AVI
186 Joe Versus the Volcano 700 AVI
187 Johnny English 700 AVI
188 Jungle Book, The 625 AVI
189 Kill Bill vol. 1 700 AVI
190 Kill Bill vol. 2 697, 697 AVI
191 King Arthur 701 AVI
192 King Kong 700, 700 AVI
193 Lady Killers 700 AVI
194 Land of Dead 700 AVI
195 Last Tango In Paris, The 702 AVI
196 Laws of Attraction 700 AVI
197 Layer Cake 702 AVI
198 League of Extraordinary Gentlemen 700, 700 AVI
199 Lemony Snicket's A Series of Unfortunate Events 651 AVI
200 Leon 570 AVI
201 Liar Liar 690 AVI
202 Life is Beautiful 705 AVI
203 Lock, Stock and Two Smoking Barrels 700 AVI
204 Lock, Stock and Two Smoking Barrels - Director's Cut 771 VCD
205 Lord of the Rings - Fellowship of the Ring - Extended Edition 701, 701, 570 AVI
206 Lord of the Rings - Return of the King - Extended Edition 702, 696, 700 AVI
207 Lord of the Rings - The Two Towers - Extended Edition 697, 697, 697 AVI
208 Lord of War 701 AVI
209 Lost Highway 694 AVI
210 Lost in Translation 700 AVI
211 Love Actually 700 AVI
212 Machinist, The 699, 698 AVI
213 Man on Fire 700, 698 AVI
214 Marry Poppins 698, 699 AVI
215 Matadore, The 810 VCD
216 Matrix Reloaded 349 AVI
217 Matrix Revolutions 349 AVI
218 Matrix, The 578 AVI
219 Me, Myself And Irene 701 AVI
220 Meet the Fockers 411, 755 VCD
221 Meet The Parents 700 AVI
222 Memento 692 AVI
223 Memoirs of a Geisha 696, 698 AVI
224 Merchant of Venice 699 AVI
225 Modern Times 691 AVI
226 Monty Python and the Holy Grail 700 AVI
227 Mrs. Doubtfire 706, 579, 301 AVI
228 Mulan 553 AVI
229 Mulholland Dr. 1543 AVI
230 Mummy 699 AVI
231 Mummy Returns 699 AVI
232 Munich 701, 700 AVI
233 My Fair Lady 698, 699 AVI
234 National Security 700 AVI
235 Natural Born Killers - Director's Cut 701 AVI
236 New Guy, The 701 AVI
237 Nightmare Before Christmas, The 694 AVI
238 Ocean's Eleven 690 AVI
239 Ocean's Twelve 689 AVI
240 Oldboy 696 OGM
241 One Flew Over The Cuckoo's Nest 701 AVI
242 Others 917 AVI
243 Paparazzi 700 AVI
244 Paradise Now 689 AVI
245 Passion 648 AVI
246 Patch Adams 701 AVI
247 Pay it forward 669 AVI
248 People I Know 701 AVI
249 PI 622 AVI
250 Pianist, The 700, 700 VCD
251 Platoon 655 AVI
252 Pride and Prejudice 701 AVI
253 Princess Mononoke 674 AVI
254 Pulp Fiction 659 AVI
255 Raiders of the Lost Ark 1399 MOV
256 Rainman 699 AVI
257 Ran 677, 688 AVI
258 Ransom 700, 698 AVI
259 Recruit 704 AVI
260 Reservoir Dogs 507 AVI
261 Revenge 625, 625 VCD
262 Revolution OS 654 AVI
263 Revolver 624, 460 VCD
264 Robin Hood 700 AVI
265 Ronin 1484 AVI
266 Saving Private Ryan 679 AVI
267 Saw 700 AVI
268 Scanners 699 AVI
269 Scanners II - The New Order 699 AVI
270 Scarface 697, 697 AVI
271 Scent of a Woman 658, 658, 241 VCD
272 Schindler's List 699, 700, 689 AVI
273 Scorpion King 699 AVI
274 Scream 699 AVI
275 Scream 2 699 AVI
276 Scream 3 699 AVI
277 SE7EN 544 AVI
278 Sense and Sensibility 730 AVI
279 Serendipity 690 AVI
280 Serenity 702 AVI
281 Seven Samurai 691, 688 AVI
282 Seven Years in Tibbet 700 AVI
283 Sexo Con Amor 700 AVI
284 Shakespeare in Love 699 AVI
285 Shawshank Redemption, The 707 AVI
286 Shining 700 AVI
287 Shining - Making of 345 AVI
288 Shrek 2 427, 427 VCD
289 Silence of the Lambs 587 AVI
290 Sin City 679, 682 AVI
291 Sinbad 700 AVI
292 Skeleton Key, The 701 AVI
293 Snatch 703 AVI
294 Sound of Music, The 620, 548 AVI
295 Spartan 700, 700 AVI
296 Spiderman 2 645, 640 VCD
297 Spirited Away 700, 699 OGM
298 SpyGame 699 AVI
299 Stalker 703, 701 AVI
300 Star Wars Episode I - The Phantom Menace 776 AVI
301 Star Wars Episode II - Attack of the Clones 1484 AVI
302 Star Wars Episode III - Revenge of the Sith 697, 696 AVI
303 Star Wars Episode IV - A New Hope 702 AVI
304 Star Wars Episode V - The Empire Strikes Back 694 AVI
305 Star Wars Episode VI - Return of the Jedi 713 AVI
306 Starsky and Hutch 697 AVI
307 Strings 700 AVI
308 Swordfish 700 AVI
309 Sympathy for Lady Vengeance 700, 700 AVI
310 Sympathy for Mr. Vengeance 701 AVI
311 Syriana 696, 698 AVI
312 Talented Mr. Ripley 739, 664 VCD
313 Taxi Driver 699 AVI
314 Taxi Driver - Making of 700 AVI
315 Terminal 697 AVI
316 Terminator 700 AVI
317 Terminator 2 - Judgement Day 699 AVI
318 Terminator 3 - Rise of the Machines 699 AVI
319 Three Extremes 701, 701 AVI
320 Tim Burton's Corpse Bride 699 AVI
321 Titanic 700, 698 AVI
322 Top Gun 700 AVI
323 Trainspotting 388 AVI
324 Transporter 700 AVI
325 Transporter 2 676 AVI
326 Treasure Planet 697 AVI
327 True Romance 701 AVI
328 Truman Show, The 667 AVI
329 Tsotsi 700 AVI
330 Twelve Monkeys 705, 705 AVI
331 Twisted 686 AVI
332 Unforgiven 700 AVI
333 Unleashed 700 AVI
334 Untouchables, The 707 AVI
335 Usual Suspects, The 634 AVI
336 Vertigo 609, 677 VCD
337 Walk the Line 701 AVI
338 Walking Tall 700 AVI
339 Wallace and Gromit in the Curse of the Were-Rabbit 699 AVI
340 War of the Worlds 700, 701 AVI
341 Waterworld 681 AVI
342 Wedding Crashers 781 AVI
343 What Dreams May Come 696 AVI
344 What Lies Beneath 731 AVI
345 What Women Want 701 AVI
346 Who Framed Roger Rabbit? 718 AVI
347 Whole Ten Yards 969 MPEG
348 Wolf 658, 603 VCD
349 Wuthering Heights 696 AVI
350 X-MEN 701 AVI
351 X2 693 AVI
352 xXx 699 AVI

Sunday, June 18, 2006

The Good Guys Make Cartoons Too!

Go and watch that one too. Remember, DRM (Digital Restrictions Management) is bad! Really Bad!

The Future of the Internet, or the "why" in "Why Learn More?"

First off, go and watch this flash animation about the "future of the Internet", so to speak. But remember to come back and read the rest. The SWF file is about 1.7MiB in size.
...
Now, what do you think about that? "Net Neutrality" is good or bad? You know, forget about net neutrality. What about the idea of major cable and telecom companies, controling the data that passes over their cables? Is it good or bad? The way it is presented in this animation, the future of Internet depends on it! According to the producers of this clip, if we give those pipe-providers control over what goes and doesn't go on their data routes, the world will become a Shangri-la of blessed connectivity!

Not so fast! The real story is not just that. You see, after the major -- I'm talking billions here -- success of companies like Google, that provide all their services over the Internet, connectivity providers (those major cable and telecom companies) started thinking along the lines that, why should Google reap all the profits? After all, it's their cables (or whatever) that carries the data and keeps the people connected. Basically, they thought that since it's them that connect the likes of Google to their source of income, they should have a piece of that pie too. But they just don't come out and say that. They say that they want to have different paths of Internet-traffic flow for different kinds of applications, but what's really going to happen is that they will be able to give priority to the traffic of anyone they want, say "CompanyEcks", who pays them top dollar for such a priority.
And the other online service providers will be forced to compete too, because suddenly, Google's website will load 10 times slower that CompanyEcks's (trust me, they will find a more subtle and more damaging way) and the people will go the "faster" or "better" service.
Then Google will be forced to pay for priority too, and that will cause the end-user prices to go up as well. In the end, you and I loose. (OK, you loose. I've already lost, because I don't have the power to protest to these kinds of my government's decision.)

So it's not the question of many smart pipes, or one dumb pipe to carry the data. The question is whether to have one indiscriminating pipe to carry whatever information you want, or many different pipes with the good ones carrying the information your ISP wants.

That's why we, the users, have to educate ourselves, so not to choose whichever pop-up window that was bigger. Choose smartly.

Wednesday, June 14, 2006

I'm Back (T3 Style!)

I lost my phone connection, Internet access and cellphone coverage in various times during last week and this one, due do a combination of mice and stupid people! (Talk about bad luck!)
My Internet is back while my phone is not quite (they both use the same line. How???!!!) I hope I can get my cellphone back too.
Now the point of all this is that if you tried to reach me in the past days, and you read this blog as well, you now know that you haven't been snubbed!

Wednesday, June 07, 2006

Convex Hull

I don't know how do mathematicians define a Convex Hull, but informally, the (planar) convex hull of a set of point on the plain is defined as the smallest convex polygon that includes all the points. If you think about it, the verteces of such polygon will have to be in the given set, and the convex hull will be unique (if we add the restriction that no three consecutive vertecs of the resulting hull can be on the same line. Which is not much of a "restriction", because if they are, we just simply remove the middle point of the three and voila!) So, the problem becomes finding the smallest area, convex polygon one can construct with the vertices from the set that encompasses all the given points. Finding a convex hull is an interesting problem by itself, and quite useful in many other planar geometry and pattern recognition problems. Now, many algorithms exist for finding the convex hull efficiently but not too simple (except the divide and conquer one which I'm not going to go into here.) When it comes to implementing, most people may try the naive O(n2), which is not easy to get right in one go (if you're that kind of person who tries that and gets it right in the first try, leave my weblog immidiately. I can't stand people better than I here!) The other easy-to-comprehend-but-hard-to-implement method is "Graham's Scan", but that needs a special and none-trivial sort. Graham's Scan runs in O(n log n). The method I'm going to discuss here is a O(n log n), and easy to implement algorithm. I first saw it in a Python book, the title of which I can't remember. It starts with a straightforward sorting of the points, based on the X coordinate then the Y coordinate. Then, we'll start from the leftmost point (least X) and work our way to the rightmost point, maintaining two lists of points. One is the botton run of the points between the min- and max-X points, and the other is the top run. Here's C++ code that implements the algorithm:
#define TURN_DIR(p1,p2,p3)  (p1.x * p2.y - p1.y * p2.x + \
                             p2.x * p3.y - p2.y * p3.x + \
                             p3.x * p1.y - p3.y * p1.x)
#define LAST(cntnr)         (cntnr).back()
#define BEFORE_LAST(cntnr)  (cntnr)[(cntnr).size() - 2]

vector<Point> ConvexHull (vector<Point> & pts)
{
    sort (pts.begin(), pts.end());

    vector<Point> lower, upper;
    for (unsigned i = 0; i < pts.size(); ++i)
    {
        while (lower.size() >= 2 &&
         TURN_DIR(BEFORE_LAST(lower), LAST(lower), pts[i]) <= 0
        )
            lower.pop_back ();
        while (upper.size() >= 2 &&
         TURN_DIR(BEFORE_LAST(upper), LAST(upper), pts[i]) >= 0
        )
            upper.pop_back ();

        lower.push_back (pts[i]); upper.push_back (pts[i]);
    }

    lower.insert (lower.end(), upper.rbegin() + 1, upper.rend() - 1);
    return lower;
}
You should be able to make sense of this code without much difficulty, but be warned, I changed my implemented code to put it here, and I have not tested it (my data structures for points and for return values were different, and I removed the comments! >:-) ) So use at your own risk. Now, the challenge is this. Can you make it shorter? (It's possible to use recursion to do so, I think.)

Tuesday, June 06, 2006

The Day of the Beast

Since 59 minutes ago, has started the Day of the Beast! (In my timezone at least, GMT +3:30) I just noticed that a few minutes ago that today is 06/06/06. As close to the number of the beast as you can get in each century!
You see, I still remember (with a lot of nostalgia) that the default port for Doom multiplayer was 666. The original Dooms and Duke Nuken 3D were the first games I played on a network (it was experimental, over PPP, but the bandwidth was too low for actually playing.)
Anyway, enjoy today and wait for the antichrist!

Friday, June 02, 2006

Wall-socket PC

A very cool thing I saw on Slashdot. It's a thin client PC, with the size of a hand. Just look at the picture. I think all the ports and connectors take more room than the chips!