Forgive me in advance for my pathetic grammar, it's early and I'm trying to pass the time by writing a blog post while my kernel compiles.
I have to stop naming my titles ambiguous names. No, I am not grounded. I'm grounded in terms of my distribution-changing madness. It's over. For now. I've settled with Debian, using the GNOME interface. I realize that that's pretty much exactly where I started, but I stuck with Debian instead of Ubuntu because I like to tell myself that I actually got somewhere with this whole thing. Also, I've decided to not go with as much eye candy because it's starting to detract from my need to actually do work.
So Debian it is. And it's very minimal, which I like a lot. The brightness control works (ditched KDE because it didn't support it), and I'm fairly sure that I could get the keyboard backlighting working with some effort. At this precise moment I'm hardening my kernel with grsecurity, a tool that basically fills in a few security holes in the system to prevent intrusions. Lightweight...ness and security are the two things that I'm going for and I intend to achieve them if I can't have anything else. Also, there are a few slight differences between Debian and Ubuntu, and I like a lot of them. My only complaint is that it's not very keen on giving me compositing support, which could be due to the NVIDIA driver that my MacBook Pro uses.
I installed my system as per this guide, and the disk encryption is fantastic. Only hitch is that I deleted the Mac OS X partition that I had installed (oops) for the purpose of installing rEFIt, which is an EFI bootloader designed to not suck as much as Apple's. Thinking that this software would, you know, be written to the bloody EFI partition was apparently too much of an assumption, because it disappeared as soon as I got rid of Leopard. Oh, well. I'm currently just booting off of their handy rEFIt CDROM, which then points the computer to the GRUB partition that I have installed. So that's nice.
Amidst all of this distro panic and exam worries (thankfully I only got one B+, the rest were above!), unfortunately, I wasn't able to work on my PHP project. I'm going to try to explain myself to my teacher tomorrow, hopefully he'll forgive me. I feel pretty guilty about wasting my parents' money for an hour of us sitting around not going over the code that I've written.
On a happier note, if any of you are interested in a screenshot of my new and (hopefully) here to stay system, feast your eyes!!
Friday, February 25, 2011
Saturday, February 19, 2011
iPhone and moving.
No, not that kind of moving. Just moving distributions -- yes, that's right, I'm really having a distribution identity crisis at the moment, but the only reason that it's happening is because I'm frustrated with Ubuntu's slowness and lack of customization options. So instead of Xubuntu, which honestly has served me quite well, I'm moving on to Kubuntu instead, because while Xubuntu was nice and fast, I don't have it quite like I want it, the device support is shaky (couldn't get keyboard backlighting to work and apparently sound recording is a nono on any of their machines), and I absolutely love the KDE desktop widget functionality. So KDE it is! For now. If sound recording doesn't work on that I might go berserk.
Speaking of sound recording, my last post was a video whose audio was made possible by my new trusty iPhone, courtesy of a friend of a friend. And while we're (sort of) still on the subject of customization, he jailbroke it for me so that it would work on my carrier (AT&T) without a data plan, so that I wouldn't have to pay $30/month extra to get it to work (although now, funnily enough, I've purchased their 200MB data plan because a friend got me hooked on Foursquare). Wasting no time, I immediately customized everything customizable on the machine, although sadly enough Jobs isn't releasing the 4.0 update to the iPhone 2G, which is the generation that I have, so I can't download most of the things on the Cydia store like tethering or multitasking. Which I actually don't mind, because I only have a 200MB data plan and the iPhone 2G's CPU definitely isn't the fastest thing in the world. With some Locktool and Fontswap magic I was able to completely change my lock screen:
That's the Ubuntu title font combined with the HTC Clock, with the slide to unlock removed (the gesture still unlocks it, the button's just gone). I'm so proud of myself. Also, I installed a terminal app, so I can ssh into my Mac and make it say dirty things. Hehehehe.
Speaking of sound recording, my last post was a video whose audio was made possible by my new trusty iPhone, courtesy of a friend of a friend. And while we're (sort of) still on the subject of customization, he jailbroke it for me so that it would work on my carrier (AT&T) without a data plan, so that I wouldn't have to pay $30/month extra to get it to work (although now, funnily enough, I've purchased their 200MB data plan because a friend got me hooked on Foursquare). Wasting no time, I immediately customized everything customizable on the machine, although sadly enough Jobs isn't releasing the 4.0 update to the iPhone 2G, which is the generation that I have, so I can't download most of the things on the Cydia store like tethering or multitasking. Which I actually don't mind, because I only have a 200MB data plan and the iPhone 2G's CPU definitely isn't the fastest thing in the world. With some Locktool and Fontswap magic I was able to completely change my lock screen:
That's the Ubuntu title font combined with the HTC Clock, with the slide to unlock removed (the gesture still unlocks it, the button's just gone). I'm so proud of myself. Also, I installed a terminal app, so I can ssh into my Mac and make it say dirty things. Hehehehe.
Thursday, February 17, 2011
First Video Post!1!
I seriously gave hours for publishing this single, 8-minute long clip of me rambling about random stuff that could have much more easily been rambled about in a blog post. So I seriously hope that you enjoy the video below. Lucky me, Xubuntu apparently can't record audio, so I was forced to record my audio with my new iPhone (talked about in video), convert the file to a .wav, convert the video to a .avi, join the two together, export it, and upload it to vimeo. By the way, thanks to the conversion process the video quality is horrible. Just thought I'd warn you ahead of time.
Wednesday, February 16, 2011
Exams are over. Any good games?
So exams are officially over for me, as of the 4.5 hour AP Chem exam. Not enjoyable, and I really don't think I did well at all, but we'll just have to wait and see. In the meantime, I tried out Minecraft, and the concept looks all right.... the only problem is that it makes my computer go insane. My CPU maxes out at 100% and my memory is 75% occupied. A bit much for just a bunch of cubes, no!? It could be just because I'm trying it out on Linux, but thanks to its intense memory usage it rendered itself and my computer unusable within just a few minutes of playing. So I guess I'll just stick to programming.
Speaking of which, I've decided to rewrite most of my code because it's turned into a bit of a mess already, mostly because we're constantly introducing all of these new ideas and libraries and I'm trying to update it to allow support for the old stuff. So rewriting so far looks like a good idea, and it's going smoothly.
Speaking of which, I've decided to rewrite most of my code because it's turned into a bit of a mess already, mostly because we're constantly introducing all of these new ideas and libraries and I'm trying to update it to allow support for the old stuff. So rewriting so far looks like a good idea, and it's going smoothly.
Labels:
2011,
junior year,
première,
school,
software,
web development
Tuesday, February 15, 2011
Xubuntu > OSX
Ok I realize that a lot of you probably aren't going to do this, but here goes: I've replaced my OSX with Xubuntu altogether as an experiment. So far I'm not suffering, although midway through the install I realized that syncing my iPod should be rather interesting. All I really use my Macbook Pro for are web development, word processing, email, music... nothing like gaming that would really require a Windows system (all the better... less distraction!!). So I'm pretty much okay there.
I absolutely love Exaile, the media player that comes with Xubuntu. It's light, fast, and best of all includes a file browser, which means that playing a music file doesn't add it to the music library. Why is this a good thing? Well, when you've downloaded an audio file and simply want to listen to it and not deal with the hassle that is managing a heavyweight audio player like Rhythmbox or Amarok, which I do rather often, Exaile is the perfect solution. Mind you, it still has the option for libraries, and still allows playlists and live audio streams, which you can easily download from many of your favorite radio sites like NPR (for my STL readers, visit kwmu.org and click on the Listen Now button -- click on the Streaming MP3 option).
I'll admit that this post was a distraction from the massive studying that I'm doing right now as a result of the AP Chem final that's looming over my head (tomorrow at 12h00... wish me luck), but hey. This is just a study break. I had my English final today, and it wasn't half bad. The best part was when I tried to submit, which I can only guess involves some kind of FTP or SMB connection to some server somewhere on campus, and the submit operation failed. I got to go to the helpdesk and they resolved everything, but they quickly found out that everyone was having this issue and that the school's own firewall was blocking the submission process. Funnier still was the karma: the software admin was against this firewall addition, and the hardware admins were for it. The software admin pushed this "Electronic Bluebook" software to everyone's computer, and the hardware people then had to deal with the huge mess that they had caused as a result of their firewall blocking the exam submission process.
I had a talk with the software admin later on, and joked with her about the firewall and how pointless it was to install it in the first place, saying that I could get around it easily and that I frequently did. "Exactly," she said. "We're constantly spending money on firewall systems just to get you guys to find a new way to get around them!" I suggested to her after that that we should try installing Linux on the school computers. Here began my sales pitch: It's totally free, it's completely scripted so it's 100% customizable, it's incompatible with 99.9% of the viruses on the Internet, and it isn't Windows-compatible, so students can't waste their time playing games and pirating Windows software, potentially getting my school into legal trouble. She said that she'd see if she could get it installed on a machine so that she could play around with it a bit, so we'll see. But how cool would that be!? I also told her that she should talk with the sysadmin at Whitfield, who runs a one to one laptop program and uses Ubuntu instead of Windows on all of the systems. Should be interesting to see how that unfolds!
Still saving up for that Das Keyboard... I'm also thinking about upgrading this compy's RAM and HDD to 4GB and a 120GB SSD. Speed should be amazing considering it's running Xubuntu, has all of that RAM and blazing fast read/write speeds! This thing is becoming by dream machine. After extensive amounts of typing, I've realized how much I've missed this keyboard. I have my awesome bumper sticker stamped on the back of it too, thanks to Randall Munroe's wonderful xkcd store. It's big, blue, and has OPINIONS! on it in bold white letters. I was at the Boston Logan airport and this lady pulled out her white MacBook with all of these "Go Wildcats!" and "Stop Abortion" bumper stickers plastered on it, and I gleefully pulled out my laptop... she glared at me for a few seconds and then put her laptop away. It was awesome. This baby hasn't let me down yet... I'll tell you guys how the Linux-only testing goes!
I absolutely love Exaile, the media player that comes with Xubuntu. It's light, fast, and best of all includes a file browser, which means that playing a music file doesn't add it to the music library. Why is this a good thing? Well, when you've downloaded an audio file and simply want to listen to it and not deal with the hassle that is managing a heavyweight audio player like Rhythmbox or Amarok, which I do rather often, Exaile is the perfect solution. Mind you, it still has the option for libraries, and still allows playlists and live audio streams, which you can easily download from many of your favorite radio sites like NPR (for my STL readers, visit kwmu.org and click on the Listen Now button -- click on the Streaming MP3 option).
I'll admit that this post was a distraction from the massive studying that I'm doing right now as a result of the AP Chem final that's looming over my head (tomorrow at 12h00... wish me luck), but hey. This is just a study break. I had my English final today, and it wasn't half bad. The best part was when I tried to submit, which I can only guess involves some kind of FTP or SMB connection to some server somewhere on campus, and the submit operation failed. I got to go to the helpdesk and they resolved everything, but they quickly found out that everyone was having this issue and that the school's own firewall was blocking the submission process. Funnier still was the karma: the software admin was against this firewall addition, and the hardware admins were for it. The software admin pushed this "Electronic Bluebook" software to everyone's computer, and the hardware people then had to deal with the huge mess that they had caused as a result of their firewall blocking the exam submission process.
I had a talk with the software admin later on, and joked with her about the firewall and how pointless it was to install it in the first place, saying that I could get around it easily and that I frequently did. "Exactly," she said. "We're constantly spending money on firewall systems just to get you guys to find a new way to get around them!" I suggested to her after that that we should try installing Linux on the school computers. Here began my sales pitch: It's totally free, it's completely scripted so it's 100% customizable, it's incompatible with 99.9% of the viruses on the Internet, and it isn't Windows-compatible, so students can't waste their time playing games and pirating Windows software, potentially getting my school into legal trouble. She said that she'd see if she could get it installed on a machine so that she could play around with it a bit, so we'll see. But how cool would that be!? I also told her that she should talk with the sysadmin at Whitfield, who runs a one to one laptop program and uses Ubuntu instead of Windows on all of the systems. Should be interesting to see how that unfolds!
Still saving up for that Das Keyboard... I'm also thinking about upgrading this compy's RAM and HDD to 4GB and a 120GB SSD. Speed should be amazing considering it's running Xubuntu, has all of that RAM and blazing fast read/write speeds! This thing is becoming by dream machine. After extensive amounts of typing, I've realized how much I've missed this keyboard. I have my awesome bumper sticker stamped on the back of it too, thanks to Randall Munroe's wonderful xkcd store. It's big, blue, and has OPINIONS! on it in bold white letters. I was at the Boston Logan airport and this lady pulled out her white MacBook with all of these "Go Wildcats!" and "Stop Abortion" bumper stickers plastered on it, and I gleefully pulled out my laptop... she glared at me for a few seconds and then put her laptop away. It was awesome. This baby hasn't let me down yet... I'll tell you guys how the Linux-only testing goes!
Labels:
finals,
junior year,
linux,
school,
tech,
web development
Monday, February 14, 2011
I love Conky
Okay, I realise that this is probably the millionth post on the Internet about Conky, but I just want to shout it out there: I love Conky. Conky is an incredibly customisable system monitor that allows you to display pretty much any value on your system, let it be the current track playing on your xmms2, audacious, or mpd media player, the temperature of various thermal sensors in your computer, the disk i/o, graphs, rings, or bars of your cpu, memory, disk, or network consumption... if they don't provide an option for it natively, you can always devise a method of your own by ways of the ${exec} variable coupled with a custom script. Let me just show you my desktop as of this moment:

In case you're wondering what the font was, I'm a huge fan of the Inconsolata fixed-width font. The weather data comes from a script that I made myself, mostly because I didn't know about the ${weather} option until it was too late... Oops. In any case, what it does is parse out a specific web page on the data from a weather site every 10 minutes. Overkill? Probably. Anyway, here's my .conkyrc:
Also, user chorny has provided me with a bit of help on the Pastebin API. Apparently uploading to pastebin is as simple as installing the App::Nopaste library from CPAN, something that I didn't know anything about. You can also install it as a cli command by running
I'm also on the market for a new keyboard because I'm really not a very big fan of the one on my Thinkpad, it's a bit cramped. I realise that Thinkpad keyboards are some of the best on the market, but I'm fairly sure that this one was not famed for its keyboard. All kinds of gunk keeps getting stuck between the keys, thankfully whenever I want to do some serious typing I switch over to my MacBook Pro, whose concave keys I find marvelous. I don't think I'd ever want to move to a Unibody model because I love this keyboard so much. Anyway, I'm thinking of buying a Das Keyboard Ultimate Silent for several reasons:

In case you're wondering what the font was, I'm a huge fan of the Inconsolata fixed-width font. The weather data comes from a script that I made myself, mostly because I didn't know about the ${weather} option until it was too late... Oops. In any case, what it does is parse out a specific web page on the data from a weather site every 10 minutes. Overkill? Probably. Anyway, here's my .conkyrc:
Also, user chorny has provided me with a bit of help on the Pastebin API. Apparently uploading to pastebin is as simple as installing the App::Nopaste library from CPAN, something that I didn't know anything about. You can also install it as a cli command by running
sudo apt-get install nopasteon Ubuntu.
I'm also on the market for a new keyboard because I'm really not a very big fan of the one on my Thinkpad, it's a bit cramped. I realise that Thinkpad keyboards are some of the best on the market, but I'm fairly sure that this one was not famed for its keyboard. All kinds of gunk keeps getting stuck between the keys, thankfully whenever I want to do some serious typing I switch over to my MacBook Pro, whose concave keys I find marvelous. I don't think I'd ever want to move to a Unibody model because I love this keyboard so much. Anyway, I'm thinking of buying a Das Keyboard Ultimate Silent for several reasons:
- A regular Das Keyboard is too loud, I wouldn't be able to do any typing during the wee hours
- I like the idea of having actual key-switches instead of plastic domes, plastic domes are mushy and feel like pudding
- It's unmarked, so I get serious geek cred for being able to type on an unmarked keyboard, and I don't have to deal with the OCD stress of using a Dvorak layout with a QWERTY layout marked on my keys.
Friday, February 11, 2011
Exams
Soo linux is looking pretty good. My .tar.bz2 archive of my partition is a grand total of 978MB, something that I'm incredibly proud of. I would have gone with Slax and have a 200MB install, but the problem with Slax is that it doesn't save you radata; it has to be manually saved into a module file. Otherwise, all data is reset upon reboot.
So should end my ranting about linux. It's time for me to panic about exams. The only exam I'm really worried about is AP Chem, other than that all should go well. All the same, I have a lot of catching up to do with Chem. As of late I have a solid B in the class, which I hear is fantastic given my circumstances. A lot of my classmates can barely pull off a B-, so given that I've managed to score a B in Chem just from flying in abroad mid-term (and mid-year) is considered a feat in and of itself. Now to bring it up to an A!! :)
I'm annoyed about the pastebin code that I published. It worked at first, but then pastebin got wise and started asking for a captcha code, which my perl script could (obviously) not decipher. So now I'm off to try and figure out a way of using curl to publish my stuff, which I'm not entralled about. At least I found out about cpan, which allows me to install perl libraries from the command line. I couldn't find a way of installing the curl libraries before, but now that I have cpan it should be a bit easier.
In case you're wondering how to install libraries using cpan, go into your terminal and type:
That code was not published using my script. I've had to go in manually and install it. I'll see if I can find the time to rework it using curl later on.
Happy studying to all! And jealousy to mes amis en France qui ont finis leurs compos. Extreme jealously.
So should end my ranting about linux. It's time for me to panic about exams. The only exam I'm really worried about is AP Chem, other than that all should go well. All the same, I have a lot of catching up to do with Chem. As of late I have a solid B in the class, which I hear is fantastic given my circumstances. A lot of my classmates can barely pull off a B-, so given that I've managed to score a B in Chem just from flying in abroad mid-term (and mid-year) is considered a feat in and of itself. Now to bring it up to an A!! :)
I'm annoyed about the pastebin code that I published. It worked at first, but then pastebin got wise and started asking for a captcha code, which my perl script could (obviously) not decipher. So now I'm off to try and figure out a way of using curl to publish my stuff, which I'm not entralled about. At least I found out about cpan, which allows me to install perl libraries from the command line. I couldn't find a way of installing the curl libraries before, but now that I have cpan it should be a bit easier.
In case you're wondering how to install libraries using cpan, go into your terminal and type:
That code was not published using my script. I've had to go in manually and install it. I'll see if I can find the time to rework it using curl later on.
Happy studying to all! And jealousy to mes amis en France qui ont finis leurs compos. Extreme jealously.
Subscribe to:
Posts (Atom)