if s[:1] == c: is slightly faster than if s and s[0] == c:. And if v: is slightly faster than if v is not None: if v could be 0, “”, or (), the false immutables (this one surprised me less after some thought, but it’s still easy to forget when is is otherwise faster).
I have never once written anything using Qt. Why not? I have no real dislike of the toolkit, license, or implementation language. It just hasn’t ever been necessary or appropriate for me to use it. Generally speaking I only dabble with coding online applications in Perl/PHP (Perl is my preference, sometimes I get suckered into using PHP). Any software which I’ve needed to write with a GUI usually ends up being coded using the raw X11 libraries (xlib, etc). A few times I’ve needed to have something be stable, sharable, and GUI-driven and xlib didn’t cut it I’ve chosen to use the GTK libraries. Mostly that has been down to three reasons:Right now I’ve written that I shall go back to shaving my head. To make me look more like my avatar.I’m sure that sometime in the future I will experiment with Qt, and possibly even install KDE to try it out. But it won’t be soon. (I think that desktop environments are a good thing, and can be attractive, productive, and useful. However I’ve only used Gnome briefly and tend to stick with the more lightweight IceWM environment). Once upon a time I did install and tinker with KDevelop, but nothing much came of it. When I lost my desktop machine due to hardware failure I didn’t feel the need to re-install it. Instead I stuck to using GNU Emacs + Vim for editing code.
- Finding small examples of code is very simple; as it is well-used.
- By contrast many Qt applications are larger pieces of code. Finding examples using the functions you’re interested in is harder.
- I love C++, but generally I develop in Perl, or C.
- I don’t have to worry about the moc preprocessor, writing Makefiles, etc.
I broke my debian administration website yesterday. Predictably enough I’d woken up around 9AM and thought that it would be a good time to make significant refactering changes. Tested them on my laptop, committed them to CVS, then updated the live site. Had a quick play to make sure nothing had obviously broken - but didn’t try to leave a comment on an article. Went to sleep and woke up around 4pm to find 15 emails telling me things were broken. Most mails on the site in a single day! Should be fixed now. But I’ll never again make changes before lunchtime, I’m just not good with the whole sleepy-coding thing.Things I have never coded: 1
Inspired by Joey Hess’s “Ten years of free software”. Things I have never coded part 1. I have never coded a text editor. *shock* In the past I have written simple wrappers around the various text controls in different environments - for example under Windows I once coded a tabbed text editor called MyNotepad, which featured a novel dockable tree-control to the side which allowed navigation and loading of files easily. When I first started working with Java I coded a similar thing, but with the ability to load external Java .class files as plugins. This editor was called Rosetta, inspired by the band Rosetta Stone (who were in turn inspired by the actual Rosetta stone ) At times I think about text editors. I use them daily, obviously, and I love working with some more than others. My editor is usually GNU Emacs but I’m also partial to Vim. I will use both happily; although neither is pleasant without my personal customizations. Simple text editors are a traditional project for coders, and freshmeat is littered with their discared corpses. Probably the only reason I’ve not started - that and apathy. My ideal editor would be:
- Both curses and x11 based.
- Scriptable (Lua is love?)
- Extensible.
- Portable between (at least) GNU/Linux and Solaris.
- Modeless.
First there was Debian Planet then along came the Planet Debian, unfortunate naming collision, but something we could mostly get used to and understand. If you’re not confused yet: well done. You soon will be: Guess which site that is? A third completely new name comprised of the two words “Debian” & “Planet”. WTF? Think that was fun? Lets try again. Stick with me: First there was Debian Help - now there’s another new site which is comprised of the two words “Debian” & “Help”: *Ugh* Now I’m personally of the opinion that competition is a good thing, but please people - can we all just get along without confusing our users/visitors? I’ll sidestep the whole trademark issue, in case my site is in trouble too![]()
Randomly clicking around Advogato today I accidently tried to login. Rather than seeing “Person not Found” which is all I’ve seen since my account(s) were removed I now get “incorrect password”. It looks like my primary, and replacement accounts at Advogato are back. At the time those accounts were removed I setup this blog so that I could still remain syndicated upon Planet Debian. It would be nice to have the Advogato account(s) back, but I could live without them. (Indeed mailing Raph at his acm.org address bounced so I may will have to)Syndication
For my own notes. This blog appears at:Stalker-tastic. Of course my daily life goes entirely elsewhere - but that contains rudeness, angst, & etc. As you would expect from LiveJournal
- Planet Debian.
- Planet Hants Lug
- The Hampshire Linux User Group - ironically i live in Edinburgh and should be more affiliated with Edlug…
- Planet Former Advogato
- A planet syndicating people who “moved on” from Advogato.
![]()

The skyline of South Manhattan
We walked over the Brooklyn bridge, giving me other very cool views of
Manhattan, while I hammered Clint with questions about this and that. I saw
that since 9/11, you can't go past the Town Hall. "Security reasons", of
course. I was very surprised to see police cars in every single street. It's
like a Police State, and if you ask me, it didn't make me feel safer.
After some walk, we finally got in Chinatown, which is the craziest place
ever. People sell stuff on the sidewalks, and many streets are packed with
people. We had to meet with mikah, biella, dilinger and his cat at some Chinese
place for breakfast/lunch. The place, as Chinatown itself, was crazy. As soon
as we sat down a few waitresses landed a few plates on the table, without
asking or anything. A few minutes later I could see that the way they serve you
is going around with carts with lost of food, and you either want it or
not.
We left dilinger at the metro station, and moved on to the SoHo. I wanted to
go to the SoHo Apple Store to see if they knew about replacement Spanish
keyboards for my Powerbook. My powerbook was bought in the US last year, so it
has a US keyboard. This is mostly ok, but only mostly as it's missing a
key.
After SoHo, we went back to Chinatown to pick up bubbles. It was nice to see
her after Debconf, and she made the effort to come just for a few hours even if
she was ill and had lots to do in Philly. We headed to South Street Port, where
I had a long chat about Cuba with micah while we sat on a bench looking at
Brooklyn bridge.
And then, we gathered all our braveness and headed to the heart of the
beast, to the kernel of the system. We walked into the Financial District, and
soon enough I was walking in Wall Street no less. If I breathed hard, I could
smell the money. The road was paved in gold, and there were skyscrapers
everywhere. I discovered the rulers of this world had opened a "public space"
in JP Morgan's building. To their despair, probably, it had been taken over by
the poor. I wonder what Bloomberg will do about it.
As I walked up the street, a strange feeling in my heart grew and grew,
until, behind a corner, I saw it. The source of all evil was ahead of me,
guarded by George Washington himself.

The New York Stock exchange and it's black evil aura of Capitalism
I was standing ahead of this building where so many people behave like
bastards everyday, pushing millions to povery for a bit more profit margin. The
doors were closed and surrounded by security officers, which despite being
asked politely, didn't let us in for "security reasons".
Next to it was the Church of Capitalism, at the end of the street. It's
curious that such an old church still stands where it was build near the
harbour probably a century ago, now surrounded by some of the most modern and
tallest buildings in the planet. And then, we visited the bull, which I didn't
know is the "friendly" symbol of how Capitalism works.

I had Capitalism by the balls
We moved down to Battery Square, past the old US Customs building with the
four statues representing the four continents. We saw the damaged sculpture
which lived in the WTC, and sat down at the pier to watch a beautiful sunset
over the Statue of Liberty.

The Statue of Liberty seen from South Manhattan
At that point, biella and micah had to meet some friends at one cinema to
see the Wal-Mart documentary. We went to a funky place to have some tea,
decided to go see Times Square and then walk to Central Park. At the time, mako
was arriving to NYC on the Chinatown bus, so we agreed to meet in a restaurant
to have lunch. Paul Sladen finally managed to get lost, after many tries during
the day, and wasn't seen until we got back home.
Mako and Mika waited for us at the door of an... ethiopian restaurant in the
SoHo, despite Mako knows I can't stand spicy food. But in the end it wasn't so
bad, I just needed a few more glasses of water than average. And I finally got
to know mika, after lots of time of chatting over IRC. Greg, SPI's lawyer, also
appeared, and was a nice addition to the group.
Mako knew where to take us after that. The Belgian bar was packed, but there
was a private party in one of the spaces and we took over some of that space.
After a few rounds, we were ready to leave the pub and go for Falafel and some
tea. I was terribly falling asleep though, so instead of tea we took a cap back
to Brooklyn, where we found Paul waiting at the door.
After an hour of inflating a mattress, we were ready for sleep, at 4AM. It
didn't look like the morning after would be very productive...
Of course, the new program does not solve the exercise as specified, so I had
to back out the change (I did leave a note about it in the comments).
The program remains private until the exercise sessions next week.
I have never once written anything using Qt. Why not? I have no real dislike of the toolkit, license, or implementation language. It just hasn’t ever been necessary or appropriate for me to use it. Generally speaking I only dabble with coding online applications in Perl/PHP (Perl is my preference, sometimes I get suckered into using PHP). Any software which I’ve needed to write with a GUI usually ends up being coded using the raw X11 libraries (xlib, etc). A few times I’ve needed to have something be stable, sharable, and GUI-driven and xlib didn’t cut it I’ve chosen to use the GTK libraries. Mostly that has been down to three reasons:Right now I’ve written that I shall go back to shaving my head. To make me look more like my avatar.I’m sure that sometime in the future I will experiment with Qt, and possibly even install KDE to try it out. But it won’t be soon. (I think that desktop environments are a good thing, and can be attractive, productive, and useful. However I’ve only used Gnome briefly and tend to stick with the more lightweight IceWM environment). Once upon a time I did install and tinker with KDevelop, but nothing much came of it. When I lost my desktop machine due to hardware failure I didn’t feel the need to re-install it. Instead I stuck to using GNU Emacs + Vim for editing code.
- Finding small examples of code is very simple; as it is well-used.
- By contrast many Qt applications are larger pieces of code. Finding examples using the functions you’re interested in is harder.
- I love C++, but generally I develop in Perl, or C.
- I don’t have to worry about the moc preprocessor, writing Makefiles, etc.
It seems to me the argument that linking a GPL application to a CDDL library and asserting that that somehow makes the library a derivative work of the application is, to say the least, a stretch not to mention the fact that we re talking about libc here, a library with a highly standard interface that s been implemented any number of times and, heck, that s even older than the GPL itself.It's not so much that you make the library a derivative work of the application as that you are making the application (that is, the binary
/usr/bin/dpkg or whatever you are linking) a derivative of both the
dpkg source code as well as the libc binary) and this is problematic
when the libc in question is under the CDDL and dpkg is under the GPL.
Next.