This is in reference to an earlier post.
Saturday, November 20, 2010
T-Rex Sort Of Validates Me, In Panel 3
Posted by
Buruzaemon
at
6:32 AM
0
comments
Labels: comics dinosaur
Saturday, June 19, 2010
On Drive & Motivation
Came across this terrific animation bit on drive, incentives, and motivation. It is hilariously spot-on. If you find yourself on the hiring side of the interview table, you should view this animated presentation first.
Posted by
Buruzaemon
at
10:07 PM
0
comments
Labels: motivation drive video
Grover Does Dama Dam Mast Qalandar
I don't quite know what to say, except... Grover still rocks my world.
Posted by
Buruzaemon
at
6:48 AM
0
comments
Labels: music video grover mashup
Wednesday, April 7, 2010
A Funny Thing Happened on my Train to Work This Morning
I've been in Japan so long, maybe I'm going native.
I just hopped on the subway this morning, finding a well-positioned seat on the right-hand side of car number 8, and was enjoying a nice article on how to read a balance sheet in my favorite business magazine. I had Audioslave's Cochise on my iPhone, and I was looking forward to finishing the article before getting off at Otemachi. I normally get on at the station where the subway begins, so the seats fill up fast.
The subway lurches forward, and soon I am deep into my magazine. After a stop or two, I look up and notice a woman standing in front of me. All the seats by now are taking, standing-room only. And then I notice that she could be... well, she might be pregnant.
Now, Boy Scout that I am, I was just about ready to jump up and offer my seat. But I hesitated. Yeah, she sort of had that wonderful, baby's-four-months-along-now bulge in her tummy. But was that bulge real, or was I just imagining it for her bulky and loose outfit?
I bit my lip and tried to determine the situation. But it is rude to look to hard at a person in Japan, so I tried to be nonchalant about it. Urgh, couldn't tell. I glanced nervously sideways. The guy sitting next to me was fast asleep. The people sitting on the other side of the car were just staring vacantly forward out the windows. Didn't they notice this pregnant woman standing? Why couldn't any one of them stand and offer their seat, and save me the trouble of making a hard decision?
I continued to discreetly assess this woman. Yeah, she sort of had a large, pear-shaped frame. Could be pregnant. Or was it just the cut of her clothes? Another station comes and goes, and I am still deep in debate. Back Stateside, I would offer my seat without hesitation, and so what if I was wrong and she wasn't pregnant? We'd both laugh it off, and maybe I would get to sit back down and and continue reading.
But this is Japan. Appearances and saving face counts, and I sure would not want to cause this woman any embarrassment for mistaking her to be pregnant when she might only have been just packing a bit of a beer belly. Oh, the predicament! A bead of imaginary sweat rolled down my forehead.
So two more stations pass, no one around me is budging, this woman in still standing solidly right in front of me, and I am still pretending to be engrossed in my magazine. Ah! What a great column on the classic Monty Hall problem on conditional probability! But the situation does not change a bit... another station comes and goes... and I am still struggling at the impasse. Do I stand or continue to politely pretend oblivious ignorance?
Finally, the man sitting next to me gets up and disembarks at the next station. I breathe a sigh of relief, thinking that I don't have to make a hideous gaffe (embarrassing for both of us?) now that a seat has opened up. Joy!
...
But the woman doesn't sit. Nope. Doesn't even make a move towards the empty seat, just huddles up against the door next to me. A whole lot of other people get on the train, and someone else sits down next to me. But Ms. Beer Belly gets off a station later, when I finally see that she is not in the family way, just merely pleasingly pear-shaped.
I am such a wiener.
Posted by
Buruzaemon
at
10:51 PM
1 comments
Labels: culture wiener
Friday, August 7, 2009
Wednesday, August 5, 2009
Wednesday, July 15, 2009
Swearing to Cope with Pain
Man, it has been a while since I last posted. I wanted to write about all sorts of things. Like successfully installing R for OpenSolaris using packages. Maybe about the uncertain future for OpenSolaris, now that Oracle pwns that. Maybe about coffee (see my byline, I actually haven't written one word about my addiction to the bean). Maybe about a candidate for a side project I've been mulling over, involving human speech parsing. But I've been busy, both professionally and in private life.
However, I found a wonderful article on Scientific American that is just so timely, that I feel compelled to post. Right here, right now.
Been quite busy at work, having been drafted to fight fires on a project that I now understand to be, simply put, a real death march project.
If you're in IT, then you know what I mean...
Crazed release schedules, dictated to us according to the customer's whims. Lack of basic, understandable documentation. Severe lack of a coherent, well-thought architecture. Largely apocryphal comments sprinkled in the code, probably mostly out-of-date and inaccurate. No unit tests, no automated builds. A test team working on a Frankenstein system comprising multiple web services and multiple db's, all the while claiming that a test sprint can be done in 1 hours' time. Argh, and don't even get me started on the misinformed decision to use Seasar2, which itself suffers from extremely poorly written documentation, even in its home language of Japanese.
So I've been suffering from recurring headaches, lately. The cause? Me banging my head on my desk, asking futilely, "Why, o dear lord, why?"
What is this global variable doing here? *wham*
Why is this method duplicated in several objects, but in different, unrelated packages? *wham*
Why are there 2 classes in separate packages but of the same class name that at a functional level are almost, but not quite, completely different from each other? *wham!*
Who the #$%! wrote this code??? *wham!!*
What the #$%! was he thinking??? *wham!!!*
What blockhead decided against unit-testing and automated builds?! *wham!!!!*
When I am coding, I often talk to myself. A lot. So much that the people that sit near me at my traditionally laid out Japanese office mention it. They mention it quite often, actually. And I find that if I am in fire-fighting mode, trying to fix code written (nay, slapped together??) by others, then I find that I begin to swear out loud. A lot.
Hallucinatory soliloquy? Generalized anxiety disorder? Just a tad schizophrenic? Tourette's?
No, none of the above. Not according to the Scientific American article Why the #$%! Do We Swear. No, I think the increase in my swearing out loud is in direct proportion to the amount of stress and frustration I am feeling at that time, and this outward vocalization is really helping me to relieve the pain I am feeling. It's a coping mechanism.
A brief excerpt:
The study, published today in the journal NeuroReport, measured how long college students could keep their hands immersed in cold water. During the chilly exercise, they could repeat an expletive of their choice or chant a neutral word. When swearing, the 67 student volunteers reported less pain and on average endured about 40 seconds longer.
...
How swearing achieves its physical effects is unclear, but the researchers speculate that brain circuitry linked to emotion is involved. Earlier studies have shown that unlike normal language, which relies on the outer few millimeters in the left hemisphere of the brain, expletives hinge on evolutionarily ancient structures buried deep inside the right half.
One such structure is the amygdala, an almond-shaped group of neurons that can trigger a fight-or-flight response in which our heart rate climbs and we become less sensitive to pain. Indeed, the students' heart rates rose when they swore, a fact the researchers say suggests that the amygdala was activated.
So you see, I am just trying to soothe my #$%! pain. I'm just trying to work it on out. Hell yeah, I can feel that dull ache receding...
Posted by
Buruzaemon
at
11:18 AM
2
comments
Labels: death march, me-myself-and-i
Monday, April 27, 2009
Networking and FreeBSD 7.1 on VirtualBox
Quick tip if you're installing FreeBSD on VirtualBox... when configuring networking, be sure to select the PCnet-PCI II (NAT) adapter.
I was bored this Sunday evening, so I decided to install FreeBSD 7.1 alongside my virtualized Linux distros (CentOS 5.2 and 5.3), plus I still have OpenSolaris around). Having just installed Linux this morning, I mistakenly selected the PCnet-FAST III (NAT) adapter, and was scratching my head for the better part of half an hour when I found I couldn't SSH into my shiny new FreeBSD install.
The more you know...
Posted by
Buruzaemon
at
12:16 AM
0
comments
Sunday, April 26, 2009
CentOS 5.3 on VirtualBox
CentOS 5.3 was released last month, and I finally got around to adding that to the list of virtualized OSs I have running on VirtualBox.
Install was easy as usual. Since I again installed a handful servers and development tools, along with Japanese Language Support, I ended requiring all 6 of the CentOS 5.3 install ISO image files. No need to burn them to CD-ROM, just mount the files using Devices -> Mount CD/DVD-ROM in the VirtualBox main window menu.
Did the normal preflight check: ensured that SELinux is on and enforcing (you can switch this off if all you're doing is developing locally, but it helps to understand how SELinux works if you will be using it in production); disabled services not needed when running virtually (anacron, bluetooth, cups, hidd, pcscd, xfs); double-checked to see that root access is disabled for sshd; and I only open ports for SSH and HTTP/HTTPS in iptables (again, you can always configure more open ports as needed, like for accessing a database or whatnot).
Lastly, I installed the VirtualBox guest additions for Linux. Nothing special here, just follow the instructions in the User Manual. The long and short of follows below.
First, we install the packages necessary for installing the Linux guest additions:
# yum install gcc -y
# yum install kernel sources -y
# yum install kernel-devel -y
# shutdown -r now
Next, mount the VBoxGuestAdditions.iso file per section 4.3.1 Installing the Linux Guest Additions in the User Manual.
Then, all that's left is:
# mkdir /tmp/cdrom
# mount /dev/cdrom /tmp/cdrom
# sh ./VBoxLinuxAdditions-x86.run
# shutdown -r now
Hey, presto! In the messages displayed in the console at startup, you will see that VirtualBox Additions is also starting up now. Good to go. And not that much different from my previous post on guest additions with CentOS 5.1.
I should also add that there wasn't any need to first install gcc and dkms, since those packages were already included in the installation. Caveat emptor.
Posted by
Buruzaemon
at
7:10 AM
0
comments
Thursday, April 23, 2009
Robotic Penguins!!!
Is this not sweet, I ask you?
Posted by
Buruzaemon
at
2:28 PM
0
comments
Labels: robots penguins movie
Learning from Failure, or There Goes My Golden Week Vacation
As a systems architect, I must concern myself with project management issues. Every now and then, I like to check my head and reread a wonderful blog post from Reg Braithwaite on What I've learned from failure. I printed up a copy and keep it in my notebook so that I can pull it out and read it on my train ride.
This is a timely topic for me as I now find myself only a week away from the big Japanese Golden Week holidays facing the ugly and imminent possibility that I will have to drag my carcass into the office during the holidays to assist another project team that are in the unenviable position of being smack dab in a "project out of control".
This project is rather high-profile and very important for my current employer. Being an outsider to this project, I don't know anything about how it got to this state. Only three weeks before going public, with a large string of national holidays right at the end... Doesn't that sound like project management wasn't working properly? And it always just slays me when I see that the only solution upper management can come up with is to toss more people at the problem by asking them to come in over the vacation. Urgh, I am having flashbacks of Lumbergh in Office Space: "m' yeah, I'm gonna need you to come in on Saturday..."
Close your eyes, take a deep breath, and repeat this mantra after me: Adding manpower to a late software project makes it later. Fred Brooks is spot on there. I feel like I should bring my copy of The Mythical Man Month in to the office and start whacking people across their faces with it.
So here's the punchline for today... what have I learned from failure?
People just never learn, that's what.
Closing note: It just so happens that there was a recent thread on /. on project management. Great comments, especially from myvirtualid.
Posted by
Buruzaemon
at
10:24 AM
1 comments
Tuesday, April 21, 2009
Python: Very Pleasant Language, Indeed
Posted by
Buruzaemon
at
11:36 AM
0
comments
Labels: python rawks
Time.com 100 Most Influential People of 2009 Poll Hack
Great bit describing a hack to write out a not-so-hidden message in the Time.com 100 Most Influential People of 2009 poll.
As of 10:30, 2009/04/21 Tuesday, the message was being garbled --- check it out here ---, but the hack is still pretty funny. At the very least, don't allow HTTP GET for any sort of non-idempotent operation.
Posted by
Buruzaemon
at
10:29 AM
0
comments
Labels: hack HTTP GET time.com moot
Google Researchers Propose New-and-improved CAPTCHA?
Well, here's an interesting article on Google researchers and their new proposal for improved captchas.
I really hesitate when it comes to captchas, whether it be from the user's perspective or the architect's. Present-day implementations are often too difficult or troublesome to deal with, and on the flipside, are all too often easily defeated by employing underpaid serfs in a sweatshop. But the gist of the article is that the new proposed captcha is image-based, which is great since text-based challenges have many shortcomings (language-dependent, requires text input).
I hope that Google can roll out some kind of library or package for this idea, it sounds pretty solid.
Posted by
Buruzaemon
at
9:50 AM
0
comments
Monday, April 20, 2009
Tsubaki Shampoo and Sex... Wax
Ah, my memories are all coming back to me now. I know why I like Shiseido's Tsubaki Red shampoo so much...
It brings me back to the day I bought my first bar of Mr. Zog's Sex Wax!
Posted by
Buruzaemon
at
10:55 PM
0
comments
Labels: shampoo sex
Thursday, March 19, 2009
Tuesday, October 28, 2008
Skinny Times Are A'Coming
I am sitting at the dining table, pecking away at this post while wolfing down some instant noodles. I just got back from company enkai where I really understood for the first time how grave the situation is at work. What with the grim economic circumstances unfolding worldwide, even here in Sapporo, skinny times are a'coming.
It is time to bear down, re-evaluate your skills and knowledge, tap your social networks, and plan for the worst. With the sinking of Lehman Brothers just the tip of the iceberg, soaring fuel and food costs and the coming winter mean that I will have to work a bit harder and a lot more smarter to protect my family.
S0, just how do I know that my company is in for some skinny times and stormy weather?
Tonight's party menu, that's how. Or rather, the lack thereof.
Normally, an enkai for welcoming new employees should be a fairly filling affair. It is fall, so that should mean a nice, hearty nabe hot-pot, with extra dishes of skewered meats or sashimi, salads, and the like. But tonight? There was only:
- a small nabe hot-pot, 1 serving per person, with cabbage, mushrooms, and ground chicken dumplings
- 1 yakitori skewer
- 1 tsukune ground chicken skewer (very tiny)
- a sparse green salad
- tiny, tiny fried chicken nugget-lets (I mean, tiny!)
- vinegared sushi rice (w/out much in the way of anything added to it)
- a dry piece of cake for dessert
Already, there is blood in the water for IT in Sapporo. A local Sapporo IT company called Den-nou (電脳, but their website is already down) just sank last week, and I reckon that it will not be the last. As far as I can tell, practically all IT in Sapporo have the same weak business model (bid as low as possible on jobs in Tokyo or Osaka, agree to unrealistic schedules, and work the crap outta your staff; lather, rinse, repeat). With practically nothing to discern one company from another, I expect that the same fate that befell Den-nou is what await many other Sapporo IT shops, including the one in which I am stuck.
But I am a chameleon when it comes to careers, a trapeze-swingin' kind of guy. I think it may be time to reinvent myself. Of course, I love coding way too much to give up that easy. But extraordinary times call for extraordinary measures.
Be prepared. Skinny times are a'coming.
Posted by
Buruzaemon
at
10:35 PM
2
comments
Labels: 札幌 IT Sapporo IT business economy meltdown insecurity
Saturday, September 27, 2008
Weebl and Bob - Destroy (archived on YouTube)
Hilarious parody of Ladytron's Destroy video. Apparently, the creators of Weebl and Bob got flak for making this, and British laws are not permissive enough to allow this. Thank god for YouTube.
Link to thread discussing the cease and desist order here...
It's too bad that someone doesn't have a sense of humor.
Posted by
Buruzaemon
at
8:36 PM
0
comments
Thursday, August 28, 2008
Java Implementation Loader Error in Deploying OpenOffice Add-On Project
My interest has been piqued lately: I am curious about developing applications in the OpenOffice framework, using the OpenOffice SDK.
Anyhow, I had some trouble getting the Add-On project tutorial going. Nothing serious, but I just couldn't deploy the add-on for "Could not create Java implementation loader" errors. Yeah, I didn't have a clue as to what that meant.
But with a bit of googling, I found this thread, which pointed me back to this page on the OpenOffice wiki. The solution is right there, in 2. Possible Work-Arounds. I quote:
This usually happens when one wants to debug Java in the office process and therefore has provided the debug options for Java in the options dialog. The Java service of the extension will be registered in a separate process (uno.exe) which also needs to start Java. This Java uses the same settings from the options dialog.
...
If there is also a Java running in the office process, then the creation of the virtual machine in the second process will fail. The reason is, that the latter receives the same debug settings. It appears that two virtual machines, although in separate processes, cannot use the same port for debugging. If one changes the port number before adding the extension (and after the Java has been created in the office process), then the extension will be installed properly.
Urgh. I installed OpenOffice with its own JRE, but I am using Java SE 6 Update 10 RC as the default environment in my NetBeans IDE (I am also dabbling in JavaFX!). I surmise, however, that when I use the Project View -> Project Node -> Context Menu -> Create OXT | Deploy Office Extension in NetBeans to launch the project deployer, it accordingly uses the environment settings of the NetBeans JRE/JDK the project is using, and not the JRE that comes packaged with OpenOffice.
So, to make a long story short... In WinXP, locate your user's C:\Documents and Settings\%user%\Application Data\OpenOffice.org2, and just delete it. Re-launching/re-deploying the OpenOffice Add-On project will just work. You'll have to change your Windows Explorer settings to display all hidden directories and files.
Posted by
Buruzaemon
at
10:25 PM
0
comments
Labels: OpenOffice SDK java implementation loader error netbeans
Mathematicians (nah, I'm not really a mathematician)
Which reminds me of the following joke:
An engineer, a physicist and a mathematician were all staying in a hotel, when each of their rooms individually caught fire. The engineer did some basic math, flooded the floor and said, "It is out." The physicist did more complicated math, used just precisely the amount of water needed to put out the fire and said, "It is out." The mathematician did a lot of complicated math, cried out, "I HAVE SOLVED IT!" and went back to bed.
... think I saw the above joke on /.
Posted by
Buruzaemon
at
12:48 PM
0
comments
Labels: math humor xkcd