Updated: June 20th, 2011
Screen is awesome. Once you become comfortable navigating around it, you start using it ALL the time. No more dropped sessions, no having 10 Putty windows open at the same time, no more nohup.
However, with default screen settings I've always felt a bit lost and out of place, mostly because there was no "taskbar" with a bird's eye view of all windows. Pressing ctrl-a, " really does get annoying fast (that's the command that brings up the window selector – screenshot below).
So instead I modded my screen to have a "taskbar" which sits at the bottom of screen and adds:
- the name of each window
- a clear marking of window states, such as
- the currently active window
[Solr] How To Fix java.io.IOException: directory FOO exists and is a directory, but cannot be listed: list() returned null
Updated: June 11th, 2015
I am throwing up a quick post about a relatively cryptic error that Solr started throwing the other day here at Plaxo. After happily running for a few days, I suddenly started getting pages about failed Solr indexing.
Upon closer examination, I saw the following repeatedly in the log file:
catalina.2009-09-18.log:SEVERE: java.io.IOException: directory 'DATADIR/index' exists and is a directory, but cannot be listed: list() returned null
I tried to see if sending an OPTIMIZE command would help but the server returned the same response.
The reason was these errors was quite simple – Solr was running into the system level limit on allowed number of open files (ulimit). This limit can be seen by running
Updated: September 8th, 2009
Well, it looks like the wait is over. I have been waiting for almost 5 years for a new phone that is good enough to make the switch from Samsung A900 (which has free tethering). Don't even get me started on the iPhone and its outrageous monopoly with AT&T. Android and the growing multitude of devices running it is, however, completely different business. Android offers unparallel freedom and I truly believe it will be the top phone OS within a few years as more and more Android phones are introduced to the market.
But where was I? I have been closely following Android news since its inception, then the introduction of the first phone – T-Mobile G1 (aka HTC Dream), …
Updated: June 11th, 2015
In the past few weeks I've been implementing advanced search at Plaxo, working quite closely with Solr enterprise search server. Today, I saw this relatively detailed comparison between Solr and its main competitor Sphinx (full credit goes to StackOverflow user mausch who had been using Solr for the past 2 years). For those still confused, Solr and Sphinx are similar to MySQL FULLTEXT search, or for those even more confused, think Google (yeah, this is a bit of a stretch, I know).
Updated: January 16th, 2010
I love Delicious. It allows me to store my bookmarks, tag and search them, and, best of all, have access to them from anywhere on the web.
Searching bookmarks by keyword is easy – just enter a bunch of keywords into the search page and off you go but what if you want to confine your results to a certain domain? The main reason I wanted to do it personally is so that I could see all pages of my site bookmarked by Delicious users and the corresponding number of bookmarks. However, the only url based search Delicious offered was a full url lookup:
This search is very limited – it accepts only a full url to …
OK, maybe you did know them – just see for yourself.
The tricks I am going to describe allow you to create unique gmail addresses that still hit your existing gmail inbox, without actually making new gmail accounts.
This can be useful in a variety of situations when you need to use multiple email addresses without having the pain of maintaining them, such as
- using unique emails while registering for the same service more than once (say, paypal)
- giving out a unique email address to see if you start getting spam to it later – that way you know exactly who to blame for it
- more generally, easily create email rules to sort incoming emails into folders, delete them,
Updated: January 30th, 2013
My fiancée Emilie has had her Palm Pre for about 2 weeks now, and one specific problem that started showing up last week has been incredibly annoying, causing us all kinds of trouble.
After Emilie got the phone, she added 3 email accounts – Gmail, Hotmail, and Yahoo. One day, after sending an email through the Pre, a popup showed up that said "Error sending" followed by the subject of that specific email. Swiping the error away didn't help – it just came back 5 minutes later. In fact, it has been coming back every 5 minutes of every day since, lighting up the screen each time. Thus, not only it was annoying, but it was running down …
Updated: October 6th, 2009
Mom sent me this picture the other day, taken in Kharkov, Ukraine, my home city.
My question is… wtf? I'm assuming the truck started where the road was – what kind of speeds were involved here? Those trains usually go at speeds around 15-25mph… No word on the injuries.
Updated: September 16th, 2012
StackOverflow is an amazing site for coding questions. It was created by Joel Spolsky of joelonsoftware.com, Jeff Atwood of codinghorror.com, and some other incredibly smart guys who truly care about user experience. I have been a total fan of SO since it went mainstream and it's now a borderline addiction (you can see my StackOverflow badge on the right sidebar).
Update 6/21/09: This server is currently under very heavy load (10-200), even with caching plugins enabled. Please bear with me as I try to resolve the situation.
Feel free to bookmark this page and return to it later when the fires have been put out.
Update 06/21/09: I think I've got the situation …
Updated: October 6th, 2009
Every time I have to deal with svn:externals in SVN, I forget the command line syntax. Every single damn time. Normally, I use SVN GUI clients, such as SmartSVN, which make it very simple to add an svn:externals property. But for command line, it always takes looking at 25 different sites on google, which are all incredibly unhelpful for this question for some reason. Trying "svn help propset" on the command line was bloated and equally useless.
So this time I needed to write it down and make sure everyone who needed help with svn:externals would find exactly what they need here. I hope this page will soon come up on top of all the unhelpful results on …
Updated: October 6th, 2009
I don't know about you, but I'm incredibly sick of Facebook quizzes. Yeah, shit like this which occupies 90% of my news feed:
And to make matters worse, Facebook provides no means to block these quizzes and rid your profile of them forever. The only thing you can do is block each individual quiz. But just like weeds in your backyard, when you block one, three more rise up in its place. I know I am not alone here – there are literally billions of people searching for a solution to the plague.
So, what does the tech community do when it is not happy?
- Runs to mommy, crying.
- Drinks heavily, passes out, and comes to work with a
Updated: September 27th, 2009
Welcome to part 2 of the Essential Firefox Extensions And Tips – A Comprehensive Guide series. In this article I’m going to describe a number of time saving pragmatic extensions that make me a better, faster, more efficient browser user (browserer?).
All-in-One Gestures introduces customizable gestures for all kinds of actions. To perform a gesture, hold the right (by default) button and move the mouse in the specified direction, drawing the needed shape.
I use it mostly for 3 things: history back/forward and close tab (see below). Once you start using gestures, there is no …
Updated: June 10th, 2009
* Lightning Fast is a blatant exaggeration. Got you to look though, didn't it?
Whether you are a web developer or a self-hosting business owner, the only excuse for not activating compression capabilities of your web server can be that you didn't know about it. And now that you are reading this, there is no excuse left at all.
And here it is after compression:
As you see, the difference is quite substantial – almost 30% savings.
I've been looking for a new laptop and started looking at Lenovo Thinkpads (W500) and Dell Latitudes and Precisions. I was worried that I might not like the look and feel, so I tried looking up their US laptop return policy.
Dell's return policy was found in about 5 seconds.
Lenovo's site, google, bing, or any other resource, however, proved to be useless while looking up their US return policy (all I could find was their Australian policy for whatever reason). Lenovo tried VERY hard to bury it, and I was only able to find it after tweeting at lenovosocial, which at first gave me the wrong policy by mistake (it was a 30 days, no questions asked guarantee). …
If you use VNC to remotely connect to your machines and are having problems with certain applications not showing changes (redrawing), this will, hopefully, solve the problem for you.
The symptoms are simple: you load a program but only the program outline and maybe the first frame would show up. After that, nothing would update, even though the user in front of the remote computer can see everything updating fine. For me, it is happening with all Java based programs (SmartSVN, Charles – amazing program btw!, etc). Here's what's happening to my Charles application – it never even sent the first frame, simply showing the desktop and not updating:
The problem may be confined to RealVNC …