Google engineers metup (+bonus)
Tuesday October 18th, 2011 - 11:51 PM | 0 responses | Jacek Królikowski
This thursday, in the lecture hall of the Biology Departament of University of Warsaw, Google organized a meetup with their engineers, celebrating the official launch of their new office in Warsaw. The event started with Joshua Bloch’s, lecture, which was a treat for the attendees, most of whom were MIM UW students, almost filling the room.
Joshua presented code snippets that don’t do what you might expect them to, by invoking constructs that may lead to unforseen behavior. Majority of those constructs weren’t Java-exclusive and could have been presented in C++ or even python. The well known issues were covered, e.g. String comparison, operator precedence, working with floating-point variables, implicit conversion. But there also were topics I haven’t ever thought about, like regular expressions that match same patterns but differ hugely in their efficiency.
It wouldn’t be right for me to try to recreate his lecture, especially that all the “puzzlers” that were presented are also covered in Joshua’s book, which he kept shamelessly plugging;) I’d just like to give you an example of a sick, twisted piece of code you aren’t likely to encounter in real life situation, but you might as well learn from it. Here is the last puzzler of the lecture Read more
laptop monitoring – the aftermath
Tuesday October 4th, 2011 - 12:39 AM | 0 responses | Jacek Królikowski
Some time ago I described a script you could use to see who’s using your laptop when you’re not around. I sadly (?) didn’t catch any robbers using it, but the whole setup already took nearly 4000 photos, some of which might be a little interesting:
I’ve got a series or two of one person sitting in front of the computer for quite some time and I could use it to create a timelapse similar to those I made using my crude blackberry app, but on the other hand maybe I shouldn’t be picking on my friends…
the blog is almost done
Saturday October 1st, 2011 - 03:56 PM | 0 responses | Jacek Królikowski
Despite the fact I’ve been planning this for quite some time and the wordpress itself has been installed on my server over a year ago, just last week the dire need for a proper e-mail address made me buy the domain and begin filling in the missing parts. In the following week this very monument of self-love should be completed using the notes I already have somewhere on my disk, however today is the day we have been officially indexed by google.
Making sure this blog’s contents match its name, some of the interface remains to be translated well and will be, perhaps for quite some time, almost done ;)
Next top coder – wallpaper
Wednesday September 21st, 2011 - 11:24 PM | 2 responses | Jacek Królikowski
I was talking to a friend of mine and we came up with the idea of “America’s next top model” and Top Coder crossover. The “top model” shows are slowly losing their popularity, but our idea is still scary on the wallpaper of my desktop, motivating me to hard work:
Half of the idea and whole design is courtesy of Jakub Rostkowski, and the wallpaper comes in three different sizes:
1440×900, 1600×1200, 1920×1200
defensive photobooth
Sunday April 24th, 2011 - 11:58 PM | 0 responses | Jacek Królikowski
English: Some time ago, inspired by…
…also known as the “Do not fuck with a hacker’s machine” clip, and the fact I started using Debian exclusively on my netbook, I decided to make preparations in advance for a dire situation in which my laptop is stolen/captured by insurgents, and retrieve it easier or even play a prank on them. These were my postulates:
Copying files to multiple USB keys…
Friday May 28th, 2010 - 12:50 AM | 0 responses | Jacek Królikowski
…anotherwords about the usefulness of Batch. Recently my girlfriend fiancée was handed the task of copying the same set of files to 1500 different USB keys – an unpleasantly mindless task. To make it a little more convenient for her I wrote a simple script that does it all except for plugging and unplugging the drives ;)
Writing it in i.e. bash shouldn’t be a problem to anybody, but since they use mostly windows in corporations and I wouldn’t want to force anyone to install cygwin, I created the following .bat file:











