Search Results: "mak"

15 September 2006

Uwe Hermann: Why voting machines suck and undermine democracy [Update]

If there are electronic voting machines where you live, and you've ever considered using one of those... well, you should probably reconsider. In this CNN report (M4V video, 13 MB) Avi Rubin explains why voting machines are a really, really bad idea. To quote some issues raised in the video: , especially so in such important scenarios) The CCC Berlin has a very detailed analysis of the topic (German), with many links to further articles. I'd recommend everyone to not use voting machines at all, but rather perform traditional pen-and-paper voting, if you value your vote... Also, make sure to inform relatives and friends about the risks of voting machines, and complain to your local responsible authorities, and ask them to remove these unreliable, insecure machines. Update 2006-09-18: Just in case you thought that maybe you can trust the Diebold machines after all - their locks can be opened with a standard hotel minibar key. (via The Lunatic Fringe)

Benjamin Mako Hill: Wizards of OS 4

I'm in Berlin for just over 48 hours to give a workshop at Wizards of OS 4. The workshop is Free Content Licensing: Success, Challenges and the Way Forward and will be a conversation between myself, Lawrence Lessig, and Paul Keller from Waag Society and Creative Commons Netherlands. When I first published Toward a Standard of Freedom (my first article that was critical of Creative Commons) a couple years ago, I received an email from someone at Creative Commons within two hours of posting the note. The email pointed out that I had incorrectly licensed my work as the CC license I applied to my essay had the old mailing address for CC. I thanked the mail's author for pointing out my mistake but asked if, perhaps, she or someone else at CC had anything to say about the content of the article itself which was, after all, about her organization's work. I never received a reply. To date, I have not been able to engage in meaningful public discussion of my criticism of CC with CC, although I have tried several times. I'm thrilled that Volker Grassmuck and the Wizards of OS organizers have been able to put together this opportunity to start what I hope will be a longer conversation with people at CC about some of what some of us perceive as tactical shortcomings of the CC approach. It can only make our movements stronger.

Joey Hess: bookmarks and stuff

This is kinda a mix between my list of bookmarks and some things I've been thinking about and following lately. astronomy I've been reading a lot of astronomy stuff lately, a lot more than my usual low-level interest in it. I'm kind of feeling the need for a refresher course, so I can get a better handle on stuff that's happened since I studied this stuff in school. It's hard to get my head around things like dark matter and really grok the evidence. While black holes and relativity and such seem so obviously a natural part of this universe. Does this mean I'm getting old? The chance to bounce questions and ideas off someone would probably help in getting a real grip on this stuff. So would a lot more physics than I know.. (Hurrah for Eris BTW. The name almost makes all that sillyness over a mere definition worthwhile.) Favorite sites: Universe Today and Wikipedia.
weather I've been following this hurricane season, to make up for having paid so little attention to last year's disastrous one. I knew about the "New Orleans bowl" scenario well before Katrina, and the night before it hit I actually spent several hours tuning in far-away AM stations from down there and listening to the city not react in time. But despite all that I feel that I missed out on really seeing it happen, so I've been learning about tropical waves, and wind shear and ULL's, and dropsondes, and the satelite data that can be used to follow hurricanes. The nice thing is that instead of the old stereotype of someone watching the weather channel 24/7 with a map and thumbtacks, these days there's a nice mix of pre-processed info and analysis and raw data, easily followed in small amounts of time on Wunderground's blogs.
spaceflight Half love and half hate. The recent shuttle mission has been a riot for a shuttle-hater and SF lover. It has all the elements of one of those SF novels where they go down to the cape, dig up an Apollo stack, and use it to save the world / travel to Mars / fight the alien invaders. Except here they're pulling an unused orbitor out of mothbolls. And putting it up on the launchpad with a hurricane bearing down, getting it struck by lightning, pulling it off the pad, changing their mind with the giant crawler half-way through that milti-day maneuver when the hurricane fizzles, putting it back, filling and refilling the tank as sensors fail and they rewrite their safty regs on the fly, barely making the launch window, and proceeding to triumphantly lose nuts and break wrenches .. In Space! Space opera, indeed. Then there's the genuinely interesting stuff. Intentional crashing of a French probe into the moon, probes firing projectiles at asteroids and trying (with great difficulty and many glitches) to return a sample. A mission on its way to Pluto. The rovers still going strong on Mars after all this time. Bigelow launching an inflatable prototype of his planned space hotel. A whole load of microsats tragically blowing up on launch. All the private aereospace stuff, which seems to close to turning into something real. Happily followed at Spaceflight Now.
TV Over the past while and a half I've been very happy to discover The Wire and Deadwood, have been working my way through the Sopranos and Lost, been creepily fascinated by Big Love, got a kick out of the Canadian antics of Corner Gas, vegged out to Greys Anatomy, and have been very sad to reach the end of Six Feet Under. BSG, Doctor Who, House, and some other shows haven't held up as well past the first seasons for me. Happily, there's NetFlix, which makes it plausable that I did this legally despite not having HBO or even owning a TV.
literature I've been reading Charles Stross, David Drake, John Twelve Hawks, Kelly Armstrong, Naomi Novik, Robert Charles Wilson, VC Andrews, and, loath though I am to admit it, John Ringo. I'm in the middle of books by Steph Swainston, Geoff Ryman, and Dave Duncan. I finally found a defintion of Science Fiction I like, but I lost the link. (It's the subjective "her world exploded" one.) Anyway, I'm afraid that I may have reached the point where to get much more out of reading SF, I'd have to start going to cons. Which I don't want to do. But I seem to be at a low ebb for it being interesting to me, or just need to finally tackle some other branch of literature. Actually, the most engaging reading I've been doing lately is in the achives (all of them!) of the Idle Words blog. It makes obscure details about Poland and China, and even interpretation of Russian classics seem pretty darn interesting, and has much better rants about the space shuttle. And it proves that blog entries should properly be good and long.

Martin-Éric Racine: Linux 15th anniversary conference - September 4th 2006, Helsinki, Suomi

I meant to blog something about this for the last 2 weeks but other things had precedence. Anyhow, before this becomes hopelessly outdated, I decided to simply paste my notes verbatim, as a bulleted list. Here they are:
  • Lots of Ubuntu stickers visible on laptops!
liw: how did it all start?
  • Main areas of progress have been documentation and user applications, then distributions.
  • Installation improved from manual boot sector hacking to full GUI tool.
  • Linus purposely avoids working for distributors to preserve his neutrality.
  • Major kernel developments took place between 1992-1994 i.e. ports to m68k, alpha, powerpc.
  • Acknowledgement of RMS and ESR contributions to the Free Software agenda.
Maddog: changing, ruling and saving the world.
  • While at Drexel university, a teacher told him "No one will ever make a living writing software". Nowadays, the comment is rephrased about free software.
  • Parallel with 15-year olds that code amazing stuff being used for special effects, medical research, forensics, etc.
  • Parallel with what a 15-year old can learn from previous generations, from own early mistakes, from siblings, from dealing with bullying, etc.
  • In some countries, 15 is the age of consent or passage to adulthood.
  • Creative Commons embodies a society that enables read-write interaction.
  • Linux is already outselling Apple on the desktop.
  • Linux is shipping on over 1/3 of new servers.
  • The thin client market is completely Linux-based.
  • Social Networking and Peer Mentoring foster a creation of acceptance.
  • Malaysia's Computer Science graduates are 70% women and, surprise, it is a Muslim country.
  • Free Software enables localization for niche markets; this is a software freedom.
  • A shoe manufacturer that Maddog met on a plane had a domino Windows license upgrading effect that made him miss a whole production cycle. No longer supported Windows versions had to be replaced with new computers ...On which their custom software did not work anymore, while they worked fine on older Windows releases offering a DOS shell. He wanted to know how he could switch to Free Software and finally rid himself from slavery to Microsoft's licensing schemes that often impose costly hardware upgrades by turning previous hardware investments into unsupported obsoleteness.
  • Driving new standards are: FSG, ODF.
  • Generating local jobs adapting Free Software for local needs. The same cannot happen with closed-source software, because we're stuck with the vendor's limited offering.
  • Showing examples of excellent source code is the best way to teach programming. This is easily done with Free Software; not so with closed-source software.
  • The key to Free Software: have fun!
  • Remember: Software Freedom Day
This was followed by presentations from local Finnish players in the Free Software field. One point of interest: Timo Jyrinki, who is the founder of the Finnish Ubuntu community, emphasized that contributing to Ubuntu really meant contributing to Debian. Videos are available (in Finnish, except for Maddog's presentation) on the server of the University of Helsinki. Sadly, the media format used is non-free... *sigh* When will they ever learn?

Martin-Éric Racine: Clean Slate

There are moments in life when I keep on noticing that, no matter how much I try to keep up with whatever I missed while something else momentarily required my undivided attention, there simply is no way I can catch up. That's when a painful and yet eminently elegant solution imposes itself: discard and start on a clean slate. Today was such a day. Back a few months ago, when Deviant Art was crawling because of its outdated and blatantly inadequate infrastructure, I had to give up trying to keep up with the latest creations from my favorite Deviants. Recently, having heard that the infrastructure had been overhauled, I went back to have a look. Low and behold, nearly 6000 Deviant Watch notifications were waiting in my inbox! After spending a couple of days trying to catch up, reality dawned onto me: there's simply no way in hell that I can possibly skim through so many images. So, I used DA's nifty tool to delete all Deviant Watch notifications at once. There. Empty. No more deviation to review and therefore no endless white night ahead. Ah! Now, that wasn't so difficult, was it? Granted, this wasn't so catastrophic. At worst, I missed a couple of truly remarkable works. Anyhow, those Deviants are gonna create yet more magnificent work, so I can rest safely knowing that the best of DA is yet to come. However, there have been other circumstances where the clean slate approach felt infinitely more painful: Last year, the server which hosted my homepage and mailbox went belly up. Because the friends who own the server had more urgent matters to attend to, resuscitation had to wait for a couple of months. During that time, mail kept on piling up on their delivery host. By the time the server was back online, more than 7000 messages suddenly flooded my inbox. Again, same procedure: first spending nearly a week trying to skim through the From and Subject lines of the index, to attempt locating potentially important messages that needed an urgent though obviously belated response, only to realize that I simply could not make enough time to go through it all. The scary part is that I had been expecting various important messages during the blackout e.g. feedback from job interviews, certification test questions to answer within a specific time, etc. Still, someone can only stay awake for so many days before loosing focus, so I had to make the cruel decision to empty the inbox. Gulp! There. Gone. No more sleepless nights. Cross your fingers and hope you didn't miss any message of crucial importance... There are yet more circumstances I can think of where the decision of starting on a clean slate imposed itself, despite the fear of perhaps missing out on something cool or important, or of giving up too soon despite clear signs of a dead-end coming. Eight years ago, my decision to relocate to a distant country that offered better career opportunities and a healthier lifestyle was one of those circumstances. What I'm carefully planning over the next few months is an equally important, though noticeably less dramatic step. Still, I cannot help but wonder if I'm making the right choice? Starting on a clean slate offers the obvious advantage of getting rid of dead weight. This is clearly a liberating sensation. However, it simultaneously requires letting go of elements that, despite their obsolescence or shortcomings, each contributed something useful at one point or another, which is very painful, because all those elements represent personal or monetary investments that often span several years. Think of retiring your very first computer, leaving your companion of many years or abandoning your homeland. Each element represents a lifetime of blood, sweat and tears, through shared learning experiences, through joy and pain. At the same time as you realize that it is now time to turn the page, you cannot help but remember the good times and yet wonder if you gave up too soon. They call this perpetual state of reminiscence, growing pains. Ah! That explains it, I guess... PS: I'd like to take this opportunity to thank the friends who used to host my homepage and mailbox, as well as the one who currently does. I might not often mention it, but rest assured that it's genuinely appreciated. I'd also like to apologize to all the Deviants whose great artwork I missed during the last few months and to anyone whose message got lost in the clean slate that followed the server crash last year.

14 September 2006

Simon Richter: I decided that I need a fun project again

Even with extensive googl^Wweb searching, I could not find an answer to the question whether the programming sort found in recent Nokia phones (the six hexagonal pads under the battery) is in fact a JTAG port. Rumour has it that it is, but that you have to set a jumper to connect TRST through to the CPU, so the port is pretty useless if you do not know which jumper it is. Other people claim the port is an I2C connection directly routed to the flash chips (which I doubt, which would still make it interesting for hacking, but a lot less so since it doesn't give me a real communications channel. If you have information on how to connect a JTAG probe to a Nokia phone, please let me know.

Simon Richter: I decided that I need a fun project again

Even with extensive googl^Wweb searching, I could not find an answer to the question whether the programming sort found in recent Nokia phones (the six hexagonal pads under the battery) is in fact a JTAG port. Rumour has it that it is, but that you have to set a jumper to connect TRST through to the CPU, so the port is pretty useless if you do not know which jumper it is. Other people claim the port is an I2C connection directly routed to the flash chips (which I doubt, which would still make it interesting for hacking, but a lot less so since it doesn't give me a real communications channel. If you have information on how to connect a JTAG probe to a Nokia phone, please let me know.

Dann Frazier: Stable Kernel Security Updates, round 5

After doing the last 4 rounds mostly by hand, I've started automating a lot of the process with a make system. Essentially, make will find an appropriate machine, use pbuilder to perform the build, then bring all the results back locally. Considering I've had to restart builds 3 times this round, the extra time spent automating it has already made up for itself. Of course, I already see a number of places that need refactoring... I need help testing! Please checkout the wiki for details.

Clint Adams: Love4sale

After consulting with my business manager, my publicist, and my wiccan stormtrooper brigade, I have unilaterally decided to make this limited-time offer. For US$15,000, a lucky donor can request stylesheet changes for arch.debian.org. For US$25,000, an enterprising young individual can get the default ArchZoom theme changed. For a moderate surcharge, the donor may secure anonymity, and I will claim that I am acting randomly in Debian's best interests. Any commissioned changes will be locked in for 3 months or until someone else pays more money. Obviously I have to milk the revenue stream here or this won't be a viable business model and I really don't want to have to call this a failed experiment. To anyone who might be calling this idea the height of corruption, I say this: anyone is welcome to do the same thing. If you care enough, just secure your own contracts and go ahead and change the stylesheet yourself. Of course, if you request access to do so, I will have to oppose it for completely-unrelated reasons, and possibly apply for an injunction to prevent the Alioth admins from making any foolish access changes. After all, interfering with my profit potential is a crime here in America. Get your payments in fast!

13 September 2006

Erich Schubert: SELinux in etch progress

Just a quick update for SELinux in etch. With Manoj picking up work on it again (you might have noticed the large influx of new SELinux related packages these days, bringing our toolchain up to date again), and rjc having setup a SELinux development box for me, we're actually making some progress on SELinux for etch now. Uwe Hermann also blogged about SELinux on Debian recently. There are tons of small nuisances with SELinux on Debian left. I've started filing bugs and tagging them with the "selinux" usertag. It's in the details. For example mawk and gawk both try to ioctl any file they read as if it were a serial terminal. Which of course causes SELinux to log an audit error, since the init script or whichever was calling awk didn't have the permissions to ioctl a config file. Then there is /dev/xconsole - it's created by the syslogd init script (shouldn't maybe this be handled by udev), it's barely used by anyone, and SELinux policy upstream wants to keep it in the xserver policy, and claims its main use is to be able to feed it the output from programs started by the window manager (instead of .xsession-errors). Which is a seriously broken design, since it's not multiuser capable. Anyway, our current options are to Of course I was quickly flamed for filing a bug against exim stating that there currently is no SELinux policy for it, and people thus will have to use postfix or sendmail instead. But heck: people trying out SELinux on Debian will run into this problem, you know. I'd certainly prefer people to use exim instead of sendmail (I'm more of a postfix guy), but unless someone writes a policy for exim, people can't use it with SELinux. I have no idea how exim works (where its queues live, expected behaviour and so on), so I can't write a policy. Now to start a real flamewar - how about making postfix the new default MTA for Debian with etch? /me runs and hides.

Ben Armstrong: Ichthux, a joint Debian/Ubuntu project

Whew. Ichthux has released, and now I can breathe again! When I joined the Ichthux development team, they had produced their “proof of concept” release as yet-another-Knoppix-remaster. At that time, I encouraged them to move away from tacking their work on as a derivate of a derivative and instead become a CDD. I argued that as a CDD Ichthux would last, while as a Knoppix-remaster, it would just be another marginal custom livecd that went nowhere. They got the message. So you may well be surprised to hear our first release is based on Kubuntu, and not Debian.
So, what’s the story here? Have you defected?
Nope. It just happens that most of the team ended up being actively involved in Ubuntu development. Also, when we first started casting about for the best way to package a livecd/install disk, it seemed to us that Ubuntu already had a head start on this.
What about being a CDD? It looks to me like that idea has fallen by the wayside.
Nope again. We’re a joint team now, and though we’ve started out with Ubuntu, we’ll be pushing changes back into Debian. The goals of a CDD are well understood by the whole team: to best meet the needs of our users, we design the system to mesh well with the parent distributions, not forking and making a derivative, but working inside those distributions to improve them for our particular subgroup of users.
Hold on now, aren’t you contradicting yourself? A CDD’s development is all within Debian, but Ubuntu itself is a derivative, and what’s worse, Kubuntu is a derivative of a derivative! Aren’t you right back where you started?
Well, on the last count, you’d be wrong. Kubuntu is not a fork. And as for Ubuntu being a derivative, well, sure it is. But the Ubuntu/Debian relationship is different from other derivatives, and although there is friction, I’m enough of a crazy idealist to believe a joint Debian/Ubuntu CDD is quite doable, benefits both projects more, and serves our users better than if we were to split up and each go work on our own.

Joachim Breitner: My Name is j a m

A lot of people outside Germany, including here in Ghana, can't pronounce my name right (whereas right is what I'm used to...). So I looked through the German wikipedia and tried to figure out how to write my name in the IPA. The result is:
j a m
If you don't have unicode available, this will probably look strange to you. All these sounds have strange names, here they are:And yes, it is the same letter as in Te , but not the same pronounciation, which is t x. Update: I had to convert my serendipity blog to UTF8 to make this entry right. Did so by mysqladmin dump'ing the whole database and running it through iconv, and then re-inputting it. Sorry to any planets that had a broken entry for a while. Maybe this update paragraph makes these planets update the entry :-)Update 2: As I'm already showing of with unicode characters: The name Joachim is derived from Jehoiakim (Jojakim in German), which is Hebrew and looks like this:

Tollef Fog Heen: Common mistakes foreigners make when writing English

If you are using "loose" when you mean the opposite of win, please stop. Use "lose". Loose is the opposite of tight. Similarly, "noone" is (almost always) wrong. You mean "no one". Noone is an obsolete form of "noon" (mid-day).

Simon Richter: Compressor generators

In a project, I need two "blobs" compressed; the first one is the usual mix of ARM code, Thumb code and data, the second is a piece of firmware to be uploaded into an FPGA. Both of these show obvious signs of redundancy (the ARM condition code "always" appears quite often, and FPGA blobs have a lot of zeros). So I thought that it might be an interesting idea to use the extra knowledge we have to build a better compressor. The easy answer, of course, would be zlib and a static table that emphasizes on the typical distribution of ARM code, however that is still quite suboptimal, for example we know that the heightened probability for the "always" condition code is only given in the condition code field, so we have to look at words, which is not very zlib-ish. Also, the redundancy goes further. Except for very few exceptions, registers are a lot more likely to be used as source operands if they had been a destination operand since the last unconditional jump that was not a forward branch. That much intelligence comes at the price of making the decompressor pretty complex, though, which I'd like to avoid. One of the main reasons for actually thinking about this stuff is that zlib's inflate code is too big for the 16kB space I have, and compiling it in Thumb mode leads to an ICE. So complex decompression code is pretty much a non-option. Almost the same thing goes for the FPGA data. The gzipped data is still more than 50% of the uncompressed size, so I believe there is room for improvement here as well. Being able to use the same decompressor is a bonus, of course, but as long as the decompressor itself compresses well, a minor issue.

Clint Adams: Broke out of the old apartment, always wanted a monkey

So K. called me a brat, and rightly so. Now I could go on about the bizarre dysfunctional ways A. and M. keep trying to drag me into their extramarital insanity, but that would be overuse of initials. I could tell you about Fatslaps and his plans to splatter Harry with onions, but Harry is whimpering just about the right amount. I'm talking about Harry, not Harry. I could do a Marxist literary criticism of The Garbage Pail Kids Movie, but something disturbing happened to me, indirectly leading me to have a flashback. It was another century, though not more than a couple miles away. As with all progress , some things are better now, and some things are worse. Maybe that's just how I see it. It's stereotypically geriatric to reminisce about the past, accentuating the positive, but it's stereotypically me to only comment on the negative. So in the interest of stalling, here comes a m lange of the two. Value judgments are left as an exercise for the reader, assuming the prostitute/lover question isn't still getting top billing. Warren Zevon was still alive. Nouvelle Vague hadn't released any albums yet. I only knew one person who spoke Brazilian Portuguese. I hadn't seen Rent yet. I used to eat a lot more Colombian food. I refused to eat tomatoes. Actually, I ate quite a few things then that I don't now, and quite a few things now that I didn't then. I don't remember what I ate that night, but it wasn't Kraft dinner ; I'm sure of that. I know because I went to see a free concert as performed by the Barenaked Ladies. The concert was free because they were almost completely unknown. I was introduced to them a while before, by a dirty, dirty slut who squealed with delight because the lyrics featured words such as erection . It took me years of recovery to be able to appreciate that song. Years. If she hadn't, I would have found out about them through Minna Bromberg because she does a cover. One of the people I was with shouted out to Steven Page, calling him by the wrong name. If being a starstruck poseur weren't enough cause, I think the error would have made me implode from embarrassment. He took it on the chin. I know this Canadian who keeps telling the same tired old story that the Barenaked Ladies is the only Canadian band to ever become famous outside of Canada. He uses this dubious claim to segue into his bit about how The Tragically Hip is really popular in Canada, but unknown everywhere else. I tell him that I've heard of The Tragically Hip. He doesn't believe me. I try telling him that I've never heard of Moxy Fr vous or Rush, at which point he breaks down and admits that everyone has heard of Rush. Then we repeat the conversation a month later. So BNL did get all famous and mainstream and STUFF. That night, they urged everyone in the audience to promote them so they could GET PAID and sell out to The Man. I must confess not comprehending their earnestness and the gravity of the situation. I also never expected them to be played on Z100. Boycott ClearChannel. They're sellouts now, but they weren't then, and a good time was had by all. At the time, If I Had $1000000 might've been their most popular song. AS SUCH, the more rabid fans in the audience had brought boxes and boxes of macaroni & cheese, as well as a stuffed monkey or two. These items were flung at the stage, at appropriate times, frightening the band. I don't believe that anyone threw a green dress. Now, Canadians are funny people. They like to flap their heads and do medleys and covers and rap gratuitously in the middle of concerts. Well, Rush doesn't, but Moxy Fr vous and BNL do, and that's enough for me to make a sweeping generalization, because Rush can be disqualified purely on the mullet factor. You probably don't know this, but If I Had $1000000 is a song which gets a lot of variation and perhaps improv. For example, the owner of the remains will vary, and they'll vamp the introduction with the lyrics of some other song. You can hear it on the Rock Spectacle album, where they lead in with Grade 9. That night they did Prince's Raspberry Beret. We swooned. We swooned.

12 September 2006

Mario Iseli: What a good LUG president would be

Today i was busy with some elections at the LUG Seeland in Biel. One of the candidates personally is totally ok, but I think he isn’t ready for this position. A president of a LUG should be: So, what exactly is a good Linux user”? I think this is a critic topic and I’m already glad to receive some flames :-) And here the opposite (poorwise a lot of people think this about Linux users) Yes, some people know why i have written this article now, but I think it was necessary and the people maybe think a little bit more when they elect a “president”.

Andreas Barth: What you don't want to see ...

After a recent kernel upgrade (from a custom package to the default Debian kernel package), I noticed that printing stopped working. Reason for this is that powerpc kernels don't have support for parallel ports included, because loading that module might freeze some pmacs. (Support for that has been activated now for some powerpc variants, but as there is no new kernel uploaded yet, that doesn't really help me.) So, I tried building my own kernel again. But then something happened I definitly don't want to see at all:
  CC [M]  drivers/net/e1000/e1000_main.o
  drivers/net/e1000/e1000_main.c: In function  e1000_xmit_frame':
  drivers/net/e1000/e1000_main.c:2919: internal compiler error: in simplify_subreg, at simplify-rtx.c:2368
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <URL:http://gcc.gnu.org/bugs.html> for instructions.
  For Debian GNU/Linux specific bug reporting instructions, see
  <URL:file:///usr/share/doc/gcc-3.3/README.Bugs>.
  make[4]: *** [drivers/net/e1000/e1000_main.o] Error 1
  make[3]: *** [drivers/net/e1000] Error 2
  make[2]: *** [drivers/net] Error 2
  make[1]: *** [drivers] Error 2
  make[1]: Leaving directory  /usr/src/linux-source-2.6.17'
  make: *** [debian/stamp-build-kernel] Error 2
So I not only lost support for my printer up to now, but even waste more time debugging stuff I don't want to see.

Benjamin Mako Hill: It may someday become useful...

/copyrighteous/images/crowd_robot.jpg
My philosopher Mika says:
These are robots that can walk through crowds without bumping into people. I almost feel that humans need to develop that skill rather than robots. But nonetheless, it may someday become useful to have such robots.

David Welton: Rails pagination with N results

For a site I'm building with Rails, I wanted to paginate the results of a database query with the build in pagination utilities. However, out of the box, paginate doesn't take a :limit option, because that's used to get a certain number of results per page. This is the workaround I put together. Perhaps there are better ways, but this was quick and efficient. In the controller:
class StoreController < ApplicationController
   # This is for Pagination.
   DEFAULT_OPTIONS[:first_n] = nil
This lets you use a new option to paginate, :first_n (which isn't the best name, but was the first thing that popped into my head). Now, you override this method:
  def count_collection_for_pagination(model, options)
    unless options[:first_n].nil?
      return options[:first_n]
    else
      return model.count(:conditions => options[:conditions],
                         :joins => options[:join]   options[:joins],
                         :include => options[:include],
                         :select => options[:count])
    end
  end
So, if you only want N results, you then do:
@prod_pages, @products = paginate(:products, :condition => condition, :first_n => 100)
Seems to be pretty quick and simple, so it works for me, although I'm sure a Ruby expert could make it look even nicer.

11 September 2006

Isaac Clerencia: Wanna work in Spain?

Hi there! My company is looking for people with Perl and Unix (preferably Debian) administration skills to continue working on eBox, a free software thingie we’re developing (check out the web to learn about it). Fluency in English is also required. Being an EU citizen would be great to avoid immigration hassles, although I guess we would be able to make it work otherwise. The job offer would be for one year, with high chances of extending it for more time if you’re willing to do so. You would have to come and live in Zaragoza, Spain. Zaragoza is a 600000 inhabitants city in northern Spain, between Madrid and Barcelona. We can help you find housing, or you can even share my flat with me if you dare (five minutes walk to our office), for a reasonable rent (below 15% of your wage for sure). You would be working with 12 young people (around 26 years old), all of us free software enthusiasts. We play in snow (yeah, we also have sunny summers), have nice decorations in our office, hang out together, … If you’re interested send me a CV to isaac@warp.es and feel free to ask for more information via e-mail. Best regards

Next.

Previous.