Archive for the ‘technology’ Category

pheriday 2: termcasting overview

Sunday, August 5th, 2012

pheriday 2: termcasting overview (2012-08-03) from Paul Ivanov on Vimeo.

paul's habitual errant ramblings (on Fr)idays (2012-08-03)

show notes:
http://pirsquared.org/blog/2012/08/04/termcasting/
gopher://sdf.org/1/users/ivanov/pheridays/2012-08-03 (yes, gopher!)

0. try to not say “uuuuhhhhmmnn”

BAM/PFA Summer Cinema on Center Street

http://bampfa.berkeley.edu/filmseries/summercinema

1. SciPy 2012 videos up, go check them out! (I have!)

http://www.youtube.com/nextdayvideo

(removed nextdayvideo internal box url, by request)

Software Carpentry: Record and Playback post

http://software-carpentry.org/2012/07/record-and-playback/

2. termcasting: a review of what’s out there.

http://termcast.org and http://alt.org/nethack/
mostly nethack stuff, both just use telnet protocol, only live sessions (though
there are “TV” scripts to re-run sets of ttyrec files).

(playterm vs ascii.io vs shelr.tv)

tldr: playterm.org supports ttyrec files, but has the most primitive
player. Players on ascii.io and shelr.tv can both seek. shelr.tv can also
speed up playback! Downside is both of those have their own recorder programs
(though at least shelr leverages script or ttyrec)

http://playterm.org/

- supports ttyrec files, outgoing links for author and related article, comments.
- most primitive player (https://github.com/encryptio/jsttyplay/)
- Pause only
- only terminal sized of 80×24 or 120×35
- supports tags and comments
- service only (code for playterm.org does not seem to be available, though jsttyplay is doing the hardest part of actual playback)

http://ascii.io/

- supports non-standard terminal size
- player can seek.
- aesthetic thumbnail previews
- login via github or twitter credentials (for uploads)
- code for website available (ruby and javascript) https://github.com/sickill/ascii.io
- code for recorder available (python) https://github.com/sickill/ascii.io-cli

http://shelr.tv/

- supports non-standard terminal size
- player can seek.
- player playback speed can be increased (currently up to 10x of real time)
- supports tags, comments and voting up/down on a video
- shelr can playback from command line (“shelr play http://shelr.tv/records/4f8f30389660802671000012.json”)
- code for website available (ruby and javascript) [AGPLv3] https://github.com/shelr/shelr.tv
- code for recorder available (ruby) [GPLv3] https://github.com/shelr/shelr

3. my wanted list for termcasting
- should support ttyrec files (upload and download)
- live-streaming (like ustream – but for coding)
- termcast.org has ttrtail which does just this
- quick “encrypt” switch – to keep streaming, but start GPG encrypting
the stream as it goes out – so you can still look at it later. This
would make it easy to leave the streaming on all the time
- a .tty editor that’s like a video editor cut out portions [i.e. dead time]

This is a low-bandwidth way of capturing what I’m working on and thinking
about. Now, I’m going to try to record everything I do! “ttyrec -e screen
-x
“. I’ve only done it a couple of times so far while coding, but I
find being able to go back and re-view (and review) what I worked on at the end
of the day to be really helpful.

I was inspired by Joey Hess’ “git-annex coding in haskell” where he reviews and narrates some of the code he wrote, after he wrote it.

http://joeyh.name/screencasts/git-annex_coding_in_haskell/

P.S. It’s Saturday now. I tried to save some local diskspace by running recordmydesktop using the –on-the-fly-encoding option, and that was a mistake. The audio and video were (un)hilariously desynchronized – the audio ran for 9:48, but the video wanted to be just 7:30. Audacity came to the rescue by allowing me to change the tempo to be 30% faster, which made the syncing better. And then I used avconv to stitch in the faster audio.

tools used:
Debian GNU/Linux sid, recordmydesktop, xmonad, fbpanel, screen, chromium, cheese, xcompmgr, audacity, avconv

Ada Lovelace Day: remembering Shirley Theis and Evelyn Silvia

Friday, October 7th, 2011

In case you didn’t know it – today is Ada Lovelace Day!

Now, as any self-respecting Computer Science degree-wielding person should, I, too, think it’s important to celebrate the day named after the world’s very first programmer.

For me, the first math teacher I remember making a big difference was Shirley Theis – who taught me Algebra in 8th grade at McKinley Middle School in Redwood City, CA. Mrs Theis, an energetic dynamo in her mid fifties, was a deeply motivated and caring teacher, who expected a lot out of her students, but never in a disciplinary manner. She was full of enthusiasm, which projected out and infected even the most timid or disaffected student: in her class, you couldn’t be just a sack of potatoes planted in your seat.

She often lead class in a nearly theatrical manner – pacing back and forth, egging students on by eagerly repeating their partial responses, getting exponentially more excited if the student was on the right track, barely containing herself from jumping up and down in anticipation of that lightbulb going off — and yet just as quickly waning in her enthusiasm,becoming a personified caricature of hopelessness and despair to let you know the instant a response was starting to go astray.

It may have been the only math class I’ve ever taken where there were group assignments – we would work with a partner or a few classmates in trying to figure out an assignment, first trying it solo, and then putting our heads together to figure out why our answers disagree and which is the right one. I believe it was Mrs. Theis who succinctly captured a value I hold in high regard: “it’s not about how far you go – it’s about how many people you bring with you.”

There was one other mathematics teacher I had in my life who clearly stands out: it was Professor Evelyn Silvia who had a comparable level of enthusiasm and energy, and from whom I had the pleasure of taking the first upper-division math course (Math 108 – Intro to Abstract Math) during my second quarter at UC Davis. Dr. Silvia was the real deal – she cared, gesticulated, encouraged us to question why something was true, and had an approach which demanded we each take ownership of our education. The book for the course, Introduction to Abstract Mathematics: A Working Excursion by D.O. Cutler and E.M. Silvia was a blue workbook – each of us had our own copy, and there were blanks left out for us to write our own answers to the exercises. The fact that the book had blanks for me to fill in was so inviting, there was a kind of “working mathematician” approach that came with it with that it made me really enjoy and look forward to working through the material. I still have mine.

Dr. Silvia was incredibly sharp, not just intellectually but also interpersonally. Not only could she gauge when the class was lost, but she also had a knack for spotting if something was affecting you outside of class. She was really committed to helping you not just as a student, but as a person. I remember spending hours at Mishka’s, or Cafe Roma, or the CoHo, reading and writing, wanting to do well and not let Silvia down, because she invested so much energy in placed a great deal of trust in us.

So thank you both, Shirley Theis and Evelyn Silvia – you both encouraged me to grow a lot as a person, challenged my concept of what it means to be a student, and by your example provided a template of what it means to be an effective teacher, which I’ve imitated and embraced with pleasure in my own teaching.

(tagged scipy to spread word of Ada Lovelace day to Planet SciPy)

Publisher’s Block

Saturday, December 26th, 2009

One of the reasons I find it so difficult to get more than a couple of entries in per year, is that I know they aren’t going anywhere after I post them. They’re sticking around for a while, and if they’re full of trivial crap then that doesn’t reflect very well on me. Posting about trivial stuff was ok when I was still trying to establish a sense of identity. These days, when I write something public, say on a mailinglist, I agonize over every detail because I know that this digital breadcrumb with my name attached will be around forever. So I keep raising the stakes to myself, neurotically checking over every possible extra whitespace in a patch I send in, sinking hours into something that should have taken 15 minutes.

I’m finally getting to the point where I realize it’s a problem that, for example, even when I’m texting someone, I try to get all of the spelling and punctuation correct.

It’s slowing me down.

I’ve had a lot of half-written blog posts that, after stepping away from them for a short while just don’t seem significant enough. I try to only publish pieces that either I think about for a while, or that I’m not hearing/reading others write about. But I’m always mindful about adding noise. The way I see it, when it became super easy for anyone to publish online, a lot of content flooded in that I simply don’t care for. Same idea with web 2.0 – because of Ruby on Rails, Django, and other web frameworks, writing a fancy (but useless) website became super easy – and now we’re oversaturated with them1. So there’s this internal tension: I think there’s too much crap-content out there but at the same time my internal filter keeps me from publishing anything. I rarely express my thoughts about what I find important in writing anymore. Others don’t seem to make such a big deal about self-filtering, and are much more prolific writers/bloggers/coders, etc.

So here’s a new acronym-sized motto to help correct this behavior, which is starting to get sprinkled in comments in the software I’m writing for my research: LTS. Life’s too short.

LTS

LTS has been showing up in my code coments

I use it as a reminder of what in the past was one of my frequently used maxims: most things in life are pass or fail. This doesn’t mean that it’s ok to do a half-assed job on everything, but given that there’s a limited amount of time, I should focus my efforts only on that which is truly important. Typos in a text message or extra trailing whitespace do not qualify as such.

I wasn’t always this careful about what I publish. I’ve had some form of internet presence (as embarrassing as it may seem now) since I was in middle school. It started in one of those geocities neighborhoods, I don’t even remember any details right now, probably because my brothers helped me to set it up. I didn’t use my real name until I started a poetry website freshman year in high school.

I used my full name, because I wanted to express my thoughts and have them be connect back to my persona, not a pseudonym that I might grow tired of. I was quite explicit about this at the time. And I didn’t filter myself, I just counted a total of 20 poems on there which were written in the course of a year. None of them really make me cringe, and some I’m still quite proud of.

I had nothing to gain by hiding behind an alias. I think that attaching my real name somehow made my thoughts sincere. I started blogging socially my senior year in high school (livejournal), and looking back on the first entry there, I was just trying to capture day-to-day events and thoughts. Vim, THE editor, is mentioned five times in the first two entries :) . But there are some very candid and thoughtful remarks in there, too.

It’s kind funny to have your more than 10 year old website cited in a Yahoo! Answer to the question: “What is the best way to live life to the fullest?”.

Basement Cited

My first website recently cited in Yahoo! Answers

I mean, it is yahoo answers, we’re really scraping the bottom of the barrel when it comes to content2 , but it’s still cool. Yeah, ok, so it’s doubly embarrassing because the citation is just for the lyrics to “The Sunscreen Song”. I’m ok with that.

And I’m very grateful for my many friends and colleagues who, by their example, continue to give me the courage to release my thoughts and code out in the open. Thank you.

As I was putting my finishing touches on this post, I found a recent entry on Scot Hacker’s blog titled “(I Don’t Care About) Facebook and Privacy” that covers similar ground: “For me, it’s simple: If what you have to say shouldn’t be said to the whole world, then don’t say it online.” I agree, and it’s a more sensible standard than my “everything you say will forever be connected to you, so don’t screw it up!” But just to be clear, this should only apply to things you intend to write up and release: I absolutely oppose Eric Schmidt’s dismissal of privacy. Eric says, “If you have something that you don’t want anyone to know, maybe you shouldn’t be doing it in the first place.” Due to its construction, it bears striking similarity to Scot’s quote above with which I mostly agree. But to me, Eric’s statement is a 1984-sized world apart.

Anyway, hopefully I’ve adequately explained my “publisher’s block”, and there are many related topics left to explore, but this is where I’ll have to end this post for now. LTS.

  1. Though this problem will probably sort itself out with time. I didn’t intent to write about this now, so I’ll just keep that remark without developing it further
  2. in fact, Elaine absolutely refuses to read anything on that site anymore, despite the fact that frequently, her google search string is verbatim the same as the question which comes up as one of the top results

Napoleon@Home – Distributed World Domination

Saturday, October 13th, 2007

Napoleon@Home

I’m about to give this Lightning Talk at SHDH20.

Weinberger’s talk and OLPC

Wednesday, August 8th, 2007

Here’s David Weinberger talking about Everything is Miscellaneous (the book I reviewed here and many others did here). The hour-long talk stands on its own and covers much of the book, though I don’t recommend watching it if you’re planning to read the book.

I went to Linux World Expo today and played with one of these upcoming One-Laptop-Per-Child project’s XO-1 laptops at the Creative Commons booth.
OLPC XO-1 at Linux World
Photo by Scott Beale / Laughing Squid (cc)

While OLPC is a noble effort, I think it still feels like another example of trying to solve a problem with technology where technology is not the bottleneck. For example, I was bummed that they took away the hand-crank power-supply a while back because I think this severely limits who’ll be able to eventually use these. The UI and networking stuff is pretty novel, but my overall impression is that it’s too gadgety. I felt pretty lost in all just the buttons on the keyboard, but then again I only used it for 20 minutes and this wasn’t made for me. With that said, I’m not holding my breath, but it could be a great thing if this takes off. I say “could” because technology by itself just isn’t enough1. This is a point I keep coming back to again and again.

  1. A point the OLPC project acknowledges in their vision.