- A date-related software bug caused Microsoft Zune devices to die at New Years
- wireshark SampleCaptures
-
Here's a little function to compress text via 'txtization'. Confessor wanted this to display text on a cellphone screen.
<pizza_> :php function t($s){
foreach(array("that","he","the","as","is","in") as $g)
$s=preg_replace("/\s+$g\b/","",$s);
return preg_replace(
array("/\s+to\s+/i","/(?<=\S)[aeiou]/i","/\s+(\S)/e"),
array("2","","strtoupper(\"\\1\")"),$s);}
$o="The quick brown fox jumps over the lazy dog";
$t=t($o);
printf("%.1f%% \"%s\" -> \"%s\"\n",
strlen($t)/strlen($o)*100,$o,$t);
<mod_spox> Result: 53.5%
"The quick brown fox jumps over the lazy dog"
-> "ThQckBrwnFxJmpsOvrLzyDg"
- There's an awful lot of overclocking out there (causing things like
xor eax, eax to crash)
- "Be Nice To The Countries That Lend You Money"
- Never attribute to malice that which can be adequately explained by stupidity.
- Useful X-Headers
- jemalloc
- Scaling memcached at Facebook
- I had a hard time finding a demonstration of the use of ioctl SIOCSIFADDR, which is how one programatically adds IP address in Linux. (local cache)
- Block layer: integrity checking and lots of partitions
- Bitwise magic to transform ASCII chars to their hexadecimal equivalent:
$ perl -e'printf "%s=%2s ",$_,((ord($_)&79)%55)
for split//,"0123456789abcdefABCDEFG"'
0= 0 1= 1 2= 2 3= 3 4= 4 5= 5 6= 6 7= 7 8= 8 9= 9
a=10 b=11 c=12 d=13 e=14 f=15
A=10 B=11 C=12 D=13 E=14 F=15 G=16
- sqlite faq
- Pointfree
- I was looking for these functions in my .bashrc; they're very handy. I have to put my .bashrc into source control one of these days...
big(){ # big [dir] [n] - print the n biggest files in dir
dir=${1:-.}
n=${2:-24}
find $dir -mount -printf "%k %p\n" | sort -k1 -rn | head -n $n
}
cpcd(){ # cpcd file [filen] dest - copy, cd to dest
tmp=$*
dest=${tmp##* }
files=${tmp% *}
cp $files $dest
cd $dest
}
mvcd(){ # mvcd file [filen] dest - copy, cd to dest
tmp=$*
dest=${tmp##* }
files=${tmp% *}
mv $files $dest
cd $dest
}
- graphdrawing
- Bike Locking Strategy
- bfd - manipulating object files
- How to calculate CPU utilization
- Simon's Win32 cheatsheet
- i stumbled into freenode's #concatentative and stayed because they seemed intelligent and had interesting discussions of data structures
- Splay tree
- git tutorial
- 2007 Bianchi Brava
- bn(3): BSD bignum library for cryptography
- 2008-12-03 How to get programming help on IRC
- B-tree
- container_of()
- NOOP Scheduler
- MMIX
- What Every Programmer Should Know About Memory
- DDJ: It's time to get good at functional programming
- Smallcode: Optimization Tricks
- Northbridge (host bridge)
- Monads as computation
- 196-Algorithm. This is a very simple algorithm, and yet surprisingly difficult for which to write a very efficient implementation.
- The MMX Instruction Set.
I find assembly manuals with block diagrams and arrows much easier to understand than text.
- What to know before debating type systems
- Nuclear mass calculated from scratch
-
If you live in Norwalk, CT and like asian food then go shop at
Far East Supermarket on 5 Washington St!
- Gödel machine
- Fastest way to get the value of Pi — I ran across the
fldpi instruction in an Intel IA-32 reference; fascinating.
- Core War
- List of computer algebra systems
- Grid Computing Glossary
- BitC Language Specification
- 2008-11-18 So, Does Anyone Even Use All These Darn CPU Instructions? x86 CPUs spend most of their time performing addition, moving data between registers and memory, calling functions, comparing the contents of registers and XORing registers with themselves. pretty depressing when you realize the vast majority of CPU time is spent doing boring stuff. I checked the result on the page by disassembling
/bin/sh and parsing its output with perl:
objdump -D /bin/sh | perl -nle'
/^ [0-9A-Fa-f]+:\s+(?:[0-9A-Fa-f]{2}\s+)+([a-z]+)/&&$h{$1}++&&$n++
}{printf("%d instructions total:\n",$n);
printf"%10s %5d %6.2f%%\n",$_,$h{$_},$h{$_}/$n*100
for sort{$h{$b}<=>$h{$a}}keys %h' | head -n 20
which yields:
218619 instructions total:
mov 57251 26.19%
add 20011 9.15%
call 11086 5.07%
je 10684 4.89%
pop 7659 3.50%
test 7541 3.45%
and 7112 3.25%
push 6745 3.09%
jmp 6092 2.79%
lea 5975 2.73%
or 5853 2.68%
cmp 4909 2.25%
jne 4772 2.18%
nop 4649 2.13%
xor 4062 1.86%
movl 3835 1.75%
sub 3067 1.40%
inc 2800 1.28%
jb 2706 1.24%
...so if you understand those instructions you know exactly what your CPU is doing ~80% of the time. interestingly, all of these instructions exist on the 8086 released in 1979 (technically movl doesn't, it's the 32-bit version of mov). so while, yes, processors are much faster and complicated and have SIMD instructions and all, most of the actual stuff it's doing is nothing new.
- Generating Machine Code at Runtime
- I had recently been interested in mathematical proofs and specifically in the foundations of mathematics; that is, exploring the fundamental concepts from which all mathematics can be reduced. I wanted to create a program in which a minimal set of core concepts could be defined and from which then the entire zoo of mathematics could be defined. But, Metamath was there first. Kudos to them. Scooped again.
- Unary numeral system (base-1)
- 8086 registers
- Now The Rest of the Genome
-
< pizza__> :php $p='\\\\\'-----,///';$D=M_PI/5;$y=3;$g[]=$g[]=
$g[]=$g[]=$g[]=str_repeat(" ",50);while($x<50){$i=5+
(int)(10*(sin($n)-sin($n-$D)));$u=($i>5)-($i<3);$g
[$y-=$u][$x++]=$p[$i];$n+=$D;}array_shift($g);
echo substr(array_shift($g),8)."\n".join("\n",$g);
< mod_spox> Result: / ' / ' / ' / ' /
< mod_spox> / \ / \ / \ / \ / \ /
< mod_spox> \ , \ , \ , \ , \ ,
< mod_spox> '- '- '- '- '-
- Well, I've been playing around with Haskell and overall I like it. Furthermore it has all the qualities a language needs to succeed: a solid standard (Haskell 98), an active community, a flagship implementation (GHC), built-in support for software 'modules' (important for encapsulation), a wide variety of libraries GHC can generate fast code (an important real-life quality). That being said, it has some shortcomings, the following which I can identify:
- A complex type system, which apparently requires a degree in Category Theory to even begin to discuss.
- I've had strange problems converting between types such as
Num, Enum, Int, RealFract, etc.
- I'm still trying to figure out the type constructors and Monads and all that.
- No named members in tuples (i.e. structs). Passing a tuple around and extracting different members results in code that looks like this: foo@(_,_,_,_,_,_,_,_,_,whatiwant,_)
- A moving-target 'Prelude' (standard library). The Haskell 98 standard defines the core language, but apparently the rest changes regularly, with no provision for backwards compatibility. While this keeps cruft out, Haskell will never advance beyond academia (which may be their goal). For example, I found a reference to a
fromInt function in the Haskell mailing list archives; this function no longer exists and has been replaced by fromIntegral
- The GHC is very large and complicated.
- Apparently 'Cabal' is an all-but standardized package system; but I can't get it to install or run properly on Debian.
- The ongoing possibility of adding complexity in the standard library; as Haskell is much more directly math-related than other programming languages it. Hopefully this can be avoided and domain-specific types and activity can be put into modules where they belong.`
- Generating random numbers is more complicated than it should be.
- I/O is hard to figure out, but I'm making progress... I think this is actually ok.
- First-Order Logic Resolution Theorem Prover in Haskell
- Notices of the ACM: A Special Issue on Formal Proofs. Discusses automated theorem provers.
- Sparkline
- (Useful) Stupid Vim Tricks
- GHC 6.10 Released
- Republican Vice-Presidential candidate Sarah Palin 'did not know Africa was a continent', say aides
- (Useful) Stupid Unix Tricks
- Ten Years of Purely Functional Data Structures
- Math Unicode Entities
let sieve (x:xs) =
x : sieve [y | y <- xs, y `mod` x /= 0] in sieve [2..]
[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101...
- Since the parseerror.com logo was pixelated by design anyways, I went ahead and duplicated it at ~1/4 the size;
I figured I could then display it larger, producing the same pixelated look but saving space. It works ok in IE; but Firefox3
blurs the image to try and make it look nicer (which it would, were it a photo for example), but this is counter to my intentions.
I'm also hoping to reduce HTTP requests by merging all my many, many CSS list icons into a single image and using a CSS
technique based on the background-position: property to access individual sections of that single image, which
will contain my icons. That will reduce HTTP requests from ~120 to 1. Testing the technique here.
I hope to write a little tool to automate the process, possibly in my new fad language, Haskell.
- Ocaml Language Sucks
- The Great Programming Language Shootout. Of course, programming languages don't have speeds; but implementations do.
- The Clean Programming Language. Functional and fast. Not sure if I like it yet.
- The ATS Programming Language. Functional and very fast. Not sure if I like it yet.
- Metamath Set of Free Icons
-
WARNING: A file lock request which is blocked can be interrupted
by a signal. In this case the lock operation returns EINTR. Thus you
may think you got a lock when you really did not. A solution is to
block signals when locking. Another solution is to test the value
returned by the lock operation and relock if the value is EINTR.
Another solution, which we adopt here, is to do nothing about it.
- Formal system
- Mathematical logic
- A simple combinatorics library in Haskell
- Lake Nyos
- Software design anti-patterns
- Flip the order of the last two words per-line for the next 8 lines:
:.,+8s/\(\S\+\)\(\s\+\)\(\S\+\)$/\3\2\1/
- Factoriadic
- 2008-10-15 So far so good on Firefox 3; it's fast, slick, works with my existing plugins and uses a lot less RAM than Firefox 2.
- Software can hold drivers' cell-phone calls
- Computer error behind Qantas midair mishap
- Many American cancer patients forgoing care because of cost
- How long will an unchained bicycle last on a city street before someone steals it?
- AIG sends execs to $500k spa retreat during $85 billion bailout
- Data mining for terrorists doesn't work very well
- In Sign of the Times, Global Village Gathers to Watch a Sign. People are weird.
- A for-profit company called RecycleBank pays people for their recyclables by the pound. I think this is a great idea.
- Slideshow of my Taiwan 2008 trip
- Made a very simple compost bin out of our old trashcan using a drill; bought a nice new one with wheels so now I can wheel it to the curb instead of carrying it. Hopefully we'll have a trashcan full of compost by the time we're ready to plant the garden in the springtime.
- Bluefish Rolls recipe — John the fisherman was nice enough to give me a decent-sized bluefish he caught; we had no luck whatsoever ourselves. Had some fresh cherry tomatoes from the garden to use up and some sliced almonds sitting in the closet so this recipe worked out nicely. Bluefish really isn't all that great to eat, but the tomatoes add a bit of sweetness, the parsley some nice seasoning and the almonds are a nice texture and the bluefish rolls just hold it together.
- Who Caused the Economic Crisis?
- Cool. A couple of months ago I forwarded my little straightdope favicon (
) to the straightdope webmaster and gave him information and instructions on how to deploy it; I just checked the site today and it's finally up! My horrible, horrible handiwork in millions of people's browsers for all to see. Up til now I've been grabbing existing favicons for my site, it feels good to give something back. So if you have any graphic skills whatsoever and have a favorite site that doesn't have a favicon, whip one up and send it to them.
- New Haven line rail cars to be modified to accommodate bike racks
- Food gets label of origin
- Yesterday I got a flat rear tire just as I was approaching work in the morning. Had a spare tube but had left my portable pump at home (dammit). I walked ~5 miles to the train station yesterday evening. Learned a few; some of them are results of my mistakes, others are advice by people I met along the way.
- Change/patch a busted tube, even if you don't have a pump. You never know when another biker might stop and offer to help.
- If you don't have a pump you can use the tire-filling compressed air machines at gas stations. If you have presta valves (I do) you'll need an adapter (I haven't figured out how to get one to work yet).
- You can buy tube patch kits and other bike accessories at Toys "R" Us. There is one halfway through my walk.
- My neighborhood gets a pretty good walkscore; try yours.
- car rentals
- America's No. 1 Export: Debt
- Got another pinch-flat while riding home on Friday, oh well, the new tube lasted almost the whole day. Today I changed my route through Milford to avoid the worst road of my commute, Old Gate Lane. Surprise: the new route through Pepe's Farm Rd is much cleaner; there are fewer potholes and less junk on the side of the road. I've also discovered that I can avoid the most congested part of my commute around Exit 40 and also the slow left-turn light. So far so good.
- Moronic Bicyclists — the discussion in The Chattanoogan mirrors many similar discussions around the country as a response to increased bikes on the road.
-
2008-09-26 - 2008-09-30 Congress is planning on taking $700 billion of taxpayer money and using it to buy worthless subprime mortgage-based securities that investment banks own.
Info:
Update:
- 2008-10-04 Credit markets to Washington: Bailout isn't enough
- 2008-09-30 Lawmakers scramble to revise bailout bill
- 2008-09-30 White House, lawmakers plan new bailout deal
- 2008-09-30 Section-by-section breakdown of the "Emergency Economic Stabilization Act of 2008," otherwise known as the $700 billion Wall Street bailout bill.
- Hey, it was rejected! I believe because of American citizens writing to their Congressmen (really it was the fear of losing their jobs soon, but close enough). Great news. And the sky no longer seems to be falling. Good job, everyone. Perhaps one positive legacy of Bush Jr. reign is reminding us not to cave in to fear and rush to pass poorly-understood legislation (Iraq war, Patriot Act, etc)
- 2008-09-29 U.S. House defeats $700B bailout bill
- 2008-09-29 Bailout plan rejected
- 2008-09-29 House defeats financial industry bailout bill
- "Like the Iraq war and patriot act, this bill is fueled by fear and haste." — Lloyd Doggett, D-Texas
- "This legislation is giving us a choice between bankrupting our children and bankrupting a few of these big financial institutions on Wall Street that made bad decisions." — Rep. John Culbertson, R-Texas
Basically what this means is that banks have invested their own money in stocks (securities) that were backed by subprime mortgages. These were bad investments because the people who took out the mortgages usually can't afford them (which is what makes them subprime in the first place).
Since the bankers lost their own money, they want the American taxpayers to borrow or print $700 billion and give it to them to replace their losses.
If bankers make money (and they do), everything is fine and their Swiss bank accounts get fatter. However if bankers lose money, that's a disaster! Lose? They may have to wait a few months before they buy that 3rd Bentley or second yacht. So instead of absorbing their own losses, YOU (the American taxpayer) are going to pay them for it. We are privatizing gains and socializing losses. It's like welfare for rich people.
This is the biggest fleecing of America in recent memory. The Treasury wants to take $700 billion (they'll get this by either printing new money or by taking out loans from other governments) and apportioning that money however they see fit, amongst the owners of the investment banks that recently failed because they invested in securities backed by subprime mortgages. This plan will:
- Raise inflation
- Your own money will be worth less because there will now be $700 billion new dollars printed up just for the investment bank owners. That's over $3,000 for every man, woman and child in the United States.
- Reward unwise investment
- This is the least tangible of my complaints, but still smacks of socialism. It's not fair. Why reward those who made poor decisions; where is the
- Perpetuate the moral hazard that already exists
- If banks are too big to fail why should they bother making wise decisions in the future? No matter what the course of action the men at the top are guarenteed a golden parachute.
- Most importantly, this plan WILL NOT FIX THE SYSTEM
- It simply perpetuates it by rewarding today those who lost money yesterday. Tomorrow there will be a new bubble and a new bailout.
- $700 billion is not the actual price
- As with anything the government does, the real price will be [ StatedPrice * n ] where n is some multiple between 3 and 10.
- Keep watching...
- Now that the floodgates have opened, I predict you will see plenty of other 'me too' allocations on the order of hundreds of billions. They will use this current fiasco as a smokescreen to pass other bailouts and laws. Just watch, I'm right.
[1]
[2]
Unless you own an investment bank or feel like giving thousands of your own dollars to them out of your own pocket then you should
write your representative in Congress and tell them you're against the bailout plan. You may inevitably get screwed by the rich and powerful, but you don't have to sit there and like it.
It is sadly amusing that the behavior reflected here seems all so familiar after reading The Creature from Jekyll Island. Bank owners and the politicians they own continue to take from taxpayers to line their own pockets whenever they lose money. It is a system designed by the rich few to keep themselves rich.
- erudite
- adumbrated
- Today a poor man begged me for $1 and rich men begged me for $1,000,000,000,000.
- nadir
- Eat This, Not That — Side-by-side comparison of more healthy vs. less healthy choices at all of America's most predictable restaurants.
- NYTimes Travel just did an article covering the skill, entrepreneurial zest and breadth of influences represented in the food of Taipei. So true. Thanks Jordan.
- Versionista is a neat tool; it is a web-based version of the UNIX diff tool; allowing one to compare websites "before and after" differences and track changes. This is standard stuff for software development but neat to see when applied to other things.
Currently it looks like you have to set up pages in advance to watch, it would be much more interesting if the site set up an archive.org-esque layout where one could search for versioned histories of every URL ever tracked.
- augur
- Defying Ike: Why 140,000 Stayed Behind
- Weather's getting a little cooler now as we move towards Autumn, doing research on cooler-weather bicycle clothing; can't use short-sleeve jersey, gym shorts, cotton socks and sneakers forever.
- Too cold to ride! - a post from last winter discussing clothing, gear and plain old stories by bike commuters in true cold-weather places such as Boston, Minnesota, North Dakota, Alaska, etc.
- National Geographic Annual Photo Contest
- 2008-09-16 ...and I'm back from Taiwan. Monday was a looong day, 36 hours. I ate 2 breakfasts, one lunch and 2 dinners. Some jetlag, but not too bad. It's nice to go away and live somewhere else and visit family, but it's good to come home.
- 2008-09-04 I am in Taiwan visiting family and taking pictures
- 2008-08-28 The U.S. government has decided that building a wall along the southern border with Mexico is a good way to prevent additional illegal immigrants from entering the country. In order to decide if I agree I will be reading up on the history of large walls, their builders, purpose, technology, longevity and most importantly, effectiveness.
- The city of Mumbai will fight the smells of rotting garbage with deodorant
- T Boone Pickens' energy plan is a ruse to gain eminent domain rights to build a water pipeline to Dallas; that's where the real money is
- Death or Glory: The Truth About K2
- Ultralight Backpacking: The Why and How
- Terror watchlist upgrade 'imploding' — $500 million to manage a database with 500k records? And the implementation doesn't even really work? And the underlying design itself is horribly flawed? Welcome to a government-funded knee-jerk 'make it look like we're doing something' project.
Salt: A World History — an enlightening account of salt's importance through the history of Euro/asian civilization. 'll admit straight away that I like history, food, language and learning the origins of things we mostly take for granted. Fortunately Salt does not fall into the pandering, pop-culture trap that many books do; however, it is written in an accessible fashion, does not get bogged down in any one subject for terribly long and contained enough interesting tidbits to keep me reading.
- Free, full documentation to the Large Hardon Collider has been made accessible online
- 2008-08-25 Road bike tires are great; they're light and thin and hard, enabling quicker starts and faster rides. They're tougher against punctures because of their higher internal pressure. So high, in fact (mine are rated at 120 psi) that I could not suitably inflate my road bike tires using my portable mini-pump. And my current 'big' pump doesn't support Presta valves and does not have a pressure gauge. I know I can get adapters to support Presta (and I probably will) but I want a pressure gauge because it makes such a big difference to ride at optimum pressure (without over-inflating one's tubes). So I ordered a new pump and a variety of other stuff... spare tubes, a more complete mini-tool, etc. I looked for a very thin, light adjustable wrench but couldn't find one. My current one seems a bit heavy, and is too thick to help adjust my read caliper brakes.
On the bright side it didn't rain again this morning, I've been very lucky lately; that's bound to change. Oh, and in visiting with my great-aunt this weekend she told me she's been getting by just fine without a car, thank you very much, in the last 60+ years since she left the Navy after WWII. She recommended I take a better look at the local bus routes. Puts things in perspective.
- Interesting that Olympic medal counts from China and the UK order by gold medals first putting China in the #1 spot and the US in the #2 spot...
ORDER BY gold DESC,
silver DESC,
bronze DESC,
country_name ASC;
and the American medal counts sort by total medals first, putting the US in #1 and China in #2...
ORDER BY gold + silver + bronze DESC,
gold DESC,
silver DESC,
bronze DESC,
country_name ASC;
- 2008-08-21 Had my first flat on the roadbike; was passing a stopped 18-wheeler and couldn't avoid a sewer grate. It was a pretty big bang, but I made it about a mile before I realized the tire was flat for sure (which means it's a small hole, that's good as I have no spare inner tube). I figured it would be a "snake bite" flat, and it was. Tried to patch it 3 times and failed. Didn't have a spare tube or tire jacks on me, big mistake.
- penury
- Living without a car
- 2008-08-14 I've been really lucky with weather, no rain this week (yet). Looked like it was going to rain this morning, I was sure of it, but it cleared itself up. Used a chain-cleaning tool on my GT bike last night, first time I've ever cleaned a bike, ever. It was amazing how much grease, dirt and grime came off. Underneath all that dark crap was shiny metal, it was nice to see.
Last Wednesday/Thursday my back tires kept going flat and it must have been the rim. Since the bike shop isn't open on Monday I didn't want to go that long without a bike, and wanted a backup bike in general, so I got my Binanchi while my GT stayed locked up at the train station. Over the weekend the mirror, pump and back light were stolen. At least they didn't take my rack and fenders :/ So the lesson is, never leave anything at the train station.
Also got my rain jacket and rain pants in from Nashbar, they are very light and fit OK, we'll see how well they perform. I'm having trouble finding rain covers for sneakers, and I have big feet so I wonder how easily I'll find them, when I do, in a size 14. Bike commuters must have a shoe solution for the rain... now it's not a problem since I can just wear sandals and get wet because it's warm, but in December when it's 35°F and raining I need a better solution than that.
- Nearly all binary searches and mergesorts are broken
- int mid = low + ((high - low) / 2);
- The Future of Crossing the Street
- 2008-08-12 Weather held this morning, though I have a chance of getting wet this evening. Had a nice conversation with a man on the train about my new Bianchi, he recognized the traditional celeste color, had some questions about the frame, headset and casette. He also recommended clipless pedals, and said that once you get them you never go back. Everyone keeps saying that, so it must be true.
- Windows BSOD at Olympics opening ceremony
- 2008-08-11 Weather held up this morning; forecast was for intermittent thunderstorms; which was good because I got a new road bike and it doesn't yet have any fenders. On Thursday my commuter mountain bike blew 3 tires... must be a bad back rim, which I did note was not straight. So now it barely even rolls... I walked to and from work on Friday and discovered an easier route for grocery shopping and some of Milford's bus routes. Unfortunately bike shops seem to be closed on Mondays, so I can't even bring my bike in until Tuesday and then who knows how long it will take to replace the rims. So I got a second bike, a Bianchi Brava, which is beautiful and so light... one can feel the ease at which it accelerates. It came with clipless pedals, meant for riding shoes, but I'm sticking with toe-clips for the moment so I can wear my sneakers. The bike is missing a lot of stuff I need for a regular commute: rear fender or rack, lights, mirror... but it looks so pure and clean I hate to add them (but will). So I'm hoping for clear skies for the next week or so til I get the thing properly outfitted.
Oh yeah, one reason I couldn't get any fenders was because the bike shop said that anything commuter-related: lights, panniers, mirrors, etc. had been flying off the shelves. It's good to hear that people are embracing bicycle commuting, but I wonder how many will still be doing it in January?
- Commute takes minutes in car but hours on Houston Metro buses
- fatuous
- 2008-08-06 Pouring rain today on the way in, got wet, but not as wet as last time. Ordering proper rain gear from Nashbar. Ride home in the dark was great, and fast.
Been looking at a Bianchi Pista as a possible second, alternative bike. I'm a bit hesitant though, since I want to learn to take care of bikes properly before I get a nice one.
It's all about maintenance... especially on a fixie.
- Dutch town tests 'air-purifying' concrete — I've seen titanium dioxide paint mentioned somewhere on the Discovery Channel for the same reasons.
- In Paris Hilton's response to McCain's 'celebrity' ad she makes fun of McCain for being old and then proposes her energy policy.
"OK so here's my energy policy: Barack wants to focus on new technologgies to cut foreign oil dependency and McCain wants offshore drilling. Well, why don't we do a hybrid of both candidates ideas? We can do limited offshore drilling with strict environmental oversight while creating tax incentives to get Detroit making hybrid and electric cars. That way the offshore drilling carries us until the new technologies kick in which will create new jobs and energy independence. Energy crisis solved."
Paris's "solution" suffers from the logical fallacy of Argument to moderation whereby the correct solution is thought to be the middle ground between two propositions. Let's try applying Paris's "please everyone" methodology to other current and past problems and see what solutions we come up with...
- Creationism vs. Science: Simply declare that God created half the Universe and the other half was created in the Big Bang!
- Bush v. Gore in 2000: Simply declare them both co-President!
- Indiana's attempt at assigning π = 3 vs. π = 3.14159... Simply declare π = 3.14!
- Gray text on a black background vs. gray text on a white background... Gray on gray!
You can't please everyone all the time, so stop trying. Instead, why don't you sit down and do some research, pick a side and defend yourself. But that would be like, hard.
- Tilapia with Garlic Butter
- Google Maps Business Categories
- 2008-08-05 Goddamn train was an hour late this morning, was 15 minutes late to work.
- Know Your Rights: Bustcard
- One quarter of all U.S. airline flights were late in first half of 2008
- People seek cheaper alternatives to expensive home heating oil
- On Language: Me, Myself and I — Why do we capitalize the word 'I'?
- I tried some Coors Light the other day, since I remember Budweiser got sold to the European corporation InBev. It tasted more like piss than Bud Light did.
- sanguine
- 2008-08-04 My bike is a bit heavier and a lot more functional with the new fenders and rear rack. Front fender was rubbing against the wheel a bit, had to adjust. I love the simplicity and accessibility of bike parts... if one of the few dozen total parts needs adjusting, you just do it. I've been told that pumping the tires up to their maximum rated pressure will help reduce flats, I did so, and the ride in today was so smooth.
Went to NYC yesterday, spent some gift certificates at EMS and Paragon Sports. Got some polyester shirts, they're very light and are supposed to wick away sweat well. I've been wearing cotton t-shirts until now; they are hot, soak up sweat like a sponge (and get heavier as they do so) and take forever to dry out.
Rode to Stew Leonard's in Norwalk today; not too bad. In my bike-commuting/city-biking research I'd read something to this effect: "Stop thinking like a car driver... the best bike route will likely be the worst car route and vice versa." So I did. I got off at a different train station than normal because it is a bit closer and then I took residential backroads the whole way there (calculated via google maps). The ride was smooth, there were very few cars and most of the route had shade that the main route wouldn't have provided.
Also, I've been riding on the road, in traffic like one is supposed to on a bike. Previously I was nervous about riding in higher-traffic areas, but I've been more assertive and am trying to be as polite, predictable and speedy when it comes to interacting with cars as possible.
- The Nature of Glass Remains Anything but Clear
- The dumbing down of science
- San Francisco mayor proposed fines for unsorted trash
- Chinese restaurant uses online translation service to name restaurant. Result: 'Translate server error'
- 2008-08-02 Put together our bathouse today; have to find a place to put it. Also, got some fenders and a rack on my bike, yay! The fenders paid for themselves instantly as it was pouring rain on the ride home.
- Large Hadron Collider image gallery
- 2008-08-01 Julia found a bird on the ground in our yard yesterday evening. We placed it in a shoebox with some padding and a little water dish and put the bird on an outside table — at least it was protected from our cat. Using the (excellent) North American Wildlife we figured out it was a sparrow, but not what kind (probably a female because of the dull colors). I figured the bird had no chance, but we went out later that night and it was gone... we don't think the cat got it because there was no sign of a struggle or any feathers, so possibly it was just stunned or dazed and eventually came to its senses.
- piquant
- Park nomad, laptop in tow, calls bushes home
- Practical Pedal — a quarterly bike commuting publication
- Zimbabwe's hyperinflation provides a good reason to move financial transactions away from 32-bit
- Zero cycles
- commuterbicycle.com
- Best and worst U.S. cities for biking
- bikecommutetips
- 2008-07-25 The morning conductor remembers me; he punched the paper receipt/tracker this morning for the correct destination without even asking to see my pass. It was sunny and a bit cool this morning, perfect weather.
- Bicycle glossary
- 2008-07-24 It was pouring rain today. My current rain solution is gym clothes + flip-flops + cheap poncho. Poncho covers my everything except my lower legs and forearms, and most importantly: my backpack. I arrived at work today no drier than if I had jumped into a pool with my clothes on. I rode through a knee-deep flood underneath the overpass on Old Gate Ln got properly splashed by two cars, and got wet from underneath via my un-fendered back tire, which not only managed to get my shorts soaked, but also my backpack and the clothes and papers in them. I arrived a bit drier (my shirt) than if I had just walked in my regular clothes, but no much. Things I need to do, in order of importance:
- Buy and install a rear fender. This should keep my shorts and my bag drier.
- Get a rear rack; I'll get some panniers too, but in the meantime I can at least strap my backpack there; it'll keep my back cooler (it's amazing how the backpack blocks air and traps sweat).
- Start bringing a week's worth of clothes on Monday morning instead of bringing my clothes every day (I already leave my shoes at work). Wrap them in a garbage bag, even if it's bright and sunny out. This will keep them dry from a daily soak and will mean I'll be hauling less on an average day.
- Figure out a better rain outfit, probably a proper rainjacket and pants. I want stuff I can layer, because even though the weather is warm now, it's going to be terribly unpleasant (and unhealthy) to get wet in November or December.
- 2008-07-23 The weather forecast looked OK at the beginning of the week now says intermittent rain for the rest of the week, including today. It was raining when I woke up, it was raining after the snooze woke me up again, but miraculously it stopped just minutes before we left. What a relief, I hate riding in the rain. I need to get a back fender, at least. Got a flat tire about 2/3 of the way to work, I have a patch kit but no spare innertubes and no portable pump, so I'll be walking to the bike shop to get some.
Got the stuff at the bike shop; patched the flat on the train platform and on the train, that was interesting. I'm getting better at this stuff, but I need to be better prepared. Speaking of prepared I have been riding in junky clothes: an old cotton t-shirt and gym shorts; sneakers if it's dry and sandals if it may rain. Not the best attire in terms of functionality or appearance.
- 64-Bit Programming Models: Why LP64?
- 2008-07-22 Train was ~8 minutes late today; conductor said they were held up in Stamford. Had a dentist appointment for which I was 10 minutes late for instead of 2; slightly later to work than I wanted to be.
- 2008-07-20 It's been weeks since I last drove my car. I do not miss it. I do not miss the stress of driving; I do not miss highway traffic jams; I do not miss staring into the sun on the way home. I don't miss filling up the gas tank. My legs are getting stronger, though I'm not losing any weight since I eat more now (I'm hungrier!). Got some new, more street-friendly tires on my mountain bike frame ($20 each); the ride is definitely smoother. Coupled with my stronger legs I am now able to do most of my morning ride in the highest gear... wish I had a higher gear for some of the downhill stuff.
Not everything is perfect, my wife's commute is a few minutes longer since we have to both walk to the train station instead of drive; she complains and says there are things she'd like to do if we owned a car (things like camping, visiting friends on Long Island, etc.)
Transporting heavy things has gotten more interesting... I biked home a ~25 lb bag of potting soil last weekend, which wasn't bad. However, we now need a more robust ~200 lbs of additional gardening supplies (soil, cow manure, peat moss, etc), and we also want to be able to shop at Stew Leonard's, an excellent dairy/grocery shop on the other side of town. A solution to the gardening supplies problem is to rent a pickup truck from Home Depot for ~$20 and do my own delivery.
We can probably get to Stew Leonard's via the bus, but unfortunately there is no single bus route from our neighborhood to Stew's — it may be possible to combine train and bus though, I'll have to see if that'll work. A solution to both would be some sort of short-term car rental/borrowing.
As far as renting a car, in my home state of Connecticut it is illegal to drive without some sort of insurance; I am currently still insured from my previous car; but I'm interested in finding a per-day or per-trip insurance company so I'm not out $1600/year for full-time insurnace, but am still legal and covered when I do drive. Assuming I can sort this out I think that the occasional short-term auto rental could solve my current outstanding issues.
I've already checked out zipcar and I may try getting there by train and driving ~40 miles back to my home; its's till the cheapest option for a few hours of car access.
Some other bike-related links:
- National/international:
- Connecticut-centric
- Lessons learned from the Debian/OpenSSL fiasco or Why You Shouldn't Modify Code Strictly To Appease valgrind
- Jellyfish sting triathletes in Hudson river
- Budweiser sold to European conglomorate InBev for $50 Billion. This is what happens when the US's "allow uncontrolled booms" and "just print more money " economic policy fails.
- Reporter critical of TSA Finds Self on Watchlist
- wikihistory: or Why You Can't Go Back in Time and Kill Hitler
- Did some gardening this weekend. I walked to our local nursery and bought 10 sweet bell pepper, 5 tomato (3 Mountain Fresh and 2 Big Boy), 2 Thai hot pepper and 1 basil plant, all 15-30 cm tall, for $7 and carried them home. Bought a bag of potting soil and re-potted the basil, Thai hot peppers and 2 of the tomato plants and planted the rest in recently-vacated space we had in our garden. The Chinese brocolli-type plants we had in there didn't do so well, so they got harvested and cooked over noodles; our existing tomato plants (a cherry and a Jetstar) are growing like crazy though.
- I am using the excellent yslow Firefox plugin, developed by engineers at Yahoo!, to analyze and improve the performance of my website. Try it!
- The Creature from Jekyll Island is an examination of The Federal Reserve system; its creators and their motivations, its role and relationship to government and the financial sector and its performance over the past ~95 years. The problem with this book is that its author has decided not to present the facts and allow the reader to form his own opinion; but instead to pander to the conspiracy theorist crowd and litter its contents with loaded language that effectively kills any credibility whatsoever. The author feels The Fed is an oligopolistic system designed by the wealthy to protect their assets and status, which as far as I can tell from other research is basically true; but his presentation is so twisted that it makes separating fact from speculation a tedious task.
- The Software Behind the Mars Phoenix Lander
- Just got back from 3 days in Indianapolis. Not quite as nice as as New Mexico, but the strip steak (medium rare) at St. Elmo's is fantastic.
- 2008-07-06 Just got back from 10 days in New Mexico; a beautiful place. Will have pictures up sometime soon.
- erlang =:= future
- Slate briefly recounts the history of the semi-colon, and asks if it is dying
- Feel free to send/forward email to Sweden's FRA, since they'll be monitoring all information going in and out of Sweden anyways.
- We have been having miscellaneous stability errors on one of our tests servers; turns out it was Juniper's SSL/VPN's Secure Application Manager, a third-party VPN application; it apparently interacts poorly with RDP (which we use to interface with the test server)
- Bike commute going pretty well so far. Got new innertube for my mountain bike. Strangley, yesterday my rear brake got out of alignment and was rubbing on the rear rim even in "off" position. Had to detach rear cable for the ride to work, then fixed it with some help from John and a wrench at work.
- Local bike shop wasn't open today, trying to fix front tire on my good mountain bike. Currently using wife's bike (donated by parents), which she has used exactly once and which weights approximately 50 lbs and which is approximately 6 inches too short for me. It's amazing the difference the bike makes. Apparently my good bike has "Slime innertubes", meaning that they have some liquid in them that is supposed to "heal" any punctures; looks like they're at the end of the line. I need to familiarize myself with the gorey bike part details and get some tools and spare parts (especially since the only bike shop within riding distance has inconvenient hours and rediculously long turnaround times). One of the things I always regretted about owning a car was my near-complete uselessness when it came to diangosing problems or fixing them; I've read about how combustion-engine automobiles run, but there is a world of difference between understanding the book and being able to *do* something (workshop, parts, vendors, networking, etc.)
- My Jetta broke down and would cost more than it's worth to fix it. I am in no rush to get another car, as I have always hated them, and this is a good excuse to try living without one. I take the Metro North train line from my house in South Norwalk, CT to Milford, CT and then walk or bike to work.
I bought a decent but old roadbike in Manhattan (via Craigslist) biked at first, but there is much broken glass on the roadside and unsurprisingly my bike got a flat tire. Then I tried to take the tire off to patch it and stripped the bolt (this is a pre-easy)
- Making reliable distributed systems in the presence of software errors
- The Solution to C++ Threading is Erlang
- Erlang BIFs
- Types and Programming Languages
- My bike route to work
- Cassini nears four-year mark
- Fuel Economy Leaders: 2008 Model Year
- What examples of security theatre have you encountered?