Python Pet Peeves

Date

As of this posting, Python has been my main programming language for over three years. Although I definitely feel that Python is not a good fit for all programming projects, the speed and efficiency with which I can code in it has made it my go-to language whenever possible.

As ...

more ...

Search and replace multi-line expressions with SED

Date Tags sed / unix

Now here's an interesting problem:

I wanted to do a recursive search and replace in unix, AND I wanted to do an expression that spans multiple lines. Here's what I came up with:

find ./ -type f | xargs sed -E -i -n'1h;1!H;${;g;s/<\/fileSet>.*<fileSet ...

more ...

WebPageTest and IE9

Date

Recently, I tried updating the browser for a WebPageTest instance to IE9. This proved to have some issues, specifically due to the pop-up dialogues that IE9 has now to tell you when something suspicious occurs.

Logging into WPT, I was greeted with an error on an IE9 browser opened by ...

more ...


My IDE in Emacs (mainly for Python)

I'm writing this article up to mainly keep track of the current state of my IDE in Emacs, how to set one up, and to keep my to-do list.

Implemented Features

Default Emacs Library Includes

I use the following from the library that comes with Emacs (as of version ...

more ...


Code folding in Emacs Viper-Mode

Code folding is a feature I've never really used, and for the most part seem to have done find without. I generally use search to navigate from place to place in my code, but I realize this isn't always the most efficient way to go, and code folding ...

more ...




About Yusuke Tsutsumi
Software Engineer at Zillow. I focus on tools and services for developer productivity, including build and testing.

My other interests include programming language design, game development, and learning languages (the non-programming ones).