2
I Use This!
Activity Not Available

News

wb
Posted over 15 years ago
Oh, hi. The blog I did while in Japan is available here.Important note: irc.phpwnage.com and the dakko services layer will both be down for a few hours intermittently tonight as I'm moving them back to old server box since I'm physically here and can ... [More] kick it if it misbehaves. I'm going to try and reinstall Ubuntu 10.04 server on it, see if it helps any of this issues the heap of junk has been having, maybe get it running a bit smoother. I need to also hook up a switch (probably just going to throw my new WarpStar router up down here). [Less]
Posted over 15 years ago
Supposed to execute in under 30 seconds:Code:$ ./test337.51user 4.82system 0:28.97elapsed 1181%CPU (0avgtext+0avgdata 0maxresident)k0inputs+0outputs (0major+197730minor)pagefaults 0swapsdiff:$ ./test[lange7 csil-linux-ts2 05/04 13:39:02 ... [More] ~/cs232]335.16user 4.87system 0:28.54elapsed 1191%CPU (0avgtext+0avgdata 0maxresident)k0inputs+0outputs (0major+198064minor)pagefaults 0swapsdiff:$ ./test333.48user 4.83system 0:28.20elapsed 1199%CPU (0avgtext+0avgdata 0maxresident)k0inputs+0outputs (0major+197374minor)pagefaults 0swapsdiff:$ ./test334.92user 2.48system 0:28.08elapsed 1201%CPU (0avgtext+0avgdata 0maxresident)k0inputs+0outputs (0major+197213minor)pagefaults 0swapsdiff:$ ./test335.69user 4.45system 0:29.41elapsed 1156%CPU (0avgtext+0avgdata 0maxresident)k0inputs+0outputs (0major+197456minor)pagefaults 0swapsdiff: [Less]
Posted almost 16 years ago
angst angst angstneed to get this out of the way before tomorrowDiscuss this news post here.(No comments)
Posted almost 16 years ago
When it comes time to renew domains this December, one will be missing from the pool: I am dropping `ogunderground.com`. I know a few people still link to my blog through it, and so I'm making this announcement now. I've already checked to make sure ... [More] I don't get any important email at *@ogunderground.com, and will continue to monitor that for the next few months. I've also been redirecting links to ogunderground.com directly to blog.phpwnage.com - I will be disabling this and replacing ogunderground.com links with a page noting this change.Ogunderground.com was the first domain I ever owned, and it's a bit sad to see it go, but maybe someone else will pick it up and do something with it.For the record, the domains that will be kept are phpwnage.com (for just about everything), modacon.org (because maybe next year we'll hold that **** conference), and dakko.us (my URL shortener). [Less]
Posted almost 16 years ago
My server is a poor little machine, by any standards. It used to be a desktop, but was retired because Windows shat out (it was my parents'), which mostly came down to the hardware failing and being deceptively replaced with less-than-useful ... [More] alternatives. This primarily applies to the graphics card, which used to be a rather nice Radeon 32MB card back when those were hot stuff; the card was hosed, and was replaced with a Rendition Verite V2000. If you have no idea what that is, you're part of a very large group of people. It is, somehow magically, an AGP card. The motherboard has no built-in graphics, but it's still a pretty nice board (especially for its time). The CPU is an AMD Athlon XP 1500+, running along at 1.3GHz (1353.937MHz). It does have a surprising 2GB of RAM, has full SATA support (but no SATA drives right now - when I eventually migrate it this may change), and it still works. Well, except for the random freezes... Anyway, one day I'm going to migrate this thing. Probably next year, to my dorm. This is dependent on whether I can convince CITES to put the thing in the "Fully Open" firewall category, so I can continue to provide all of my services. One day, hopefully, the poor thing will be able to operate at its full capacity - as limited as that is.But that's not what this post is about; I'm here to talk about how I'm fixing up the poor thing today: removing cruft as I like to say.We'll start with the biggest change: I just nuked FTP. Personally, I stopped using two years ago. If you want to deal with files on my server, I suggest you get yourself an SSH private/public key pair and send me the public half. My OpenSSH server has SFTP enabled. It is more secure, it manages user permissions correctly, and it's more secure. It also means one less port that needs to be open.Moving on, I've removed a bunch of stuff no one used: NFS is gone. Every piece of X is gone. Media applications (mplayer, vlc) have been obliterated. This is all in an effort to remove dependencies and libraries that just aren't used. The server used to be a desktop, so it had all of GNOME and all of Ubuntu's graphical options. They are now gone. I actually used Synaptic to remove Synaptic, which had some interesting results. The graphical MySQL tools, as much as I liked them, are gone.All of this is to make things faster and smoother and make my server... well, more of a server and less of an old, re-purposed desktop. [Less]
Posted almost 16 years ago
I'd like to announce a new project I've been working on for the past few months. With the restructuring of Compiz's core in 0.9.0, the dependence on X11 was removed, allowing us to port Compiz to other platforms. The first official port of Compiz is ... [More] to the iPhone, with the new iCompiz, which we have submitted to the App Store today.Discuss this news post here.(One comment) [Less]
Posted almost 16 years ago
Finally getting back into using my laptop as a testbed for the newest Ubuntu betas. After having some issues with Karmic (which I updated to on Thursday, and found that my laptop would randomly lose power - my netbook is doing fine, my desktop has ... [More] been running it since around release time), I decided I'd try Lucid. I booted into an older kernel, which alleviated my random shutdowns, and upgraded.So my first thoughts:- Yeah, yeah, the window buttons. I fixed those with a simple configuration change. Sorry, Shuttleworth, I don't even use the default theme, and whatever you're working on is probably not something I'm going to use anyway.- What the hell happened to my Compiz config? I thought I was safe enough using GConf to store my settings, but it appears some of my minor appearance settings have been changed a bit.- Murrine isn't accepting my dark gray scroll bar - it's now the highlight color (blue). While I can get used to this, it makes my laptop no longer fit the uniform style.- Byobu (awesome screen profile that Ubuntu started shipping by default in 9.10) has a conflicting default color scheme.- The volume applet isn't starting by default. I can run it with `gnome-volume-control-applet`, though.- iBus is pretty messy. I can't seem to get to my Anthy controls to reenable commit-on-close, and the tray icon disappears and reappears when I switch focuses (it also doesn't let me right click it).- After logging out and logging back in, I now have the Universal Access icon appearing in my tray, and I can't seem to find a way to get rid of it. Going to `kill` something when I'm done typing this to see if it helps.- Gah, Windows fonts on my Firefox screwing with hinting! I'm typing this in a box that's using Tahoma instead of a properly-hinted Deja Vu!Good things:- My laptop hasn't lost power yet. This bodes well. e: And there it went. Guess that's not fixed.- I like the new theme, but I'm not using it. I have my own theme that is universal to all of my systems, and I'm going to stick to it.- KMS. I know I had it in Karmic, but I didn't have enough time to appreciate it, having just upgraded on Thursday, and then going to Lucid today.Discuss this news post here.(No comments) [Less]
Posted almost 16 years ago
Also, rain. Lots of rain.Discuss this news post here.(No comments)
Posted almost 16 years ago
Here's an overview of how my SOCKS over DNS proxy system is going to work:Fairly simple, right? Just a relay server, incoming SOCKS data is encoded in base-32, passed as an A request to the DNS hivemind, eventually gets to our server, where it's ... [More] decoded, and passed on again as SOCKS data to a real SOCKS server. Data from that real SOCKS server is encoded by the DNS server in base-64, tossed into a few TXT packets, and thrown back down the line as a response to a different set of queries, where it eventually reaches the client and is decoded and converted back into regular SOCKS data and fished back to the application.Discuss this news post here.(No comments) [Less]
Posted almost 16 years ago
Last night, I set up a new bash prompt. It's a modified version of my old prompt with a bit more information added:In a normal prompt, it's pretty much the same as my old one: user, host, date, time. I added a seconds display, moved the path into the ... [More] brackets, and then added a new line. When in a git repo, I can see the current branch name, whether I have modified files lying around, and whether I have yet to push (if I'm ahead of the current branch). I'm thinking of expanding this to subversion and Bazaar, both of which I use quite a bit. When a program returns a value other than 0, I also display that after the current time, in bright red. If I'm root, the prompt symbol changes from a green $ to a red #.The more interesting things to note are why I have so much information there by default. I ssh to a lot of different machines and sometimes into different users, so it's good to be able to identify what user I currently am (whether it be `klange` on my personal systems, `lange7` on a university system, or any of the random users I `sudo --` into on my server). For the same reason, I always need to know immediately what machine I'm connected to, but I don't need the full hostname (I know what machines are part of the ACM network and which are part of EWS, and which are mine, based on naming schemes). I use the clock because my panel is on auto-hide, so the quickest way to glance at the time is to look at the prompt, rather than having to move my mouse to show my panel. It's also good to see when a command ended.Code:function prompt_command { local RETURN_CODE="$?" local ASCII_RESET="\[\e[0m\]" local ASCII_BOLD="\[\e[1m\]" local USER_COLOR="\[\e[1;33m\]" local PROMPT_COLOR="\[\e[1;32m\]" if [[ ${EUID} == 0 ]] ; then PROMPT_COLOR="\[\e[1;31m\]" fi local HOST_COLOR="\[\e[1;32m\]" local DATE_COLOR="\[\e[1;31m\]" local TIME_COLOR="\[\e[1;34m\]" local DATE_STRING="\$(date +%m/%d)" local TIME_STRING="\$(date +%H:%M:%S)" local CYAN_COLOR="\[\e[1;36m\]" local PINK_COLOR="\[\e[1;35m\]" local PROMPT_PREFIX="$PROMPT_COLOR" if [[ $RETURN_CODE != 0 ]] ; then PROMPT_PREFIX="$DATE_COLOR$RETURN_CODE$ASCII_RESET " # do nothing fi local GIT_STATUS=`git status 2>/dev/null` if [[ $GIT_STATUS != "" ]] ; then local REFS=$(git symbolic-ref HEAD 2>/dev/null) REFS="${REFS#refs/heads/}" if [[ `echo $GIT_STATUS | grep "modified:"` != "" ]] ; then REFS="$REFS$ASCII_RESET ${PINK_COLOR}modified" fi if [[ `echo $GIT_STATUS | grep "ahead of"` != "" ]] ; then REFS="$REFS$ASCII_RESET ${CYAN_COLOR}not pushed" fi PROMPT_PREFIX="$PROMPT_PREFIX$USER_COLOR$REFS$ASCII_RESET " fi PS1="$ASCII_BOLD[$USER_COLOR\u $HOST_COLOR\h $DATE_COLOR$DATE_STRING $TIME_COLOR$TIME_STRING $PROMPT_PREFIX$ASCII_RESET\w$ASCII_BOLD]$ASCII_RESET\n$PROMPT_COLOR\\\$$ASCII_RESET " } export PROMPT_COMMAND=prompt_commandDiscuss this news post here.(No comments) [Less]