Craig Sanders: point 4
see point #4 of this .
words of wisdom.
Syndicated from Craig Sanders' Errata: Miscellaneous Thoughts
point 4
This morning, at Zurich airport, I was greeted by massive
banners saying:
We welcome the fans of the future European champion
Does this mean that Switzerland won t be champion, or that Swiss
fans generally arrive by plane?
Bloody football championships! I still have 6 days in which I
don t have plans outside of the country. Help!
NP:
Gazpacho: Firebird
Dear all: I am not interested in social networking sites. Please
don t give them my email address for their invitation letters and
email address database.
In general, don t give them anyone s address without the
person s consent. You never know what kind of abuse might happen
with the addresses they collect.
NP:
Gazpacho: Bravo
Since I didn't find a similar tool for Linux, I've hacked together a tiny tool
to do BPM counting. The usual stuff: tap any key with the music to get a BPM
estimation. There is no music analysis done.
To achieve better results, my tool uses an exponentially weighted average. It
also computes a confidence interval. So if the song changes tempo (and quite
some jazz songs do) or doesn't keep the tempo constantly (live music with human
drummers often shows some tempo drift. It's just the drum computers that keep
their speed very well...) - the tool can handle that quite well, while also
not being overly sensitive to tapping errors (as you can see in the image).I figure there might be even better estimation tricks (e.g. doing some error
detection and removing them), but this one was just very simple to implement.
And by looking at the graph and the error interval it's quite easy to check
that you didn't any recent mistakes and the result is okay.The Python code is about 158 lines SLOC, and a small UI description generated
with Glade. It's built with PyGTK and uses Cairo for the plots, so it should be
very platform independant and even run on Windows.Download will be available sometime when I get around to clean it up a little.
There is for example still the code in there to compute plain averages, which
can't handle songs with multiple tempos at all.[Update: it now also has a tiny 'flasher' icon that will show you the current
tempo estimation. This is great for checking the quality of the result - if it
keeps on flashing in sync with the music after you've stopped tapping, it's
good. I was also pointed to GNU GTick
which is a full featured metronome application and also has a tap button.]
I like high gas prices, though. I want the prices to go much higher.
Every time the prices go up, there are more cyclists on the road, and
the air gets a bit clearer.
If it were $10/litre, then almost noone would drive. We'd all be on
bicycles. Then it we be so much safer to be on a bike.
I can't wait for the day.
deb file:/home/ftp/debian unstable main contrib non-free deb file:/home/ftp/debian-multimedia/ unstable mainWith a file URL, apt-get doesn’t need to download any packages, and thus doesn’t need to cache anything in /var/cache/apt/archives. No need to keep it empty, it just is empty. In a related post, Andrew Pollock suggests adding DPkg::Post-Invoke “apt-get clean”; ; to /etc/apt/apt.conf. That would be fine if you ONLY ever ran “apt-get update ; apt-get dist-upgrade”. It’s not fine if you run “apt-get -d” to download packages first, then install a few packages with “apt-get install package”, and then run “apt-get dist-upgrade”. If you try that, then the DPKG::Post-Invoke rule will clean out /var/cache/apt/archives when you install the individual package(s). When you then run the dist-upgrade, apt-get will have to download all the packages again. Better just to get into the habit of running apt-get clean or autoclean occasionally when you want to reclaim some disk space. Syndicated from Craig Sanders' Errata: Miscellaneous Thoughts Keeping apt archives empty…or not.
me: so, where are you guys? someone: Italy, and you? me: Oregon, but, no, seriously, where are you? someone: Italy! me: Seriously?!It was a very concrete demonstration of the fact, that, thanks to this new thing, I could talk to people all over the world, for free! Of course I've grown used to this, and take for granted that I can call my parents in Oregon via Skype for free, and a lot of other cool things, but once in a while something makes me take a step back and say "cool!". Most recently, a web site I follow that I follow has had an interesting back and forth between Paul Graham and David Heinemeier Hansson, with additional comments by the likes of Paul Buchheit, which, agree or disagree with their modus operandi, is an impressive cast of characters to be able to interact with, and learn from, without moving from my perch up here in the middle of the Tyrolean Alps.
A few news from the campaign of NMU's targeted at bringing po-debconf
translation ratio as high as possible for as many languages as
possible (and also improve packaging quality quite significantly on many loosely maintained packages).
Last week, eight pounds of Perl books arrived at my doorstep, courtesy of deciding to work for Best Practical this upcoming summer. They’re cool people, very free software friendly, and conveniently located in Davis Square. They are also the makers of RT among other things, which Debian uses for a variety of purposes. It should be a good time. (No, I probably won’t actually be hacking on RT, but exactly what I’ll be working on is as yet undetermined.)
Speaking of the summer, I have a vague plan to make a West-coast visit for a week or so at some point. I’ll be hitting at least Seattle and San Francisco; if you’re around either of these areas or possibly even somewhere in between and would like to hang out, drop me a line in comments or via email.
Well I did not expect that much when MySQL offered us to piggyback on
their participation in GSoC 2008, but at the end we have two projects.
One is about blobstreaming which I absolutely don't know and is probably
some amazing new technology :-). Marc will act as a sponsor on this
together with some guys from http://www.blobstreaming.org.
The second project is setup rewrite where I will act as a mentor and
Piotr Przybylski will implement it. Hopefully we will bring this to
successful end and soon phpMyAdmin will bring you easier way to set up
and configure it's options.
RULES = [ ‘days’:14, ‘interval’:0 , ‘days’:31, ‘interval’:1 , ‘days’:365, ‘interval’:31 , ‘days’:3650, ‘interval’:365 , ]That means we now keep all files from the last 14 days. Then keep one per week. Then one per month and finally one per year for up to ten years. All the rest gets deleted. Space usage of our dumps now: 4.8Gb. Thats 66Gb gained. Source is in dak bzr if you want it, MIT licensed. If you improvie it further I love to see patches.
When I code, one of the tools I use which I like the most is GNU screen. My current project involves the editing of a bunch of different source files, and often jumping frequently between them. I was spawning windows and trying to edit files that I had already opened in a previous screen, and often ending up with a bunch of windows with files I wasn’t using much at the time.
So I did some research on how to optimize use of vim and screen together. The first thing I came up with was getting screen to display a nice bar at the bottom by adding this to my .screenrc: (Thanks, Red Hat Magazine!)
hardstatus alwayslastline
hardstatus string '% = kG [ % G %H % g ][%= % = kw %?%-Lw%?% r (% W %n*%f %t%?(%u)%?% r )% w %?%+Lw%?%?%= % g ][% B %Y-%m-%d % W %c % g ]'
This gives you a neat and coloured (mmmm… colours…) status bar at the bottom of your screen display, including some info on whether other terminals are attached to that window and such.
One thing which would vastly improve the usefulness of this would be if I could get vim to set the screen window title. The escape sequence for doing this is the same as for other terminals, but vim’s terminal information database does not include the relevant entry for the “screen” termtype. So (with help from “frogonwheels” and “godlygeek” in #vim) I put an entry in my .vimrc specifying the escape codes for setting screen’s window title. In addition, I abbreviated the window title string to contain only the file. Here is the relevant snippet from my .vimrc:
if $TERM=='screen'
exe "set title titlestring=vim:%f"
exe "set title t_ts=\<ESC>k t_fs=\<ESC>\\"
endif
A casual glance at my school grades chart will immediately reveal that I am not a structured learner; I’m not the type of user who will, when adopting a tool, begin by reading the manuals. I’m more of a gradual, ad-hoc learner, and I tend to prefer to stick to the defaults whenever possible. Since vim and screen are probably my primary tools for doing work, I should probably do some more research on things like this.
These suggestions may be somewhat trivial, but I’ve found them to be quite useful, so I thought it might be useful to someone. Please leave a comment if it was, or if you have any comments (duh!) or suggestions.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
13904 snmp 15 0 856m 837m 2268 S 0 64.2 0:13.02 snmpd
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3279 snmp 16 0 8064 1668 912 S 0.0 0.3 33:11.93 snmpd
...is just not enough time to see the place properly.
I took Friday and Monday off, and Thursday night a week ago, Sarah and I
flew down to San Diego for a bit of a "Yay, we've achieved normality"
escape.
We'd intended to go to SeaWorld on Friday, vege out for two days, go to San
Diego Zoo on Monday, then fly home on Monday night.
Well we did SeaWorld and the zoo as planned, but lazing around the pool
never happened, we ended up running ourselves ragged exploring San Diego all
day Saturday and Sunday instead.
We stayed at The Dana on Mission Bay,
which we picked because it was the closest to SeaWorld. The accommodation
was more like a motel than a hotel. There were numerous two-storey buildings
across a fairly sprawling area. It had frontage onto what I presume was
Mission Bay, and also had a Marina attached to it, so the outlook was quite
nice. It also had free WiFi, so we could upload photos throughout the stay.
The food offerings were pretty good, and reasonably priced as well.
SeaWorld was really good. It's been a long time since I've been to the
Australian equivalent,
but I don't remember it as being as interactive. San Diego's SeaWorld had a
Bay Ray feeding area, where you could purchase food (small whole fish), and
hand-feed the Bat Rays. That was pretty cool. It took a bit of a courage to
leave your hand in the water, palm up, with something the size of sardine
dangling between your fingers and let these huge rays literally swim right
over your hand so they could suck the fish from between your fingers.
There was also a dolphin feeding area, where you could purchase some small
fish again, and give the dolphins a pat on the head and then throw them a
fish. I really love dolphins, and one day I'd like to be able to swim with
them.
The main attraction of SeaWorld is the various shows that they do. I think
we caught all of the different ones. The killer whales are just amazing.
There were a few different programs where for an additional fee, you could
swim with various animals. Dolphins and Beluga whales seemed to be the ones
we noticed in particular.
There were a few oddities, though:
The park is owned by a beer company, so there was a part where you could go
and get free samples. Two per person per day (I think on the honour system).
At least at the food outlet where we bought lunch (they don't allow you to
bring in any food or drink from the outside "for the safety of the animals",
so they have a nice monopoly on catering) every kid's meal came in a
commemorative Shamu blue plastic lunch pail - whether you wanted it or not.
There were two empty ones left on the table that Sarah and I sat down at.
The lady cleaning up the tables asked us if we wanted them, and we said no,
and she promptly chucked them out with the trash. This just struck me as a
terrible waste. They obviously cost money and energy to produce, and they're
just going to end up in landfill. They could have been washed and reused
instead. I felt this was very hypocritical for a park that was trying to
send people away with a message about conservation.
Other than this nitpick, I thought SeaWorld was really great. It was a good
size, and it was doable in one day, in their normal opening hours. I guess
it'd be a bit slower with kids. Photos from the day are here.
The next two days we spent exploring San Diego. The hotel was conveniently
located on an MTS loop,
which ran surprising frequently for a weekend (at least compared to public
transit in the Bay Area), so we bought day passes on Saturday and Sunday and
used it to get to the Old Town transit centre.
On Saturday we explored Old Town, which was a historic preservation of how
San Diego looked "back in the day". In the afternoon, we also bought
48-hour tickets for the red double-decker
"hop on, hop off" tour bus, and did one of the two loops that it
offered.
The next day, we caught the loop in the opposite direction, and checked out
Mission Beach, which was probably the best beach I've seen in California so
far (although the water was still far too cold), saw some pretty cool
alternative accommodation
(possibly for next time), and did part of the other loop on the tour bus,
getting off at the USS Midway. This
massive retired aircraft carrier is permanently moored at San Diego, and for
a fee, you can crawl all over most of it. It was very interesting, and gave
a good insight into the life of a sailor. We blew a good 4 hours or so here,
and ran out of time to see the entire thing (we didn't make it onto the
"island" part of the ship, which we were a bit bummed about).
We then caught the trolley back to Old Town, and grabbed a beer at a pub
that sold it by the yard glass and half yard glass. We opted for the half
yard glass, since the full yard glass seemed a bit unwieldly, and we thought
it looked like a hell of a lot of beer, but the half yard glass, whilst also
looking like a lot of beer, was only about one and a half pints.
We then grabbed some dinner at one of the very authentic looking Mexican
restaurants (they had women out the front, almost on the sidewalk making
fresh tortillas on the spot) and headed back home. Photos from our
exploration are here.
On the last day, we went to the San Diego Zoo (which every time I
read the URL for, I read it as "Sandie go Zoo!").
This zoo is purportedly the best zoo in the country, but it really didn't
blow my socks off. We seemed to have a really hard time navigating the
place, and spent a lot of the day walking around in circles trying to find
various exhibits. It's also in a bit of a valley, so the circles tended to
be up and down hills, which was tiring. I really don't think we were very
efficient at all in our coverage of the place.
The other thing that I personally found annoying was the cages. The wire was
very close together, which made it really hard to take photos, because the
camera would keep focusing on the wire, instead of what was behind it. I
guess this is why God invented manual focus, but that made it very hard to
photograph big cats stalking their cages. The photos we did manage to get
are here.
Overall, we had a great time in San Diego, and it seems we didn't really
scratch the surface. I'd like to go back again and see Balboa Park, the Gaslamp district, and
I thought there were more naval vessels that you could look at, but I might
be mistaken.
Definitely a very nice city.
I m a person who isn t satisfied with a lot of things. This both affects me and helps me on several circumstances in life, such it is.
The latter also affects my way to deal with mail, mail serving and MUAs. For years, I was a strong Novell Evolution user, mainly because it was quite easy to use, it was pretty and it used to understand the needs that people like me, involved in a lot of things (some of the worthwhile, some of them shitty), required. But in the last couple of years, it began to bloat, to handle connections Bayesian filters and SpamAssassin in a way that was utterly broken and decomposed.
I took a break years ago, and tried Mutt, as many free software folks and Debian developers use them on a daily basis to deal with even more incoming mail. I actually liked it, but I was just unable to deal with spam too. My local config was probably broken, fixing it was an obscure fart of Benedict XVI and hidden folders for mailing lists were just a way to forget that I actually was subscribed to mailing lists and focused only on the incoming mail on the inbox.
I then tried KMail, since I started usign KDE. It was good enough for it was sometimes slow when trying to load or search on about 100 000 mails and it just didn t fulfill me. I also tried Thunderbird which only made me hate its very closed format to display its ugly UI. Besides, a lot of things on it were getting my angry, like the message filters, etc.
So I just didn t give a damn and moved my whole personal mail accounts to Google Apps, giving an opportunity to a totally different approach on mail handling. So I started using the Web interface of GMail. At first I was shocked watching me dealing with a Webmail but after a while I started getting used to it and liking it. Its way to put all conversations threaded on a central inbox was sweet (i was able to filter, tag and take out of inbox too). So I liked it. Some things have never liked me whatsoever: It will always use your default mail address to reply to all messages, even if they are delivered to another recipient, which I consider retarded; its way to let users to top-post, etc, (you should also see how debian-private is seen on GMail and how the google sponsored links propose products based on all its threads xD). The good thing here also was that while not being a total purist, I loved that most spam has automatically handled for me, oh thank Lord I m a lazy bastard.
Then I found Sup, which I think is like GMail but on mutt. It is written in Ruby and distributed as a gem (I d prefer it to be in C/C++, but I ll always give the benefit of doubt). Its main feature? A console mail client featuring GMail s features, such as, one inbox, one big archive and labels all over the place, which is exactly what I was (probably) looking for. As the time of writing,Sup can only connect to IMAPs remote servers or read a number of local file formats. So, I undusted fetchmail and set it up. Since all my mail accounts now are forwarded to the main GMail account, I only need to handle one fetchmail config to get messages with POP (and some procmail recipes salting touch).
Here comes the sweetest thing from all this setup, by enabling GMail s POP support, you can also specify if you want it to delete the GMail copy or store it. Since I ve used 2% of all my storage, the best thing to do right now is to store and archive, which means that while i download all my email everyday and several times a day, all downloaded copies are also being stored on GMail, so in case I don t have access to my machine, I can still find messages on the web interface. GMail also works nicely when you are sending an email from your remote mail client and using GMail s SMTP, then also the mail you are sending gets stored on your GMail web interface, which is totally cool.
So I think I m mildly content now with what I have. This also leads me to another awesome feature for me: Spam gets processed by GMail before I fetch it, so most of my downloaded POP mail is ham. In case I want to see some spam, the web interface will have it as usual for 30 days before being deleted.
I like to improve my time for productivity, to get more things done in less time, I do like learning about it, and the proof of concept for GMail handling being used by Sup and the free facilities that Google offers to dudes like me is just a great of avoiding procrastination. It s a hell nice bag of features for me, and probably for you, why not try it?
So, I'm really getting into the podcasts lately. I got myself a personal music player (one of these) in winter, and I've been using it to listen to podcasts while I run.
Earideas has been a huge help in finding new podcasts to listen to. I've kind of graduated from the best of earideas feed, which covers a wide variety of podcasts, and I'm trying to dig into things that really matter to me.
Three things in particular, of course: wine, parenting, and Open Source/Open Content. I've found a good number of podcasts on the first two subjects, but only a few on the last. Right now I listen to:
Some come, others kind of go.Next.