Search Results: "ag"

2 September 2006

Antti-Juhani Kaijanaho: Haskell responses for Eric Warmenhoven

Eric Warmenhoven asked a couple of Haskell questions. Here are my answers. BTW, do you want to be added to Planet Haskell? If so, drop me an email. Also, be sure to subscribe to the Haskell mailing lists. Where did all the shared libraries go? Turning a Haskell module into a static library looks like it s fairly straightforward, but it looks like it s impossible to create a shared library that s usable by other Haskell programs. See the GHC FAQ. Why do header files have a bizzare suffix? If module A uses something from module B and module B uses something from module A, there s a circular dependency that GHC can t resolve on its own. The solution to this is to create a boot copy of module A that defines the things that B depends on without depending on B. In C this is called a header file. In GHC this is called a boot file and is given the extension .hs-boot . There are no header files with Haskell. Or rather, there are (the .hi files), but they are generated by the compiler when compiling the module. The .hs-boot files are not header files but a workaround for GHC’s inability to compile circularly dependent modules (which the language spec requires). Why does everyone ignore all the practical stuff? I read through five tutorials before I finally found one (on Monads, of all things) that actually had a usable getArgs example. Perhaps many people consider the practicals easy and want to discuss the hard things instead. Where s the Debian-specific documentation? For example, there s a GTK module. Where is that? How do I get it? Is there a package for it? If not, how do I make one? (I saw the debian haskell mailing list but didn t feel like wading through the archives hoping that one of my questions might be answered.) There is no Debian-specific documentation apart from a draft “policy”. Googling, I found this repository that contains Gtk2HS debs. Haven’t tried them, though.

Michael Janssen: Weekend Weeviews: Brewster's Millions, All That Jazz

Brewster's Millions

Richard Pryor and John Candy in a classic story retold many times. I had seen parts of this movie on TV or in the background and thought I should give it a try all the way through. Spending lots of money isn't quite as easy as it should be in this comedy directed by Walter Hill (48 Hours). I thoroughly enjoyed the story as much as is really possible in this type of plot. I thought that the acting was somewhat over the top and the main plot meandered a bit, but at 101 minutes it never went too far off the mark. The payoff at the end, even though it was obvious and expected, left me smiling while the credits rolled. I give it a 8.

All That Jazz

Life is not normal for Joe Gideon (Roy Scheider) in this foray into the backstage of directing and coreography directed by Bob Fosse. In a setting where the only normal part of life seems to be the morning wake-up routine, a duality of mind and reality appears in the beginning. There is also a great interplay between Gideon and his daughter. I was dissappointed to continue on through the ending, which was completely flat leaving me wishing I had hit the back button on the remote and watched the first half over again. A fascinating tale of the struggle between personal and professional life turns into a disaster of an ending. It scores a 4.

Michael Janssen: Late at night when the wires in the walls

After my iBook problems last week, I tried to install Debian on the thing. I have narrowed down the problem to something with the hard drive inside, because the machine seems to run fine and go through most of the installation without any trouble, but once I start using the hard drive, it completely freezes. I successfully ran the hardware test disc which came with it a couple times in extended mode, but I'm not sure that it uses the hard drive in it's tests long enough for it to exhibit the problem. The failure seems to be somewhat random in nature, occuring at different times in the install process. Now I have the unhappy decision of trying to save this laptop which is more than 3 years old, or to attempt to buy a new one. Right now I am leaning toward buying a new one.

Honeywell seems 1.5 times as long this week, mostly because I'm making up for a day which I missed a couple weeks ago. Things have settled down there in terms of software failure, so I'm back at the normal coding which I am doing. The code uses Ogre, which is a handy 3d engine, making it much easier than learning something like OpenGL, and as a bonus adding portability. I am considering building some play applicaitons with the toolkit at home just because it would be fun.

Tonight I need to build a couple presentations covering some papers which were in CVPR this year to present at a reading group at Honeywell. It would be fine except that I am completely unaware of any of the recent history of vision research, so it makes it much harder to build the presentations. I hope I can finish them in a reasonable amount of time so I can watch Eureka tonight.

The TiVo Diet is still working out as expected. I discovered that I don't really have anything to watch on Sunday or Monday of the week. I'm getting much more productive work done than I used to. One downside of the diet is that I tend to not want to just sit and veg at the end of the work day - I think it frustrates [info]ceilingsarecool a bit because I'm always going off to the office to do something on the computer.

I recieved and watched the Studio 60 on the Sunset Strip yesterday. Being an Aaron Sorkin fan, I am excited for another of his shows to broadcast. Judging by the pilot, it should be a decent show.

Sidenote: Planet Debian seems to like one of my weekend weeviews a little too much, and is regrabbing it for the front page every so often. I can't figure out why this is happening, so any help would be greatly appreciated. Otherwise, in a couple more posts it should be off the RSS feed.

Michael Janssen: I can work overtime I can work in a mine

Labor day weekend approacheth, and myself and [info]ceilingsarecool have secured a little getaway for ourselves. It is proving to be a nice way to relax a while before a big rush of work. I have been in all true form not updating the blog lately, so I get to give everyone a big update all at once.

The iBook problems which I mentioned in the last blog entry proved to be fatal to the machine, so I went out and bought a shiny new MacBook to replace it. Given the pricing behind most of the small laptops and the experience that I had with my iBook, I was happy with my decision. I plan to add ram (Apple's ram is so expensive) and replace the hard drive (also cheaper elsewhere) sometime before the end of the year. After I bought the new book, looking through my old receipts I discovered that my iBook is still under AppleCare so I took it in to get it fixed. The Genius Bar at the MOA store was very busy today so we had to walk around the mall and then wait for ages still. However, we successfully got the thing to freeze twice in the presence of a MacGenius(tm) so it is now off to the magic depot in the sky for fixing before I sell it used to someone. It is a nice machine and works great other than the freezing which will be fixed, and I was informed by the MacGenius(tm) that the AppleCare travels with the machine, so if it breaks in the next 8 months or so the buyer can get it fixed for free.

Honeywell this week was pretty hectic and non-normal. There was a deadline which required the working of an application I hadn't planned on having working until the end of the week, so I had to work Monday and Tuesday, putting in 20 hours before mid-week. This made it slightly hard to get anything else done, but still not bad because it means I have a little leeway for next week. The good news is that we got it done, and the even better news is that it's possible to focus on other things which I have more experience in there now.

After the weekend (which I'm sure we'll have pictures from) is the start of the new school year. This means that my schedule is being impacted a lot, and I will need to get used to classes again. With any luck, this semester will be the last time I ever take classes in grad school. I also need to start a paper next week which is due on the 14th, so it's a little tight on the scheduling end. Hopefully I will be able to pull it off, because the conference is in Italy next year and [info]ceilingsarecool has a keen interest in going with me.

But for now, I get a little R&R time before rejoining previously scheduled overwhelming work, already in progress.

Eric Warmenhoven: Monadic

All I have to say is, damn you Evan. Back when I was in college (six years ago), I took CS 162, “Programming Languages”, which was a required course but I would have taken it anyway. Most of what I remember focused on explaining the features of the languages we already knew (Java and C++) and explaining that things didn’t have to be that way. They introduced Generic Java (I hear generics have been added to Java now) and had us write several programs using generics, which was about the only language that we actually had to program in. But they also made us use Haskell. As I recall, the assignment in Haskell was to write a B-tree. We didn’t have to compile anything; we just wrote a small file and loaded it in hugs and ran commands in the interpreter. It actually ended up being really easy, which left a favorable impression of Haskell in my mind, but I never learned more about Haskell. Instead I went off and learned C by hacking gaim. And look where that got me. Anyway, over the last year or so, Evan Martin has written about Haskell fairly frequently, and every time he does, it brings back fond memories of my earlier Haskell programming experience. And two weeks ago, I finally decided to do something about it. I downloaded hugs and GHC and read a lot of documentation, and wrote a lot of test programs. This time, with the aid of GHC, I actually compiled an executable. And it was fantastic. Suddenly Haskell became a real language for me. Though it took a lot of reading first to figure out how to get the list of command line arguments, and then to understand how the IO Monad works so that I can actually use the getArgs function without screaming. So here I am, a Haskell newbie coming from a C world, trying to make sense of it all. And naturally, I have questions.

1 September 2006

Randall Donald: More bits

1) nvidia-graphics-drivers 1.0.8774-2 has just been uploaded to experimental to provide xserver-xorg-video-1.0 for xorg 7.1.

2) I see that NVIDIA has released new legacy packages with a 7.1 update. That is good news for etch.

3) I like mayonnaise.


Roland Mas: Gforge in Debian, July 2006

Following about a month of irregular activity, I just uploaded three source packages (along with related binary packages, of course) to Debian unstable: gforge (4.5.14-9), gforge-plugin-scmcvs (4.5.14-3), and gforge-plugin-scmsvn (4.5.14-2). I hope unstable will give them more exposure than experimental did. Plans for the future: I ll focus on getting these packages into testing, without too many changes if possible. I haven t managed to get dbconfig-common to work reliably (or at all) with PostgreSQL so far, so I ll consider the migration to its infrastructure as a nice option, but not a blocker. The problem is that it would make the install scripts simpler and (hopefully) more reliable if it worked. Again, help would be very much appreciated. (And yes, I will be submitting bug reports when I get some time to do some more thorough testing of dbconfig-common.)

Jaldhar Vyas: Mutation

Subway

Clint Adams: Carouselambra

Steve's hot dog has ridden the following metros : [cta] [mta] [jfk airtrain] Steve's hot dog has flown on the following airlines : [united] [comair] Would you put Steve's hot dog in your mouth?

Steve Kemp: She never kept the same address

Another people post - only less drunken than the last one. My lovely girl has left for a week long field trip, just after returning to Edinburgh from her summer away at home. (Students!) We had a nice week being cute together so it is a little hard to get used to her being away just yet. Its amazing how quickly you get back into the habit of waking up next to a warm body. In other random frustrations …. there is no “Internet Music Database”. I’d love to see an IMDB-like site focussing upon bands/music/artists. If nothing else it would give me a good source of post titles ;)

Biella Coleman: In the middle of nowhere but on the net

Micah and I have made it to Canada! Wow. We keep driving and well, we are not there yet because Edmonton, like the map shows, is far in that Western and Northen sense. We first went to Vermont last week to visit some friends and family but then decided not to cross in Montreal and drive that way, for a number of reasons. One was that we would not have cell access, the second was the higher gas prices, and the third is that it would be slower because the highways here are not like the MASSIVE American ones but more like one to two lane unlit roads where the speed limit is 60 miles per hour. Now that we are in Canada and on the Trans Canadian Highway to Saskatoon, I am glad we made that decision. It is super nice here and there are cool road attractions like the Happy Rock in Gladstone, Manitoba, but we are just unfit to drive on these roads, at least late a night. But one of the wildest things is that I am online, typing on a computer, via the phone/blue tooth and a Cingular Data Connection Plan. We decided against the North American Phone Plan because it was PRICEY (what good is NAFTA if you can’t just your same phone??) but the Data Plan was not too expensive and since Micah has to be connected 16 hrs of the day, we decided to go for it. We have been using the Internet all trip but it was only recently that we can now use it through the computer, which makes it a lot nicer. But what is even better is that the connection is like double the speed in Canada (prolly because it is a UMTS network and because Canadians rock) so while we may go slower on the highway, we do go faster on the information highway. Not a bad trade off.

Ian Murdock: Windows Live Writer

I’m writing this in Windows Live Writer. It’s pretty incredible—setup was easy, and there’s a mode for editing the entry such that it looks exactly as it will look after it’s posted (i.e., with the right font, layout, etc.), though without all the page adornments (header graphic, sidebars, etc.). There is a preview mode for that though—if you could edit in the preview mode, now that would be incredible (better still, if you could edit the page directly, inline, presuming you had the appropriate credentials—a truly writable web!). It’s too bad this is Windows only—I have a Windows box in my office, but it’s a desktop machine, so I don’t have it when I travel (I wonder if it will run under Wine?). I’d also love to see this integrated with Firefox, something like Performancing, where you can select some text, then right click “Blog This”. There is an IE toolbar, but that doesn’t help me. In addition to being a nice tool, this does give a glimpse into Microsoft’s strategy for the web: Desktop/thick client apps as an extension to web/thin client apps, providing all the advantages of web apps but better UI, better performance, and offline support. So far, I like what I see.

Martin Zobel-Helas: Starting with Sarge r4 preparation early

After Sarge r3 is pushed out to the mirrors now, i thought it might be a good idea to start with the preparation of Sarge r4 early, thus i already started accepting packages into proposed-updates again.
Release of r4 is currently scheduled around October 16th, but that may vary a bit, depending on packages uploaded to proposed-updates and on the DSAs issued in the mean time. Happy hacking… :-)

Jesus Climent: Officially 100000 years old

Under EEST timezone (GMT+3) I am officially 100000 years old. And Lars is +101, so Lars, have a nice birthday. For a long time i have avoided celebrating it, but this year i have one more reason to follow the trend. So here it goes the long overdue personal post about my life. She is gone. Or so I feel. Today it will be the first time in 6 years and almost 9 months that she is not preparing a surprise for me. I always told her i did not want anything, but she always managed to prepare something: 26 roses and a cheese party (Jesus loves cheeses), a night at an Irish pub with most of my friends, a visit to Tampere’s amussement park, a dinner at a nice Italian restaurant or a concert with Kemopetrol and Giant Robot. So today, 1st of September 2006, my birthday, she, my best friend and my girlfriend during the last almost-seven years, is moving her stuff out. The apartment will be full of emptiness and empty of her. Dato is crying of happiness. I cry of sadness. One goes up, another goes down.

Andrew Pollock: [opinion] A ramble about alternative energy and world affairs

Well John Howard said he wanted to start a nuclear debate in Australia. Seems it has already started on Planet Linux Australia. I figure I might as well have a meandering blog post about alternative energy and current world events, since I've just been immersing myself in the best news I can obtain with my crappy cable package in a country not renowned for its awareness of world affairs. Firstly, since there's been talk about nuclear power, I'd like to offer my thoughts on Iran, and how it's sounding like Iraq all over again. People are getting in a flap about Iran enriching uranium. Iran says that they don't want "the bomb", they only want nuclear power to meet their energy demands. Now if this is true, then surely should applaud a country that sits on a chunk of the Middle East's oil reserves looking to use something other than oil for its energy needs. I for one don't know if you need to "enrich" uranium to use it for a nuclear reactor, or whether it's good enough "as is". But let's just assume that Iran's intentions are as they have said, then it's going to be Iraq all over again. The US said Iraq had weapons of mass destruction. The US is saying Iran is enriching uranium for the purposes of making a bomb. So far the former claim hasn't been proven, so what's to say the latter is true either? Let's say the nuclear debate in Australia determines that it'd be a good a thing for Australia to go nuclear. How is Australia enriching uranium for electricity generation any different to Iran doing it? (Other than Australia is in the Coalition of the Willing, and Iran is in the Axis of Evil). Speaking of Iran being in the Axis of Evil, how is Iran supplying weapons to Hezbollah fundamentally any different to the US supplying weapons to Israel? Oh, and is anyone allowed to criticise Jewish people without being called anti-Semitic? Since when is invading a neighbouring country considered okay? I am so glad Australia is an island nation. These countries with land borders, sheesh... Anyway, back to alternative energy. I'm a greenie, (with a lowercase "g") so I'm open to nuclear power, but it does frighten the willies out of me, with things like Chernobyl. I'd never heard of a Pebble Bed Modular Reactor until Paul wrote of it. It certainly sounds safer than previous methods of nuclear reaction. But of alternatives. Wind, for example, doesn't need to be big and arguably ugly. These guys in the UK have made a very sexy and quiet wind turbine. I don't know how it stacks up in terms of cost or output to the traditional three-bladed wind turbines like what I've photographed in Southern California, but they're supposed to be quiet, which is apparently one of the (many) arguments that landowners like farmers have against wind generation in general. This Australian company has come up with a very small, but less sexy wind turbine, that I believe to be fairly cheap. Finally, in terms of generation, and I've written about this before, but I find the Tower of Power to be a fascinating concept in natural energy generation. Where am I going with this ramble? No idea. I do think rapidly developing countries like China should completely leapfrog over the era of oil and move to renewably generated electricity. Maybe they can get the manufacturing costs down of the equipment, and it'll be less of a big deal in terms of cost for the rest of the world to adopt it. Whew. What a ramble. Don't start me on flushing toilets with drinking water.

Scott James Remnant: Upstart can now replace sysvinit

Today I reached another milestone in the development of upstart, the packages in universe can now replace the existing sysvinit package. Before trying this, make sure your installation is up to date as we’ve had to split out some parts of sysvinit into a new sysvutils package. If you’re up to date, and want to try it out, install the upstart and upstart-compat-sysv packages from universe. Note that the first reboot after you’ve installed the packages (from sysvinit to upstart) will be a little tricky… use reboot -f. If your system boots and shuts down normally, everything’s working just fine. Note that both will be somewhat more quiet than you’re used to, unless you have usplash running. Throughout the rest of this entry, I’ll try to answer some of the questions and comments that I’ve received since the last post. Events As I talked about previously, upstart is an event-based init daemon. Events are the primary force for having your services and tasks started and stopped at the appropriate time and in the appropriate order. So what are events and where do they come from? (Note that this part is under development, so may change in later releases). Events are just simple strings that may be sent by any process when something it is tracking the state of changes. They have no state or longevity, and if, when queued, they do not cause any job state changes, then they have no effect unless they are sent again. Jobs can list which events cause them to be started if they are not already running and which events cause them to be stopped if they are running. Multiple start and stop events may be listed, in which case the first to occur changes the job until the next one occurs. upstart itself generates the following system events: The shutdown tool included in the package also causes one of the following events to be sent once the “shutdown” event has been handled: Jobs also generate events whenever they change state, this is the primary source of events for ordering: And as mentioned, any other process on the system may send events through the control socket or just by using initctl trigger EVENT. For now this is just the event string, however it’s intended that the event may include other details including environment variables and even file descriptors. Typical example To clarify how it all hangs together, here’s an example (using fictional names) of how the tasks and events can be arranged to provide race-free mounting of filesystems. By breaking this job into these small tasks, we can see how the pieces fit together. Because everything is now done on events, there are no race conditions; we know that any filesystem listed in /etc/fstab will be checked and mounted. The only reason they wouldn’t be is if there’s an error of some kind, and that means you have larger problems anyway and the system administrator would have a shell to fix it. Of course, the moment they finish checking the filesystem and mount it, the boot process would carry on. There’s no reason that any of these events need to be generated by the upstart daemon itself, it can receive them from any other daemon on the system such as udev, acpid, etc. This keeps the focus of the init daemon narrow. A large part of the future development will be working out exactly what kinds of events we want init itself to generate, what kinds we want to come from elsewhere, and what the contents of an event can be. Getting Involved If you want to get involved with trying to nudge the direction of upstart development, you can join the upstart-devel mailing list at http://lists.netsplit.com/ Or if you just want to grab the source code, tarballs are published at http://people.ubuntu.com/~scott/software/upstart/ and the bzr archive is at http://bazaar.launchpad.net/~keybuk/upstart/main

Dirk Eddelbuettel: New CRAN package 'random' uploaded

A few days ago, I uploaded random to CRAN where it now has its own summary page. It has also been announced on the r-help and r-packages lists. The random packages provides convenient access to the non-deterministic random numbers provided by the random.org site created by Mads Haahr. While certain hardware and software solutions that provide access to non-deterministic random-numbers exist, few if any are portable across all the hardware platforms R supports. Retrieving non-deterministic random numbers may be beneficial to seed parallel simulations with independent draws, to obtain portable initializations for other RNGs, to validate simulation with non-deterministic RNGs, or simply for fun and experimentations. The package is fairly straightforward thanks to R's ability to read directly from remote URLs, and to random.org's nice CGI interface. Included are two pdf file ('vignettes' in R parlance). The first, random-intro, discusses the packages and provides some (currently just initial) tests using dieharder, a thorough test suite for RNGs. The second, random-essay is a 'transcriped' version of Mads essay.

Andrew Pollock: [meme] Metros I've travelled on

With apologies to Martin
sydney cr hongkong san
	francisco hong
	kong kcr san francisco muni los
	angeles
Got at b3co.com!
Yeah, where is the VTA Light Rail?

31 August 2006

Martin F. Krafft: News from the NetBSD cabal

I thought this mail about the current state and future of NetBSD (via /.) was an interesting read, and one relevant to Debian not only because of our Debian NetBSD port. In particular, it felt good to be able to say "yeah, we've got that" to some of the points Charles raised. However, I also had to concede that we're short in some of the other points. I won't put numbers to these claims because it's not as black and white as this. What would be really great is if one of the Debian long-timers would sit down and reply to Charles with his/her experience! Having worked a bunch with the NetBSD crowd in the past, I really would hate to see this project go down. The NetBSD kernel, while not up to the task to provide the desktop experience, still makes for rock-solid servers, and some parts of it sparkle with technical excellence (like the virtual memory management, for instance). Maybe, just maybe a possible future for NetBSD would be to produce Debian NetBSD in a joint venture? NP: Shpongle / Tales of the Inexpressible

Jeff Bailey: Baby Naming (no, not ours...)

I had the pleasure this morning of attending a baby naming ceremony. Aside from being at the thoroughly crazy hour of 07h30, it was a very cool experience.
Sharlene and Hannah Sarah
The Shaar Zion Synagogue is in Hampstead, about 8km from our appt. I was running a touch late because I worked for about an hour before setting off and got caught in conversation. It turned out this was a good idea, since Mount Royal is between there and my place, and I was otherwise planning on biking.

In the search for the entrance I met one of the relatives, who explained how to put one of the skull caps on and we found the sanctuary together. I think as part of the comparative religions bits in YRUU I might've visited a temple before, but I couldn't remember what the customs were. I found a place to sit that was out of the way about the time that they called everyone to worship. They asked people to turn to a page in a book that I didn't have, so I ran out and got one. I was glad I did: The group of teenagers in the row ahead of me didn't and looked mostly bored. The service was sung/chanted/spoken in Hebrew, but the book had both and Hebrew and English texts in it.

Sharlene and Hannah Sarah
The service was quite unlike what I'm used to, and tolerated a fair amount of shuffling around, hugs, greetings and children running around. From what I can tell, the service was the standard morning prayers with the baby naming inserted in the middle. Some other time, I'd love to get a guided tour of what I saw so that I could understand what was happening. The whole occasion seemed so rich with tradition, but at the same time wasn't stuffy or boring.

When the service was done, I joined the group in the basement for breakfast. It was vaguely ironic that when I'm shopping, I usually look for Kosher symbols to help me tell if there's hidden dairy in things, but that breakfast consisted of largely non-vegan items (fish, eggs). I got to meet Glen and Sharlene's wonderful families and am very glad I went.

But it does feel like the attack of the baby things has truly started =)

Next.

Previous.