Sep 042011

If Revolutionary 0.4pre4 —
Use WINDOWS! Broken on Linux.
Follow this process:

revolution, for me, said “oh sure, I’ll install CWM for you” and rebooted to Fastboot USB but did NOT actually install it. So you manually push it, then you choose ‘bootloader’, then ‘recovery’ and THEN you are in CWM. And then Bob’s your uncle.

Aug 312011

I have a Droid Incredible 2 – and I’m really enjoying it. I got an OTA update to 2.3 right about the time I was going to root it, so I thought, what the heck, I’ll get Gingerbread. It’s all I really wanted anyway.

Last week, at some point, the clock app disappeared. I noticed because the alarm stopped ringing. It didn’t really bother me, because sometimes I sleep through it — but then I checked and it’s … not there. I mean, in “Manage Apps” it’s there, with a size of 0, but it’s not the app drawer.

… There’s a bug that causes the clock app to randomly appear / disappear. And it’s been happening for about two months, based on the research I’ve been doing.
Someone on a forum said that if this happened on an iPhone, it’d be in all the newspapers. They’re right. iPhones are held to a different standard — and the standard should be the same. If Android wants to be taken seriously, then it’s time to get some real development going behind it.

And don’t give me that crap about a single platform versus many platforms (different phones, etc). You’re a distributor, you know your hardware. How come other ROMs are stable on YOUR hardware? Hmmmm ?

Aug 312011

You can use xargs to grep the same word through different files. But how do you use xargs to grep different words through the same file?
Like this:

echo “your fancy word finder stuff here” | xargs -i bash -c ‘grep -n “{}” your/file/here’

Not something that’s useful every day, but when you want it, hot damn is it nice to have.

Aug 082011

So, you can’t install gettext?
Here’s a hack to get you past it.
do your
$ emerge –oneshot gettext

When it’s all unpacked, Ctrl+z (this will pause the job), go to the work directory, something like this:

From there, go in here:
cd gettext-tools/gnulib-lib
and in here..

edit “stpncpy.c” with your favorite text editor, find
“# define __stpncpy stpncpy”
And add // at the beginning of the line, like so:
“//# define __stpncpy stpncpy”

Save and quit, then type “fg 1” and return, this will resume the job.

This hack bypasses the stpncpy problem. Someone more serious than me needs to create a new ebuild for this though…

Aug 042011

I flew overnight from Vancouver to be with you today. I landed in New York a few hours ago and caught a flight down here because I needed to tell you all in person that I think you’re awesome.
I was raised by a teacher. My mother is a professor of early childhood education. And from the time I went to kindergarten through my senior year in high school, I went to public schools. I wouldn’t trade that education and experience for anything.
I had incredible teachers. As I look at my life today, the things I value most about myself — my imagination, my love of acting, my passion for writing, my love of learning, my curiosity — all come from how I was parented and taught.
And none of these qualities that I’ve just mentioned — none of these qualities that I prize so deeply, that have brought me so much joy, that have brought me so much professional success — none of these qualities that make me who I am … can be tested.
I said before that I had incredible teachers. And that’s true. But it’s more than that. My teachers were EMPOWERED to teach me. Their time wasn’t taken up with a bunch of test prep — this silly drill and kill nonsense that any serious person knows doesn’t promote real learning. No, my teachers were free to approach me and every other kid in that classroom like an individual puzzle. They took so much care in figuring out who we were and how to best make the lessons resonate with each of us. They were empowered to unlock our potential. They were allowed to be teachers.
Now don’t get me wrong. I did have a brush with standardized tests at one point. I remember because my mom went to the principal’s office and said, ‘My kid ain’t taking that. It’s stupid, it won’t tell you anything and it’ll just make him nervous.’ That was in the ’70s when you could talk like that.
I shudder to think that these tests are being used today to control where funding goes.
I don’t know where I would be today if my teachers’ job security was based on how I performed on some standardized test. If their very survival as teachers was based on whether I actually fell in love with the process of learning but rather if I could fill in the right bubble on a test. If they had to spend most of their time desperately drilling us and less time encouraging creativity and original ideas; less time knowing who we were, seeing our strengths and helping us realize our talents.
I honestly don’t know where I’d be today if that was the type of education I had. I sure as hell wouldn’t be here. I do know that.
This has been a horrible decade for teachers. I can’t imagine how demoralized you must feel. But I came here today to deliver an important message to you: As I get older, I appreciate more and more the teachers that I had growing up. And I’m not alone. There are millions of people just like me.
So the next time you’re feeling down, or exhausted, or unappreciated, or at the end of your rope; the next time you turn on the TV and see yourself called “overpaid;” the next time you encounter some simple-minded, punitive policy that’s been driven into your life by some corporate reformer who has literally never taught anyone anything. … Please know that there are millions of us behind you. You have an army of regular people standing right behind you, and our appreciation for what you do is so deeply felt. We love you, we thank you and we will always have your back.

Jul 102011

Une pierre
deux maisons
trois ruines
quatre fossoyeurs
un jardin
des fleurs

et un raton laveur

une douzaine d’huitres un citron un pain
un rayon de soleil
une lame de fond
six musiciens
une porte avec son paillasson
un monsieur décoré de la légion d’honneur

et un autre raton laveur

un sculpteur qui sculpte des Napoléon
la fleur qu’on appelle souci
deux amoureux sur un grand lit
un receveur des contributions
une chaise trois dindons
un ecclésiastique un furoncle
une guepe
un rein flottant
une écurie de courses
un fils indigne deux frères dominicains
trois sauterelles un strapontin
deux filles de joie un oncle Cyprien
une Mater dolorosa trois papas gateaux deux chèvres de
Monsieur Seguin
un talon Louis XV
un fauteuil Louis XVI
un buffet Henri II deux buffets Henri III trois buffets
Henri IV
un tiroir dépareillé
une pelote de ficelle trois épingles de sureté un monsieur
une Victoire de Samothrace un comptable deux aides-
comptables un homme du monde deux chirurgiens
trois végétariens
un cannibale
une expédition coloniale un cheval entier une demi-pinte
de bon sang une mouche tsé-tsé
un homard à l’américaine un jardin à la francaise
deux pommes à l’anglaise
un face-à-main un valet de pied un orphelin un poumon
un jour de gloire
une semaine de bonté
un mois de Marie
une année terrible
une minute de silence
une seconde d’inattention

cinq ou six ratons laveurs

Oct 182010

The Master had been clear on this point – the room was treated so the five physical senses would be useless. When Scott asked how, the Master laughed and told him it was magic. Scott had chuckled and shaken his head. Clearly, no point in arguing – not today’s knowledge.

Scott blinked and the test began. He relaxed and extended his consciousness into the ground below him and around him. He knew his limit well: no more than a five-foot radius around him. This meant that by the time he felt the opponent, it would be almost too late. Almost. The Master was sometimes annoyingly cl-

Scott flinched and his hips spun him around, hands flying up in an open, receptive guard position. An intrusion into the five-foot radius. It was almost like a physical blow to his solar plexus. He had felt the opponent. His mind started to rush through all the things he knew to do, and yet within an imperceptible lapse of time, his trained body took over with a quick, soft breath out.

The wind suddenly started to blow, and Scott mentally took notice of it. Wind in a room that had been magically sealed of the physical senses? He wasn’t supposed to feel that. The blow he took under the floating ribs on the left side actually lifted him off the ground and sent him flying a few feet before landing hard on his pelvis. His mind had stopped and time hadn’t. Fuck. Everything to start again. Actually… Scott realized he was still connected to Earth and could feel the opponent coming in. He stood up with a quick, hot breath that helped him expand Water and Air towards the other, feeling for the intent to strike, feeling for the movement, for the breath, for life.


Connected, the movement became absolutely unimportant. For approximately half of one long, endless and yet very short second, everything in the room became one. When Scott’s breath ended, the opponent was on the ground, stuck in a joint lock.

“What’s with the wind,” Scott asked.

“Oh, just making sure your mind was in the right place.”

“Hardy har-har, Master.”

Sep 142009

Jan 062009

So.. I’ve solved a few problems from Project Euler .. And I wonder.. Is it cheating to use threads .. ?

Dec 302008

This is actually a lot simpler than I expected (gimme a break, this is my second foray into VBS!)

Set fs = WScript.CreateObject ("Scripting.FileSystemObject")

Sub ShowSubFolders(Folder)
	For Each Subfolder In Folder.SubFolders
		Set files = SubFolder.Files
		For Each file In files
			WScript.Echo file.Name, file.Size
		ShowSubFolders Subfolder
End Sub

ShowSubFolders fs.GetFolder("C:\your\path\here")
%d bloggers like this: