After talking with a coworker today, I decided that I would go ahead and use puppet on my netbook. I don’t constantly distrohop, but when I do, it would be nice to have puppet automatically install all the packages I use commonly for me. Today, I installed puppet and did a quick ownership change to start on my Lucid Lynx Ubuntu 10.04 UNR install:
sudo apt-get install puppet
sudo chown puppet:puppet /var/lib/puppet
Check out the website of Illumos at http://www.illumos.org/
They are making an announcement on August 3rd in New York 1PM EDT and I’m wondering if it’ll be a fork of the OpenSolaris project. This would be great because of how slow the OpenSolaris releases were coming out. Hopefully we’ll have an exciting announcement other than just “we are forking OpenSolaris”. News about the announcement be will on the illumos wiki.
Here are some things I would like to see if they do fork:
- Desktop, server, and “home file server” editions.
- ZFS version updated to the release with deduplication.
- New and improved package manager.
- Easy community involvement with a rockstar community manager.
- Package installations from the website.
- Support service plans.
- Public road map.
that’s all I can think of off the top of my head. Obviously, almost all of these will probably not happen but one can dream
.
Posted in theory
|
Tagged illumos, opensolaris
|
I managed to get a HTC G1 android phone with version1.6 recently. Although people dog on this version, it actually is really nice. I am waiting for Cyanogen to come out with a stable version of CM6 which is based on 2.2 Froyo on to this G1. Then this thing will be a monster!
Here are the applications I’ve put on it:
- Aldiko
- android VNC
- ConnectBot
- doubleTwist
- Gesture Search
- Google Goggles
- K-9 Mail
- Google Listen
- Mint.com
- mustard
- Remote RDP Lite
Posted in software
|
Tagged android, g1, htc
|
The StringBuffer class since java 1.0 should be replaced with the newer StringBuilder class in java 1.5 if you don’t need any synchronization. What I learned in college about StringBuffer which probably is the same with StringBuilder is that it is a lot more efficient when concatenating Strings.
For example,
String temp = “yo”;
yo += ” yo”;
Now you would think it would just append the second ” yo” to the end of temp, but what happens is that a new string is created and then everything is copied into it. This gets messy if you put the yo += “yo”; in a loop.
For StringBuilder and StringBuffer, it will just append the ” yo” to the StringBuilder object in a faster and space efficient setting. If you hit the end of the size of the StringBuilder, it’ll just increase the size automatically.
I got this on the alom interface to a Oracle Sun SPARC 5120 when trying to do the showenvironment command:
capi_get_sensors() failed, status = -1
Haven’t figured out the problem yet.

So far, this game is really fun. I’m only on level 5 in easy section and I’m enjoying it. Unlike the previous game, you use a hammer to break out blocks to get the 3d shape of the object we are finding. It passes the time very fast and it’s not as frustrating yet so I may change my tune when I get into the medium/hard section of this game. Thumbs up so far though.
So I’m having a weird situation with our Centos 5.4 AMD boxes that are open for general use. Occassional, the lbcd process will go into a D state and just chew up cpu doing absolutely nothing. With lbcd stopped basically, users can’t use the load balanced name to get into this machine. Kill -9 does nothing and strace shows absolutely nothing. lbcd can’t restart at all. Heres an output from one box:
ps axl | grep D
F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND
1 0 2397 1 16 0 1672 8 sync_p D ? 2:07 /pkg/lbcd/current/sbin/lbcd
So far it doesn’t affect the Intel machines we have, but that could be because regular users can’t log into them. If I find the reason, I’ll be sure to post it up here
Here are a few steps on the command line to add a cifs export on a non-clustered BlueArc Titan from the Linux SMU:
pssc -u supervisor -F pwfile -e 1 192.0.2.2 cifs-share add ryan filesystem \\path\\to\\share\\ryan
This works great if you got a list of users and their cifs share names. The nice thing on our NetApp FAS940 was that there was cifs_homedir.cfg where you can edit the locations of where the cifs home directories would be exported on and it would automatically do it to any of the folders in it.
Posted in software
|
Tagged bluearc, cifs, titan
|
Found out a weird thing where my process would hang when I tried to do a df and one of the nfs mounts would just hang there on our CentOS 5 machines.
I found that if I killed the process straight up, nothing would happen. But if I killed the pid like so:
kill 3560
And then do a strace on it:
strace -p 3560
It would end up killing the process for me!
Posted in tips
|
Tagged kill, linux, strace
|