Search Results: "tim"

13 December 2007

Gunnar Wolf: Supertheory of supereverything

First time I had read the Bible
It had stroke me as unwitty
I think it may started rumor
That the Lord ain't got no humor Put me inside SSC
Let's test superstring theory
Oh yoi yoi accelerate the protons
stir it twice and then just add me, 'cause I don't read the Bible
I don't trust disciple
Even if they're made of marble
Or Canal Street bling From the maelstrom of the knowledge
Into the labyrinth of doubt
Frozed underground ocean
melting - nuking on my mind Yes give me Everything Theory
Without Nazi uniformity
My brothers are protons
My sisters are neurons
Stir it twice, it's instant family! I don't read the Bible
I don't trust disciple
Even if they're made of marble
Or Canal Street bling My brothers are protons
My sisters are neurons
Stir it twice dlja prekrastnih dam... Do you have sex maniacs
Or schizophrenics
Or astrophysicists in your family
Was my grandma anti anti
Was my grandpa bounty bounty
Hek-o-hek-o-hej-o
They ask me in embassy! 'Cause I don't read the Bible
I don't trust disciple
Even if they're made of marble
Or Canal Street bling And my grandma she was anti!
And my grandpa he was bounty!
And stir it twice
And then just add me!
Partypartypartypartypartyparty
now afterparty...
That's the Supertheory of Supereverything, by the gypsy-punk Gogol Bordello. I was really surprised to find their Super Taranta! at a local music shop. Of course, five minutes later, we were heading home with our shiny and oh-so-very-green purchase. Highly recommendable!BTW, does anybody else think that Eugene Hutz is Larry Wall's evil twin? (No, and I don't only mean it because of their choices in background colors)

12 December 2007

David Welton: Programming languages are not like hand tools

I have seen the "right tool for the job" comment one too many times, and felt like writing something about it. Real tools are pretty simple, really. Things like saws and hammers have been around for thousands of years, and don't require a great deal of thinking to understand. Some people are masters with hand tools and create wonderful works of art with them, but the tools themselves are not complex. My programming language, Hecl, is a pretty simple one in a lot of ways (it has to be, to fit on cell phones), and at last count, the core has 7670 lines in a rough count that includes comments. That entails quite a few "moving parts" compared to even something like an electric drill. Programming languages are complex. Certainly to create, but even to use well; to understand the nooks and crannies and ramifications of the language's design is not something that is accomplished in a few days for most people. Your average programmer really doesn't know all that many languages, and even those who know many probably don't use most of them on a day to day basis. I like learning new languages, yet still wouldn't relish the idea of going through the mental task-switch required to move between too many in one day. What this means, is that when there is a job to be done, most programmers will reach for what they already know, rather than the best possible system, and that makes sense. If you know Python, why not write web software in Python, if you get asked to create something for the web? Or if you know Tcl because you create gui's with Tk, you're still likely to pick it when you need to create a little server. There are reasons why something like Erlang might make for a better server platform than Tcl, but is it that much better to justify dropping everything, learning a new language, committing to a new set of infrastructure requirements, and adding another thing to ask of people joining your organization? Most likely, it is not, unless the server you're writing is for a telephony switch that has to be on all the time, in which case, yes, maybe you do need Erlang. If, as is often the case, it wasn't something that had to be the best in the world, all that extra time to learn a new language would have been mostly "wasted" (ignoring, of course, the fact that for individuals, learning new things is almost always good, but that's not what we're talking about). Even the smart folks who hack away in languages like Haskell are fond of using what it has to offer, rather than jumping ship to something else at the first hint of the "something else" being better at their language of choice for a given task. So both Tcl and Erlang were up to the task of creating a little server. You could have used Ruby or Python as well. Java might prove a bit more verbose, but it's certainly up to the task. Any number of languages would be, of course. So it's not like there is a "right tool" and a "wrong tool". Maybe a better analogy is languages are like toolboxes, or even whole workshops, full of tools. Most of them have most of the common tools like hammers and saws, some sort of web libraries or the means to create tcp/ip servers. Where they differ is in things like the amount of tools available, the specialized tools that you get for free, the craftsmanship and ease of use of the tools in the hands of both experts and beginners... or in some cases (lisp, say), some fancy tools and supplies that make it possible to build yourself some new tools if you need to (that only you know how to use, but that's another topic). Some sets of tools really aren't very good for some jobs - you don't want to build blazing fast 3-d shooter games in PHP, just as you wouldn't want to use a regular set of screwdrivers on a delicate watch. However, even though you'd want to use a toolset that also has some specialized tools for working on the watch, you'd rather own a toolbox that came with the watch tools as well as the regular Phillips screwdrivers, because those are pretty handy around the house, and it wouldn't do to have only the watch tools for fixing common household items. The point being, languages are big investments, so those that do more, even if they're not the absolute greatest or first choice for a given task, are generally going to be more useful to more people, especially those just starting out who want a "safe" choice, a language they know will let them do a variety of things, rather than only one or two things (pound nails, say) really well.

Pierre Habouzit: NM: FD is fixed

Following Lucas[1] post about NM, I used his data to create the following two nice graphs[2]. Both are the normalized datas of average count of people waiting for Front Desk, the DAM or their account. The first one does that on a 90 samples window (roughly 3 months) and the second one on a 180 samples one (roughly 6 months). 3 months smoothing 6 months smoothing This kind of smoothing actually eliminates high frequencies, hence we see what a usual behavior each step has. What is clear to me is that FD situation is clearly fixed for quite a long time. FD was definitely an issue one year ago, but it has been really really fixed: for more than a year, even on the 6-months smoothing graph that has quite a long memory, the average queue is around 3 people, I can't see how it could even be reasonably improved. Of course, given that the Keyring step is just after the DAM, and that people at those steps works in batches, the data is a bit biased, though it gives a pretty good idea of the bottlenecks of the whole process.
Notes [1] I'm a lazy bum, and don't have the energy to find the proper link to it [2] gnuplot is a real horror, isn't there any kind of GUI for that ?

Francesco P. Lovergine: Beamers

I ask myself again and again: why it is always a challenge using a laptop with a beamer? It is not rocket science, but I always find problems due to lack of sync with certain beamers and certain laptops combinations. If you are lucky, you can see an image, but probably some parts of the screen (and of your slides) are invisible. It happens also under Windows, but it happens too many times under Linux.
Lately, I'm finding difficult to use my Thinkpad X31 under that respect, even if I always managed to use it without great issues until some months ago. Does it need a macumba before use?

Holger Levsen: third awesome blog post

And hopefully my last :-)

I've decided I'll stay with awesome and not go back to ion3. True, it doesn't fully support xrandr, but so does ion. And it's on the roadmap for awesome 2.1, so I figured I will probably switch between two screens and only one maybe ten times or so, until the feature is there. And, adding and removing screens is a PITA with ion as well.

The second missing feature is a panel or the ability to run docker, but then, I only use this to run nm-applet. My current workaround is to run xfce4-panel in tab9 and run nm-applet there. Looks a bit ugly, but hey, it's tab9, I don't care (for the time being).

Besides those two issues I'm really happy. It's fast, it's slick, it doesn't get in the way, floating mode rocks, switching between modes rocks, the default keyboard shortcuts make sense and I use the mouse less often. Plus the author is a nice fellow. And by now it even got documentation!

Oh, another issue: The cat is gone. That's totally unacceptable. Therefore I propose to fork awesome and bring back the cat and call the fork TWMFKAA ;-)

Adrian von Bidder: Hardware sucks

Specifically, Wifi. Connecting an ipw2200 to a rt2400 in ad hoc mode turns out to only work with 40 bit WEP or unencrypted, and then only with bit rates that remind me of analog modems (as I write this over an assh connection, the cursor lags several characters. Nominally, the connection is 11Mbps, but as soon as there's a bit of traffic, it drops to 5.5Mbps, and the actual data transferred is always at the 4kBps level. Hmm. Fun, now the WiFi suddenly decided to drop to 2Mbps, and it seems that I actually have 2Mbps, so probably I should hardwire it at this setting. Of course I didn't expect the rt2400 to magically acquire WPA capabilities, but I'd at least expect the specified stuff to work... This is not bleeding edge hardware, after all, so even the Linux drivers should have had time to mature. (OTOH WEP is b0rken regardless of the bit strength, so I should replace that rt2400 stuff anyway.)

MJ Ray: First week with the k608i

I got a Sony Ericsson k608i. It's fairly old and I don't like Sony (rootkit distributors that they are), but it was very cheap... if I didn't have the opportunity to use that, I'd've probably got one of 3's 50-quid Skypephones and ignored the Skype bit. I don't really know enough yet to buy smart and I'm not a 3G Power Phoner, so I suspect the bog standard would be good enough for me. A week on, it works pretty well. 3mail seems to be free to receive and read, so I can set my mail sieve to redirect copies from my heavily-filtered inbox to it and then choose between 10p/mail replies or 50p/day unlimited internet and use mujMail and MIDPssh. Typing on the phone isn't much fun, but it's not too bad. The speakerphone is good enough that I don't need to carry a headset around with me and some of the free video like animated weather maps are quite fun, but I'm not sure how much I'll use them. I usually have access to a TV, after all. Even larger train stations often have TVs around. 2.50 for unlimited access to BBC One, Three, News24 and itv1 may be useful if there's something I really want to watch, but I'd expect it to eat battery. Also, the video seemed to flake out far too easily when moving on local trains. The camera seems OK, although I haven't figured out how to make it flash and I've not yet copied pictures off to a bigger screen or a printer. I've got bluetooth working, but I think I also need to install obex. I need more time. Has anyone got either headsetd or alsa pcm type bluetooth working well? My headset seems to have a very quiet microphone, is slow to start and has been unstable so far. (2007-12-12: 1 comment)

Michal Čihař: Gammu test version 1.15.91

New Gammu testing versions is out. This time there are no exciting new features, I still continue in bug fixing mode and cleaning up things. Full list of changes: You can download from usual place: http://cihar.com/gammu/. If no big problems will occur, this is last release before 1.16.0, which should be unleashed next week together with python-gammu and Wammu.

Alastair McKinstry: Waiting for CoRoT

So, the CoRoT team apparently had a meeting in Paris on Monday. I've been waiting with baited breath (and intermittent internet access, for assorted reasons) for the results of a "Press Conference", that according to the blogosphere rumour mill, and a (started by a breathless interim report) was going to rewrite the sciences of exoplanets and stellar seismology. There were rumours of special editions of Nature (or Science, or A & A), Earth-mass planets (possible according to the apparent spec. of CoRoT). This mattered to me as I'm finishing up a literature review for a PhD and the work is on exoplanets, and depends a lot on stellar variation. CoRoT could rewrite large sections of my conclusions. So, it looks like I finish my review and just have to be patient while they release their results in the proper peer-reviewed manner. But it would probably be a good idea for the CoRoT team to set up a blog, as Rumour Central, to respond to mentions and rumours about their project that appear on the 'net. Kudos, for example, to Wesley Traub for taking the time to answer my questions aboout Darwin/TPF in this manner. Tags , , ,

11 December 2007

Steve Kemp: Your trumpet's blowing for far too long,

So I run a blog. You might have read bits of it in passing, probably more due to syndication than actual desire. Initially I started off using Wordpress, but that was later purged once I bit the bullet and decided I'd rather be blogless than install PHP upon any server I cared about. To replace my blog I looked for different solutions and eventually decided to try something built upon Ruby (on Rails). That lead to me trying Typo. After a little bit of pain I decided this wasn't a great solution. So in the hunt for something new I moved to Mephisto, but over the past few months I've noticed that my virtual machine has been running low on memory - and the culprit has always been the Mongrel isntance which was running the blog. So once more into the breach. This time I had a new plan. I'd actually use a piece of blog software which I wrote for a couple more sites, a static system which outputs RSS & HTML files - with no dynamic-fu at all. That system is the chronicle blog compiler. In performing the migration I accidentally flooded a couple of Planet-Planet installations. It took me a moment to work out why, and that was because my RSS feeds didn't include valid "pubDate" files for the entries.. So now I've made a new release of chronicle which supports valid RSS feeds, as tested against the feed validator and all is well. Well almost. Users no longer have access to post comments, and whilst I've successfully migrated 700+ entries through to four different blogging engines I've managed to lost most (all) comments along the way at different points in time which is a real shame. In the future I'll setup a simple CGI system to write comments to text files, and then allow them to rsync'd and merged into the entries. I just don't have the concentration to manage that right now. In the meantime hello to Planet Sysadmin - never heard of you before, but thanks for carrying my feed. I'm suprised I qualify, but I guess at the very least I'm spreading interesting lyrics... (Remind me to post the mod_rewrite rules I'm using now; I've kept all links at the same location through successive blog migrations which means I have numerous mod_rewrite rules which are probably obsolete, but I just don't want to touch them because cool URIs don't change....)

Adeodato Sim : unison -times

After more than one year using unison to synchronize most of $HOME between my laptop and desktop, I discovered yesterday that unison can propagate file modification time, which does not by default. Just pass -times (or set times = true in the configuration file). The first sync with -times results in a huge conflicts with “revprops” being changed in both sides. I resolved all of them in favour of the less recent file (there’s a menu option for that in unison-gtk). But boy did it take long to sync all files.

Adrian von Bidder: Handbook of Applied Cryptography: Free Download

The Handbook of Applied Cryptography (Menezes, Oorschot, Vanstone; 2001) is now available as a free (as in beer) download. It's from 2001, so it wouldn't include all the latest stuff like MD5 being broken and SHA1 being slowly weakened, also estimates on how long a computer takes to break DES will be seriously outdated, but the fundamentals haven't changed. I haven't had the chance to read it yet, but I guess now's the time to close that gap.

Benjamin Mako Hill: Wikimedia and the Free Culture Movement

An essay I wrote for the Wikimedia Foundation fundraising drive was just published on the the foundation's Why Give blog. The essay, titled Wikimedia and the Free Culture Movement, discusses the movement for free culture, Wikimedia's central role in it, and the importance of supporting the foundation because, I argue, the immediate success of the free culture movement is intimately tied up in Wikimedia's efforts. It is very exciting to see an essay I wrote linked prominently from the top of every page in Wikipedia! It is also exciting to imagine that I might help the Wikimedia foundation at this important time in that organization's life. I am giving to two organizations in support of two causes this year: the Wikimedia Foundation in support of free culture and the Free Software Foundation in support of free software. No other two groups are as committed or are doing as much to build a world where knowledge, and the tools we use to use, produce, and communicate it, are and remain free.

Wouter Verhelst: Hardware sucks, but their manufacturers too.

A while back, I needed to do something with a mainboard made by Intel. The mainboard doesn't have a PS/2 connector; so I had to use a USB keyboard. In itself, this is horrible; USB is an incredibly bad interface to connect a keyboard to, IMO. But, well, sometimes the decision isn't yours, you know. Bad Intel. Given my above-stated opinion on USB, I guess it's not surprising that I don't have a USB keyboard; I don't believe in them. But, well, a mainboard without a PS/2 connector doesn't suddenly get one because I look at it, so I went to a nearby computer shop with the intention to buy me a keyboard. While it's bad enough that I had to get me a USB keyboard, they managed to make things worse. The particular model that I'd bought is broken in ... well, let me count the ways.
  1. Blue LEDs are annoying. Yes, a keyboard needs LEDs to show that num lock (etc) are enabled, but a yellow LED works too, and is far less flashy or distracting.
  2. A "Fn" key is nice if you want to overload keys on your keyboard. However, if there is not a single key on your keyboard that is overloaded using the Fn key, then you're silly.
  3. The particular model used a "condensed" layout, rather than the standard 105-key be azerty layout. I'm used to the standard 105-key keyboard layout, and having to type on one that is different is no fun. When I mentioned this to the salesguy, he told me that I'd "get used to this pretty quickly". Well, perhaps if that were my only keyboard. But I also have my home desktop (standard 105-key layout), my laptop (apple azerty laptop layout), some m68k macs (mac azerty 105-key layout), and some more; then, it doesn't get so easy.
  4. They keys on the keyboard were flat as on a laptop keyboard, rather than thick as on a desktop. This makes it harder to disassemble when it gets dirty, with the risk of breaking it (I've had to have my laptop's keyboard replaced when I broke it by disassembling it because the keys started to get stuck and I wanted to clean it...)
Now obviously it's possible to fix most of these issues by simply buying a decent keyboard—except that the shops that I went to simply don't have a decent keyboard anymore these days. At least this one still had 105 keys; for reasons that totally escape me, some keyboard manufacturers today seem to think it's a good idea to drop the insert key on their keyboards. WTF? People just don't make decent quality keyboards anymore these days... Bad hardware manufacturers. Bad, bad, bad!

MJ Ray: Movements: back again (just)

I'm back (again) but I'm not feeling 100% well (again). I'll write about the various events I attended and share the pictures as soon as I get bluetooth file transfer working (is that obex?) but here are some sites I commented on recently:
When is it going to be the norm for JavaScript?
Never, I hope.
Down with the Press Release!!
I wonder if I didn't like this because open letters aren't very common here.
Print before you think! - Atomo64's Blog - by Raphael
Reposting the old psnup -2 trick... works in Mozilla-based browsers, at least
How Old Are ProBlogger Readers? Poll Results
I whinge about ProBlogger's misuse of bar charts again...
How Much Money Do Bloggers Earn Blogging?
and again... guess I should stop doing that. But histograms ROCK. Excuse me - I'm still ill...
blog.aksw.org Blog Archive Open-source innovation platform Cofundos.org
I've seen a couple of these cooperative free software funding ideas recently. Here's one...
Information Unlimited A proposal for user-driven commercial free software development.
and here's another...
gmane.org.fsf.europe.discussion
and here's a little background on the first.
Sustaining Alternative Media - Bristol Indymedia to Bristol Social Forum
It's just too damn awkward to contribute to BIMC.
Miriam Ruiz: Journalists avoiding writing about Free Software?
Since when have journalists avoided writing about stuff because of criticism? Sounds like an excuse to me.
Issues Forums in the UK, Meet Tim Erickson in November at London E-Democracy 07 Conference E-Democracy.Org - Project Blog
I did meet Tim. Which was nice.
Labour: Queen's Speech - full statement
I saw this site advertised on TV after the speech, visited it, asked a question. No answer. 'nuff said. I asked a question on another page and it was deleted unanswered. Control freakery at its best.
ConservativeHome's ToryDiary: Cameron takes Tory message of social justice to Labour heartlands
My question about the surprising Conservative Cooperative Movement announcement. No answer. Are all the political parties similar? Do any of them have any answers?
BBC Internet Blog - Linux Figures
Part one of the reaction of the BBC director who thought they only have 600 Linux users.
BBC Internet Blog - Open Standards
Part two of the reaction "The BBC is committed to open standards [...] wherever possible" - yeah, tell that to their satellite system and the Ceefax-killers! (Warning: may contain Andrew Suffield...)
BBC Internet Blog - Operating System Figures
Part three - explains just how their analysis system got the numbers so horrendously wrong. "All of the BBC's regular reporting mechanisms use the User Agent string" - D'oh!

John Goerzen: It's Cold Outside

A day or two ago, I got the feeling that winter has set in. Maybe you know the feeling.

I looked outside the bedroom window. The trees had a bit of white all over. The tall grass in the distance had a sheen of gray on it. The sky was a uniform gray. Small ice pellets hit at our window. As far as the eye could see, not a sign of anything that wasn't frozen.

As I stood in our warm 68-degree house, I was reminded of how little separates us from the frozen outdoors. A few inches of wood and insulation is all. How easy it is to fret about the rapidly rising cost of propane these days, the cost of heating a house. But still, how easy we have it compared to the people that came before in this house.

They had to keep a fire going for warmth, keep a ready supply of firewood for the winter, figure a way to get the warmth throughout the house. All with insulation that wasn't as good as we have, windows that didn't shut as tight as ours, doors that were draftier. As is typical today, our furnace has safety systems designed to detect problems and shut itself down if something weird happens. Back then, indoor heat was a dangerous thing. There's been at least one chimney fire in this house, an event which often claimed the entire house and sometimes the lives of its inhabitants. Ten feet from my desk, there's a rounded out black spot on the floor where, perhaps 70 years ago, someone opened the door to a wood stove, only to be surprised by a burning log falling out to the wood floor.

Today, we can't use wood heat due to Terah's asthma. We had the chimney removed to boost the energy efficiency of the house with modern heat. Out back in the trees north of the house, there is a pile of bricks, saved from our chimney for future use. Each brick has a scorched side, darkened from the chimney fire and decades of use.

As we experienced firsthand in the ice storm of 2005 (see also more stories and pictures), it doesn't take much to be thrown back a hundred years from a convenient modern heat to our non-automated, non-mechized, past. All it takes is a tree to snap too close to the right power line anywhere between our house and the generating station -- which I think is 80 miles away -- to make our house mighty cold. Even though I still have a stack of firewood, it wouldn't do us much good these days.

With that in mind, today I was listening to the radio while driving in to work. How lovely to hear this quote:

"The National Weather Service will issue a Winter Storm Warning effective at noon today, lasting through 6AM tomorrow." We are to expect rain, freezing rain, ice pellets, and ice. A "wintry mix" is the technical term for it, I believe.

Temperatures were just a few degrees warmer than expected this afternoon, so we got mainly rain. What we will get tonight is an open question yet. I'm sure that schoolchildren all over the state are hoping for ice and lots of it. Personally, I feel that it's only been three years since I spent a week carrying a saw in my trunk in order to be able to clear my driveway every time I left home or got back home. I think I'm owed another year or two off. I also wouldn't mind avoiding the giant branch sitting on the ground right in front of the front door, or the 40-degree indoor temperatures, or the lack of running water due to lack of electricity.

But these crisp, cold winter days are a rare thing to enjoy these days. We get a month or two of stifling heat each summer, but only a week or two to enjoy this really cold part of winter. I miss the snowdrifts when we don't get them.

So, mother nature, bring it on. I'll be waiting with my camera and a glass of hot chocolate. Because even without electricity, I can still light a burner on our oven with a match.

10 December 2007

Steve Kemp: Let the bells ring out for Christmas

In the next week I intend to drop the search engine which archives content posted to Planet Debian. It appears to have very little use, except for myself, and I'm significantly better at bookmarking posts of interest these days. If you'd like to run your own copy the code is available and pretty trivial to reimplement regardless. There are only two parts: Once you've done that you'll have a database populated with blog entries, and you just need to write a little search script. ObRandom: In the time it has been running it has archived 15,464 posts!

Steve Kemp: to let the insects in

My migration to mercurial is now complete. I've completed the last step, which was the migration of all the $foo-commits mailing lists. It is at times like this that I remember two things: Right now I'm using ecartis for my mailing lists, primarily because it isn't mailman. (Long story). For making archives of mbox files I'm using hypermail. The latter I intend to change as soon as I can find something else to use. It isn't attractive, but it is in the Debian archive and seems reliable. Since I was changing things around already I've centralised the list-archive making, and started using the haschanged tool to avoid rebuilding the archives i there are no new posts. That works nicely.

Steve Kemp: We are the champions my friend

My tool to query apache logfiles via SQL seems suprisingly popular. Just as a recap the process goes like this: Now it is possible to save and load the SQLite database, so that you don't need to reparse the apache logs each time, that gives a nice speed increase for non-changing files. By tonight I'll have aliases working for queries so you can bookmark them:
alias refers SELECT distinct(referer) FROM logs
Then in the future the 'refers' command will be available and will run the named query. Neat. Now that I'm comfortable with SQL queries it just seems so natural, easy, and right to query logfiles this way. I guess that makes me strange.

Steve Kemp: You're making me live

Is there an existing system which will allow me to query Apache logfiles via an SQL string? (Without importing into a database first). I've found the perl library SQL::YASL - but that has a couple of omissions which mean it isn't ideal for my task: Still it did allow me to write a simple shell which works nicely for simple cases:
SQL>LOAD /home/skx/hg/engaging/logs/access.log;
SQL>select path,size from requests where size > 10000;
path size 
/css/default.css 13813 
/js/prototype.js 71261 
/js/effects.js 37872 
/js/dragdrop.js 30645 
/js/controls.js 28980 
/js/slider.js 10403 
/view/messages 15447 
/view/messages 15447 
/recent/messages 25378 
It does mandate the use of a "WHERE" clause, but that was easily fixed with "WHERE 1=1". If I could just have support for count I could do near realtime interesting things... Then again maybe I should just log directly and not worry about it. I certainly don't want to create my own SQL engine .. it just seems that Perl doesn't have a suitable library already made which is a bit of a shocker!

Next.

Previous.