All posts by Daniel Stenberg

A Google T-Shirt

What doesn’t a man do when there’s a free t-shirt involved?

Google Summer of Code 2007 shirt

I was Google Summer of Code admin for project Rockbox, and it did result in some cool new code. As newbies this year we of course did a bunch of mistakes that we hope to get a chance to correct if we’re allowed to participate again…

I also volunteered as a mentor, but we had something like nine or ten guys stepping forward, we got a lot of students applying for various projects but in the end we were given four slots by Google so I ended up not having to mentor anyone this time.

Apparently, this involvement was good enough for me to be given a shirt, and it arrived in my mailbox today and I took a few crummy shots with my lousy camera in my phone and I thought I’d share them with you!

Google Summer of Code 2007 front print

Google Summer of Code 2007 back figure

On the backside there’s this weird face with a monster-like guy (much appreciated by my daughter!) with binary numbers in its mouth. It wouldn’t surprise me at all if the binary does mean something if we translate it to ascii… for a second or two I was about to investigate it, but then I lost my motivation and bah, why bother?!

Did anyone else check yet?

URL Encode POST Data

Several months ago I did a job down south in Sweden – it was a three hour train ride (one way, and I went down and back the same day…) with the fastest train we have in this country. It gave me some time on the train to tinker with things and I didn’t feel like bothering with the “Internet On Train” thing they so fancifully offer these days. I’m not saying that’s a bad idea, I just felt that perhaps me and my Linux laptop would have to spend too much time fighting it to get it up to really enjoy it. Instead I wrote up a patch for curl for a feature we discussed ages ago: send POST data with the command line client that gets URL encoded automatically!cURL

The idea is of course that when you write a simple shell script of some sorts and want to automate POSTs to a web site, it is somewhat complicated to url encode the strings before you pass them on to curl. curl could instead get an option that does it for you.

Fast forward to current time and now I’ve dug up the old patch again, I had a discussion on the mailing list about it and what do you know! Today I’ve posted a patch that introduces –data-urlencode, and I’m very interested in feedback or suggestions on how to polish it further and then to commit it.

Better Photos From An Angle!

Stockholm from above at a 45 degrees angleWe’ve been spoiled by nice photos from above from services like Google Maps, but here in Sweden that service never really even got close to match what Hitta.se and Eniro have offered. Google’s service is and always have been too US-centric for us Swedes.

I’ve considered Hitta to be the Swedish leader in this race, with their street level photos of buildings for addresses you search for etc, but now it seems Eniro has taken this one step further up the ladder as now they no longer only provide very detailed photos taken from above, they now also offer very cool photos taken from a 45 degrees angle!

Also, it seems the new “utsikt” photos (which translates to “view” in English) are taken closer to the ground as I can view my own house and neighborhood even closer using this service. The only downside with this service is that it is painfully slow. I can see that I get very slow transfers and my computer is idling so it can’t be much else than underpowered servers in their end!

Free-to-use compiler from TI

Texas InstrumentsTexas Instruments finally decided to release free-to-use versions for Linux of their C/C++ compiler for the c54x DSP series (for open source projects at least).

This DSP is found in TI’s TMS320 family (dreaded chips, known mostly in our communities for their total lack of public docs).

Rockbox tinyIn Rockbox terms, this exciting news opens up the possibility for easier coding for the targets that use the DM320 series, which currently is the Olympus M:Robe 500 but may include other players in the future.

For your convenience, here’s a link to the actual TI license and the 12MB tarball (hosted on my site). The tarball contains a binary that installs 86 files occupying 31MB.

The compiler and more details can be found in the Neuros blog.

Human Connections

LinkedIn logoFor fun, I created two “groups” on LinkedIn for two of the open source projects I’m perhaps the most active in. I’m not quite sure what benefit and good use we’ll get from them, but anyway they’re created and if you feel in any way related to Rockbox or curl, here are the links you can use to do a join request:

Rockbox tiny Rockbox: http://www.linkedin.com/e/gis/42081/49AF807A7908

curl tiny cURL: http://www.linkedin.com/e/gis/42082/362F5916AFF1

And a link to my public LinkedIn profile

c-ares and me

I’ve said this a few times on the c-ares mailing list, but I guess that just doesn’t reach very many people outside the very closest “family” so I decided I’d mention a blurb here. (I don’t think this reaches very many people either, but quite possibly at least a few others…)

Background

A couple of years ago, I wanted to introduce asynchronous name resolving to libcurl to better allow many simultaneous requests still being single-threaded. This venture started with me and Bjorn Reese starting the Denise project that would do exactly this. We found no proper existing alternatives with a suitable license so we started our own.

Then someone mentioned that ares is almost exactly what Denise was meant to become and it had a fine license. I immediately jumped the Denise idea and went with ares. Soon enough we found out that ares needed improvements and tweaks, and its original author didn’t seem interested in incorporation those into ares… so I created a fork named c-ares.

c-ares has since then been used by libcurl and it has been bug-fixed and improved by a bunch of skilled hackers and it works solidly and reliably. It has also been discovered and incorporated into a bunch of other softwares, including UnreadlIRCd, BZFlag, Hobbit network monitor, libevnet, Tor, gLite, aria2, sipsak, Second Life and more…

Today

I don’t normally work with any of my open source projects in my full-time job, so I need to distribute my spare time on the various projects. When my spare time gets limited, I need to cut down on the projects that I deem is least interesting or perhaps least in need of attention (from me). Recently, it has been obvious that c-ares is one of them projects that I rarely have time and energy left for at the end of the day.

Caretaker

I have no plans to “jump ship” or to abandon the project in any way, but I think it would be beneficial for the c-ares project if someone would step forward and if not “take over” the project, at least join in and help share the burden with patch applying, source code reviewing, do design decisions, reply to mailing list questions etc.

There’s no crisis, there’s no hurry, but the project won’t move forward very fast as the situation currently is.

Fresh CA Cert Bundle Anyone?

cURLThe popular ca extract service on the curl web site converts the Firefox ca certs into a PEM file suitable for use with curl, wget or anything else OpenSSL-based that likes PEM formatted CA cert bundles.

The main script was fixed yesterday as it was previously getting a nightly source code snapshot to get the “magic” file to convert from, but I noticed they stopped updating the nightly source snapshots a good while ago so the updates had stopped!

Now, the script only gets the actually needed certdata file and converts it, so now it downloads a lot less data in vain and it also thus runs much faster. Now the PEM files offered on that page are up-to-date with the most recent Firefox.