Category Archives: computers

How to get a low-numbered username for your kid in the SF public library online system

The San Francisco Public Library has a few special features for accounts for kids. Probably the most notable is that there are no overdue fines. Your kid can take out as many Curious George books as he can carry, and if he doesn’t finish them all by the due date (or they get misplaced under […]
Posted in computers | Tagged , , , , | Leave a comment

How to display the date on the OS X lock screen

Today, my wife asked if I could have the lock screen on my OS X workstation at home display the date, so she could easily see the date, without logging in. This is the screen that is shown when you are logged in, but the screensaver is locked. By default, it displays the logged-in user’s […]
Posted in computers | Tagged , | Leave a comment

sbt-git-stamp released

I finally published a simple sbt plugin: sbt-git-stamp, which I had written long ago, and every now and then, someone would find the code and ask about it. This is a little project I created in 20% time at work, and it enables you to include some basic information about the state of the Git […]
Posted in computers | Tagged , | Leave a comment

Injecting connection information into Typesafe Slick at the last possible point

Often when designing a database-driven application, you will want flexibility as to which database you want to connect to. You will certainly want different databases for production, test, and development environments. You might even want different database engines for different environments. For example, you might use an H2 database in your local development environment, and Postgres […]
Posted in computers | Tagged , | Leave a comment

FIBS: Functional interface for Interactive Brokers for Scala

Announcing a small side project I have been hacking on: a Scala wrapper library for the Interactive Brokers TWS API.  The TWS API uses a message-passing design, where you pass a message asking for a quote, for instance, and then you get a series of messages back, making up that quote.  It is up to […]
Posted in computers | Tagged , , , , | 3 Comments

Accessing Erased Type Parameter Information in Scala

One of the things holding scala back from being a more robust language is the fact that it runs on the JVM. (On the other hand, this is also one of its strengths–you can easily interoperate with existing Java code and libraries, as well as any other code that runs ont he JVM, like Groovy […]
Posted in computers | Tagged , , , | 1 Comment

Mapping site should be faster now

Over the past few weeks, I have been noticing that the site I created to allow users to plot multiple addresses on Google Maps would sometimes become very slow when a lot of people are using it. So, I started to investigate the cause. (I am going to split this post into two sections, the […]
Also posted in gmaps.kaeding.name | Tagged , , , | 32 Comments