Quantcast
Channel: Right Foot In
Browsing latest articles
Browse All 25 View Live

Kazehakase...ruby in your browser?!!

I just came across a project called Kazehakase. It is a web-browser based on Gecko (the Mozilla/Firefox HTML rendering engine). Big deal, you say. There are already Galeon and Epiphany and so forth....

View Article



Write it in C or face 10,000 slow deaths!

Ruby is slow. Matz owns up to the fact. Benchmarks show that it's true. Ruby is not too slow to be useful or anything, just slower (at some things) that many other languages, including perl and python....

View Article

Doing it the Ruby Way™

I posted a comment on Redhanded that got me thinking about the Ruby Way™ of doing string formatting. Since ruby is a true OO language, where everything is a first-order object, and all methods are...

View Article

Favorite editor

I'm a pariah when it comes to my favorite (grafical) text-editor. I've tried gvim, xemacs, scite, and I have gripes with all of them. I like Gedit. That's right. Gedit. Now that you're done gawking at...

View Article

Of Rocks and Reptiles...

A blog article was posted by jesusphreak the other day about why he chose python over ruby. Several people have commented on this in the blogosphere and mailing-lists (e.g., here, here and here), and...

View Article


Hyper-fatugly!

Good Lord, how can anyone want to use perl6/pugs, let alone develop it! The syntax is so awful they had to start adding superlatives to describe its level of convolusion! I give you the hyper-fatarrow...

View Article

No builtin flatten in python...

One view of why there is no built-in flatten in python is that "there are several open semantic questions which are not intuitively answered". But that seems like a cop-out. So what if there are some...

View Article

More on python flatten

The standard (but for some unknown reason, not built-in) python flatten method looks something like this:def flatten(l): out = [] for item in l: if isinstance(item, (list, tuple)):...

View Article


ruby reopen

In ruby we have a nifty reopen method we can use on references to file-handles that are already opened. This is helpful when you need to open a file as read-only, then you want to write to the same...

View Article


Code formatting

I try to be consistant about code formatting. I pick a convention and stick to it. But I like the convention to make sense, as well as being easy to read (easy for me, I could care less if you can read...

View Article

Spicey curry in your ruby

I've been learning OCaml for the past few days, and for being a member of the evil functional programming paradigm (invented by people who actually liked doing calculus!), it's not too bad. It has some...

View Article

Conventional wisdom

The conventions of a given community of programmers are usually time-tested and often they make life much easier on the programmer. For example, the convention of writing self-documenting code rather...

View Article

Scripting Gedit

Gedit allows you to write python scripts which interface with its backend (and frontend via pygtk). This is very cool, for reasons obvious to VIM and Emacs users. You can write your own plugins to...

View Article


New Happy Day!

Err, Happy Merrynox! Doh. That's not right either. Holiyears Newmas Kwanza-Chana-Peruvian Llama Shedding Merry Days! Oh, I give up. I can't keep all these new joined-together, uber, all-encompassing...

View Article

String interpolation in python

In python, the standard way to do string interpolation is to use the % operator. There are some bells and wistles to it, like named substitutions, but overall it behaves much the same as the C printf...

View Article


Automatic YouTube download with IE7

So my mom likes to collect silly little clips from YouTube, and she uses IE7 on Windows XP (I've tried to get her to convert to Linux, but she's not very computer saavy and has learned computing with...

View Article

FlashBlock WannaBe

I've been using Midori as my primary browser for a number of months (I have a daily cron job that updates and builds WebKit and Midori). It's a fast little browser using WebKit for it's rendering...

View Article


Fixing Pulseaudio stutters / pauses / glitches

It seems that for many AC'97 sound chips, the new scheduler / timer in Pulseaudio >=0.9.11 causes hiccups in sound playback. These are exacerbated when the daemon is not running with higher priority...

View Article

Ad-blocking with Polipo

Polipo is a fast local proxy that does on-disk caching (by default, at least). Privoxy is another local proxy, with a focus on privacy and ad-blocking. Due to the nature and purpose of Privoxy, it has...

View Article

Clear Android Market Search History

So, I wanted to clear the search history that displays in the Market app when you open the search bar. It seems that from a quick googling many people would like to do the same thing. I found a way...

View Article

Dark Glass theme with DroidMod v1.0 - White Clock

The DroidMod Team (formerly of sholes.info) relased a new ROM (--one of the best availible, I might add). The only "problem" with the ROM is that it does not include the ability to select the Smoked...

View Article


Getting USB speakers working in Gnome

So I just got a set of Insignia USB speakers (NS-2908). Wanted to use them as my default speakers, but still have the option of using the internal sound card. Got it working and thought someone else...

View Article


Thunderbird won't open links

So after a recent system update (Arch Linux, cause it's the best, obviously. Duh, Winning), Thunderbird refused to open links in email bodies.I would be like, "Please Mr. email client, open my links"...

View Article

[FIXED] Synergy Flash Fullscreen

On my media computer I use synergy to remote control it from my desktop. There was one big drawback -- every time I switched to the primary screen, the flash video would exit fullscreen on the...

View Article

FF6/FF7: Re-enable javascript: from urlbar

Jump a bit for instructions on how to re-enable execution of javascript: urls in Firefox 6.0.1 and 7.0. Background So, much to my surprise, javascript: urls stopped working after I upgraded to FF6. I...

View Article

Browsing latest articles
Browse All 25 View Live




Latest Images