Search Results: "ag"

23 November 2008

Wouter Verhelst: Music is Math

Gintautas Miliauskas blogs about a computer program that can generate something which reportedly really sounds like composer-written music; apparently it has passed a 'turing test' where people listened to music generated by this thing, and music written by a human composer. I'm afraid, however, I'll have to disappoint him a bit, really. If we ignore the effect that music can have on the emotional state of a living being for a moment, then it's a plain and simple fact that music is pure math: There are many other things in music that can be expressed as mathematical rules; learning to how to compose music involves learning those rules, which is a long and tedious process. Now I'm not saying that following those rules will necessarily lead you to an interesting piece of music; the fact that it's possible to create something ugly while still using chords etc. But since so much of it already is math, I can imagine it not being extremely hard to figure out what the other rules are (the ones a composer figures out by imself as opposed to being taught them), transferring them into a computer program, and using that to generate music. That's not to say that such a thing is easy to do, and I'm sure it's still an impressive feat to create a computer program which can create "nice" sounding music; but I don't think this would qualify as 'artificial intelligence'. At least not any more than Deep Blue

22 November 2008

Jeff Bailey: World Toilet Organisation

I love the fact that the WTO could mean the "World Toilet Organisation". Seems like a decent thing to support.

Miriam Ruiz: Gnash 0.8.4 in Lenny

Gnash 0.8.4 will be finally included in Lenny. There have been many improvements since 0.8.4, and it looks as though even more will be included in next release. Gnash current release cycle is 3 months, so next upstream release is planned for January 2009.

Biella Coleman: In San Francisco for the AAAs



, originally uploaded by the biella.
I have been in the beautifully dramatic city of San Francisco for a few days now to catch up with old friends, meet new ones, and present at the AAA meetings, probably the single largest gathering of anthropologists on Planet Earth. I love seeing the friends, I love going to (some) of the panels, but I (totally) loathe trying to say something of substance in 15 minutes. A lot of my work in mired in esoterica (legally, technically, and culturally) and I am giving my short talk on protests against Scientology, the Lulz, etc. etc. and well, if you are in the know, I think I can pull it off in 15 minutes. If you are not in the know, it may strike as completely odd, esoteric, opaque but at least I can say I did it for the Lulz

Biella Coleman: In San Francisco for the AAAs



, originally uploaded by the biella.
I have been in the beautifully dramatic city of San Francisco for a few days now to catch up with old friends, meet new ones, and present at the AAA meetings, probably the single largest gathering of anthropologists on Planet Earth. I love seeing the friends, I love going to (some) of the panels, but I (totally) loathe trying to say something of substance in 15 minutes. A lot of my work in mired in esoterica (legally, technically, and culturally) and I am giving my short talk on protests against Scientology, the Lulz, etc. etc. and well, if you are in the know, I think I can pull it off in 15 minutes. If you are not in the know, it may strike as completely odd, esoteric, opaque but at least I can say I did it for the Lulz

Marc 'Zugschlus' Haber: nVidia and current Kernels

My home workplace is slowly and steadily mutating into a never ending story. I do not remember blogging every aspect of it, but after three graphics cards, an even older mainboard and two DVB-S-Cards, my home workplace PC currently does what I expect it to do: Run Debian unstable, drive two 20 inch DVI TFT monitors with 1600x1200 pixels each and receiving DVB-S transmissions. I do not think that these are exaggerated expectations, but it took over three months to find a combination of hardware which will actually do what I want. The hardest part was finding a AGP graphics card which can drive two DVI monitors with 1600x1200 pixels each. After failing with two different Matrox cards (the G550 not being able to do 1600x1200 pixels if the monitors are connected via DVI), I finally settled on a used GeForce FX 5200. In the beginning, the binary nVidia module didn’t hurt as much as I expected. Unfortunately, this rapidly changed with the 2.6.27 Linux kernel. Unfortunately, the Linux kernel changed its interface with 2.6.27, which stopped the nvidia-kernel-source 173.14.09 from sid from compiling. Contrary to what is told in #500285, the driver doesn’t compile on my system even when I clean out /usr/src/modules/nvidia-kernel prior to unpacking the driver .tar.gz. I already thought that my problem was solved when I noticed nvidia-kernel-source 177.80 in Experimental. The module compiles just fine against kernel 2.6.27, but...
Nov 21 17:30:53 weave kernel: NVRM: The NVIDIA GeForce FX 5200 GPU installed in this system is
Nov 21 17:30:53 weave kernel: NVRM:  supported through the NVIDIA 173.14.xx Legacy drivers. Please
Nov 21 17:30:53 weave kernel: NVRM:  visit http://www.nvidia.com/object/unix.html for more
Nov 21 17:30:53 weave kernel: NVRM:  information.  The 177.80 NVIDIA driver will ignore
Nov 21 17:30:53 weave kernel: NVRM:  this GPU.  Continuing probe...
Nov 21 17:30:53 weave kernel: NVRM: No NVIDIA graphics adapter found!
Don’t closed source binary-only drivers just suck? I mean, granted, the FX 5200 is a five year old design, but it does its basic office job just fine. So I currently can choose to stick with a legacy kernel of the 2.6.26 series to be able to run the legacy nVidia driver, or can shell out money for a new graphics card and a new mainboard, a new CPU and new memory (since current graphics cards aren’t available for AGP any more). Just fine. Sucks. If I get around to buying a new box, which graphics card manufacturer is to be trusted these days? nVidia is out of the question after my current experiences, Intel doesn’t make graphics cards as far as I know, and ATI/AMD? I hear that they have recently seen the light, but are their open source drivers mature enough so that ATI/AMD products can already drive high resolution dual DVI setup? I currently do not care about 3D performance, I just want to push around windows on a flat KDE desktop and to some serious work. All I want is screen real estate and a picture of decent quality. I’d appreciate any hints and comments, and surely hope that there will be some kind of upstream support for the 2.6.26 kernels until I have refitted my home workplace hardware.

Eddy Petrișor: Aren't we all descendants of barbarians?

Only the winners get to write the history, so we almost never get to hear the other side of the story.

I was thinking how many times people who were right were reduced to silence by death by some opposing force?

We, as the descendants of the winners, still hold that barbaric seed of the oppressors, so we are probably inclined to repeat such atrocities.

Taking all of these into account, is this one of the main reasons why we still engage war upon each other, although we, as a race, in the present, could live together without any problems?

The world produces now enough goods and food to cater for the entire race, still, we are putting a price tag on everything and using money, the tool that enslaves us all.

Isn't it time to open our eyes and stop believing the lies we're fed with every day?

John Goerzen: Tree Classics

A few years ago, not long after we got married, it was getting close to Christmas — the first Christmas we’d spent together. We set out one Saturday morning in Indianapolis to find a Christmas tree. We both have allergies, so a real tree was out of the question. An artificial tree it is. We went to the mall. We went to Sears, to Target, and to any number of other places that I’m sure I’m forgetting. We saw trees that spun, trees that had red needles, trees with fiber optics in them, trees with some incredibly fake-looking snow, pre-decorated “generic” trees, and all sorts of things that just screamed “tacky.” What we didn’t find were trees that looked like… trees. I think there were a few Terah would have been OK with, until I had to veto them on the grounds that they were too fake, too short, to skinny, or whatever. So I thought I’d check the Internet. I came upon Tree Classics, and we ordered a 7.5ft Evergreen Supreme. We (or, well, *I*) got some good-natured teasing for being crazy enough to order a tree over the Internet. This was before people were quite used to the idea that you can buy anything online — and, as far as I know, Tree Classics was the only company (except perhaps for Sears) selling trees online back then. But it arrived and we put it up and liked it. It looked like a tree, it was nice and full. And it shipped direct from the manufacturing plant in Illinois. The downside to that particular tree was that it took several hours to assemble each year. Over the years, whatever unlucky family members happened to be visiting our house over Thanksgiving would get a nice Thanksgiving dinner — and then a pile of tree branches to shape. We started getting more haphazard over the years, and this year, decided that our now 7-year-old tree had survived three moves and a toddler, and we could do with a new, easier-to-assemble model. So I hopped online again. We didn’t even bother with the big box stores this year. There are more places selling Christmas trees these days, but we wound up buying another tree from Tree Classics. They had basically the same types of trees as other places, but a wider selection and generally better prices. Though their website isn’t quite as fancy. We got a 7.5ft Kensington Spruce this year. It arrived Monday and we set to assembling it as soon as we could. Our Christmas tree has had this tradition of getting put up on about Dec. 23 and then staying up until about Valentine’s Day because we are great at procrastinating with the long job of assembling it (and the almost-as-long job of disassembling it.) We got a pre-lit tree (standard incandescent white light bulbs, of course) this year. It came in about 4, rather than several dozen, sections. The injection-molded branch ends are amazingly realistic. We got it assembled in record time. But it didn’t look very full. The injection-molded ends seemed all squished together, and despite following the instructions, didn’t really bend out like we thought they should. So Terah called Tree Classics today. The woman that answered gave her a tip on how to do it (”splay” them out, side to side, then shape them up and down after that). She’s got it started, and we’ll probably finish out the shaping tomorrow. Tree Classics had also exchanged a few emails with me prior to our purchase to help answer questions about whether their current trees are easier to assemble than their prior ones, and questions about the appearance of their different standard and LED pre-lit options. Overall, we’ve been happy with them and will order from them again in the future, I’m sure.

Alastair McKinstry: Bringing the Brompton to the UK

Brompton S2L bike
On turning forty, some buy a Ferrari: I got a Brompton bike. A bit more practical (have you seen Galway's roads?), but still fun. I've spent a fair bit abroad this year (ten weeks away on various conferences and working weeks, not including numerous visits to Dublin), lamenting the easy transport while i'm visiting some nice cities. So, the Brompton. I got the S2L model, the lighest 'standard' model, and the Brompton bag for carrying it aboard planes. I also got the lighter cover and saddle bag, but that has not been as useful as I thought it would be for travelling by train. The Brompton bag, at 2.4 Kg is recommended for planes; its 5 mm padded nylon, quite study (and you can pack socks, etc around the bike, allowing a little extra carrying).

read more »

Tags , ,

Enrico Zini: Show local configuration changes

Show local configuration changes Following a train of thought, I got to the idea that it would be nice to have a way to ask an installed package to show a diff between the configuration that it would autogenerate and the configuration that is on the system. For example:
# /var/lib/dpkg/info/postfix.postinst config-diff
--- a/aliases
    +++ b/aliases
    @@ -2,3 +2,7 @@
     postmaster:    root
     clamav: root
     logcheck: root
    +
    +root: enrico
    --- a/postfix/main.cf
    +++ b/postfix/main.cf
    @@ -25,14 +25,35 @@ smtp_tls_session_cache_database = btree:$ queue_directory /smtp_scache
     alias_database = hash:/etc/aliases
     myorigin = /etc/mailname
     mydestination = enricozini.org, localhost.localdomain, localhost
    +virtual_alias_domains = enricozini.com
    +virtual_alias_maps = hash:/etc/postfix/aliases-virtual
     relayhost = 
     mynetworks = 127.0.0.0/8
     mailbox_command = procmail -a "$EXTENSION"
     mailbox_size_limit = 0
     recipient_delimiter = +
     inet_interfaces = all
    +message_size_limit = 20480000

This would be quite useful (if you're not using a tool such as etckeeper): partly for backups, but more interestingly for inspecting a Debian box, to see what is stock configuration and what has been manually changed. Moreover, this could be used to automately create an installation CD that would install a system with the same configuration, by saving the set of debconf preseeds and the set of /etc/ patches. In theory, it would not be too difficult to generate such a diff: for packages that don't change config files in postinst, it's just a matter to diff with the original files as found in the .deb. For the other packages, the code to generate the configuration can be recycled outputting the results to a temporary directory, then a diff can be made with the corresponding files in /etc. I can see this being easily doable for 90% of the packages, and I am wondering about the rest: is it thinkable to pursue this way, assuming that what wouldn't support it today could be made to support it in the future, or are there some configuration cases that just cannot be made to work in this way, no matter what? Note

MJ Ray: The Carbon Co-op: Vote for Social Innovation

I live in one of a cluster of a dozen or so houses. As far as I can tell, none of them have any micro-generation capability (I think one has working solar panels and one has defunct panels), but we have an electricity substation and a small patch of land fenced off next to it. I’ve heard it said that the power distribution company would be open to selling the land. Surely we could do something here, with the stronger sun (compared to the most of the UK anyway) and the blustery winds? If only there was some model for grouping together for microgeneration… That’s what I understand as the idea behind the Carbon Co-op and I think it could make a difference. I’ve voted for it to be one of the ideas developed Friday 5th- Sunday 7th December 2008 at the Young Foundation, Bethnal Green, London (I may be in London one of those days). You can vote for it too, particularly if you’re interested in helping it happen too.

21 November 2008

Joey Hess: netbooks

I've been looking at netbooks, since indications are that my laptop's hard drive will die again soon, and that its LCD may follow. I can't seem to find any netbook with a resolution better than 1024x600. I'm used to 1280x768; dropping down will be a real shame, but seems unavoidable. I'm very interested in a machine with no moving parts. So far the only one I've found is the Dell Inspiron Mini 9, which has passive cooling, so no fan, and of course uses a SSD. I'm not completly sold on it though -- its battery is only a 4 cell; its wifi may not be well supported. The Eee 901 is attractive due to its battery, but has a fan. I'm very noise sensative these days, and the fan would have to be whisper quiet to be acceptable. And even then I think it would annoy me. (Even quiet laptop hard drives annoy me.) All in all, I wish I could wait another 6 months to a year and see if the next generation improves any. OTOH, I could buy both of these for less than the price of my current laptop.

John Goerzen: If Programming Languages Were Christmas Carols

Last spring, I posted If Version Contol Systems Were Airlines, which I really enjoyed. Now, because I seem to have a desire to take a good joke way too far, it’s time for: IF PROGRAMMING LANGUAGES WERE CHRISTMAS CAROLS I apologize in advance. (Feel free to add your own verses/carols in the comments.) Away in a Pointer (C) (to Away in a Manger) Away in a pointer, the bits in a row.
A little dereference to see where they go.
I look down upon thee, and what do I see?
A segfault and core dump, right there just for me. I saw thy init there, a reaping away
My process, from its address space, so sorry to say.
I thought I had saved thee, from void pointers all,
But maybe I missed one, and doomed you to fall. Be near me, debugger, I ask thee to stay
Close by my terminal, and help me, I pray;
To find all the bugs and the void pointers too,
And if my kernel oopses, help me reboot for you. Joy to the Wall (Perl) (to Joy to the World) Joy to the Wall, the Perl is come!
Let awk receive her King;
Let every grep prepare him room,
And bash and sed shall sing,
And bash and sed shall sing,
And bash, and bash, and sed shall sing. Joy to the keyboard, we’ll use it all!
Let men, shift keys, employ;
Implicit variables, and globals never fall.
Repeat the line noise now,
Repeat the line noise now,
Repeat, repeat, the line noise now. Perl rules the world with truth and ASCII,
And makes the doctors prove
The glories of carpal tunnel hands,
And we do it more than one way,
And we do it more than one way,
And we do it, and we do it, more than one way. Hark! The Herald Coders Sing (Haskell) (to Hark! The Herald Angels Sing) Hark! The herald coders sing,
“Map and fold, recursive King;
Recursion and patterns wild,
Pure and IO — they’re reconciled!”
Joyful, all ye functions rise,
Join the typeclasses of the types,
With recursion, do proclaim,
“Laziness is born in this domain.” Refrain
Hark! The herald coders sing,
“Map and fold, recursive king!” Monads, by highest Heav’n adored;
Monads, their depths still unexplored;
Late in time, behold they’re good,
Never once were understood.
Veiled in functions, the Monads stay,
Used for IO, and more, each day,
With excitement, Monads say,
“Arrows are stranger, so with us stay.” (Refrain) Hail the glorious compiler of Glasgow!
Hail the threaded run-time system!
Join the beautiful Cabal of Hackage,
Upload there thy perfect package.
We know best, what we will Handle,
You’re safe with us: no pointers, no vandals.
Born to make your exceptions throw,
Unless you unsafePerformIO. (Refrain) Lispy the Paren (to Frosty the Snowman) Lispy the paren was a jolly happy soul,
With a lot of cars and a little cons
And two ends made out of curves.
Lispy the paren is a fairy tale, they say,
He was just common, but the children know
how he came to life one day.
There must have been some magic in that
Old Symbolics they found.
For when they placed him on its disk,
It recursed around and ’round. O, Lispy the paren,
Was recursive as can be.
And the coders say it would take a day
To put his parens away.
Clunkety clunk clunk,
Clunkety clunk clunk,
Look at Lispy go.
Clunkety clunk clunk,
Clunkety clunk clunk,
Consing on the car. Lispy the snowman knew
The keyboard was hot the day,
So he said, “Let’s cons and we’ll have some fun
now before they Scheme away.”
Down to the function,
With a list there in his RAM,
Running here and there,
all around the LAN, saying
“cdr me if you can.”
He led them down the streets of disk
Right to the traffic bus.
And only paused a moment when
He heard them holler (quit). Oh BASIC Night (to O Holy Night) Oh BASIC night, the LEDs are brightly glinting;
It is the night of the dear GOSUB’s birth!
Long lay the world in sin and error printing,
Till you appeared and the RAM felt its worth.
Shiver of fear, line numbers do inspire,
For yonder breaks a mostly harmless GOTO.
Fall on your bits, O hear the Visual voices!
O BASIC divine, O BASIC where GOTO was born!
O BASIC, O Holy BASIC, O BASIC, you’re mine! Some want to say, “GOTO is harmful always,”
But what of them, in their post-modern world.
We PRINT the truth, in the line-numbered goodness,
But Dijkstra appeared, and the faith, it was lost.
A thrill of hope, when .NET BASIC announces,
But Visual BASIC, what kind of thing are you?
Fall on your GUI, O see the old line numbers!
Behold BASICA, O BASIC when DOS was born!
O numbers, O lines, spaghetti divine! Guido We Have Heard on High (Python) (to Angels We Have Heard on High) Guido we have hard on high
Sweetly indenting o’re the code,
And the functions in reply
Their exceptions sweetly flowed. Refrain Indent….. in your whitespace careful!
Indent…… in your whitespace careful! Spaces, why this jubilee?
Why semicolons have you so wronged?
What backslashes must we use
If we want our lines so long? (Refrain) Come to Guido here to see
“One Right Way” is good, of course.
There’s no need for Perl, you know,
We have to be more verbose. (Refrain) Now the PEP will show the way
To the future, we shall see.
Banish lambda and the rest
Of the things we liked the best. (Refrain)

Kees Cook: directing firefox url opening

A while ago, I found a way to open multiple firefox instances so I could have multiple cookie/password repositories. One issue that plagued me was that when launching URLs from other applications (e.g. liferea, gnome-terminal, etc), the URL would open in the longest running firefox, so if I opened my Browsing instance first, then my Authenticated instance, URLs would open in the Browsing instance. That’s what I wanted. However, if I had to restart my Browsing instance (like, say, when flash was crashing), URLs would start opening in the Authenticated instance, which I didn’t want. So, I changed the Gnome preferences to run this script when launching a browser:
#!/bin/sh
firefox -p Browsing -remote 'openURL('"$@"')'
Ta-da, URLs are always directed to the “Browsing” instance, regardless of when it was started.

Steve Kemp: You've had this coming since the day you arrived

Yesterday I wrote that I'd ordered a new ASUS EEE PC, the 901 model, and today it arrived. The machine is gorgeous though I suspect in the long term I'll regret ordering the white model. This entry was written on the device, slowly due to my fat fingers, with its new Debian Lenny operating system. To save time I didn't even use the default system, I just immediately rebooted it into the installer via a 2Gb USB stick. Unfortunately I had to run through the installation twice, because I made some bad partitioning decisions and decided to fix them rather than live with them. Happily everything on the device appears to work perfectly, although there were a few hiccups along the way. The only niggle is that suspend to RAM seems a little flaky; 50% of the time I try to resume and just get a blank window not my X.org desktop. Happily suspend-to-disk works perfectly, and the bootup/restoration process looks very pretty with the splashy package installed. There are times when I really love using Debian, and this is definitely one of them. Together we've produced an operating system which just works on an amazing array of devices and systems and gets better and better as time goes on! For example in the past I'd always regarded Network Manager as "that thing we remove to stop breaking our system" - but now I see it working correctly with no effort on my part at all. Amazing! I guess I'll be returning my Nokia internet tablet in the near future. This device is bigger, but much more capable and versatile. ObFilm: St Trinians (the recent remake; not too bad. Bonus points for the Shampoo cover).

Gintautas Miliauskas: Computer-generated music

EMI (Experiments in Musical Intelligence) by David Cope changed my mind on the state of computer music generation software. I had come across numerous "music generation" programs, but it would have been a long stretch to call their results "music". They would produce, at best, strange patterns of beeps. I had heard of a live "jazz improvisation gig partner" machine (probably this one), but EMI is on a completely different level just listen to the MP3 samples. Sure, in the end it is mostly splicing and rehashing of existing pieces, but Cope claims that in blind tests even experienced listeners would sometimes confuse an original piece by a composer and a composition by EMI. In other words, EMI passed the equivalent of a Turing test for music generation software. If that is not impressive, I do not know what is. Unfortunately David Cope's site is skimpy on the details of how EMI works, even though there is an extensive bibliography (note the time span: 20 years!). At least some information can be gathered from the webpages of his numerous books.

Gregor Herrmann: size vs. intelligence

today in my website's access.log (wrapped for easier legibility):
64.1.215.166 - - [21/Nov/2008:19:03:02 +0100] "GET / ,blog/  HTTP/1.0" \
  404 6963 "-" "Mozilla/5.0 (Twiceler-0.9 http://www.cuil.com/twiceler/robot.html)"
the broken URL comes from my ~/.signature which since about 2 months contains the following fragment:
http://info.comodo.priv.at/ ,blog/ 
& probably that line was found in some web archive of a mailing list or newsgroup or somesuch.

now what is this highly intelligent Twiceler thingy? a look at the URL in the access.log entry redirects to cuil, & the page proudly claims in friendly, large, green letters
Cuil is the biggest search engine on the planet.
apart from the fact that I've never heard about them & that their search results are not impressive either, their "philosophy" (huh?) page claims:
Size matters
maybe it's just me but probably they should invest more in technical "cuil" [0] than in marketing speak that sounds less like search engines but more like another business branch on the intarwebs.

[0] "Cuil is an old Irish word for knowledge." (source: cuil again)

Y Giridhar Appaji Nag: Nek Chand rock garden - Chandigarh, India

When I was in Chandigarh, I visited the Nek Chand rock garden. The place has a lot of art (mostly sculpture) built out of a large amount of household and other waste. The park has sections of arrays of similar sculptures of all kind. This rock garden was the pet project of one Mr. Nek Chand which city authorities discovered a few years after he starting it.

While most of the park is very interesting and beautiful, it looks like the authorities also expanded the original creations with quite a few things that Mr. Nek Chand certainly did not build himself. A few pictures:

Pots, pillars and electrical sockets Bicycle forks and electric sockets Electric sockets and a switch
Maidens on the grid Geometrix Some monkey business
The bangled peackock Humble beginnings Lone warrior
Saucers and Pebbles We are a family Welcome home Tea anybody? Pebbles on a door

David Moreno Garza: Book meme

“De esta triste estancia en la capital de Colombia se rescata el que pudieron ver jugar al m tico Real Madrid contra el Millonarios.” Translation: “From this sad stay in the capital of Colombia, it was worth they saw the mitical Real Madrid play Millonarios.” From Ernesto Guevara tambi n conocido como el Che (Ernesto Guevara also known as Che), by Paco Ignacio Taibo II.

Steve Kemp: I don't really come from outer space

So I've bitten the bullet and ordered an ASUS Eee PC 901 W006 from Amazon. This has 1Gb of memory, 20Gb of solid-state storage, and is preloaded with Linux. All being well it will arrive tomorrow, and then I can try installing Lenny upon it. From the Debian Wiki it seems to be a painless process. I guess we'll see.. ObFilm: Twelve Monkeys

Next.

Previous.