diary | | | geek interests | | | publications | | | projects | | | web |
9/06/2007 12:58:00 AM |
I'm starting to really really appreciate what Pete has been saying all along... I always thought I understood, but now the pain is 10x greater... |
6/17/2007 03:50:00 PM |
Stay tuned... A radical change will happen to this space between now and the end of the year... =) Please don't expect any new posts between now and then, tho... ;) |
12/18/2006 04:59:00 PM |
Knowledge and productivity are like compound interest. Given two people of approximately the same ability and one person who works ten percent more than the other, the latter will more than twice outproduce the former. The more you know, the more you learn; the more you learn, the more you can do; the more you can do, the more the opportunity... Given two people with exactly the same ability, the one person who manages day in and day out to get in one more hour of thinking will be tremendously more productive over a lifetime. A step at a time. A pebble at a time. Making a difference. |
12/07/2006 12:14:00 AM |
I've got myself not one, but two new toys for the holidays... *smirk* Although, the ultimate toy would have been the Wii... I'll wait until it gets DVD playback cuz I'm lame like that. |
11/19/2006 06:02:00 PM |
Crack open that whip and get'em Engineers hackin'!! You know you want sub-3 seconds boot time!!! You can't be comparing it to a friggin PC!!??? Don't look below you, look up!!! C'mon, Nintendo!!!! |
7/18/2006 03:48:00 AM |
So I'm trying to understand more about electrical engineering. I found myself constantly desiring the knowledge, so I just had to find an excuse to motivate myself. I failed to blog about it, but I started this off by fixing my broken drum machine which had a cracked board (just had to use a bit of solder to "jump over" the crack and let current flow. It was a quick 15 minutes job with Jeff guiding me. Now I'm all cocky, of course. =) I'm basically looking around my home for things I can either fix or modify... *SMIRK* The first obvious choice was my PS2. I have a PS1 and a PS2. PS1 is a Japanese import which is meant to allow me to play all the Japanese games I have (which is a lot). The problem is that the console is dying a slow death. So I want to mod my PS2 so that it can do everything the PS1 can do. =) I purchased the duo GT3 modchip and I'm taking 30 minutes or so a day getting it isntalled on my PS2. So far the hardest part of the whole deal was opening up the damn PS2. -.-;. Here are some photos of the process so far. Got lots more to solder! |
7/17/2006 10:14:00 AM |
I came across a rather earth-shattering little blib of news release today. Miscommunication and a lack of cross-cultural understanding can hinder the effectiveness of global sourcing, according to the results of a study released today by Accenture. Are they running out of news to release? |
4/09/2006 02:49:00 AM |
One of the things I'd like to finish up before the end of the year is my independent studies thesis for my MBA. God knows I've been putting it off for years... Well, so I've begun collecting potential references for it, and have also started a blog titled End-User Revolution. If you have any interest in the subject matter (you can read about the general idea of what I mean by end-user revolution here) or know of references that I should be reading up on, do drop me a note on the blog! |
4/06/2006 07:13:00 PM |
One of the biggest gripes I have with opensource/freeware software distributions is that not a lot of them seem to give much thought to producing compact software (i.e. small memory footprint and compact code - as in compiled code, not lines of code). I'm ashamed to admit that one of my own contributions also fall under this criteria given its dependency to wxPython. I'm guessing that it's mostly because we're lazy and want to just get something that works out the door quickly. Recently, I was looking for a light-weight RSS reader, because Sharpreader keeps crashing, hogging memory, among other things. I searched for "light-weight RSS reader" and found one called "Feed Reader" that said the following: One of the main goals of Feedreader architecture is to keep its footprint small. Say goodbye to bloat: installation file is under 3.5MB. Wow, small footprint was one of the goals, and the binary still comes out to 3.5MB (since they said under, I suppose it's possible that it's only 1KB)? I don't mean to pick on this application, cuz for all I know it's a great application and every single byte is necessary. It just gave me a chuckle to find a bold statement on its front page saying that a 3.5MB file was lightweight. ^^; |
3/25/2006 02:43:00 AM |
I hate the chain rule... Gotta love the quotient rule, product rule and the power rule, tho... Oh, and Maple |
3/15/2006 09:49:00 PM |
Few years back I had read Guido's entry on writing a nice "main" for python. When optparse came out for python 2.3 I had revised it and have been using the exact same code for of main for a long long time now... I find myself copying/pasting the same shit all the time so I thought I'd put it here for copying/pasting. Maybe others would find it interesting?
The code is as follows. You'd need to modify How do you guys write your main?
|
2/03/2006 11:05:00 AM |
So today I had to write a quick script on Darwin(i.e. MacOS X) that was to run a command line app and interact with it. Basically what would happen is that the command line would run and it would prompt the user to enter a password. At first the viscious hack involved writing a dead simple C extension to python that simluated a key press (i.e as if a human being really hit the key on a keyboard) -- I would've liked to just use python, but the ioctl module was not available for the platform. The python extension wrapper is ugly, so I'll just show you a command line version of what I did.
Then things got weird when the password prompt showed up arbitrary number of times depending on the argument used for the command line app. So I needed a way to read in from the terminal and only type the password when it was explicitly asked for. At first I just used popen to get access to the stdin, stdout, stderr to see if I can read the prompt in, but it seemed like the command line was writing directly to the terminal... =( So I essentially had to find a way to somehow create a terminal-like environment, run the command line in that and intercept the output it's piping to the terminal. After some asking around and googling I noticed that the pty module had its own fork function that forked a child process inside a pseudo-terminal which it returned the file descriptor of! So the hack came out as such:
There you have it. Just thought I'd blog about it, since I couldn't find anything immediately on the net... So if you want to interact with terminal apps by reading its output and typing in some input, this should give you a good start. Hope that helps! |
1/26/2006 12:51:00 AM |
I've been using 43things.com for some time now and have watched them grow into 43places.com, 43people.com, then a complete refresh of allconsuming.net ... These guys are taking advantage of the Web medium very well. They're sprinkling just the right amount of technical mumbo jumbo, they're also reaping big on the self-promotional nature of the internet generation and on top of that, they're linking all these information quite nicely on technical level. Great job guys! Can I get some stock??!! ;) |
7/06/2005 12:32:00 PM |
So the conference did get better on the second day with more focus on the semantic Web. The big topic these days seem to be ontologies, and although my main research focus at work isn't directly related to ontologies, I do deal with them on a regular basis since we use them for creating information architecture for various research projects. Plus there are others at work (Hi Dom~) who do work extensively with ontologies. Oh, and I thought the professor who ran a tutorial on the overview of ontologies for the semantic Web was quite good. There's a session on Web services today which I hope would be as good. It wasn't all great, though... The most disappointing part was that a lot of the interesting paper presentations were cancelled because the presenters just didn't show up... And there were way too many ocassions like this to the point where I became somewhat disturbed at the fact that I really wasn't getting enough out of this experience. =( I wonder if this is common in the world of conferences... The other problem I noticed was that given the international nature of this particular conference (something like representatives from 30 different countries), the language barrier was high in many instances. Often times you'd have absolutely no idea what they were saying so you just sit there hoping that everything will be spelled out on the slides. Other times, questions would get misanswered because the presenter would not really understand the question, and, of course, the person who asked the question would try paraphrasing a couple of times and eventually just nod at whatever answer they get and give up. Amidst the positives and the negatives it's without a doubt that it is always refreshing to see what other people are doing and to get feedback on what we're doing. Can't really put a dollar value on fresh perspectives, ya know. ;) So no gripes about that! A'ight I'll be back in da 'burgh soon! |
7/04/2005 06:11:00 PM |
Can't say that I'm completely satisfied with the quality of presentations I've been able to attend, but then again, it's only the first day... As a matter of fact, it looks like there are some interesting presentations at the CI 2005 conference which is co-hosted at the same time in the same location. What I might do later is attend some of their sessions where they talk about AI-related stuff that sound interesting (not that I have a deeply rooted interest or understanding of AI, but "Framework for Executing Computational Intelligence Over Distributed Embedded Nodes" just sounds sooo much cooler than "Load Balancing Grid Computing Middleware", naw mean? As for my presentation, I think it was decently received, but the audience size was pretty damn small and I didn't get many questions... so I either completely butchered the presentation or they were in need of some serious caffein (You see... I was the first guy to present in the conference). I did get to capture my presentation in video format, so I'll try putting it up when I get back. A'~~~ighty, this fro-sportin' geek is gonna go back and try to blend and schmooze with the l33t professors of the world now. ;) |
Want some more? Dig in to the archive for past entries.