David Phillips [entries|archive|friends|userinfo]
David Phillips

[ website | david.acz.org ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

PHP PEAR install error [Nov. 27th, 2006|11:07 pm]
I encountered this error while installing PHP. It took me a while to determine the cause: an existing /tmp/pear directory not writable by me. Removing the directory or changing permissions on it fixes the problem.
Installing PEAR environment:      /usr/local/lib/php/
could not extract the package.xml file from "phar://install-pear-nozlib.phar/Archive_Tar-1.3.1.tar"
[PEAR] Archive_Tar: Cannot initialize 'phar://install-pear-nozlib.phar/Archive_Tar-1.3.1.tar', invalid or missing package file
could not extract the package.xml file from "phar://install-pear-nozlib.phar/Console_Getopt-1.2.tar"
[PEAR] Console_Getopt: Cannot initialize 'phar://install-pear-nozlib.phar/Console_Getopt-1.2.tar', invalid or missing package file
could not extract the package.xml file from "phar://install-pear-nozlib.phar/PEAR-1.4.11.tar"
[PEAR] PEAR: Cannot initialize 'phar://install-pear-nozlib.phar/PEAR-1.4.11.tar', invalid or missing package file
Installing PDO headers:          /usr/local/include/php/ext/pdo/
Link4 comments|Leave a comment

Pivot Tables in Oracle [Nov. 19th, 2006|09:50 pm]
This trick is a fast and efficient method for generating a set with any number of rows:

SELECT level
FROM dual
CONNECT BY level <= 100 # row count
LinkLeave a comment

Radically Restructured Database Architectures [Apr. 27th, 2006|10:29 pm]
[Tags|]

I just finished reading A Call to Arms, an interesting article about various aspects of future database architectures. Quotes:

"...relational operators make up nothing more than the outer loop of
nonprocedural programs and so really must be executed in parallel and
at the lowest possible cost."


"For petabyte-scale databases, the only solution may be to run
continuous data scans, with queries piggybacked on top of the scans."


This last one seems to have already arrived with SQLite:

"Indeed, if every file system, every disk, every phone, every TV,
every camera, and every piece of smart dust is to have a database
inside, then those database systems will need to be self-managing,
self-organizing, and self-healing."
LinkLeave a comment

Back in Kansas City [Mar. 19th, 2006|12:49 pm]
This may come as a shock to all three of you who read this, but I am back in the Kansas City area.

On December 30, exactly three months after I started, I left Amazon and moved back to Kansas City to continue working at Adknowledge. The decision to leave Amazon was difficult, but since my first day back at Adknowledge, I am 100% convinced it was the right one. At Amazon, I felt like a small piece of a single part of a large machine. At Adknowledge, I have the chance to contribute something valuable to the company and fellow employees every day.

My condo in Leawood did not sell after being on the market for three and a half months, so I was able to move back into it.
Link2 comments|Leave a comment

Seattle [Sep. 27th, 2005|03:23 pm]
I am now in Seattle. We arrived on Saturday afternoon. It wasn't much fun flying with the cat. He didn't enjoy being stuck in a bag (essentially a duffel bag designed for transporting animals) for half the day. There was a minor complication with Lu's snake -- I failed to find out the container requirements from NWA Cargo and the one we brought was not sufficient. Fortunately, my parents had insisted on driving us to the airport instead of us taking a cab. They graciously offered to find the proper container and ship the snake later that day. It arrived in the evening. The NWA Cargo people in Seattle were a lot friendlier than the ones in Kansas City.

The next time I fly I will not choose NWA. The first leg of the flight only served drinks, no snacks. The second leg was the same, but also offered a snack box for $3. Both had the usual half drink can (where the flight attendant gives you half a can of whatever drink you select in a cup and keeps the rest of the can for the next passenger). I think they could do a lot better for a $500 one way domestic flight. Is a whole 12 oz. drink and complimentary snack (even the typical bag of peanuts) too much to ask? I flew with them on a round trip international flight that cost $775 and each way had three full meals which were surprisingly good.

I am still waiting on internet access in the Amazon provided temporary housing (a nice apartment furnished by a different company), so I am posting this from a coffee shop.

Seattle is nice, but if feels weird to think that I live here now. I am excited about starting work on Friday.
Link3 comments|Leave a comment

Amazon [Aug. 30th, 2005|10:45 pm]
[Current Mood |excited]

I have accepted a Software Development Engineer position at Amazon. I will be moving to Seattle and starting work at the end of September. Everyone I spoke to was very smart and enthusiastic about working at Amazon. The recruitment process was positive, but longer than expected -- I had eight different interviews with engineers and technical managers, plus four different recruiters.

I regret having to leave Adknowledge after a little less than a year, but this opportunity is too good to pass up. Adknowledge is an excellent company to work for and they are hiring right now for a variety of positions, including several UNIX Engineer positions. If you are interested in working for a fast paced internet company in the Kansas City area, send me your resume and I will make sure the appropriate people see it.
Link3 comments|Leave a comment

Social Security [May. 4th, 2005|03:48 pm]
I was reading the transcript of Bush's press conference and this quote jumped out at me:

Now, it's very important for our fellow citizens to understand there is not a bank account here in Washington, D.C., where we take your payroll taxes and hold it for you and then give it back to you when you retire.

Our system is called pay as you go. You pay into the system through your payroll taxes and the government spends it. It spends the money on the current retirees and with the money left over, it funds other government programs.

And all that's left behind is file cabinets full of IOUs.
Link1 comment|Leave a comment

Perl [Apr. 14th, 2005|04:23 pm]
I have decided to be pragmatic and actually learn Perl. I have never liked the look of Perl and have never wanted to learn it. This decision has been based on personal taste and principle as a programmer. But due to the fact that it's installed by default on almost every modern UNIX based OS, I now think it's worth learning. Python is great, but it's not always available or usable. What would happen if I start to actually like Perl?
LinkLeave a comment

Car [Apr. 1st, 2005|11:15 am]
My car was stolen yesterday evening from the parking garage at my office building, Plaza West. Unfortunately, this is not an April Fool's joke. Of all the places that I've parked my car in the five years that I've owned it, this is one of the last places from which I would expect it to be stolen.
Link1 comment|Leave a comment

Taiwan [Mar. 20th, 2005|06:58 pm]
I just got back from my week long trip to Taiwan. I'll post more later.

Update: Here are some pictures from the trip.
Link1 comment|Leave a comment

Google Myths [Feb. 15th, 2005|05:04 pm]
If you are interested in Google or search engine optimization then read this interesting article, Top 10 Google Myths Revealed. I learned a bit about Google SEO at my last job thanks to a co-worker of mine and a guy I met at another company. Based on my experience I will say that everything in the article seems to be correct.
LinkLeave a comment

Pot Holes [Feb. 15th, 2005|05:00 pm]
I hate driving around here. It seems that there is a road obstacle every few hundred feet. I don't remember there being this many holes in the road here. Maybe it's a winter thing? Or due to the fact that I drive more in Missouri now? Whatever the cause, it sucks. Fix the pot holes!
LinkLeave a comment

Moving Completed [Feb. 14th, 2005|11:00 am]
I moved into my new condo in Leawood over the weekend. There is still lots of unpacking and setting up left to do, of course, but the hard part is now out of the way. If anyone in the Kansas City area is looking for movers to load and/or unload, let me know, as I would recommend the guys that I hired.

I will post pictures once we get everything setup.
LinkLeave a comment

Insane Clown Posse [Feb. 10th, 2005|04:29 pm]
[Current Music |ICP]

There is nothing like listening to some ICP at work to put you in a better mood.
LinkLeave a comment

Feed Search Engines [Feb. 3rd, 2005|02:48 pm]
RSS search engines are very cool. I'm surprised that Google hasn't started searching them yet, especially since they own Blogger. Or maybe they already do search them and I just can't tell.

RSS is useful because the information is usually fresh. Google's index update time is usually measured in weeks, not hours. Blogs empower anyone to be their own news outlet. Most current topics, especially technical, can be found on blogs all over the internet. They provide a sort of mini world wide web.

Implementing a feed search engine would be a fun project. Relevancy could be determined based on links between blogs and topics.
LinkLeave a comment

Mouse Habits [Jan. 31st, 2005|08:29 am]
I changed offices at work on Friday and due to the different desk arrangement I had to place my second monitor on the right of the primary monitor instead of on the left. The physical arrangement matters because I set the logical arrangement in Windows to match. I found that when going for the titlebar icons (minimize, maximize, close) I usually overshoot them and end up on the second monitor (which is bad because I then click on the titlebar icon of the maximized application on that monitor).

I don't do this intentionally. It's a habit of using Windows for ten years. Normally, this behavior is fine since the edge of the screen bounds the mouse pointer and it ends up in almost exactly the right spot. This is a great example of the problems faced when doing interface design. What works well in one situation breaks down the moment some assumed constraints are changed. I think that the taskbar would be even worse. I always "overshoot" the taskbar buttons.

Would this be better on Mac OS X? I think so. Why? Because on OS X the icons are on the left and my second monitor is on the right! But seriously, it would be better because I rarely use the icons. The keyboard shortcuts are much better: Cmd-Q to quit the application, Cmd-W to close the current window and Cmd-M to minimize the current window. Windows doesn't have a keyboard shortcut for minimize and the other equivalent shortcuts are not nearly as convenient. As ironic as it sounds, I use the keyboard more on my PowerBook for window operations than I do on Windows.

That said, I don't think the Mac is perfect. For example, the ancient behavior of not automatically closing applications when the last document window is closed seems counter intuitive, especially for normal users who have used Windows, and should at the very least be configurable. However, it could in fact be easier for people that have never used a computer. I also find it annoying that Safari doesn't have an option to warn me when I Cmd-Q with multiple tabs open.
Link1 comment|Leave a comment

New Condo [Jan. 14th, 2005|08:19 am]
I closed on a condo in the Kansas City area (Leawood) on Wednesday. I actually spent about a month and a half looking this time. It's farther from work than I would like, but other than that the location is good (it's right next to Town Center Plaza). I guess this means I'm stuck in Kansas for a while.
Link2 comments|Leave a comment

Kansas City [Jan. 8th, 2005|06:02 pm]
If you're reading this, then you probably already know, but I'll post it here anyway.

I accepted a job at Adknowledge, Inc. and moved to Kansas City in mid October. The office is on the west edge of the Plaza. I'm currently living in an apartment about two blocks away. I was hired to do Windows programming, but after about the first month I have been doing UNIX programming. It is different than GeekTech, but it has been an interesting change.
LinkLeave a comment

Hungarian Notation Revisited [Jan. 7th, 2005|12:22 pm]
I read a good blog entry about Hungarian notation the other day. The original Hungarian notation proposed by Charles Simonyi actually makes a lot of sense. It is a shame that most people dislike what they think is Hungarian notation simply because much Windows code uses a horrible variable naming technique that detrects from readiblity. As you may note from one my previous entries, I used to fall into that camp.
LinkLeave a comment

Texas Holdem and Winamp [Aug. 27th, 2004|04:28 pm]
I played no limit Texas Holdem Tuesday night. It was a seven person game with a $10 buy-in. The game started at 7pm and ended up going until 2am, at which point the two of us left decided to call it a quits and split the pot. Next time, we should either start with fewer chips or raise the blinds more often.

I learned something yesterday: Winamp 5 is the same as Winamp 2. For some reason I had thought that Winamp 5 was simply a new version of the abomination that was Winamp 3. If you don't choose support for "modern skins" (Winamp 3 skins) when you install it, then it's almost exactly the same. The only differences are that the preferences are arranged better, the 3D credits are a bit different, the menu has a link to the help page and it has some extra (optional) plugins. And no doubt many bugs have been fixed. So if you haven't upgraded from 2.91, do so. It's good to see that Justin left Winamp in good shape before he left AOL.
Link2 comments|Leave a comment

navigation
[ viewing | most recent entries ]
[ go | earlier ]