Posts by Tag

code

PiTemp

3 minute read

An adventure with Raspberry Pi, Golang, and small displays.

FakeFile

less than 1 minute read

A tiny python library for faking out filesystem operations for tests.

Startup times

1 minute read

Starting new java processes in your scripts considered harmful. Let's compare "hello world" startup times for different languages.

Asserting string equality

3 minute read

When comparing long strings in unit tests, make sure your assertion failures give you useful output.

Test-driven procrastination

2 minute read

How being lazy and procrastinating led me to adopt test-driven development before I realized it.

Multiple library versions

3 minute read

Working with vendor code in C can get very tricky, especially when you except breaking changes to occur. Especially when you have multiple binaries depending...

Translationese

3 minute read

As part of my M.Sc. studies, I've recently completed a small laboratory project in natural language processing. I've learned quite a bit from it, and had a c...

Valgrind Fail

less than 1 minute read

I neglected to post this here somehow, it's about a month old by now...

Faster Languages

2 minute read

Due to an exercise in an AI course, I'm forced to confront an old nemesis - C++. Part of the reason is that the exercise contains a time-limited tournament, ...

On Threading vs. Processing

1 minute read

Writing multi-threaded applications in Python is often a headache because of the Global Interpreter Lock - only one Python thread can run at any given moment...

Exception handling, decorators, and python

1 minute read

Lately I've been working on a project that has me using DBus a lot. After trying to figure out how to work DBus with C, and seeing how easy it is to do in Py...

IPython

less than 1 minute read

The more I use Python, the nicer it becomes. I'm currently working on a project for a course, which involves somewhat heavy-duty database and algorithm work....

Really liking the whole Python thing

less than 1 minute read

I've converted my Antigibberish script1 (converts "broken hebrew" into proper hebrew, useful for sent-offline ICQ messages) to Python... it's quite...

3D effects for coders?

less than 1 minute read

My new work desktop has a GeForce 4 MX, so I naturally installed Beryl on it. The graphics card has relatively little RAM, so it finds handling my 1280x1024 ...

As for Python

less than 1 minute read

Myself, I'm a Ruby hacker. I send everyone within earshot to TryRuby, code my sites using Rails, am surprised that I'm using a php-based blog... you get the ...

Back to Top ↑

linux

Multiple library versions

3 minute read

Working with vendor code in C can get very tricky, especially when you except breaking changes to occur. Especially when you have multiple binaries depending...

Timezones are fickle

3 minute read

Creating a manual "always-daylight-savings" timezone is hard. Let's peek at just how messy timezone logic gets.

Automatically starting rtorrent within screen

less than 1 minute read

These days I don't stay at home often, but I do have an RSS/BitTorrent combo fetching me all kinds of neat stuff for me, so I can have it ready for me on the...

Quick time tracking hack

less than 1 minute read

Gnome 2.24 adds a new Time Tracking feature, which I would have found useful. I don't have Gnome 2.24 at work, but I do have a Unix-based operating system......

Things I learned today

less than 1 minute read

You can use git on a VFAT disk (for example, a USB key) without all of the annoying mode issues, by using the following setting in .git/config:

Deskbar and Firefox 3

less than 1 minute read

Deskbar has a really neat plugin which allows you to search your browsing history and bookmarks. Firefox 3 has switched the storage format to an sqlite-based...

My alarm clock

less than 1 minute read

YNet was running a story on how to use your computer as an alarm clock. Here's what I do, for our commandline junkies :)

Grub menu.lst editor

less than 1 minute read

A lot of people ask me how to change the default operating system booted after installing Linux. The answer they get in Ubuntu's case, "Edit /boot/grub/...

Yasmin back up

less than 1 minute read

Why was it down, you ask? Well, it was out here in the lab, because of a shortage of network ports in the server room. From the acpid log:

Beautiful ideas

less than 1 minute read

This man has some beautiful design ideas for the Linux desktop.

Pmount-hal + cd

less than 1 minute read

If you're like me, and don't use Gnome or KDE, then you probably use the pmount or pmount-hal applications to mount removable media. Here's a neat thing to a...

Back to Top ↑

networking

Server drawer

1 minute read

A quick look at my partner-approved "server drawer"

WFH Wifi

5 minute read

My adventures in setting up wifi when working from home, working around limitations of my apartment form factor.

Home network wiring

1 minute read

I don't like wireless connections; they're always second-best, be it in terms of security, speed, or reliability. Here's how my apartment looks (very approxi...

DD-WRT awesomeness

1 minute read

Since I've last posted, I've moved to a new apartment. First order of business - get a working internet connection. This is extra-challenging when your prima...

Another SSH trick

less than 1 minute read

Ever have a machine you can only ssh into through another machine? It's a very common situation in the Technion. Here's one way to get around it: Assume you ...

Tunelling even more stuff over SSH

less than 1 minute read

Today at the CS department of the Technion is a particularily Bad Network Day (TM) for laptop users; none of the wired connections at the farm work, and wire...

Encrypted my Wi-fi

less than 1 minute read

Reading some backlog on this blog, I found the following gem:

Using Jabber from within the Technion

less than 1 minute read

A very neat find for those of you who want to use Jabber from within the Technion, but with your client of choice rather than a web-based one: Many Jabber se...

Internet in Haifa Bay Central

less than 1 minute read

In the Haifa Bay Central bus station (מרכזית המפרץ), it's possible to get an internet connection. HTTPS works automatically, and setting the proxy to proxy.t...

Waiting for the bus

less than 1 minute read

I'm going home for the weekend, as usual. Unfortunately, the first bus of my route comes by at highly unpredictable times - I've had it be an hour late on me...

Back to Top ↑

hardware

PiTemp

3 minute read

An adventure with Raspberry Pi, Golang, and small displays.

DD-WRT awesomeness

1 minute read

Since I've last posted, I've moved to a new apartment. First order of business - get a working internet connection. This is extra-challenging when your prima...

Android

3 minute read

I've finally gotten the chance to get one of those newfangled Android phones.

My music player has sunk

2 minute read

My Meizu Mini M6 has died a tragic death as a result of being left in my shirt pocket, which in turn was - with the rest of my shirt - in the laundry. I've h...

Broken phone screen - data rescue

1 minute read

Last weekend I broke my Nokia 6120's screen. I have a military phone, which is far cheaper, so I've decided to keep it offline. However, being the sentimenta...

Hardware doesn't like me

1 minute read

Whenever I try messing with hardware at home, inexplicable failures ensue. Especially when trying to help others; no good deed goes unpunished.

Whatever happened to black & white LCDs?

1 minute read

I had a Game Boy once. I could play it just about anywhere, and battery life - for the time - was great. I lost it at one point, and replaced it with a Game ...

Nokia 6120 Classic

1 minute read

I've switched to a Nokia 6120 Classic, and I've switched my carrier over to Orange. I'm very happy with it: The price is right, at 0 NIS a month (if your mon...

Back to Top ↑

technion

All hail the cow!

less than 1 minute read

Silly post about a cow called Paradox.

On the matter of a really long vacation

2 minute read

By now I've lost count of how long ago my last class was. The strike has begun immediately after passover, and is certainly beginning to take its toll. For o...

Using Jabber from within the Technion

less than 1 minute read

A very neat find for those of you who want to use Jabber from within the Technion, but with your client of choice rather than a web-based one: Many Jabber se...

Here's hoping

less than 1 minute read

def factor(grade, params = {}) return 100 if params.empty? # Optimistic, eh?

As for Python

less than 1 minute read

Myself, I'm a Ruby hacker. I send everyone within earshot to TryRuby, code my sites using Rails, am surprised that I'm using a php-based blog... you get the ...

Back to Top ↑

life

Reading, writing and vacations

1 minute read

Vacations are a great time for doing that problematic category of things every management course teaches you about: important, but not urgent. For some peopl...

Means of control

1 minute read

New URL - not interesting. You'd notice by now, as you've been redirected. Guess my new E-mail. OpenID - interesting, but I don't have anything particularily...

Vacation

1 minute read

The most recent events in my life which I would consider to be vacations would be the second Lebanon war and my basic training. I love the Technion, but I th...

Tough Question

less than 1 minute read

My girlfriend just asked me what just might be the hardest question I've heard all semester; What do I like better, The Simpsons or beer?

Some things make you feel good

less than 1 minute read

Some things renew your faith in people, in the time you spend with them. Amazingly small things, considering their grand scope. Making things worse is known ...

On the matter of a really long vacation

2 minute read

By now I've lost count of how long ago my last class was. The strike has begun immediately after passover, and is certainly beginning to take its toll. For o...

Courtney Love on Piracy

less than 1 minute read

This is absolutely antique (2000), but it's good to hear an artist with a clue.

Back to Top ↑

software

Egged Getter 0.1

2 minute read

The Egged Getter has been lost in the mists of time. However, it's code has largely been integrated into TransportDroidIL. An old version of the Python code...

Two reasons Apple suck

less than 1 minute read

First of all, new iPods won't work on Linux. Now, while it's very obvious that the idea is to block competition against other music vendors, that makes it ev...

Myspace sucks

1 minute read

Life is good, for the most part. And as a technology enthusiast, there are many new and cool things to see online. For example, there's the new Schools site,...

Beautiful ideas

less than 1 minute read

This man has some beautiful design ideas for the Linux desktop.

Why Vista worries me

3 minute read

I've heard the latest Security Now, regarding the debate between Dave Marsh and Peter Guttman on DRM in Windows Vista. While a few good points were made, the...

On Vista

3 minute read

Everyone knew this was going to be an interesting one to watch. Die-hard Microsoft fans were sure Vista would be the final nail in the Open Source coffin, di...

Software Perfection - Lost in the details

1 minute read

Sometimes imperfections in Software drive me nuts. It's what drove me away from Windows. It's what keeps me switching back and forth between desktop environm...

Back to Top ↑

python

FakeFile

less than 1 minute read

A tiny python library for faking out filesystem operations for tests.

Translationese

3 minute read

As part of my M.Sc. studies, I've recently completed a small laboratory project in natural language processing. I've learned quite a bit from it, and had a c...

Faster Languages

2 minute read

Due to an exercise in an AI course, I'm forced to confront an old nemesis - C++. Part of the reason is that the exercise contains a time-limited tournament, ...

On Threading vs. Processing

1 minute read

Writing multi-threaded applications in Python is often a headache because of the Global Interpreter Lock - only one Python thread can run at any given moment...

Exception handling, decorators, and python

1 minute read

Lately I've been working on a project that has me using DBus a lot. After trying to figure out how to work DBus with C, and seeing how easy it is to do in Py...

IPython

less than 1 minute read

The more I use Python, the nicer it becomes. I'm currently working on a project for a course, which involves somewhat heavy-duty database and algorithm work....

Really liking the whole Python thing

less than 1 minute read

I've converted my Antigibberish script1 (converts "broken hebrew" into proper hebrew, useful for sent-offline ICQ messages) to Python... it's quite...

Back to Top ↑

music

NaNuchKa

less than 1 minute read

Despite having a critical midterm Sunday, as well as being sick, I could not, and should not have, give up on the NaNuchKa show. Some of the best music I've ...

Some music posted to myspace

less than 1 minute read

Recording this morning was excellent! Awesome studio, not expensive at all, and a whole lot of fun. We've posted one song at our myspace page, and it seems t...

Some band stuff

less than 1 minute read

This Saturday we're going to record our material, and hopefully a cover we've been working on - Venom's excellent "School Daze". We took some photo...

Myspace sucks

1 minute read

Life is good, for the most part. And as a technology enthusiast, there are many new and cool things to see online. For example, there's the new Schools site,...

On the matter of a really long vacation

2 minute read

By now I've lost count of how long ago my last class was. The strike has begun immediately after passover, and is certainly beginning to take its toll. For o...

Bass guitar

less than 1 minute read

I brought my Fender Squier Jazz Bass up to my Technion apartment. I hope it won't have too much of an adverse effect on my studying... playing it (loud) is g...

Back to Top ↑

git

Git While You Sit 3 - "Rename" edge cases

1 minute read

Sometimes, git does something unexpected while merging or rebasing. It might seem like git misunderstood a rename, but it's far more likely that git did the ...

Using git for code review

1 minute read

At my workplace, I've recently been using git for code review purposes. I work on code in my own git clone, and ask a peer to review it. It works somewhat li...

Things I learned today

less than 1 minute read

You can use git on a VFAT disk (for example, a USB key) without all of the annoying mode issues, by using the following setting in .git/config:

Really liking this git thing

less than 1 minute read

I've been a very big proponent of Subversion so far, especially as a tool for collaborating on coding homework. However, I've recently been trying out Linus'...

Back to Top ↑

from-hebrew-wordpress

Openbox CVS

less than 1 minute read

(Hebrew) A bit of excessive geekery

Back to Top ↑

show downloading

The show downloading stack - part n+1

1 minute read

I've already mentioned my show downloading stack on this blog. It's changed a bit since - I now use Transmission rather than rtorrent, as it has the excellen...

Loving the new Totem

less than 1 minute read

Totem is Gnome's built-in media player, and it really annoyed me in previous versions, and had me switching to VLC. However, the version included in the Ubun...

My show downloading stack

3 minute read

I love watching TV, and hate it. Regular show schedules are horrible, commercial breaks are annoying, and the ability to rewind is very important. I love Hot...

Alright, American Dad!

less than 1 minute read

Just finished downloading an episode of American Dad off Bittorrent. TV has ancient episodes of Family Guy. Took about an hour though... I tells ya, I'd pay ...

Back to Top ↑

asides

Things I learned today

less than 1 minute read

You can use git on a VFAT disk (for example, a USB key) without all of the annoying mode issues, by using the following setting in .git/config:

Sour chewing gum

less than 1 minute read

On an online board, friends posted a photo from a party a while back, as I'm chewing some extra-sour chewing gum:

All hail the cow!

less than 1 minute read

Silly post about a cow called Paradox.

Back to Top ↑

android

Developing TransportDroidIL for Android

2 minute read

Here are a few words on developing TransportDroidIL, a small utility to query Israeli public transportation sites more easily using an Android phone.

Transport Droid IL

less than 1 minute read

After a couple of days' messing with it, I'm releasing it: Transport Droid IL! It's a handy little app for querying Egged's site, as well as the new Ministry...

Android

3 minute read

I've finally gotten the chance to get one of those newfangled Android phones.

Back to Top ↑

phones

SMS and why it annoys me

3 minute read

Don't get me wrong. I love being able to communicate textually with friends, coworkers and family. It's ideal for a noisy pub; a somewhat-private conversatio...

Android

3 minute read

I've finally gotten the chance to get one of those newfangled Android phones.

Broken phone screen - data rescue

1 minute read

Last weekend I broke my Nokia 6120's screen. I have a military phone, which is far cheaper, so I've decided to keep it offline. However, being the sentimenta...

Whatever happened to black & white LCDs?

1 minute read

I had a Game Boy once. I could play it just about anywhere, and battery life - for the time - was great. I lost it at one point, and replaced it with a Game ...

Back to Top ↑

security

Security project

less than 1 minute read

This site gets indexed by the almighty google. This link is part of a security project I'm doing for my CS degree.

Why Vista worries me

3 minute read

I've heard the latest Security Now, regarding the debate between Dave Marsh and Peter Guttman on DRM in Windows Vista. While a few good points were made, the...

I know where waldo is

less than 1 minute read

Well, penny knows. But I have proof she knows...

Back to Top ↑

ttime

Tracking TTime

less than 1 minute read

Ditz was lost in the mists of time, and I guess if ttime were maintained, issues would be tracked using Github.

Been working on TTime

less than 1 minute read

I've found myself working on TTime, the Technion Timetable Scheduler, quite a bit lately. Lots of cool stuff went in:

Scheduling

less than 1 minute read

So, I see I forgot to post my schedule for this semester...

Back to Top ↑

ruby

Delegating methods in Ruby

1 minute read

Sometimes, when constructing a compound object, we are interested in exporting functionality while retaining encapsulation. For example, suppose we have a Se...

Gettext oddities with Ruby

less than 1 minute read

I was having a lot of trouble with gettext in Ruby, mostly due to lacking documentation. Here are some useful things I figured out while writing TTime. I end...

Back to Top ↑

TransportDroidIL

Developing TransportDroidIL for Android

2 minute read

Here are a few words on developing TransportDroidIL, a small utility to query Israeli public transportation sites more easily using an Android phone.

Transport Droid IL

less than 1 minute read

After a couple of days' messing with it, I'm releasing it: Transport Droid IL! It's a handy little app for querying Egged's site, as well as the new Ministry...

Back to Top ↑

testing

FakeFile

less than 1 minute read

A tiny python library for faking out filesystem operations for tests.

Asserting string equality

3 minute read

When comparing long strings in unit tests, make sure your assertion failures give you useful output.

Test-driven procrastination

2 minute read

How being lazy and procrastinating led me to adopt test-driven development before I realized it.

Back to Top ↑

git-while-you-sit

Git While You Sit 3 - "Rename" edge cases

1 minute read

Sometimes, git does something unexpected while merging or rebasing. It might seem like git misunderstood a rename, but it's far more likely that git did the ...

Back to Top ↑

c

Multiple library versions

3 minute read

Working with vendor code in C can get very tricky, especially when you except breaking changes to occur. Especially when you have multiple binaries depending...

Faster Languages

2 minute read

Due to an exercise in an AI course, I'm forced to confront an old nemesis - C++. Part of the reason is that the exercise contains a time-limited tournament, ...

Back to Top ↑

from-wordpress

Back to Top ↑

natural language processing

Translationese

3 minute read

As part of my M.Sc. studies, I've recently completed a small laboratory project in natural language processing. I've learned quite a bit from it, and had a c...

Back to Top ↑