Wednesday, October 13, 2010

Yesterday was Ruby-themed

I spent most of yesterday solving a (fairly simple) problem using Ruby. Under a hundred lines of code (and refactoring could cut that down by half or more, I think!)

It was a great learning tool, though. I know a hell of a lot more about Ruby than I did two days ago. I want to do that all the time.

I'm going to need some more coffee if I'm going to do it this afternoon, though. Didn't sleep well. Need a nap. or a deadline. I like deadlines. Also coffee.

Zzzzzz.

New OS time

My intelligent but not a CS geek roommate updated her Ubuntu partition, and then happened to reboot. And... after login, she gets a completely blank screen. After a while, the default wallpaper loads. Wait as long as you like; nothing else happens.

I booted into a root shell and poked around a bit, but didn't make any definitive change to the problem. I gave her an openSUSE cd that I picked up at GHC, and last I saw her she was backing up a couple files preparatory to a full wipe and install.

Because a couple days ago, a virus hosed her Windows partition (I guess McAfee isn't perfect, lol) and (despite rancorbeast, Ben, and I fiddling with it- and replacing corrupted kernel32 and setup32 etc with uncorrupted local versions and hopefully-functional downloaded versions) she gave up on it.

Well, hell.

I, on the other hand, this morning acquired a (MSDN legal! ftw!) version and key of Windows 7 and I plan to burn it to disc and keep it handy for my inevitable needs. Maybe I'll make a VM on Ubuntu and load it there.

My Ubuntu partition (10.04) is behaving well, and I don't plan to update to 10.10 for a while yet, since this is the machine that I use all the time and I hear that there are some fun bugs that I don't really want to play with at the moment.

Monday, October 11, 2010

Legalese

Format legal code in LaTeX, run all modifications through github. Rancorbeast's idea. Implementation...

PowerTop and PeerGuardian

PeerGuardian + Windows64 == fail
Workarounds here:
http://forums.phoenixlabs.org/showthread.php?t=15268
None of them suit me, so I guess it's back to Ubuntu. I should really get around to that VM.

Also, I managed to use PowerTop to tell my iwconfig to disconnect every 500ms even when not idle, and it took me a bit to realize that that was the problem with my connection. Fixing it was easy once I knew what was up, tho. So... remember to not do that.

I'm planning to pick up some parts on Newegg and build myself a desktop because it sounds like fun and I haven't built anything computery for a couple years. Chips, yes; computers, no. Bah. I'm still debating whether I want to do some kind of crazy steampunk enclosure.

Wednesday, October 6, 2010

PowerTop for Ubuntu

http://www.linuxpowertop.org/powertop.php

I noticed recently that my laptop gets about 30% more battery life under Vista than under Ubuntu 10.04. Which is not how these things should be! So... Powertop. It's pretty cool. Still fiddling with it. Link above for screenshots and faq.

Tuesday, October 5, 2010

ChicagoRuby Meetup at ThoughtWorks

Oct. 5, 2010
6-8pm

Presentation 1:
Jasmine for JavaScript testing: probably better than what you've been using.

Presentation 2:
New application: http://gathers.us/ for event management.

By the way, Obtiva is hiring. Ask the presenter about it at http://twitter.com/#!/ethangunderson

"The rails community really loves Mongo- they love basically everything that is new and shiny-"

His presentation includes the Picard facehand. Picture. I like this guy.

"It just works! It's all ponies and stuff. That's actually a really terrible idea, I think... ORMs are worthless if you don't understand what they're doing."

MongoMapper and Mongoid. (These do what they wanted to do but they didn't use them because of the above quote?)
"Mongo isn't single-server durable." has to do with write path. Must have at least two notes in a cluster for durability.

"Our adventure in data modeling: "
Option 1- separate events and groups. bad idea. option 2- embed events in groups. but this is a bad idea because there's a limited doc size. 4mb limit! "It's so people like us don't do thinkgs like that."
Practical limit is 100-500k, depending who you ask. Because tossing that repeatedly across the network is just irrational.
option 3- sngle collection inheritance. Worked well, but learned; if you migrate into it, the old events don't have a Type attribute, so you need to backfill that or everything will misclassify itself.

noSQL = "screw you, DBAs!" (but not so much...)

Register at chicagodb.com for an event hosted by Obtiva on oct 18th.

Mongo Chicago IIT Oct 20th.

Go to spkr8.com/t/4704 to review his presentation.

Monday, October 4, 2010

The embroiderable Arduino

To continue the theme inherent in my annoyance about the word "babydoll" as it refers to t-shirts that I wear...

What is this nonsense? Well yes, it's a boingboing article.

It appears to be a similar-to-Arduino microcontroller that can be used in... embroidery projects!

I would like to have us take a minute to think about this. Do you know any women who embroider? (Your answer does not count if you don't know any women.)

I think that this chip is cool. I think that it has lots of uses. Personally, I'd mount it on the back of a black leather motorcycle jacket and hook LEDs to it that will turn into a giant arrow signaling which way I want to turn. Well, I would if I weren't lazy and likely to cut off my finger with a needle.

I think that this chip has many uses, some yet to be discovered. but why is it being presented as connected to embroidery? Is that the only thing that someone could think of to appeal to women? Is this how an appeal to women- even a genuine and heartfelt one- should be phrased?

I wonder what the thought processes behind this were, and I hope that they were well-informed, intelligent, and possibly even sardonic.

Stuff to do

There are many things which I haven't done yet, like post my #ghc10 blog links to the #ghc10 wiki. I intend to do that tonight.

Might also get peerguardian running on my ubuntu partition, so I can stop feeling nude every time I boot into it.

Right now I'm filling out a long page of paper with questions on it, in the vague hope of getting sent to India. Don't ask.

Sunday, October 3, 2010

Clear vs *NIX round 2

All of the below is done with the invaluable help of rancorbeast.

http://git.kernel.org/?p=linux/kernel/git/shemminger/beceem.git;a=blob;f=drivers/staging/bcm/TODO;h=366634be5fe1d4cf2065f57d480230dbc1a754d9;hb=HEAD
The above is a to-do list for what claims to be a driver for the chipset in the Clear dongle. But I don't know what it would show up as, and I don't know how you would build it.


So basically, Sprint released some driver code, and this is a cleaned-up pull of that? It was part of the Broadcom driver source...

Right now trying to get a clone of it and compile.

Friday, October 1, 2010

Latest and Greatest in Assistive Technology

Session is in room Cairo/HongKong 10:00am
Presenters: Chan, West, Snider, Dias, Lay-Flurrie, Havlik.

Presentation1:
Takes pic of printed page, converts to digital text, reads aloud. For sight disabilites. Camera on the bottom for usability!
Instructions are read aloud for the sight-impaired. It can spell out loud! People in user trials really valued this. Also, can change voice speed.

The accent is a little frustrating because of the disjointed words. 350 wpm is way too fast to understand. It sounds deeply amusing. But, says the presenter, power users can understand at this speed, and get frustrated if it's too slow...

The reader can create content for you. You can read a handout at a conference with it! Hold camera steady, take pic. It flashed! Camera flash ftw. Can take pic at any rotation and read it in. Algorith,s can take care of that for you- tell which way is up for the letters.

Capture station! Gotta turn the pages for it manually, but it does do two pages at a time. Reader has ~4Gb of flash memory. This is to improve bulk capture- i.e. for school, etc.

Key market areas: self-empowering students create their own audio books. Import/export files to/from other assistive tech devices.


Presentation2:
Voice reader. First, a video of a reproduction of a trial of the software. First issue: legal questions. Private business don't have to comply, but they lose lawsuits when they don't. (Did I understand that right?)

The tool runs on the cloud and is accessed via browser. It uses Dragon Naturally Speaking. There is a short delay in transcription because it goes phrase by phrase through the algorithm to transcribe. This makes silly owrd typos less likely?

This past Tues, the 21st Century Telecom law was passed. It requires captioning. It's a historical point for the American Disability Association. having a human transcriber is expensive, so they're hoping to market the automated transcription to customers of this law.

Presentation3:
Braile Writing Tutor:
for blind children in the developing world. COmes from Carnegie Mellon University called TechBridgeWorld. http://techbridgeworld.org/

87% of blind ppl live in developing world (because of health tech ungood)
It's hard to learn to read while blind.
Braile isn't a language like ASL; there's a different version for every language. To write, you have a tablet, put a sheet of paper on it, and emboss it with a little sharp pen/stick.

Slate and stylus costs <$10 in most places. It's the standard for the next 30yr, basically. So we have to work with it. They worked with a variety of schools for the blind. Bid problem: delayed feedback. Teacher has to read, then talk... and in at least one place, it's too humid in the summer to use paper!

They can't afford textbooks, so teachers just speak. If you don't know Braille, can't read your notes...
Automated Braille Writing Tutor startedw/ 2 grad students in robotics. This is v 2.5. Software is opensource on sourceforge! http://sourceforge.net/projects/tbwbrailletutor/

Audio feedback, buttons for little kids with iffy motor skills, curricular modes, game modes... "Power is the biggest issues in a lot of these places." Solar? Next version will have lots of solutions...

Example: Animal game. "Please write the name of the animal that makes this sound."
It's evolved to be the thing game.

There's a game that teaches you what buttons to press to write the numbers.

There's a strong accent, so the customize the sound file everywhere they go. very important for kids to trust the voice, so they usually use the teacher's voice...

Work with teachers to create different games.

There is a Kiswahili mode!! It sounds very cool.

I took some pics of the thing itself! Posted later.

Presentation4:
"I'm a deaf girl demoiing stuff for people with visual impairments."
Day job at microsoft is to lead customer service support sales division. Night job is this!

She's a very good verbal speaker for being deaf! She says that Microsoft tries very hard to get diversity.

"I am no techie. I have a music degree, people."

Windows 7 accessibility!

He sat down w/ disability ppl after xp and vista. Rough crowd, disapproving. Windows 7 had a solid goal to fix that!!! "improved hard."

How quick and easy it is to check your Word doc or powerpoint before sending it out. We don't measure disabilites... it's self-identified!

"Did you hear that? I didn't. I'm a deaf girl and I apologize. I'm also British."

WIndowsbuttun-U called usability features. She shows off the zoom mode! Windows is making standards for zoom and captioning... learn the shortcuts!

She made a slide that's difficult to make accessable. Accessability helper tells her exactly how to add alternate text!

"I'm being told that you can;t hear me." (crowd giggles) "I like how captioning will put my interpreter out of work."

Links will be on the Wiki.

There is a video! Promo and reassurance about windows 7 usability. http://sourceforge.net/projects/tbwbrailletutor/

Questions
Q: for IBM. Verbal transcriptor.
A: Yes. Watch http://www-03.ibm.com/able/ because it'll be in the "yellow zone" i.e. come play with it.

Q: re Braille. have you seen movie [what is this name] with the machine that let him read braille mechanically?
A: I haven't seen it but I know the machine. Refreshable Braille machines are difficult to make cheaply because of the large # of moving parts. People are trying to make them better now, but no win yet. In the dev world, people now type Braille!
A: from IBM speech transcript- debate re born blind children. If they do braille, they can master higher learning! Physics, chemistry. There's concern that current devices can't... thing... (huh? I got lost in the answer.)

Q: re localization to Intel. Visually impaired colleagues that use muliple languages.
A; reader is in English and British (accent) lol. Multiple languages are "on the roadmap" it seems simple enough but it'll take time.

Q: cost of reader?
A; $1500 for reader. Capture station $400. Tried to price it as cheaper than current solutions, whcih are ~$2000 (and not mobile!) Cost is driven by volume and they hope that they'll sell enough to drive the price down.

Q: ...
oops out of time

---
Note- who linked to this? There was a ridiculous spike in pageviews. I hope it was useful to you, whoever you are. :) Oct26,2010