Search Results: "ag"

27 September 2006

Lars Wirzenius: Random thought: *MY* iPod works with Linux

ESR famously claims that iPods don't work with Linux. I beg to differ: I bought a used one yesterday from a friend, and it worked the first time. I put in some MP3s on it with gtkpod, no problems. I don't know what the level of automatic desktop integration, playlist syncing, and so on is, but it was quite easy to put music onto the device. I then put Rockbox on it. That process is not entirely streamlined; in fact, it is not something I'd encourage a normal user to attempt. It wasn't so difficult for me, I only managed to wipe out one other unrelated hard disk's first partition. Having said that, the process was pretty straightforward. Rockbox is ugly, and the font is too small, but it seems to work well enough, and it doesn't require using any special software to add or remove audio files, it's just a USB mass storage device.

Dirk Eddelbuettel: Announcing 'littler'

Earlier today, Jeff announced our new toy r (aka 'littler') with this post on the r-help list. What is 'littler'? We summarized it briefly in the post and on our respective or pages:
GNU R, a language and environment for statistical computing and graphics, provides a wonderful system for 'programming with data' as well as interactive exploratory analysis, often involving graphs. Sometimes, however, simple scripts are desired. While R can be used in batch mode, and while so-called 'here' documents can be crafted, a long-standing need for a scripting front-end has often been expressed by the R Community. littler (pronounced 'little R' and written 'r') aims to fill this need. It can be used directly on the command-line just like, say, bc(1):
	$ echo 'cat(pi^2,"\n")'   r
	9.869604
http://ftp-master.debian.org/new.html Equivalently, commands that are to be evaluated can be given on the command-line
	$ r -e 'cat(pi^2, "\n")'
	9.869604
But unlike bc(1), GNU R has a vast number of statistical functions. For example, we can quickly compute a summary() and show a stem-and-leaf plot for file sizes in a given directory via
	$ ls -l /boot   awk '!/^total/  print $5 '   \
		 r -e 'fsizes - as.integer(readLines());
			print(summary(fsizes)); stem(fsizes)'
	   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.
	     13     512  110100  486900  768400 4735000
	Loading required package: grDevices
	  The decimal point is 6 digit(s) to the right of the  
	  0   00000000000000000011112223
	  0   5557778899
	  1   112233
	  1   5
	  2  
	  2  
	  3  
	  3  
	  4  
	  4   7		
And, last but not least, this (somewhat unwieldy) expression can be stored in a helper script:
	$ cat examples/fsizes.r
	#!/usr/bin/env r
	fsizes - as.integer(readLines())
	print(summary(fsizes))
	stem(fsizes)
(where calling /usr/bin/env is a trick from Python which allows one to forget whether r is installed in /usr/bin/r, /usr/local/bin/r, ~/bin/r, ...) A few examples are provided in the source directories examples/ and tests/.
At least one shortcoming already became apparent: by calling it r to not trample on the real R binary, we obviously overlooked that there are certain operating systems on which case is ignored -- ouch. So Mac users may have to install it as a littler binary. Other comments, as seen in the mailing list thread, are mostly supportive. littler can either be downloaded from either the Vanderbilt BioStat Wiki or my local archive. Also available is SVN access via
	svn  http://littler.googlecode.com/svn/trunk/ littler
Debian users shall get it via apt-get install littler as soon as it leaves Debian's NEW queue. In the meantime, the configure && make && make install three-step works for us under any of Debian testing, Ubuntu Dapper, OS X, and with both R 2.3.1 and the pre-releases of R 2.4.0.

Russell Coker: tcpdump and ps

Today I was doing some network tracing and figured out how to track the start and end of TCP connections. The following tcpdump command will get all SYN, FIN, and RST packets on port 80 and all ICMP packets:

tcpdump -i bond0 -n "port 80 and tcp[tcpflags] & (tcp-syn tcp-fin tcp-rst) != 0 or icmp"

Also recently I was tracking down some minor security issues related to programs that call setuid() to drop privs but never call setgid() and therefore always run with GID==0 which gives them a lot of access to the system. The following ps command gives the real, effective, saved, and filesystem UIDs and GIDs mapped to names. Note that with some versions of ps different fields have different truncation lengths.

ps -eo pid,user,euser,suser,fuser,group,egroup,sgroup,fgroup,comm

The next thing I have to do is to patch PS to show the supplementary groups.

Benjamin Mako Hill: Who Gets to Define Freedom?

Recently, I had an opportunity to publicly discuss my projects around definitions of freedom for creative work with Lawrence Lessig at a workshop at Wizards of OS. In particular, we talked about my article Toward a Standard of Freedom in which I advance a call for a list of essential freedoms, a definition of free culture or content, and a goal around which a social movement for free creative works can be based. At WOS, Lessig and I agreed that its likely that, eventually, some standard (or standards) of freedom will take hold. Like me, Lessig seems to think that this is a good thing. We both agree that there will be, and should be, competing definitions of freedom, competing social movements, and a long conversation about what essential freedom really to creative works is before we get there. Our most fundamental differences seem to stem from a disagreement about who gets to define freedom or, perhaps more precisely, who the communities of producers should listen to in order to find out what essential freedoms in the domain of different types of creative works are. Lessig is extremely reticent to make any claims about what essential freedoms might be: he does not want to speak for creative communities that he does not intimately understand. While he seems to be suspect of any project making normative claims in this regard, he disagrees most strongly with projects like mine that offer definitions of free content and expressions that are intended to be applied broadly and outside of the explicit domain of the definition's initiators recognized experience (in our case, online encyclopedias and software). Lessig explained that he trusts musicians -- and in particular, Gilberto Gil, the progenitor of the CC Sampling license -- when it comes to defining essential freedoms for music. Similarly, he trusts programmers -- and in particular, Richard Stallman -- when it comes to defining essential freedom for software. Since Richard and I are less accomplished, less well known, and less experienced musicians, Lessig feels most comfortable erring in favor of Gil where there's a disagreement between us about the scope of essential freedom for music. While his is a convincing argument, I disagree with Lessig's position for a series of reasons I'll try to discuss here. First, it is important to remember that Gilberto Gil does not represent all musicians. There are many artists and musicians who support my definition. There are many (and probably more if the CC license usage statistics are any indication) who support Gil's lower base-line. It's worth remembering that, even though we disagree, both Gil and I are offering controversial and extreme positions. Today, most creators think that giving away their work at no cost, even non-commercially and barring derivatives, is crazy. To illustrate why this is not a problem, we can look again to free software. In the free software community, we see that Richard Stallman does not speak for the programming community at large when it comes to defining essential freedoms to code. In the mid-eighties, Stallman spoke for himself and a tiny handful of like-minded others. Today he speaks for many more but it's still a tiny fraction of all programmers. It's hard to remember when you're down in the trenches but the idea that software should be free remains a marginal and kooky idea to this day. Due to the hard work of the free software movement, many people have adopted Stallman's definition of essential freedom for software and many more will. But it is not mainstream and it didn't get here by being so. Setting an ethical standard and a goal for a social movement should not be about being popular. It should be about describing an ideal. It should be about standing up to injustice. It should be about answering the question, "what sort of world do I want to live in?" Not only is this process not a popularity contest, it will, in all likelihood, stand to make one very unpopular. Being respected or seen as an expert within a field will help with the adoption of one's ideal. Programmers trusted Richards Stallman because he'd written large parts of the very popular programming tools like GNU Emacs and GCC. However, it wasn't from his experience in programming that this insight into the importance of software freedom stemmed. It was from his desire to be a good, ethical, neighbor and member of a technical community. To this day, most great programmers continue to disagree with Richard. Second, I'm interested not only in talking about the ability of authors to choose how their works are used but in the rights of readers. You don't need to have a platinum album under your belt to have an informed and important opinion about how music should be heard, experienced and distributed. Lessig's current push for a "Read-Write Culture" is very fixated on creators and re-mixers. That's only one important piece of the community that frames and deals with this problem. Third, while I agree with Lessig that discussions around definitions of free culture must happen separately in each separate artist community, I see several compelling reasons why a single definition of freedom may be a very good idea both tactically and philosophically. For example, it provides a common rallying cry around which different creative groups can collaborate and it mirrors the common treatment of different types of works in current IP systems. More importantly, there are fundamental similarities between information goods and the way they are created, distributed, and consumed on computers and in digital networks. I've highlighted this before in quoting Eben Moglen on the ethics of creating artificial scarcity in goods with zero marginal cost. As a final note, it's worth stating that one doesn't need to feel that all works should be free to support a definition of freedom. Richard Stallman provides a great example of this. Stallman doesn't think that works of opinion or works that are designed primarily to entertain need to be free. However, he does believe that the term "free" should refer to a fixed set of freedoms so that he can take such a position. Without a definition of "free," a position on what should or should not be "free" is impossible. I believe that freedom to distribute and produce information goods like art and content and software are embedded in a set of freedoms and rights for both the producers and consumers. I think that to some degree (and quite probably a less extensive degree), Lessig agrees with this. Unlike Lessig, I don't believe that one needs extensive expertise in the creation of a particular type of creative good to make true statements about what is ethical or unethical in the production, distribution, and control of it. To use admittedly extreme analogies, you don't need to be a slave owner (or slave for that matter) to say that slavery is wrong. You don't need to be a farmer to make arguments against or in favor of vegetarianism or in favor of free range animals. I don't believe you have to be a technologist to claim that certain freedoms to technology are essential. I don't believe that you need to be an musician (successful or not) to make claims about essential rights to music. I welcomed the conversations and challenges that Lessig offered and it was encouraging to see agreement on the process of discussion and debate going forward. After the workshop, Lessig suggested that we continue the conversation. I look forward to doing just this in other venues and in other ways.

Robert Collins: 26 Sep 2006

I've just released bzr 0.11rc2 which unbreaks the test suite for windows and fixes our commit performance regression! The 0.12 release will be managed by John Arbash Meinel, giving me some more cycles to focus on local performance. Yay!

Jacobo Tarrío Barreiro: Firechicken

Ana said that I should change my “Get Firefox” button (down there in the page footer) to a “Get Firechicken” button. First I had to create one, so there it is: Get Firechicken! Don’t you know what Firechicken is? It is my candidate name for the trademark-unencumbered version of Firefox. Wanna see the logo? See the logo!. You saw it here first.

26 September 2006

Evan Prodromou: 4 Vend miaire CCXV

In all the fuss over the last few days I haven't mentioned that our friend Jani Patokallio has been in town this week. Jani is a longtime, dedicated Wikitraveller who's been instrumental in the success of the site; his dad is the Finnish ambassador to Canada so he gets the occasion once in a while to be in our neck of the woods. It was great to have him here. First, it was good because we finally managed to go out to Maamm Bolduc, the fantastic nearby diner/restaurant with the great poutine that I mentioned in Journal/20 Prairial CCXIV. Great according to montrealpoutine.com, that is. And I have to confess: it was an incredibly good poutine. Maj and I got the v g , which was rich with fried mushrooms and peppers, and Jani got the bourgignon, full of wine and beef. I think we all left satisfied. We also managed to head out to Chu Chai, the Thai restaurant on rue St Denis with all the fake meat. Jani brought his brother Miko who's at McGill right now, and they didn't seem to mind the tofu and seitan and stuff, so it must be good. I also had showed Maj the Debian:HugAFinn game, and we resolved to earn some points while we had two Finns in a relatively captive situation. I think both J & M were nonplussed by our hugging advances, but once they learned that it was in the interest of gaining points, they acquiesced stoically. Fine people, the Finns! tags:

Thanks Matt Matt Brubeck pointed out a 7-line shell script to fix the ssh UI problem I pointed out on Journal/2 Vend miaire CCXV. At least I think it was Matt -- he didn't sign his comment. This makes the second time in the last week or so that someone else has edited my WikiBlog. I guess it's a good thing, but it's making me think I need to work out some formal way to do commenting. tags:

Biella Coleman: The Long Fire Of Political Action

All the soarings of my mind begin in my blood.
-Rainer Maria Rilke I have made it back from NYC after a pretty intense few days spent at the Open Minds Conference and Icarus-hosted workshops, Get Your Freak On. Both were incredibly interesting and I felt the ambivalent rush of excitement and fear that follows the prospect of working on a new project. While I have spent some time researching critiques of psychiatry, I have not spent all that much time with the people involved, academically and personally, in the various movements. And there is nothing like seeing in the flesh and blood some very passionate political work to get the intellectual excitement brewing. The first time I went to a survivor conference and protest I was living in San Francisco, deeply involved in my hacker research. I learned about the movement from a civil libertarian John Gilmore, who drew inspiration from psychiatric survivors to develop his free speech arguments for drug legalization. I had never heard of them and was intrigued so I naturally poked around the web. And I was fortunate to find out that their conference was being held the following weekend less than 10 blocks from where I was living at the time. I made time to go and unsurprisingly, it was a powerful event, perhaps the most stunning conference I had ever been to. There was something awfully inspiring about a political movement in which the members had experienced heavy doses of trauma, often through heavy doses of “treatment” and yet found the energy, will, and life to engage in political action, and in a society that does most everything to dampen the fire of politics. This weekend was no less inspirational. Even at the academic conference, the personal stories of trauma, survival, and the complex ethical decisions of choice in a landscape dominated by one medical model, erupted frequently. These were important eruptions that sometimes probably for some felt out of place in an academic setting where such outpourings are discouraged, buried deep away never to disturb the calm and rationality of talks. But without them, the conference would have felt dry, staid, and sterile, which would precisely have been the most disappointing atmosphere to have created for this environment. All the talks were engaging and illuminating and it was great to see and hear many folks working on these topics and especially working to carve out a different political and somatic reality. For me, the talks by David Oaks and Jackie Orr were the most electric and hopefully I will soon get the videos of them as well as most others (as I (tried) to tape most of the conference) up for those who are interested. In the meantime, David Oaks has already
released his talk, which is worth checking out. One of the more interesting parts of the conference was that it gave a clear indication of one of the great successes and strengths of the mad movement, which is its staying power, its ability to survive (even if not necessarily known to wider publics) generation after generation, which is more surprising given that the vitality of so many of the political movements of the 1960s and 1970s, vanished or languished. This continuity was marked by David Oaks keynote speech entitled “Unite for a Nonviolent Revolution in the Mental Health System: What 30 Years in the Mad Movement Have Taught Me” and just by the fact that he and Celia Brown were there, both who have been involved for decades. Beyond that, it was also the new faces, the new groups, that include Icarus, and the
Freedom Center, that attest to the ability for this Mad Movement to thus far escape the cruel ravages of time and its intervention, often causing rifts within and across generations. Sasha Dubrul who gave a talk during the activist panel and founded Icarus four years ago talked about the deep alienation he felt when he first had encountered the rhetoric of psychiatric survivors and, even despite his deeply critical stance against psychiatry. He wanted to create an organization and a message and a place that resonates with our actual experiences of mental illness rather than trying to fit out lives into a conventional framework. It is a message that swoops into many territories that includes a stiff, unrelenting critique of psychiatry and the pharma industry all the while admitting that not everyone can survive without pharmaceutical drugs (and being deeply grateful for this), all the while also providing pathways to alternatives. It is not easy territories to navigate, due to the and cracks and crevices between positions but then again, most of life is filled with these bumpy textures and not a smooth plane free contradictions. If Icarus was born in part because existing organizations did not adequately address existing needs and desires, it did not grow and move away from existing organization but moved closer to them and is now is in alliance with
MindFreedom. And this is key. Difference in a political movement adds vitality, depth, opportunity but this can only be brought into healthy fruition with alliances. Otherwise, deep fragmentation follows, which given the already deeply fragmented nature of our lives, and of the political landscape, can end in political stasis. But so far, the Mad Movement has over years taken “mad anger” to fight a mad system, and given the last 30 years, I am sure will provide many more decadesof mad pride.

Amaya Rodrigo: Proudly introducing: TheDebianChoirOfComplaints



Before you understand TheDebianChoirOfComplaints, you must carefully follow the instructions on the Wiki page and watch this video first.

If you are interested, join us!

Jaldhar Vyas: Jihad For The Love Of Buddha

Falafel Desnuda

Junichi Uekawa: SOAP interface for apt-listbugs.

It is now deployed. Package already uploaded to unstable, and waiting in incoming right now.Please try out.The logic hasn't changed much, but the information retrievalbackend is completely different and uses SOAP BTS interface.

Mario Iseli: A lot of things to do

Finally, my relocation is now finished, and I’m “back on to the world”. The world? The whole world? No! I’m definetly not because my DSL-Connection is not yet activated by Swisscom. :-( First of all I would like to do more for Debian, this is poorwise more or less impossible now, except some activity on the mailinglists during work. Then I’m moving a server from a private customer from Switzerland to Germany and setting up VHCS. Then I have also a stack of books I should read, maybe about Squid, Kerberos and Postfix. I have also to prepare a little Website for my grandfather (I will speak to him about it on thursday) and last but not least I should help my parents with relocating their office. This all is a never ending chain -> I wish the day would have some hours more or I wouldn’t need to sleep, I would like best to have more time for all my friends and just to relax. Here in the office it’s sometimes also a hurry, one person has gone and we’re only 3 persons now, and an “administrative officeman” would be very helpful. By the way I’m also preparing my trip to Berlin in December and preparing for my LPI test. Yeah, that’s life, sorry for my inactivity in Debian and other placesm there will be better times in the future where I have more time.

Amaya Rodrigo: $age++, 0x1F

I became 31 yesterday. On a Monday. It had to be a Monday.

The coolest part was this "you are too old to get the right amount of candles on your cake, so you'll get hexadecimal candles". It was a loving hack.

0x1F

Thanks to all those came for dinner, I loved the presents, and your company, inmensely.
To all those who called (and called, and called)... sorry for turning off the phone. Damn, I hate calls on Mondays!

Amaya Rodrigo: When it doesn't really make any sense, but yet it does...

I was reading a disambiguation page in Wikipedia today. I quote:
SAD is a three letter acronym.

Petr Rockai: on friendship

I have written that friends were those who kept me from going under. And that was so. And that experience makes me biased. But i believe in friendship and i believe that a man cannot stand alone. One needs someone to lean on, when times are tough. And tough times always come, sooner or later. When times are good, we tend to forget about it. I so have. But now i am reminded. And i am desperately trying not to forget. And i have learned something. Friends do not go away. They do not forget. I have mostly forgotten them for a year. I didn't need them, or so i have thought. But they were there, when i needed them. It is so easy to underestimate people. It is so easy to not give them the trust they deserve. And mistrust is a great enemy. If you do not trust, even a best friend cannot help. They may try as much as they want, but you will never find relief in them. It is too easy to spoil someone's effort to help you. If you do not want to be helped. When you are afraid to lean on someone, lest they may step aside and let you fall. Just let it go. People are good. And if they let you fall, do not blame them. Everyone has their limits and can only carry so much weight on their shoulders. No matter how much you want to help someone, when the weight is too much, you just break and both of you fall. And that is why it is important to have friends. To have more people to lean against. So the weight is not too much for them. So they are able to support you. And one has to trust each and every of them. They won't let you fall. Don't worry. Don't you worry. Make friends, it is easy. Smile. Make people feel good. Give them a little support when they are down. Help them out with little things. Talk nonsense, go out and have a beer. Trust them. I have known many people over the time. And only very few of them have let me down. And those that have not made up many times for those few. I feel so lucky. And i wish for other people to make a similar experience. Don't be discouraged if someone lets you down. People are good. That is a good belief. A good start to keep one's sanity. I hope you find yourself in these words, Elenna. Just a little bit.

MJ Ray: A note on phone numbers and forms

It sucks that despite (and apparently maybe because of) not being a BT customer any more, they can still delay my new phone line and broadband until a fortnight after moving in. (Ask not how I am online at the moment, for it is truly evil.) It sucks more that online forms for some essential services won't let you register a change of address if you don't have a telephone number. Bad Anglian Water. Bad North Somerset Council. It sucks even more that online forms for Wessex Water try to make you agree to even more restrictive terms than if you use the equivalent paper forms - I'm pretty sure their online terms break the Unfair Terms in Consumer Contracts Regs, but I'm not starting that fight just now.

Evan Prodromou: 3 Vend miaire CCXV

We had a busy day today. Our friend John Usher, an ebullient genius from the bubbly town of wt:Beer in wt:Devon has spent the last few years on a Ph.D. in Music (sound recording) at McGill University here in Montreal. He finished his thesis last spring, but due to scheduling conflicts with his board of advisors he couldn't defend the darn thing for several months. So he's been bopping around different parts of the world -- Chile, Beer (of course), France and such -- and has been crashing in our extra room for the last week or so now that he's back in town. He defended his thesis today, so Maj and I went to see the presentation. I'd never been to a thesis defense before, and it was different than I expected. I was picturing something along the lines of a parole hearing, with perhaps some fraternity hazing thrown in, but it was actually a very public lecture about his research. There were maybe 30 people in attendance -- friends, board, and curious department members -- and John gave a great lecture about his work. As one of his panel members from the Psychology department said, "You've done a good job making this really complicated issue clear enough that I could almost understand it." It's pretty great when you see someone you like and respect really shine in what they do best, and John absolutely shone today. His thesis is on the abstruse subject of audio-spatial imaging -- how we can tell where the source of a sound is -- but he made it clear enough that I could follow along -- almost. tags:

Florian Ragwitz: My most often executed shell commands

$ history 1 awk ' print $2 ' awk 'BEGIN  FS=" "   print $1 ' sort uniq -c   sort -r  head -10
On my laptop:
   1557 vi
    710 perl
    692 man
    661 cd
    648 ac
    513 sudo
    510 grep
    499 rm
    388 ls
    180 wajig
On weedy.perldition.org, my server:
   1967 sudo
   1052 vi
    810 cd
    766 l
    352 screen
    316 perl
    250 ..
    213 wajig
    212 find
    194 rm
.. expands to cd .., l is shorthand for ls and ac is my alias for apt-cache.

Florian Ragwitz: My most often executed shell commands

$ history 1 awk ' print $2 ' awk 'BEGIN  FS=" "   print $1 ' \
   sort uniq -c   sort -r  head -10
On my laptop:
   1557 vi
    710 perl
    692 man
    661 cd
    648 ac
    513 sudo
    510 grep
    499 rm
    388 ls
    180 wajig
On weedy.perldition.org, my server:
   1967 sudo
   1052 vi
    810 cd
    766 l
    352 screen
    316 perl
    250 ..
    213 wajig
    212 find
    194 rm
.. expands to cd .., l is shorthand for ls and ac is my alias for apt-cache.

Junichi Uekawa: apt-listbugs change hits unstable, and merkel.

Looking at merkel.debian.org logs, the result of 24-hours after release of apt-listbugs is obvious.There are around 16000 HTTP GETs generated by apt-listbugs, from 700 unique IPs. It's surprising to see that many people are running unstable and using apt-listbugs and updated the package overnight.For db-h .status files, one HTTP GET is required for each bug ID, which means it will require about 10 status files per system.We will see how it compares with a single SOAP request per system.I am now waiting for bugs.debian.org reconfiguration to happen.

Next.

Previous.