Archive for March, 2006

Eolas Patent will B0rk IE in April

Friday, March 31st, 2006

You may or may not heard about the stupid Eolas patent on plugins. They won, and MS will now have to break IE and change the way ActiveX, media and applets load in the browser. Wohoo! We are protecting innovation by forcing a company to break compatibility, and re-write parts of it’s application due to a submarine patent. As much as I hate Microsoft, this is fucking dumb!

On the other hand, the retardation of ActiveX may be a good thing. Perhaps web developers will now think twice before using it. Perhaps more people will choose browser independent AJAX based and un-broken-by-silly-patents solutions if possible.

What’s funny is that Opera, Mozilla and Firefox are still allowed to have plugins… After all, after squeezing millions out of MS, there is nothing that Opera could offer them… And it is really hard to exort money from non-profits like Mozzila. P

This of course led to a totally hilarious exchange on slashdot:

Tackhead (54550):

They’re going to fucking bury that technology. They have done it before, and they will do it again. They’re going to fucking kill ActiveX.
(…)
And someone, somewhere, will get an ActiveChair flung at them.

Syberghost (10557):

Now that I’ve stopped laughing at this line, I can reply with who that will be:

Developers, developers, developers, developers.

Z0mb1eman (629653):

Mushroom, mushroom!

LOLOL!

I think someone should make a Badger-Badger spoof starring ballmer P

Developers, developers, developers, Googoe, Google, Chair! Oh! A Chair! Developers, developers…

Tags: , , , , , , , , , , ,

What I learned at Coffe Hour yesterday.

Friday, March 31st, 2006

The CS department has a weekly Coffee Hour on Thursdays at 3:30 in the conference room on the third floor. Both students and faculty are invited. It is a very informal setting where you can chat just about anything with some of your professors or other students.

Yesterday, for example, I learned that Dr. Bredlau is an Anime fan. I would have never guessed that in my life! zewrestler brought me DVD’s of Gungrave. He highly recommended the show so I decided to give it a try. He was giving me the DVD’s during the coffee hour, and when Bredlau saw them, he commented that he likes Anime. :O

Apparently he lived in Japan for a while, and he can actually speak a little of broken Japanese. Another student there was actually learning Japanese, so this turned into a fascinating conversation about the language and culture of that country. Apparently when you are a guy, and you try to speak Japanese it is important not to “sound like a girl”. Males and females speak differently, apparently and it is very common for westerners to sound effeminate if they don’t know the right tone and etc… It was quite fascinating actually.

This makes you think… How many of the small details and nuances do we loose in translation when we watch anime? I’m bilingual myself, and I know that there is no such thing as lossless translation. When you translate from one language to another you need to be very careful - and most of the time you will loose something, or inadvertently add some meaning that was not in the original.

I know this, because i watched allot of english movies, subtitled in Polish, and vice versa. And let me tell you - in both cases, the experience is painful, bordering on comical. I would venture a guess than over 30-35% of actual content is completely lost. Puns, idioms, culture specific references, and some of the pop culture related jokes are virtually untranslatable.

70% is not bad - you get the plot, you get all the twist, and turns, you understand your characters and all. What you don’t get is the icing on the cake - the subtle interactions, the stuff implied or hinted at. Good translators may attempt to capture that stuff, but then they run a risk of adding to the original. So sometimes you will see culturally adjusted translations which try to capture the spirit, but not the actual content of the original. So you swap a US-centric cultural reference to a native one, or an english idiom, to roughly equivalent one in the targeted language.

If you do it well, it blends in so seamlessly that hardly anyone notices… That is until someone decides that this is the “best line” in the movie/book and starts using it as a catchphrase. When that happens, a simple linguistic trick aimed at “capturing the spirit” of what was said, by using a native reference or idiom turns into “added content”. That “brilliant line” was not in the original - you added it when translating. This means that while something was gained here, some meaning was also lost. Your version is slightly different from the original! This is the danger of translation. This is where I get that 30%.

This makes me want to learn more about Japanese language and culture so I can get more out of my anime and manga P

Tags: , , , , , , , , , , , ,

Banker’s Algorithm

Thursday, March 30th, 2006

I just found out that I was the only student in class who actually produced a working implementation of Banker’s Algorithm for the OS class. My weekend was totally shot, but I submitted a finished product that was runnable some 20 minutes before the deadline.

It’s now 4 days past the deadline, and no one else got even close to a working implementation. I’m not claiming my solution is good, or even that it is entirely correct. But it runs, and it appears to be doing what it is supposed to do.

The assignment didn’t seem all that difficult to me. It was allot of work, but I have seen harder things that needed to be done. But then again, maybe my implementation is totally wrong. Perhaps I totally glossed over some of the hard parts everyone seemed to get stuck on… I don’t know.

Dr. Robila said he will not count that problem towards the homework grade, but he will give extra credit to all people who got close to solving it. I guess that’s good, because even if I’m wrong - I might get nice extra credit out of it…

If he checks it and it turns out to be correct though, I’m going to post it somewhere so that future generations can see a working java version )

Tags: , , , , , , ,

To Wordpress of not to Wordpress

Wednesday, March 29th, 2006

I’m seriously thinking about moving away from blogger… The other day Matt jumped ship and switched to Wordpress. Following his suggestion I created a free account: terminally.wordpress.com.

As you can see, it seamlessly imported my whole blog which is great. The layout is clean and neat. But the best part of wordpress, is probably the Ajaxified user interface. They take the full advantage of the ajax goodies providing all kinds of bells and whistles like drag-and-drop interfaces for arranging your sidebar and etc…

But, it is done at the cost of customizability. Ever wondered why every wordpress blog looks the same? Because they don’t let you to tweak the templates! This really sucks! I would jump ship in a heartbeat if I was allowed the same level of customizability as here on blogger. If I switched today I would have to abandon the following things:

  • Nicetitles: the nifty javascript that draws those nice squares when you hover over links
  • Floating captions under images - they are done with css. I really like doing the captions…
  • Custom handling of the <code> tags - I make sure that white space is preserved when I post code snippets using css. This is not the default handling.
  • Automatic XFN icons - I use a css hack that puts appropriate icon image on links with the rel attribute
  • Collapsible Posts - I use a small javascript that lets me collapse and expand parts of really long posts. I don’t use it often, but it is a nice trick to have!
  • Using obscure HTML tags - I like to use these “weird” tags that no one ever knows about like <acronym>, <dfn> or <address>. They are in the W3C spec, but to make sure they are handled properly I define css for them

These are all the little tweaks that I have adopted over the last year or so, and I don’t feel like giving them up…

My other beef with wordpress is that the default post editor is WYSYWIG. I hate that. I always type my posts in plain HTML mode. This gives me more control over my post and let’s me use all the obscure HTML tags that I want. Wordpress does give you an option to edit HTML but it is not very convenient. It seems to be designed only for quick and minor tweaks - not actual day to day use. Ugh…

So for now, I think I’ll stay with good old blogger. At least here I can tear down the template and adapt it to whatever theme or layout I need.

But sometime down the road, I might get my own hosting… And then wordpress would be a viable solution. Because if I have the code, I can tweak the templates and the layouts till I’m happy with them )

Tags: , , , , , , ,

Fingering with Finger!

Tuesday, March 28th, 2006

This… This is just too funny! Boingboing reports that teledildonics devices can now be controlled via finger:

This program is a rudimentary teledildonics application built around the finger daemon - hence bringing generations of CS undergrad innuendo full circle.

It has two modes in addition to what you’re seeing now - if you finger [any string]@[this host], a series of random pulses will be generated, proportional to the length of the string.

Alternatively, fingering 0x[hex digits]@[this host] will instead send a direct stream of motor speeds to the vibrator, one per second.

LOLOL!

You have to love our field… Unix world is full of funy innuendos. Sometimes I wonder what do the “uninitiated” people think when they hear conversations like this:

  • “Dude, just finger freddie to see if he is on” (freddie is one of the main unix servers in our dept - we were trying to see if one of our classmates is logged in so we can message him with the write command)
  • “Hold on, let me mount your stick…” (uttered while mounting the USB flash memory stick)
  • “Can you grep the cat?” (as in, can you do cat on that file and then grep for whatever we are looking for)
  • “Just take a dump and bring it to my office so we can look at it” (as in, make a hex dump of that file, and let’s examine it)
Tags: , , , , , , ,

Entertainment Industry is Terminally Ill

Sunday, March 26th, 2006

I came to a conclusion. The entertainment industry is dying. It will be done within the next few years, unless it completely restructures itself and drops the failing business models it is clinging too. And as every dying thing on earth, it is currently going through the classic 5 stages of accepting the inevitable demise: Denial, Anger/Presentiment, Bargaining, Depression, Acceptance.

You don’t believe me? Let’s break this down:

  • Denial: “There is nothing wrong with our business model! You guys just want a free ride!”
  • Anger/Presentiment: “We are loosing money because of damn pirates! Let’s sue them! Let’s sue all of them! Even the 12 year olds! Let them feel our legal wrath! PH34R my L3G4L SK1LZ n00B!!
  • Bargaining: “Listen, if you use DRM we will give you all the content you want! Seriously, it’s better for you. We’ll even stop suing people! Everything will be good if you only agree to use DRM! Really!”

So, we have 2 more stages to go. Depression and Acceptance. Not bad, eh? So please expect these symptoms intensify as the industry is heading toward an inevitable crash.

There will be big DRM disputes, and DRM related lawsuits. Entertainment people will loose several of them and incur heavy losses. As a result some big technology companies will get locked out of content because of failure to comply with DRM requirements. People will stop buying media they can’t play in their receivers.

Allot of people will realize that their iTunes collection cannot be ported to a new computer and will drop the service. Entertainment industry will go under. Facing lawsuits, money draining DRM schemes, and lockout contracts some big studios will close the doors and go out of business…

Those who survive will accept the death of the old business models, and adjust to the new reality. We will win this war.

Ph34R the C0NSUM3R B1tCH3Z!

Tags: , , , , , , ,

0WNZ0R3D!

Saturday, March 25th, 2006

I don’t know who made this, but LOL!

Baby Owned

Don’t try this at home…

Tags: , , , ,

б^H tries to connect to the internet

Saturday, March 25th, 2006

Today I have found bunch of interesting entries in my firewall log. Apparently an application named б^H was trying to access the internet at various times. Now, I don’t know about you - but if I see a weird sting like that I get suspicious. So I started digging.

From the logs I figured that this thing was trying to do DNS lookups (all the hits were aiming at port 53 on the remote hosts). This is not unusuall - any piece of mallware could be doing this… But, since my anti-virus and spybot scans that run just this morning did not find anything, I started looking for legit apps that could generate port 53 traffic.

I spotted my DynDNS Updater icon in the taskbar which was red (to indicate failure to update). I did a few quick tests, enabling and disabling the rule for my mysterious application and I got it. It was the damn DynDNS updater!

Question is, why the hell does it show up in my logs as б^H? Why haven’t I noticed this before? And what the hell were they thinking?

Tags: , , , , , ,

Vaguest Exam Question Ever

Thursday, March 23rd, 2006

One of the question on my Operating Systems exam today was to show two examples where multi-threaded implementation does not provide better performance than single threaded implementation. We were supposed to write some code/pseudocode to illustrate this…

Every person I asked put down something different for this question. No one was sure what the hell we were supposed to do. Some people used “hello world” as one of the examples. Others mentioned processing keyboard input in a word processor. In fact, allot of people gave purely iterative examples that could not be multi-threaded to begin with…

I’m pretty sure “hello world” was the wrong answer here. The question was worth 30 points - you usually don’t see tricky questions like that being worth so much. I scribbled some half-assed code with big loop statements in critical section so that the threads would block and have to wait on each other. I figured the same loop implemented as a single thread would execute faster because there would be no context switching overhead, thread creation and etc..

Other example was treads locking on a shared buffer object and performing some critical section while holding onto that buffer… Still, I’m only guessing that the performance would be worse with a multi-threaded implementation. There is no way to tell for sure without actually testing this.

Of course we could not ask Dr. Robila what he meant in this question because he was not there. I hope he curves or throws out this one completely…

Tags: , , , , , ,

.xxx vs .kids

Monday, March 20th, 2006

There is this idea circulating in the minds of our lawmakers and politicians, that there should be a .xxx tld reserved for pr0n. This idea gets shot down every time, and yet it keeps coming back like a boomerang. All these people keep yelling: “think of the children” as they try to shove their prudish moral values down our throat. But this is not about children. An xxx tld does nothing to protect children from anything! Why?

Maybe because Internet != USA. If you make a law forcing all the pr0n into an xxx tld, this law will only apply in US. If you try to police it abroad many people will become very angry. Do you think UN will like that US courts have the absolute power to decide who is allowed to register .com domain? How about China? Nope, we can’t enforce US law onto foreign owned domains - even if we control the top level servers.

So you end up with all the foreign hosted pr0n still owning their .com, .net and .org domains. How does that help to keep children away from pr0n? How does that help filtering software to do anything? This is simply a jab at the porn industry. It is no secret that our government is waging a war on pornography. In fact, I think that war on pr0n, gets more resources and attention than war on terror and on drugs combined. Not mentioning that we have yet to see ANY tangible results of any of those wars… How long are we into the war on drugs? Did we win yet?

If you really want to do something for children, set up a tightly regulated .kids tld. Set it up so that only educational, and child friendly stuff would be allowed there. Problem solved. Now just set up your filter to block everything but .kids and you can let the little bastards browse till they get carpal tunnel. And you are almost guaranteed that they will never run into anything inappropriate while the filter is on.

So why are people pushing for that xxx tld so much? What is the big deal here? The sad truth is that none of these .xxx pushing maniacs gives a shit about children. This is not about protecting kids. This is about protecting you from the “evil pornography” - whether you want it or not.

Tags: , , , , ,


Bad Behavior has blocked access attempts in the last 7 days.