Biella Coleman: Rage against the Machine
Actually, granny rage against the machine….
I attended an interesting seminar on the block stacking problem today given by Professor Mike Paterson of the University of Warwick.
Like all good problems, it can be stated simply: how far can a stack of n identical blocks be made to hang over the edge of a table?
The answer was widely believed to be of order log n (like the white shaded example above), but Mike Paterson and Uri Zwick previously constructed overhangs of order n^ 1/3 .
In the seminar today, Paterson and his co-authors presented their proof that order n^ 1/3 is indeed the upper bound possible, resolving a long-standing mathematical problem. Professor Paterson is an excellent orator, highly recommended.
$ command arg1 /long/path/to/file
$ command2 arg2 /long/path/to/file
$ command3 arg1 arg3 /long/path/to/file
Try using !$ to get the right-most argument on the previous line (you can also use !:2 to get the second argument, etc.):
$ command arg1 /long/path/to/file
$ command2 arg2 !$
$ command3 arg1 arg3 !$
The fact is, all languages optimize for particular problem domains and I don't think that a universal programming language exists that would perform well on all tasks. Bray rapidly found out that Erlang isn't optimized for doing line-oriented I/O and it's regex library sucks. So what? While those problems could be eliminated from Erlang, the fact that Ericsson has deployed large telecom gear without having to fix those issues means that Erlang is ideally suited to its original programming domain.The problem is that learning new languages is difficult for many people. They're not going to bother starting from 0 with a new language if what they've got is only 10/20% worse than the other guys. For companies, developing expertise (and trying to maintain it) in lots of languages is probably less productive than picking a few (Google only has four: Java, Python, Javascript and C++, and they're not exactly lacking in brainpower or cash). This is why "the right tool for the right job" works for things like saws and hammers, but not for complicated, idiomatic things like programming languages. Therefore, it's important that languages that aim to be widely used do lots of things pretty well, and try to avoid doing anything really badly. This is something I've always admired about Python, even if I don't use it anymore. It's a language that you can do a very wide variety of tasks with, and you can be sure there's probably some code out there already, and that Python will be ok for your task, even if it's not the best thing. Performance is a weak point compared to compiled languages, but even there, get the libraries right and things aren't *so* bad. In any case, my point isn't to bash Erlang (which I like), or put Python on a pillar (I prefer Ruby and Tcl), but to say that a widely used programming language doesn't need to be the best at everything, but it should aim to make people comfortable using it, safe in the knowledge that they can probably do most things *ok* if needs be. That's a far better situation than being able to do one thing realy well, and perform poorly at many other tasks, forcing its users to look elsewhere for solutions to those tasks. Personally, I think that for concurrency, Erlang is in a bit of a race right now - they're pretty far ahead in terms of concurrency (and also fault tolerance, but fewer people care about that), but behind in other areas (less library code). Other languages don't have as good a tools for concurrency, which isn't an easy problem. So, what will happen first - Erlang catches up elsewhere, other languages get "good enough" concurrency solutions, or a new language (like Scala) comes along and takes the lead?
Intellectually, I mean. According to some
Media outlets
Ballmer (once again)
declares war on the Free Software community. The technical “we are
better” argument is apparently completely dropped (honesty, at last) and
replaced by the pure “we have more money and patents”, this time
not even thinly veiled in marketing speak.
But I don't think PJ is right when she sais that “FOSS can't survive
in an IP regime such as Ballmer has laid before our eyes.”. We've all
seen how successful the sue your own
customers business model is. At this time, I think it's safe to say that
most big Linux users are also big Microsoft customers because Linux in the
enterprise still means primarily Linux on the Server, Windows on the Desktop,
so going after the big Linux users will be exactly that. Going after the small
Linux users is just not interesting. Going after hobbyist FOSS developers will
not work because only using patented works commercially actually violates the
patent, as far as I understand patent law. Going against the commercial Linux
developers will work to some degree, so let's look at this closer: Software
patents are strongest in the U.S., so in Europe it will be much harder for MS
for one thing. And, Novell and Red Hat excluded (and IBM, who should be big enough to take
on MS, especially since their lawyers by now have had extensive training in
what Linux is abaut), the commercial Linux space is still dominated by small
companies, so MS would have to overload the judges with thousands of small
lawsuits all over the world, and since no two companies do exactly the same
thing I doubt the lawsuit templating technique adapted by the RIAA for music
downloads will work. And, finally, the nice thing about Open Source Software
(using this term here on purpose): it's out in the open. So kill one company,
its former employees will found three new ones because the former customers
(even if they're scared and would like to get rid of their Free Software) will
still need support because they can't all switch (back) to MS based
environments immediately. And I haven't even talked about public opinion and
what antitrust offices might have to say, because those are extremely hard to
predict and their effects are uncertain.
Disclaimer: I am 100% newbie on SELinux, so any inaccuracies, mistakes or fallacies are almost sure due to this fact.
OK, changes in dpkg-dev 1.14.7 have forced my hand a little and dpkg-cross 2.0.0 has now been uploaded to Debian unstable (not experimental).Everyone: please note - cross-building support in Debian will be "fragile" for the next week or so. The rewritten packages are being uploaded against experimental dpkg support I expect bugs.![]()
emdebuild: ERROR /usr/bin/ contains files for the wrong architecture!
Curse you Debian! Your programs are too secure...
So I was looking over some setgid binaries last night, seeing if there were any obvious security bugs.
Up popped omega-rpg - a fun game I've recently been playing. Unfortunately it is mostly OK:
| Temperature, F | Time, 5D kill | Time, 6.5D kill |
| 130 | 86.42 minutes | 112.34 minutes |
| 135 | 27.33 minutes | 35.53 minutes |
| 140 | 8.64 minutes | 11.23 minutes |
| 145 | 2.73 minutes | 3.55 minutes |
| 150 | 51.85 seconds | 1.12 minutes |
| 155 | 16.40 seconds | 21.32 seconds |
| 160 | 5.19 seconds | 6.74 seconds |
| 165 | 1.64 seconds | 2.13 seconds |
Last Saturday we organised the Utrecht Programming Championship, which apart from declaring a local champion also selects for the Benelux championship. Team A-Cognito won by solving 6 out of 8 problems, the best score of all cities organising parallel contests. See the results here.
We organise this every year, but this year was special as it was a general rehearsal for the North Western European contest that we are also hosting this autumn. This is part of the ACM ICPC worldwide network of contests which culminate in the ICPC World Finals. Luckily everything went great. Of course there were some problems, but they were resolved in a calm and adequate fashion. It gives good hope that NWERC will be a success, at least from the techinical side...
Good new everyone, new version of Photo uploader has been just
born. If you don't know this tool yet, it is helper to upload photos (or
images) over net. It was created when I became too lazy to upload
hundreds of photos to digilab, but generally it can support any service
which allows you uploading of whatever using HTML forms.
News in this release:
Good new everyone, new version of Photo uploader has been just
born. If you don't know this tool yet, it is helper to upload photos (or
images) over net. It was created when I became too lazy to upload
hundreds of photos to digilab, but generally it can support any service
which allows you uploading of whatever using HTML forms.
News in this release:
Logically, Argentina won against Scotland tonight after a.....quite boring
match.
Scotland, as expected for them unfortunately, wasn't able to put speed in
their game, the only way to beat Argentina this year. Even with that poor
game (Lamont, their rear player, was a disaster), Scotland finished quite close to ARG, who didn't play brilliantly with
many approximations (Hernandez being a bit arrogant, trying to kick too many
drop goals) and a bit of luck.
So, nothing really impressive in that match. Does that mean that South
Africa has better chances to qualify for the final: who knows? Argentina can
be unpredictable...but it seems they are a little bit burned out (they don't
really have 30 top players and some of their key players appear tired).
The semi-finals will feature France-England (about 50-50 chances from what
we saw up to now) and South Africa-Argentina (60-40, in my opinion). Next
week-end, Stade de France.
Somewhat unbelievably (to me at least) there is still wireless in my mother’s backyard and it has only gotten better and stronger. But let’s face it, writing in garden lounge chairs among the frogs, birds, sun, rain and wind are sub-optimum for thinking and writing, so I am always looking for good and, most especially, gratis wireless.
I was pretty psyched to find a new cafe, Camilles Cafe that had decent looking food and proudly advertises Free WiFi. So I went there this afternoon, ordered my cafe con leche, sat down, and ran dhlcient to get my IP address and it served me one in a jiffy. I opened my xchat, said hello to my fellow chatters, and then proceeded to login to my email and I never got further than that because they disabled access to any page that requires a password.
I went up to the counter to ask why and the answer I got was “porque un hacker nos ataco.” It is totally retarded that the can’t reenable whatever they turned off after adding some basic security measures. They are losing tons and mean tons of business. One quick visit to the “other” cafe down the street with free wireless Me. Starbucks shows there is much business to be made if you provide free wireless.
It is Sunday and there are 12 people here with computers and people of all stripes and backgrounds and they come because the wireless is cheap and fast.
Be warned: logging on to the wireless here is totally non-obvious. When you try to log in, you are routed to a corporate Centennial web page that asks for an user-id/password or asks you to create one. So you of course think that it will cost money to do so. But in fact you just create a name, password etc. and then the site never asks you for mullah (nice). There is no sign, instructions, giving you these instructions. You gotta know or you gotta ask one of your neighbors.
This odd system has been in place for years and I just wonder when the only free wireless in a coffee shop (at least that I know of) will be snatched away. Hopefully never and hopefully someone else will get the bright idea that if they open another coffee shop and also provide free wireless, they will make a killing. This place is always always, and I mean always, packed.
p.s.: make sure to bring headphones/music too unless you are great at working with plently of background noise, which includes the usual starbucks music (about as good as its coffee, not), people chatting, people video-chatting sans headphones, and people watching shows like South Park. It is downright cacophonous..
Next.