Archive for the 'internets' Category

Don’t Close Comment Threads on Old Blog Posts

Thursday, September 18th, 2008

A blog without comments section is not a blog - it is a vanity page. To me blogging implies a conversation between the reader and the writer. Often comments may be better than the blog entries themselves. Especially when blogger poses a question, and the readers supply a solution. Most people (sans professional bloggers who have their heads firmly jammed up in their ass) get this, allow comments and engage readers in conversations.

I see a widespread and disturbing tendency lock old threads down after certain amount of time has elapsed. This means that if you find a very insightful blog post by following a link, or via Google you may not be able to add your input to the conversation. And it’s not that the issue is resolved or locked due to Godwin’s Law. It’s just that it’s been a month since the post was published and the author felt that no insightful input may ever be added to a post that is more than a month old.

People who do that claim it helps to cut down on spam, but I do not believe that. What helps to cut down on spam is the right combination of plugins. With WPSpamFree and Akismet I have yet to see a single spam comment to slip past the filters. The former filters out the bots based on behavioral patterns, and the later draws on a huge centralized database fueled by thousands of users to flag spam. Whatever slips through the first one gets caught by the second one. All my old threads remain open to comments and I never had an issue with them being spammed.

I believe that leaving the comments open indefinitely is beneficial for everyone. New readers who stumble over over from somewhere and see a post they agree or disagree with can add their input and I get to hear their opinions. Many issues that I brought up were left unsolved for months, and then suddenly someone would stop by and post a solution or an insightful advice. Comments are added value. Always. Be it entertainment, solutions, insightful discussions or simply jokes. A blog with comments is always better than one without.

When you close the comments on old posts, you are not preventing spam. Instead you not only alienate potential readers, but you also cheapen the value of your blog. So if you are one of these people, just enable comments on your old blog posts today. You will be pleasantly surprise to see that this will bring little new spam, but a lot of insightful and entertaining comments from new and regular readers alike.

Free Wifi

Monday, September 15th, 2008

Being a geek, and a developer/sysadmin by trade I sometimes forget how regular people’s brains work. I mean I sort of get that they view technology as magic that can only be understood by unattractive an unpopular people. That element of their belief system is clear to me. What I forget is that their whole world view is wrapped around and corrupted by their ignorance. For example this is a conversation I had with my co-worker the other day:

Me: So, did you get your internet hooked up yet at your new apartment?
Her: Nope, I get Free Wifi.
Me: No kidding? Is it like a municipal thing?
Her: Nope.
Me: So what then?
Her: I think it belongs to one of my neighbors.
Me: Oh… So in other words you are “stealing” it.
Her: It’s not stealing! Besides, you steal movies and video games on the internet all the time and I’m not saying anything about that!
Me: Me? Never! Besides it’s not steeling - it’s copyright infringement.
Her: Yeah, right! Same thing.
Me: So what are you going to do when they learn to lock it down?
Her: They won’t. And if they do, there are like 5 other un-encrypted Wifi networks in the building. I’ll be fine.

The moral of this story is that you should always encrypt your Wifi and set your ssid to be something like “fbi.gov” to scare away persistent bandwidth leeches. But that’s not really what I wanted to point at. Did you notice the following logic:

Downloading Movies == Theft
Using someone’s Wifi != Theft

That’s sort of backwards, isn’t it? Unlike copyright infringement which while morally reprehensible is definitely not theft (neither morally, legally or semantically) leeching on someones wireless connection can definitely be viewed as such. After all, there is a reason why we call it bandwidth theft. Most of us have unlimited bandwidth contracts with our ISP’s but in some parts of the world people still have theirs capped and metered and can’t go over some quota. Your connection would count against their quota and any overages would be paid out of their pockets. In the world of unlimited bandwidth there is no danger of incurring overage charges but you are still using bandwidth that someone else paid for without permission. If they are for example trying to play Counterstrike online, while you are downloading bunch of torrents you will doubtlessly clog up their intraweb pipes (internet is not a truck kids!) and introduce lag.

In other words, leeching is much more like theft than copyright infringement could ever be because you are actually depriving someone of something they paid for. It is still not actuall theft in a legal sense of course. It probably falls under “unauthorized access to a computer system” but IANAL. Perhaps a real lawyer can clarify this for us. Either way, I personally view it as much more serious and actually damaging activity. While the concept of “lost sales” is a complete fiction, loss of bandwidth due to a leeching neighbor is very real, and very tangible (page load time, lag and etc).

The polite thing to do is to knock on your neighbor’s door and tell them they have an unsecured Wifi network. I know there are people out there who actually purposefully leave their networks open, and do not mind sharing their connection (Bruce Scheiner is one of them). Most people however simply are too stupid to set it up properly. But if you help them out and set it up for them they may be nice enough to let you leech until you get your own internet connection, or maybe will be happy to simply split the bill with you.

It seems that the cancerous message spread by RIAA and MPAA is actually working. People have been brainwashed. My coworker for example thinks nothing of leeching Wifi from their neighbor (a real person they see almost every day) but balks at infringing copyright of some huge corporation. Sigh… I remember a time when it was the other way around and people would stick it to the man, and help their neighbors. I guess that this time has passed and we have other priorities now. Priorities such as OBEY, CONSUME, WATCH TV, BUY, SUBMIT, STAY ASLEEP… )

Gibsonian Concept of Cyberspace is Silly and Outdated

Monday, September 8th, 2008

In the early 80’s William Gibson imagined that the young and still developing Internet will one day bloom into Cyberspace. He envisioned it as an abstract plane where your disembodied mind can wander, surfing on the streams of data, and traveling down the information highways:

Cyberspace. A consensual hallucination experienced daily by billions of legitimate operators, in every nation, by children being taught mathematical concepts… A graphic representation of data abstracted from banks of every computer in the human system. Unthinkable complexity. Lines of light ranged in the nonspace of the mind, clusters and constellations of data. Like city lights, receding

This imaginative vision has sort of became a Cyberpunk staple, and nearly all novels and movies that aspire to belong to that genre try to include some sort of reiteration of Gibson’s idea. Almost without fail, your average cyberpunk story will include some sort of abstract datum plane, with ZX Spectrum era visuals, city like landscapes of glimmering semi-transparent text and scary looking spiky viruses, rigid geometric security programs and force-field like firewalls. With small variations your average Cyberspace session should look something like this:

Cyberspace!

In the 80’s Cyberspace seemed… Plausible. And if not plausible then at least not very far fetched. Most of us could imagine the technology escalating to the point where this sort of virtual reality interface would be possible to achieve. Of course today it looks a bit silly and anachronistic - a bit like Steam-Punk genre which is laughable unless you buy into it’s specific distortion of reality.

Let’s face it, browsing the web on your iPhone is about 100 times more convenient than obtaining data the way Gibsonian cyber-jockeys and netrunners did. First of all, they needed to strap themselves into an expensive cyber-deck usually using a neural shunt. While surfing they were pretty much a vegetable strapped to some electronics. You on the other hand have almost ubiquitous Wifi coverage, and Edge/3G networks all over the place so you can browse while driving or walking your dog in the park. Your average netrunner has to navigate through a labyrinthine glowing maze to find what he is looking for. You just fucking google it. And so on, and so forth.

There were many attempts to make 3 dimensional, more Cyberspace like interfaces for our computers but none ever caught on. Every once in a while someone comes up with a new, innovative way of visualizing search results, or organizing data on a web page. But nothing beats the simplicity and usability of a flat HTML page with links and perhaps some embedded multimedia. Why on earth would anyone want to jack in, and float in a world of abstract data visualization crap if they could just pull up a regular web page and read it. Gibsonian cyberspace fails the Ockham’s Razor test. It’s complexity does not translate into utility or usability.

I believe there will never be a virtual reality representation of the web. While we might one day be able to build VR simulations that will be nearly indistinguishable from reality (like out own Matrix) I highly doubt that the same VR technology will be used for something as trivial as browsing the web. The future Cyberspace is much different and probably not so much unlike what we have right now. I envision that one day browsing the web will look a bit more like a HUD display you have in many FPS video games.

You will be walking down the street while browsing the web and looking up directions on your internal HUD display, enjoying a ubiquitous free high speed Wifi blanketing most of the civilized world. There will be no neural shunts, or ugly Matrix/Ghost in the Shell like ports in the back of your neck. Your neural implant will be a tiny speck of silicone tucked beneath your skin and muscle with no physical ports - purely wireless bio-powered device with a biological hardware switch allowing you to switch it off or reboot it via muscle reflex or something equally simple.

I don’t envision a radical shift in the way data will be displayed or presented to us. Your typical website layout will probably change slightly because your HUD will have almost limitless adjustable resolution. Your average user interface design will probably change a bit too, seeing how we will no longer be using a mouse as our primary input device. So stuff like sidebars and tool bars may morph into more intuitive and organic elements since we will now click by thinking and won’t need to actually move any sorts of pointers (I hope).

Most of the web will still be text, because that is the medium that is so far easiest to parse, skim along, catalog and organize. Many SF and Cyberpunk movies and novels assume that we will at some point shift towards other media - that for some reason we will return to oral traditions and record our data on holographic displays (holocorns?) and etc. But let’s face it - text is just more convenient. Think about it - what would you rather have - a short one paragraph written summary which you can skim over in seconds clicking on relevant links in the text, or a 3 minute video of some dude explaining the same thing? When I just want facts or information and I need it fast I will take the textual representation every time.

IM and traditional Cell Phone may get replaced by sub-vocal VOIP like communication that will bypass your vocal cords and let you converse over the net without actually making any sounds. Then again it may not considering that texting and IM’ing is still much faster and more direct form of communication.

Future viruses and spyware won’t explode your head or make you go mad. They will simply fuck up your software and steal your identity the same way they do it today. I imagine that reinstalling the OS and software on your wetware implant won’t be terribly difficult. In fact, such devices will probably come with a pristine image of the OS encased in firmware so that you can roll back to a clean slate at any time.

All in all, we will be much more connected than Gibson could ever dream of without all the silly limitations and real-world abstraction he built into his vision of Cyberspace. Then again, in 20 my vision of the near future may be as silly and short sighted as Gibson’s Cyberspace seems right now.

Google Chrome

Wednesday, September 3rd, 2008

Ok, by the show of hands, who has predicted that today’s post will be about Google Chrome? Seriously, I’m getting predictable here but I couldn’t resist picking it up and messing around with it shortly after it was released. My attitude about it was mixed. On one hand, I was excited to see yet another desktop application from Google. So far everything they touched was pure gold from the interface design perspective. I was curious to see how will they tackle a browser UI and will their creation do the same thing that Google Talk did to IM interface design.

The other side of me was a little bit upset. What about Firefox? Does it mean that my favorite browser won’t get any more Google love? I was a bit upset to see Google brewing up a product which would be in direct competition with Mozilla’s flagship product. Whether or not will this new browser become a real threat to Firefox remains to be seen, but Mozilla intends to keep a friendly relationship with Google and if nothing else they seem energized by this new contender entering the web browser market.

Chrome ships as a one-click installer and when they say one-click they mean one-click. It’s as if someone at Google read Jeff Atwood’s rant about complex installation procedures. All you actually need to do is to accept the EULA but you do that on the download page before actually running the installer. Once you accept it, there are no further questions asked. The browser is downloaded and installed for you. The age old question of “where do you want to install this software” is skipped, which is probably a good thing considering the fact that most lusers completely bypass the file system.

Once the browser launches you can immediately see that it is a Google product. It has the same trademark sleek, minimalistic look and feel as Google Talk. The look they were aiming at is something between IE7/8 and Opera but much simpler. It is light on buttons and menus keeping them to bare bones minimum. Google’s UI design principle seems to be less is more and it works. Microsoft tried to follow a similar paradigm with the simplified IE7 and 8 toolbars but it was a half assed attempt. Google designers took a typical browser UI and kept ripping things out until there was nothing left. It was a bold move but it pays off because Chrome looks at least twice as easy to use as Firefox or IE. Casual user is not bothered by cryptic menus or unnecessary icons while power users can still get to some of the more advanced browser features at will.

Google Chrime

Personally, I like the placement of the tab bar over the address bar. I’m not sure why, but it seems like a good move. It creates a stronger visual association between the tab and the URL. In other browsers you switch tabs, and the address bar mysteriously follows. In Chrome switching tabs is like flipping pages, each of which has their own address box. This is one of these nifty features that won’t confuse anyone already familiar with tabbed browsing, but may actually help to teach new users about it. I know many IE7 users who still do not understand tabbing. Google Chrome UI may actually be more visually accessible.

I noticed that there is no “undo close tab” context option when right clicking on the tabs. I can’t tell you how often i use that feature in FF and it seems indispensable. I was about to complain about lack of this feature but I found it on the Opera like speed dial page which you see each time you open up a new tab. It combines the speed dial feature with web history, list of recently closed tabs (which you can use to restore what you just closed), list of your bookmarks and a search box.

The address bar itself is almost on par with the FF3 smart bar - it does the same smart lookup as you type thing. In addition it grays out all the parts of your URL which are not the domain name which is a nice touch. It also uses the well established convention of turning yellow for valid SSL connections. Similarly to FF3 Chrome produces a disturbing full page error message when you hit a page with an invalid SSL certificate - this behavior is quickly becoming standard these days. One thing that I hate about the address bar is the absence of favicons. It is almost criminal not to display them this day and age but alas - Chrome put the bookmark button where the favicon ought to be. At least the icons show up on your bookmark bar/page so not all is lost.

Continuing with the minimalistic theme the address bar doubles up as a search bar and can preface search engine queries with a ? to distinguish them from regular URL’s. Furthermore I noticed that all the common navigational shortcuts you know and love from Firefox work in the Google browser without a hitch. You can use Ctrl+T for new tab, Ctrl+W to close current tab, Ctrl+L for address bar, Ctrl+K for web search, Ctrl+G advances incremental search to the next match. This is perfect. Every time I switch from Firefox to Opera I feel like I’m half retarded because half the shortcuts are different. This is not the case with Chrome. IE users won’t be disappointed either because IE specific key strokes such as Alt+D also work in predictable ways.

I absolutely love the incremental search which puts colored notches on the scroll bar to indicate where in text match is located in the body of the page. This brilliant because it lets you evaluate at a glance how many matches are on the page, and gives you an idea of where you are in relation to other matching items! We need this in Firefox like tomorrow. I’m not sure if this is a WebKit thing, or a Google invention but it is awesome. I don’t recall seeing it anywhere else so I assume it’s Google’s but correct me if I’m wrong.

Chrome’s Javascript console simply blew me away. At the first glance it really looks like a Firebug clone but built into the browser. I haven’t had a chance to actually play with it or use it for actual debugging but it is very impressive. I really didn’t expect to see something like this in this browser which is yet another one of Google trademark tricks - a simple, minimalistic and sleek interior hides internal complexity and a lot of raw power. This browser may actually be a pretty handy tool for web designers in addition to being a great beginner browser to tech neophytes.

Javascript Console

Sessions in this browser are naturally present (only IE doesn’t do sessions) but they are vastly inferior to Firefox sessions. For example, Chrome won’t preserve the text you typed into a text box after you close your browser window the way Firefox will. It also won’t restore your exact position on the page you were reading. When Chrome restores your session it simply reloads the URL’s - it does not restore them with their exact states from a cashed snapshot. Perhaps this is a webkit shortcoming - I’m not sure.

The internal features of Chrome are quite impressive. For example each tab is pretty much a self contained instance of the browser. Webpages run in separate sandboxes and there is no way for one of them to take over or crash your whole browser. Great feature but one must wonder how will that impact memory usage after many hours of browsing. Chrome gives you tools to track it’s own memory usage and the overhead didn’t seem that huge. Browser seems much leaner than Firefox in general, which is not actually a huge accomplishment.

Chrome Memory Manager

What is more interesting is that you can now accurately identify what exactly is causing your browser to use so much memory. When Firefox bloats up and takes over half of your RAM you are forced to guess what is happening. Is it one of those infamous memory leaks? Is it one of the scripts running in a background tab that continues allocating memory? Is it something else? Chrome shifts the blame for memory bloat from the browser to the page creator which is an interesting development. Instead of saying “Firefox is a resource hog” you can now say for example “Youtube is a resource hog” instead.

You can detach any tab and turn it into Mozilla Prism like desktop application complete with desktop shortcuts. You can basically have your dedicated Gmail window which opens from Desktop or Quick Launch. I never really used Prism, and I don’t really see myself extensively using this particular feature of Chrome but I can see it’s usefulness.

Without a doubt the most innovative feature of this browser is the porn browsing mode… Um… Sorry, the Incognito Mode which launches a new instance of the browser which does not permanently store any cookies, cache or web history on your machine. Perfect for browsing teh porns. I have never seen the issue of privacy handled this way before. All existing browsers force users to clean up after they browse. Not only that, but they insist on an all-or-nothing approach. You either delete all your cookies, all history or all cache or none of it. There is no easy way to delete just the embarrassing stuff other than manually sifting through the web history or the cache folder. Chrome simply launches a new instance of the browser which is actually visually distinct from the regular non-incognito window and lets you browse embarrassing stuff without worrying about cleanup:

The Incognito Mode

It’s a proactive rather than retroactive approach to privacy and one that can be accomplished with a single click of a button. It’s click, browse then forget rather than browse and then forget to clean up. I really hope this feature will catch on because this is a huge leap in making regular users in charge of their own privacy. I want it in Firefox but I’m not sure it if is possible to implement it seeing how the Mozilla browser will only let you run a single instance of itself ever.

Chrome did not disappoint me. Google took several existing ideas, mixed them with their own innovations and created a browser that not only looks pretty but is potentially more user friendly than anything that I have seen before. I’m not sure if it will ever catch on and become as popular as Firefox but it does have many features that I would love to see implemented in the mainstream browsers: namely the incognito mode, the Prism like desktop app detachment, the nifty textual search indicators on the scroll bars and the sandboxing model.

I’m sticking with Firefox. It has served me well for many years and it keeps improving. Besides, I’d be lost without my extensions which pretty much make the browser. But I’m keeping Chrome around so that I can continue messing around with it which is more than what I can say for most other browsers.

Update 09/03/2008 09:56:20 AM

Few words on the speed. Chrome seems to start faster than Firefox, but renders pages a bit slower than Gecko which is pretty much what I expected. I didn’t time it, I just eyeballed it so your millage may differ. The V8 javascript actually does make a difference. I tested it on my infamous script that makes browsers go slow by dumping lots of data into a HTML table and then applying the jQuery TableSorter plugin to it. First load was almost as slow as Firefox. Subsequent loads, are almost instantaneous while Firefox still takes few seconds to run the sorter script. I don’t know, maybe I’m seeing things but I can really notice a difference.

Between TraceMonkey and V8 it looks like this is going to be a good year for speeding up Javascript. Oh and V8 is under a BSD license it seems. Nice!

POP+SMTP Setup is on it’s way out

Thursday, August 28th, 2008

Here is a prediction: in the next few years traditional POP+SMTP email setup will become virtually extinct. I’m basing this on several factors. For one, no one actually remembers what these things are anymore. My students think that POP is what southerners call carbonated drinks (it’s soda here btw) and that SMTP is a made up acronym that I coined on the spot just to have more buzzwords to test them on. But that’s just one of the factors.

Factor number two, possibly the more important one is that providing users with a SMTP access is becoming less and less practical with every day. Port 25 is pretty much universally blocked across the board. Almost no company or public institution leaves it open these days. Many ISP’s do the same thing for their residential clients, insisting that they use their designated SMTP server or nothing at all. Of course if you go to the trouble of blocking outbound traffic on 25 you might as well also block 587 (which is designated as the official authenticated SMTP port and is the second most common port used for the protocol). Most corporate firewalls are usually set up to block all outbound traffic except port 80 and 22 (and sometimes 110 for email). The idea is that clever people will be able to get around the restrictions with SSH tunneling while the sheep can suffer in the name of combating spam and internet worms. Which, btw is something that I generally approve. I’m all for locking down firewalls, and protecting lusers from their own stupidity by not letting them do anything.

I’m merely making an observation here. Every day our society becomes more mobile with proliferation of wifi networks, 3G and other wire free technologies. Laptop sales are skyrocketing, and overshadowing desktop sales. Most of my students never actually owned a desktop. Most of my co-workers do not have desktop computers at their homes. Casual users buy laptops. Desktops are now primarily built for the business sector and high end gaming crowd. But while people are getting more mobile, the SMTP gets less useful. Let me illustrate this by example.

Let’s say a big company hires a promising young man named Bob. Bob is issued a company laptop since he will be expected to sometimes work from home. Since Bob is an idiot as far as the IT department is concerned his email was set up for himwith company’s POP and SMTP information ahead of time and he was trained to use it. As expected his email works perfectly when he is sitting in his cubicle, however when he takes the laptop home trying to finish an important project a disaster strikes. He can receive email but he cannot send because his ISP is blocking Port 25. So he spends 4 hours on the phone with his IT department trying to explain to them that his “Microsoft is giving him an error when he tries to send an email”. Then he spends another 4 hours on the phone with his ISP trying to configure his Outlook to use their SMTP server.

Finally he is able to send his super important email at 4am in the morning, catches 2 hours of sleep and he is back in his cubicle at 8am only to realize his email is not working again. It turns out his ISP’s SMTP server doesn’t relay emails from outside of their network. And even if it did, his company is blocking Port 25 anyway allowing only their own SMTP server to send emails out. The IT folks play rock-paper-scissors to see who gets to deal with Bob-the-Retard this time. The loser, makes a cheat sheet for Bob with each step explained in minutiae detail and accompanied by screen shots and then staples it to Bob’s head so that he doesn’t misplace or eat it.

Of course this story repeats itself whenever Bob visits a new place. Soon enough he has a cheat sheet for work, his apartment, his girlfriends house, his favorite coffee shop, the local park, the hotel he stayed at, a conference hall in Boston, and etc… Each time Bob moves his laptop from one location to another, he is required to first find out what SMTP server he can use there and then reconfigure his Outlook.

A lot of companies and institutions which employ many Bob’s get quickly fed up with this sort of thing. So what do they do? They migrate to webmail solutions. Exchange for example has a rich webmail client which looks almost exactly like Outlook and can be used by Bob’s when they work outside of the office. Other, more courageous folks make a leap of faith and migrate their email and calendaring to Google Apps or Zimbra.

ISP’s on the other hand don’t even tell their customers about their POP+SMTP offerings. They provide them with a webmail client instead. Those determined enough can find POP (or IMAP) and SMTP info buried deep in their online help documents.

Public SMTP’s will eventually get phased out and locked behind firewalls. ISP’s no longer promote them as it is. How many users will complain if they simply hide the SMTP server from them and request that they use webmail instead? Right now they may alienate a sizable chunk of their customer base but the majority won’t even notice. In 5 years the only people who will complain will be bunch of us geeks. And no one ever listens to us. We are almost never the target demographic for anything - we are the outliers which skew up the statistical analysis.