I just happened to notice that this blog has been around for over six years and this will mark my 641st post. I’m certainly not posting as frequently as I used to, for which I am somewhat disappointed in myself, but I’m pretty pleased to have been keeping this thing going as long as I have.
Wow, I’ve been at this for quite a while
Tuesday, June 8th, 2010 @ 5:07pmAsceticism post-mortem
Tuesday, June 8th, 2010 @ 4:39pmMy month of asceticism having passed, and having had some time to relapse as the mood strikes me, I am able to draw some conclusions from the experience.
Caffeine — My relationship with caffeine has changed quite substantially as a result of my ascetic endeavor. I suffered pretty bad migraines for a day or so within a few days of giving up caffeine. The migraines subsided a couple days later and I was left heavily craving caffeine for about two weeks. By this point, more than a month after giving up caffeine, I still have some desire for caffeine but I feel as though I wouldn’t have any trouble continuing indefinitely without caffeine.
That I could continue indefinitely without caffeine doesn’t mean I plan to. I have no plans to relapse to my prior levels (2−5 units per day) of caffeine usage but caffeine can be quite useful so neither do I intend to swear off caffeine. My plan is to go without caffeine in general but turn to it at times when I find myself desiring of more wakefulness or other stimulants.
Caffeine only for a purpose, not out of habit.
High fructose corn-syrup — Adding high fructose corn-syrup to my ascetic month was a very good choice on my part. I have decided to entirely give up high fructose corn-syrup and I’m not looking back. Mostly, all of the things that I have to give up to avoid high fructose corn-syrup are not things that I mind giving up. I kind of miss soda a little bit but only just barely.
It takes a little bit of awareness and vigilance but I feel that it’s worth the effort to go without high fructose corn-syrup.
Alcohol — Nothing much learned here. I still enjoy the flavor and side-effects of alcoholic beverages. Having had a month without alcohol has left me with a somewhat decreased tolerance, which has its pluses and minuses but that’s about all that I’ve gotten from this month as regards alcohol.
I guess the fact that I drink alcohol because I enjoy it and not out of habit might be a valuable thing to have learned.
Drugs — Giving something up that you weren’t going to have been doing isn’t really giving something up.
Conclusion: Giving stuff up for a while can give you a new perspective or appreciation for the things that you give up. Sometimes that new perspective is that old habits aren’t worth keeping.
Safe offline ext2/ext3/ext4 defragmentation
Monday, June 7th, 2010 @ 12:14pmI have a very large RAID6 array (11TB) with an ext4 partition that, due to particular use cases, has become disgustingly fragmented (~40% non-contiguous according to fsck). Sadly, as much as ext4 is designed to resist fragmentation issues, my partition has been having substantial performance issues.
The ext4 defrag program e4defrag would be an ideal solution to my problems but it is not yet stable enough for production use.
Putting some thought into the matter, I have came up with a technique for defragmenting my partition using only stable tools. My process is very slow and requires substantial periods of downtime but preliminary results are good.
At present, I have 2TB of free space, which means that I can copy files off my fragmented partition and then copy them back to decrease the fragmentation of individual files; alternatively, the application shake can be used to accomplish a similar result. However, the copy/recopy solution will only work if the free space on my partition is not fragmented. Running e2freefrag I found that the free space on my partition is monstrously fragmented.
However, clever use of resize2fs can almost completely defragment the free space of a partition. If you unmount the partition, shrink it to a minimum size and the expand it, the vast majority of the free space will be moved to a contiguous region at the end of the partition.
If the partition is /dev/md1 and is mounted at /mnt/fragmented, your file system can be defragmented with the following set of commands:
$ umount /mnt/fragmented $ fsck -f /dev/md1 $ resize2fs -M -p /dev/md1 $ resize2fs -p /dev/md1 $ mount /dev/md1 /mnt/fragmented $ shake -o 0 -S 0 /mnt/fragmented
This will result in some defragmentation of your partition but it is likely that the process will need to be repeated multiple times to achieve a substantial degree of defragmentation.
Monkey Bread: Verdict
Saturday, May 29th, 2010 @ 4:03pmAwesome.
It’s 5:30 and there’s monkey bread in the oven
Saturday, May 29th, 2010 @ 5:47amSometime round abouts 3, I found myself in the living room, bored, and with my laptop. One thing led to another, and there was Google, font of random knowledge. Typing random word combinations into Google, I discovered (much as ol’ Christopher Columbus did the new world) that there is a foodstuff by the name of monkey bread.
Being the me that I happen to be, specifically, the me that you likely know to be me, I could not help but attempt to construct this amazingly named baked good. Googling about the Internets, I decided upon a recipe from The Pioneer Woman Cooks due to a combination of general recipe consensus and a fondness for the tone of the author’s writing.
Having chosen a recipe and (mostly) followed it, here I sit, typing while I wait on the oven. The monkey bread, which I cannot imagine being anything less than 4 Billion % awesome, will be done cooking around 6. I’ll probably wait around until the monkey bread is ready to remove from its cake mold womb, pop it out, and leave it for my various roommates to discover come tomorrow.
Tasting reports may, perhaps, follow, though given my posting track record, I would not hold out high hopes.
Fortune Cookie: 2010-05-21
Saturday, May 22nd, 2010 @ 1:43amYou will be traveling and
coming into a fortune.
08 12 24 36 47, 14
Commentary: Correlation may not prove causation but lack of correlation can prove lack of causation.
Secular Asceticism
Thursday, May 6th, 2010 @ 4:07pmI am not a religious man but I have found, at times, that periods of abstinence/asceticism can be good for one’s body and spirit. Of course, as with any abstinence regimen, what one is abstaining from and the reasons for the undertaking play a very large part in what one can get out of it.
This month marks the second time that I have undertaken a month of asceticism; the first having been March of 2009. Last time, I took a straight edge approach, abstaining from caffeine, alcohol, and all other psychoactive substances. This year, I am repeating the same abstention of caffeine, alcohol, and drugs but adding high-fructose corn syrup.
As I mentioned, I feel that the what and why or any ascetic regimen plays a large part in what one gets from the experience. My first bout of asceticism, last year, was prompted by the feeling that my caffeine consumption had reached unreasonable levels and, if the degree of caffeine withdrawal that I went through at that time was any indication, I was correct in my feeling. At the time, I decided that if I was going to go off caffeine for a month, cold-turkey, I might as well do the same with any other mind-altering substance. This time, my reasoning is largely derived from the feeling of homeostasis obtained during my last run of asceticism. I am adding high-fructose corn syrup this time around because I am under the (marginally scientific) impression that high-fructose corn syrup is unhealthy to consume and do not normally maintain any level of awareness over its consumption.
As we’re nearing the end of my first week of abstention, I can report on some of the specifics of the experience thus far:
- Caffeine — Oh, how I miss caffeine; I am an addict and I crave my fix. Actually, as of today, I find myself craving caffeine far less than I did even yesterday. Thankfully, this year, my caffeine consumption was far lower before the undertaking than last year. Last time, I had monstrously intense migraines for nearly a week due to caffeine withdrawal; this time, I had moderate migraines on day two (Sunday) but the major symptoms had cleared by day three (Monday). Cravings, as I mentioned, are subsiding and I hope to be back to baseline sometime next week.
- Alcohol — Abstaining from alcohol is mostly a social nuisance for me. I usually drink socially, as is the case with a great many, if not all, of my friends. On its own giving up alcohol isn’t a huge deal but, when one’s abstention from caffeine and high-fructose corn syrup means that you can’t even have “just a Coke,” things get annoying. Abstaining from alcohol also makes me aware of the frequency with which I will go to the fridge for something to drink and grab a beer; this has largely been replaced by grabbing a glass of milk or Ovaltine (thankfully free of high-fructose corn syrup).
- Drugs — Not really a substantive change, mostly here to round out the list and allow the classification to be simplified to psychoactive substances and high-fructose corn syrup for discussion purposes.
- High fructose corn-syrup — Fuck! This shit is in everything! High-fructose corn syrup is really hard to avoid; I’m sure that I’m missing things that contain this stuff. I went into a gas station mart on Saturday to get a beverage and the only things that I could find without caffeine or high-fructose corn syrup were water, milk, and Diet Sprite. I didn’t put ketchup on my french fries at lunch today because ketchup contains high-fructose corn syrup. For Christ’s sake, they even put high-fructose corn syrup in Saltine’s. The addition of high-fructose corn syrup to my abstention list is both maddening and somewhat enlightening.
That’s where we’re at for now; I’ll keep you posted as the month goes on.
As of 04/03/2010, I am 27
Saturday, April 3rd, 2010 @ 12:54amSo as to be totally clear,
, which is to say this is pretty much the threeest birthday that I’m going to have until either ever or arguably 54 years from now. Three being my favorite number, presumably, makes today somewhat noteworthy in a numerological sense. That is all.
A cute geometry problem
Thursday, March 11th, 2010 @ 11:57amI came across a cute geometry problem recently and I would like to pass it along.
Problem Statement

If the sides of the square are of unit length and all curves are circular arcs, what is the area of the highlighted region?
Although substantially easier with the use of calculus or trigonometry, this problem can be solved entirely with basic geometry (no weird laws you might have forgotten since high school are necessary).
I have derived a geometric solution, which follows, but I highly recommend trying to do it yourself first.
HOWTO unlock your N900 and turn it into a 3G modem
Tuesday, February 23rd, 2010 @ 2:36pmAfter reading the recent Boing Boing post about HOWTO unlock your Nexus One and turn it into a 3G modem, I thought it might be worth putting together a similar set of instructions for the Nokia N900.
Some notes before we begin:
- This is a supported use of your phone.
- There is no risk of bricking your phone.
- This does not wipe your phone.
- You don’t need to back anything up before starting.
1. Install Bluetooth Dial-Up Networking support
- Open the Application Manager
- Install the “Bluetooth Dial-Up Networking” Application
2. Tether your computer
On some podcasts I like and some I lack
Friday, February 19th, 2010 @ 4:58pmI have recently taken to listening to audio podcasts while at work and I find it to be a good combination of entertaining and informative.
The set of podcasts that I am currently listening to is:
- The Art Of Manliness
- Car Talk
- The Dinner Party Download
- In The Loop
- Marketplace
- Marketplace Money
- The Moth
- News from Lake Wobegon
- Radio Lab
- Savage Love
- The Skeptics’ Guide to the Universe
- The Splendid Table
- This American Life
- This Week in Science
For the most part, I’m quite pleased by the set of podcasts that I listen to and a great many of them are either balanced or agenda-free (e.g. The Splendid Table) but others carry rather strong slants/agendas (e.g. Skeptics’ Guide), which is fine. However, the slants and agendas that are typified in the podcasts that I listen to are ones that I agree with and, as such, they don’t push me or make me think as hard as I would like. To that end, I am interested in hunting down some high quality podcasts that I disagree with.
I am putting the call out to you, Internet, what are some good conservative, libertarian, military-industrial, etc. podcasts for me to listen to?
Palm Pre tagline: a critique
Wednesday, February 17th, 2010 @ 6:45pmI keep seeing the same advertisement for the Palm Pre on the sides of buses; the advertisement says: “Life moves fast. Don’t miss a thing.”
I understand what they are trying to say and it is a very good tagline for what they are trying to market but, whenever I see it, I can’t help but think that it speaks to a sad fact of our current culture.
I wish that I could say one thing to everyone that this tagline appeals to: Not everything matters. Relax.
Barefooting for the win
Monday, February 1st, 2010 @ 4:14pmA couple months ago, I bought a pair of Vibram FiveFingers shoes, specifically a pair of KSOs. I’ve been wearing the shoes pretty regularly and, to be entirely honest, they are probably the most comfortable shoes that I have ever worn. The shoes don’t provide support in the way typical shoes do so it takes some getting used to and rebuilding strength in muscles that have been under-utilized since childhood. Once your feet get used to the FiveFingers, it becomes a truly fantastic experience to rediscover walking, jogging, sprinting, and the like.
Additionally, recent research shows that barefoot running is low impact in a way that shod running is not. Apparently, running barefoot changes your gait, which I can anecdotally confirm.
Worth noting, in the negatives column, you cannot wear traditional socks with FiveFingers and they will start to smell if you wear them regularly without socks. FiveFingers shoes are machine washable, which is an option, or one can purchase toe socks from Injini (or others), which is the solution that I’ve chosen. Sadly, the toe socks solution is somewhat expensive but, for me, I’m sufficiently hooked on my FiveFingers that it’s worth it to me.
Linguistic Complexification
Wednesday, January 6th, 2010 @ 5:22pmThere exist wondrous peculiarities to language, which allow for some truly bizarre linguistic constructs. As an individual who generally revels in confusion, discord and chaos, in addition to the use of parenthetical clauses and preambles, I am, of course, thrilled by linguistic constructs that either work in spite of seeming not to or don’t work in spite of seeming to.
In doing a spot of research while writing this particular post, I happened to discover that wikipedia has a pretty great list of linguistic example sentences, which I highly recommend mining for entertainment purposes.
Preamble aside, I have two particular constructs that I want to mention, one a sentence and the other a phrase:
Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo.
That is, that that is is, that that is not is not is that it it is. That is, that that is is that that is not is not. Is that it? It is.
The latter of these two, I mention because its use in a recent episode of Rocketboom, which I’ve taken to watching, brought it to my mind. The former, I have known and loved for a while and mention because I have not done so in this space prior to now. There are, of course, plenty of other sentences that I enjoy for similar reasons, some involving “had” or “that”, that were excluded for the sake of brevity.
Please feel free to return your seats to their upright position and your televisions to the regularly scheduled program.
Well, there go the aughts
Saturday, January 2nd, 2010 @ 2:02pmI guess that we’ve finished a decade and moved into a new one. On account of predictions are fun, I’ll give you a few that are all but guaranteed to come true in the following decade:
- We’ll all get personal jetpacks.
- Hoverboards will make it to market.
- Everyone will start driving flying cars.
- Jesus Christ will return to us.
- Skynet will be born.
- We will reach the singularity.
This is just a few of the wonderful things that are going to happen within the next decade; I’m really looking forward to all the fun.
Happy new decade!
Woods Hole, MIT, Virgin America; it’s a small world
Monday, December 28th, 2009 @ 4:26pmYesterday, in returning from a week long, Christmas related stint in my home state of Massachusetts, I had a particularly intriguing synchronicity.
I was flying Virgin America, which is an excellent airline but that’s an entire discussion of its own right. As a matter of good fortune, I was flying Main Cabin Select, which provides, amongst other things, the option of checking in through the First Class line. The regular line was proceeding rather quickly and a young lady behind me in line made a comment to the effect of it seeming a mistake to be in the First Class line. My motivations being as they are, I took a few moments to chat with this nice young lady but didn’t make it far before it was my turn to go forward and check my baggage.
Conversations cut short are unfortunate but such things happen. I proceeded through security, got to the gate, waited a while and boarded the plane where who should end up in the seat next to me but the very same young woman who had been behind me in line. This was a pleasant coincidence but not terribly surprising insofar as there are not very many Main Cabin Select seats on any given plane. Shortly after taking her seat, this young woman says to me, “nice ring” and, as I glance over, it turns out that she’s an MIT graduate as well; there’s a pleasant extra level to this coincidence and a good source for conversation topics.
As we’re chatting about various things, this young woman (who I am going to refer to as Margaret because it’s easier than continuing to use qualified generic nouns), mentions that she was on the crew team and I mentioned that I had been on the sailing team. Somehow, in discussing sailing, I mentioned spending summers on Cape Cod, which raised the question of where. My answer, of course, is Woods Hole and, lo and behold, Margaret’s family also has a place in Woods Hole. I should note that Woods Hole is a very small town and it’s quite rare that I encounter someone in Woods Hole that I have not met before, especially someone within 5 years of my own age. As a result, rather unsurprisingly, it turns out that Margaret and I have at least a dozen mutual acquaintances and friends.
Overall, it was a fantastically surprising coincidence; so much so that it makes me wish that Mr. Data were on hand to tell me what the odds of the coincidence were. Certainly there exist certain biases to correct for, which make it such that the coincidence isn’t purely random but I am not terribly inclined to enumerate all of the non-random factors that may have contributed. Why such a coincidence happened, I can’t say, but it did, and that’s great. The end result is that I’ve narrowed the gap of people that I don’t know in Woods Hole and made a connection with a pleasant new person in this world.
Avatar: The last film I will see in 3D
Tuesday, December 22nd, 2009 @ 9:56amI saw Avatar last night in RealD 3D and, I have to say, it is a very pretty, rather fun, awesome to watch movie. The 3D for Avatar was incredibly well done but it gave me such a bad headache and nausea that it almost wasn’t worth it. Luckily, I was able to immediately go home and go to sleep, thus not dealing with the discomfort much. Needless to say, I think that I’m going to stick to 2D movies for the foreseeable future.
Diatribe about 3D aside, Avatar is a pretty great movie. Sure it’s Dances with Wolves in space but Dances with Wolves was a good movie so why not put it in space. Actually, more than that, to me Avatar was Dances with Wolves meets Dinotopia in space. The color palettes of Avatar were vibrant and pretty in much the way that the palettes of Dinotopia were; furthermore, the creatures and world were sufficiently realized to make it seem like a place that one might really want to go. In fact, I think Avatar has provided me with the first artificial setting that I have had a strong desire to visit since Dinotopia.
So, having discussed the pain (literally) of the 3D, the adequacy of the story (adequate being the right word), and the beauty of the world, let’s talk about the special effects. For quite a while, I have been adamantly opposed to the use and overuse of CGI in the film industry. Certainly, some studios do CGI correctly (Pixar, DreamWorks) but when mixed with live action, I tend to think that the Jurassic Park or Aliens approach of relying primarily on live action, puppets and robots is a much safer and more visually appealing approach. The clearest example of where real is good and CGI is bad is to look at the original Star Wars trilogy in comparison to the new Star Wars trilogy. Somehow, thankfully, James Cameron has not fallen in the same way that George Lucas has; Avatar beautifully mixes the real with the CGI and I did not once feel as though things had fallen into the uncanny valley.
Hopefully Avatar will end up profitable in spite of its truly ludicrous budget (officially $237M + $150M marketing) and James Cameron will be allowed to keep making crazy as heck science fiction stuff (it was at >$232M after its opening weekend so odds are pretty good). The outstanding question now is whether he’s going to make a sequel to Avatar or whether he’s going to make Battle Angel Alita like he’s been talking about for a while.
So yeah, overall, I am inclined to recommend the Dances with Wolves meets Dinotopia in space movie, otherwise known as Avatar but I do not recommend it in 3D unless you’ve got some dramamine to take beforehand. Actually, that’s an idea; maybe I’ll pop a couple dramamine and try seeing it again, you know, for science.
Recent Comments