Search Results: "ag"

31 May 2008

Uwe Hermann: One A110 mini-laptop with pre-installed Linux for 199.- plus Debian installation HOWTO

One Mini A110 subnotebook OK, so I've spent my last money on the One Mini A110 subnotebook recently. Yep, yet another ASUS Eee PC clone, but this one has the great benefit of costing only 199.- Euros and has similar specs as the Eee PC 2G Surf (700), I think. This is really a great little machine as far as I can tell. It's a VIA C7-M ULV 1GHz with 512MB DDR2 RAM and a 2 GB Solid-State-Disk (SSD), 7" screen at supposedly 800x480, VGA out, card reader slot for SD/MMC/MS, 2x USB, wireless, modem, audio. No webcam, no bluetooth. Yesterday I created a wiki at a110wiki.de (for the A110, but also the A120 from the same vendor, which has a 4 GB SSD), where A110 users can collect information, HOWTOs, photos, etc. There's already quite some content there, especially some early tutorials and photos on the inner workings of the A110. Today I've installed a stock Debian unstable distro on the SSD with 2.6.25 kernel, and I'm currently checking which parts of the hardware work out of the box, and which need further fixing. There's a a bunch of source code tarballs and patches on the vendor website, but most of it seems to be meant for 2.6.22, we'll see if and/or how much work it'll take to merge all this upstream (if it's not already done)... My Debian Installation HOWTO is also available from the wiki, of course; I'll add more info and photos during the day. Now for all interested parties: The vendor of the A110 has (again) announced a special weekend offer (valid until Sunday, June 1, 2008, i.e. tomorrow) where they'll sell the A110 for 199,- Euros again, the regular price will be 229,- Euros after that. So if you're thinking about buying one, now is probably the right time. Check the wiki for issues which are important to you, some quirks remain at this point (but will probably mostly be figured out sooner or later), e.g. the wifi seems to have issues (the vendor said they'll send a driver update to all affected customers), the RAM is builtin and can't be upgraded, and some other, more or less important issues, depending on what you expect from the laptop. For real-time communication there's also the #a110 IRC channel on Freenode.

Matthew Garrett: Personality modification through perl

One of the downsides of writing my thesis last year was that focusing on a technical subject for approximately 16 hours a day left me almost entirely unable to relate to people. The irony in this is that losing the ability to socially relate tends to result in you assuming that you're fine and everyone else is just behaving bizarrely, which makes rectifying the situation rather difficult. In an attempt to avoid this I have written some software, because dealing with the symptoms of a problem is always better than dealing with the root cause and technology is always the appropriate solution to social issues.

The aim was to send myself an email once a week that I'd actually have to read. This is achieved by running the script with the generate argument. This sends an email with an appropriate reminder message (something along the lines of "Are you sucking? Really? Are you sure? Is everyone around you suddenly getting annoyed at you for no obvious reason?", and so on) and a bunch of embedded characters randomly spread throughout it. Running the script with the check argument will send the email again if a valid response hasn't been received. Those can be stuck in cron. The final part is to add a procmail or whatever rule that passes replies back to the script with the validate argument. These replies should include a line containing all the embedded characters (order doesn't matter, but if there are multiple occurances of a character than the reply must include that number of occurances). If a valid reply is received then no further emails will be sent until the script is run with the generate argument again.

Also: My perl sucks.

Kartik Mistry: KDE 4.1 beta migration


* Even I am on much needed unofficial vacation because of job transition (more on this later when its done!) and even after enough playing with Kavin, I had enough time to switch to KDE 4.1 beta (4.0.80). Here are my some points and experiences which may help you in migration. My Desktop with KDE 4.1beta * I assume that you are running Debian ;) * First, follow, ana’s detailed help to switch to KDE 4.1 beta. * Panel can be resized and configure now. That sliders are so sweet. But, if you find that your KDE desktop becomes ‘white’ as Gandalf the white, do following: mv ~/.kde4/share/config/plasmarc ~/.kde4/share/config/plasmarc.OLDANDHATED
mv ~/.kde4/share/config/plasma-appletsrc ~/.kde4/share/config/plasma-appletsrc.OLDANDHATED Thanks to pinotree for help! * kmail and friends (kontact..) will not be migrated properly, as they are using .kde, just cp -r .kde/share/apps to .kde4/share/apps will help. * I can find everything in kontact works perfect after migration. You just need to reconfigure your pop/smtp settings. I am figuring out why it wasn’t happen. Also, kaddressbook is missing all email address, but that should not be big issue as I have backup using Gmail’s web addressbook. * I just saw that Peter and Fathi (fabo) mentioned their experiences (and answers) too. pusling continues thread too ;)

30 May 2008

Craig Sanders: I m sick of all the whinging about petrol prices

Really, who cares? 1. How much petrol do people actually use, anyway? People whinge and bitch and moan about petrol going up a few cents, and queue up for ages to try to buy petrol at the low point of the weekly price cycle - and for what? A tank will hold less than 100 litres. Typically around 50, but let’s say it’s 100 litres. That means that a price difference of 1 cent is worth a whole $1.00. A price difference of 5 cents is a measly $5.00, less than the price of a cheap bought lunch. For the average driver, they’ll buy 100 litres once or maybe twice per week. Who gives a damn? If $1.00 or even $5.00 makes such a difference to someone’s budget then they’re in serious financial trouble anyway - so much trouble that they shouldn’t even think about having a car, because they can’t afford it. Here’s a novel thought: they could drive less, make their kids walk to school, catch public transport, ride a bike, walk to the milkbar rather than drive, make sandwiches to take to work/school, and so on. They could also buy less of the worthless crap they buy (like biscuits and cakes and bottles of coke and other rubbish). There are thousands of things people could do so that they don’t have to give a damn about a few cents per litre. Even better, if people reduce demand enough, they can seriously hurt the speculator bastards who have driven oil prices up so much in recent months….at least a quarter of the current price per barrel of oil is due to commodity speculators driving the price up. Hit the bastards where it hurts, drop demand so much that they lose serious money. If the price of petrol bothers you, don’t whinge, get revenge. Actually, I’m entirely unconvinced that the general public actually care all that much about petrol prices anyway. It looks and feels much more like an astro-turfing campaign by the oil companies and petrol distributors - especially the recent crap about reducing the excise by 5c/litre, anyone can see that if the government does that the petrol companies will, within weeks, increase prices so that THEY get the 5c/litre rather than the government, resulting in yet another transfer of wealth from the public purse to private corporations. Same for all the bullshit about the fuel price watch program - it’s obvious that the opposition to that comes directly from the petrol companies who don’t want buyers to have good information to base their purchasing decisions on. It’s also a useful distraction and pretend-debate for the government and the opposition - they can rant and rave and score points over a trivial, bullshit non-issue like this, and nobody will notice that nothing of any real substance or worth ever gets debated in parliament…and the media are either colluding in this or are too stupid to avoid getting sucked in. 2. We have the fourth-cheapest petrol in the world. So all this moaning is not about petrol being more expensive than it should be, it’s about not being quite as unreasonably privileged as we were in the past. 3. Oil prices are *inevitably* going up, they’re *never* coming back down. Get used to it, it’s only going to get worse from here - much worse. Instead of endlessly whining about the inevitable, focus on alternatives - like *DEMANDING* that the government start paying more than just empty tokenistic lip-service to the idea of alternative/renewable energy sources. 4. IMO, the sooner petrol hits $5.00 per litre or more, the better. By then we’ll really have to have functional alternative energy sources in place. Because if we don’t, we’re completely screwed. Syndicated from Craig Sanders' Errata: Tech Notes and Miscellaneous Thoughts I’m sick of all the whinging about petrol prices

Cyril Brulebois: Blender 2.46 in experimental

Just a quick word: Blender 2.46 has been uploaded to experimental a week ago, and is available on the following architectures:
$ rmadison -s experimental blender
blender   2.46+dfsg-1    experimental   source, alpha, amd64, i386, ia64, mipsel, powerpc, s390
The move to unstable is planned once ftgl 2.1.3 has been released and uploaded to unstable. This release s highlight: Big Buck Bunny, as seen on the splash screen: Blender 2.46 - splash screen

Russell Coker: Links May 2008

The Daily WTF has published an interesting essay on why retaining staff is not always a good thing [1]. The main point is that good people get bored and want to move on while mediocre people want to stay, but there are other points and it’s worth reading. Following the links from that article led me to an article comparing managing IT departments to managing professional sports teams [2]. They chose US football (a sport I know little about and have no interest in) so I probably missed some of the content. But they have some good points. John Goerzen gave a good presentation to the idea of increasing petrol taxes and decreasing other taxes to have a revenue neutral result while also discouraging petrol use [3]. I credit him with presenting the idea not inventing it because I have heard similar ideas several times before (but not nearly as well written and not written from a right-wing perspective). Hopefully some people who read his presentation will be more receptive than they were to the other versions of the same idea. Craig Venter spoke at TED about his work in creating artificial life [4]. He spent some time talking about the possibilities of creating artificial organisms to produce fuels directly from CO2 and sunlight. Nick Bostrom published a paper explaining why he hopes that the SETI projects find nothing [5]. His theory is that the fact that our solar system has not been colonised and that we have seen no immediate evidence of extra-terrestrial life indicates that there is a “Great Filter” which is a stage of evolution for which it is most unlikely that any species will pass. If the Great Filter is in our past (he cites the evolution of multi-celled life as one of the possibilities, and the evolution of prokaryotes into eukaryotes as another) then it means that our future might be more successful than if the Great Filter was something that tended to happen to advanced societies. Jared Diamond (the author of Collapse), has written an interesting article about vengeance [6]. He focuses on an example in New Guinea and uses it to explain why personal vendettas tend to run wildly out of control and how society is best served by having the state punish criminals.

Jonathan McDowell: DG834Gv3

I've been asked about the v3 DG834G in the past (mine is a v2) and always answered that I don't know anything about it. Earlier this week Ben asked me about it and let me have a login to his. He also took pictures, which are on the OpenWRT DG834G page.

Some comments, based on this:

I think it should be easy enough to get OpenWRT up and running on this (possibly someone has even done so already); someone just needs to hook up a serial console and do some prodding.

Y Giridhar Appaji Nag: Alumni mail service moves to Hotmail

I knew better when I neither advertised nor used my IITG Alumni forwarding email address, and I suppose I'll not do that, ever.

For one, the ID given was ridiculous, connected to my name in a rather weird fashion with a number thrown into it and nobody bothered to reply when I asked if I could change it. And now the domain-name part of the email ID has been changed forcing people to tell all their contacts about the change, but this takes the cake -- the service has been moved to Hotmail with 2GB free space.

Huh! Thanks but no thanks.

I really disapprove of such widespread services (which should really not have a commercial angle to them) being taken over by the Googles, Ciscos and the Microsofts of the world.

David Welton: An impressive amount of resources

In the TechCrunch coverage of Google IO, I was impressed by this:
Not every team has the resources Google does to build for every platform. Google is betting on browser over time for mobile devices; it will be the entry point for many applications. But today, the only browsers capable for supporting mobile apps include iPhone and few others. So Google is developing Android, which includes world class Webkit browser.
Here at the world headquarters of DedaSys LLC (which for the time being happens to be "in front of David's computer, wherever that is"), we too have some suspicions about the browser becoming the platform of choice for mobile phones, although there is a big if: When will the carriers make always on, cheap internet connections widespread? Until that happens, client side apps will still probably dominate for many things. And of course for applications requiring hardware access, some kind of local program will be necessary as well for the foreseeable future. (And of course, Hecl is a good choice "for the time being", too!) Coming back to the phrase cited above, what blows me away about it is the sheer amount of time and money that they're investing in something that "over time", they're not really betting on, in the sense that they just want browsers everywhere? Jumping into a market with a new "OS", toolkit, etc... just to spread a platform with a decent browser? Wow. That is a company with a lot of spare change. Most people and companies in business are doing the best they can to stretch out their dollars or euros as best they can. I guess it really takes a behemoth to pour so much in the way of engineering talent and financial resources into something that's in some ways a bump in the road in terms of their long term vision. Or maybe I'm just reading too much into one phrase?

Sune Vuorela: reply to reply to KDE 4.1 experience

Fathi blogged a reply to Peter in where he kind of “tagged” me to also reply. So I will. You can as Fathi writes, but it is … a bit well hidden. My encrypted IMAP accounts works without any problems on 3 seperate machines. (home workstation, laptop, work workstation). There is a slight packaging issue here though, not all shlibs were proper bumped, so make sure you have 4.0.80-something of all packages. You have moon applet and fifteen puzzle in extragear-plasma. Eyes-widget seems gone though. Not a big loss. (Or which ones are you talking about?) - and yes, I do see kde4 in Lenny.

Chris Lawrence: Nothing is ever simple

Reading CRANberries this morning I remembered that I’d never gotten around to packaging Amelia for Debian. So I dutifully filed my ITP and got to work on adapting the package to build with Debian, which thanks to Dirk’s hackery on R support in cdbs was pretty easy—copy over the debian directory from my Zelig package, update the copyright file, fix up the control file, update the Debian changelog, fix a lintian warning or two (FSF address in the copyright file), and it’s basically done. Then I discovered that Amelia also throws in a couple of Tcl/Tk libraries. One, BWidget is already packaged, so all I had to do was delete the copy that’s installed by the Amelia package and add a dependency on it. The other is Combobox, the exact license of which follows:
completely, totally, free. I retain copyright but you are free to use the code however you see fit. Don’t be mean.
Yay. I get to play license negotiator again. I really love creating extra work I really don’t need for myself…

Peter Eisentraut: KDE 4.1 experience

I tried the installation of KDE 4.1 beta 1 on Debian, as described here. I ended up undoing this about an hour later. The environment isn't really usable yet, so my advice to the public is: don't do it, on a system you plan to actually use.

Here is a random assortment of problems I encountered:
So it was quite obvious that that various pieces don't really fit together all that well yet. On the upside, I noticed many really good ideas that I would look forward to using if the overall environment worked.

The good news is that the packaging appears to be really robust (I found one packaging bug with a file conflict) and the upgrade and downgrade works well (you have to use aptitude, as described in Ana's post; apt craps out completely).
So when KDE 4 is actually usable, Debian will be ready. But not for lenny; that would be suicide in my opinion.

Fathi Boudra: reply to KDE 4.1 experience

I don’t know if Peter tries KDE 4.1 beta1 (4.0.80) but I tend to disagree with some comments. False. See the plasma icon on panel ? click on it and you’ll have what you want: panel-configuration.png Could be nice to be more verbose. True, but it’s better with each release and not really a showstopper. Which one do you want ? Indeed. KDE3 uses .kde as home directory and KDE4 uses .kde4. It is intended to not break your KDE3 until we test upgrade path. I don’t know :) I continue to use Kontact from KDE3. Modestas and Sune have switched to kde4pim and they found it better than expected. Hmm It works for me. Konsole saves maximized/normal state. Make sure you unlock widgets with plasma icon on the top-right corner. Drag and drop from K-Menu to panel. Sebas made a nice rough guide to plasma. Take a look !!! KDE4 is more than usable. It contains some glitches but we are far from sucide ;)

Russell Coker: CPU Capacity for Virtualisation

Today a client asked me to advise him on how to dramatically reduce the number of servers for his business. He needs to go from 18 active servers to 4. Some of the machines in the network are redundant servers. By reducing some of the redundancy I can remove four servers, so now it’s a need to go from 14 to 4. To determine the hardware requirements I analyzed the sar output from all machines. The last 10 days of data were available, so I took the highest daily average numbers from each machine for user and system CPU load and added them up, the result was 221%. So for the average daily CPU use three servers would have enough power to run the entire network. Then I looked at the highest 5 minute averages for user and system CPU load from each machine which add up to 582%. So if all machines were to have their peak usage times simultaneously (which doesn’t happen) then the CPU power of six machines would be needed. I conclude that the CPU power requirements are somewhere between 3 and 6 machines, so 4 machines may do an OK job. The next issue is IO capacity. The current network has 2G of RAM in each machine and I plan to run it all on 4G Xen servers, so it’s a total of 16G of RAM instead of 36G. While some machines currently have unused memory I expect that the end result of this decrease in total RAM will be more cache misses and more swapping so the total IO capacity use will increase slightly. Now four of the servers (which will eventually become Xen Dom0’s) have significant IO capacity (large RAIDs - they appear to have 10*72G disks in a RAID-5) and the rest have a smaller IO capacity (they appear to have 4*72G disks in a RAID-10). The other 14 machines have the highest daily averages for iowait adding up to 9% and the highest 5 minute averages adding up to 105%. I hope that spreading that 105% of the IO capacity of a 4 DISK RAID-10 across four sets of 10 disk RAID-5’s won’t give overly bad performance. I am concerned that there may be some flaw in the methodology that I am using to estimate capacity. One issue is that I’m very doubtful about the utility of measuring iowait, one issue is that iowait is the amount of IDLE CPU time when there are processes blocked on IO. So if for example you have 100% CPU time being used then iowait will be zero regardless of how much disk IO is in progress! One check that I performed was to add the maximum CPU time used, the maximum iowait, and the minimum IDLE time. Most machines gave totals that were very close to 100% when those columns were added, so it seems that if the maximum iowait for a 5 minute period plus the maximum CPU use plus the minimum idle time add up to 100% and the minimum idle time was not very low then it seems unlikely that there was any significant overlap between disk IO and CPU use to hide iowait. One machine had a total of 147% for those fields in the 5 minute average which suggests that the IO load may be higher than the 66% iowait number may indicate. But if I put that in a DomU on the machine with the most unused IO capacity then it should be OK. I will be interested to read any suggestions for how to proceed with this. But unfortunately it will probably be impossible to consider any suggestion which involves extra hardware or abandoning the plan due to excessive risk… I will write about the results.

Joey Hess: locking down ssh authorized keys

The way .ssh/authorized_keys is typically used is not secure. Because using it securely is hard, and dumping in passwordless ssh keys is easy. I spent about 5 hours today locking down my authorized_keys. rsync The only easy case is a rsync of a single directory. Follow these good instructions. If you need to rsync multiple separate directories, it's easy to find several documents involving a validate-rsync.sh. Do not use, it is insecure -- it allows rsync to be run with any parameters. Including parameters that allow the remote system to rsync in a new ~/.ssh/authorized_keys. Oops. (You can probably also trick validate-rsync.sh into running other arbitrary commands.) To be secure, you have to check the rsync parameters against some form of whitelist. git Locking down git should be easy. Use git-shell. Unless you also want to be able to log in to an interactive shell on the same account. To do that, you'll need to generate a separate ssh key for git. Both git servers I use are named git.*, so I set it up like this in ~/.ssh/config on the client:
Host git.*
    IdentityFile ~/.ssh/id_rsa.git
Then on the server, I added the key to authorized_keys, prefixed with this:
command="perl -e 'exec qw(git-shell -c), $ENV SSH_ORIGINAL_COMMAND '"
(I also tried the simpler command="git-shell -c $SSH_ORIGINAL_COMMAND"; but it didn't work with alioth's old version of openssh, and I didn't want to worry about exposing SSHORIGINALCOMMAND to the shell.) Before arriving at that, I took a detour to using gitosis. It can make it impressively easy to manage locked down git over ssh, but you have to fit how it does things. Including repository layout, and a dedicated account. So I spent several hours changing my git repo layout. In the end, I decided gitosis was too complicated and limiting for what I needed, but I do recommend checking it out. svn Like git, this is fairly easy, since svn provides svnserve. The svnbook documents how to use it in .authroized_keys. Basically, just use
command="svnserve -t"
A similar approach as used for git can be used here if you want to have a dedicated ssh key that causes svnserve to be run. d-i daily builds d-i has a d-i-unpack-helper that can be put in authorized_keys. unison Can probably be locked down similarly to rsync, but I haven't tried yet. duplicity The only way seems to not use duplicity over ssh at all, and instead use a different transport. too hard What if you want to allow locked down git, and a rsync, and maybe unison too, all to the same account? You'll end up with some nasty mismash of all of the above, and there are plenty more things using ssh as a transport that need other techniques to lock them down. Until this becomes easier, a majority will just dump passwordless ssh keys in ~/.ssh/authorized_keys, creating exploitable trust paths that don't need to exist.

29 May 2008

Kartik Mistry: Your Lintian Report, Sir


* You will now able to see Lintian info and overridden tags (ie full report) from your main Lintian report page. Thanks to djpig for quick fix!

Joerg Jaspert: I'm still alive

While I have been a little quiet with ftpmaster posts lately - I am still alive. I just had some other bits to do and didn’t get large enough changes done that would warrant an own post. Since my last post earlier this months there have only been 3 notable changes, namely And only a few minutes ago I sent a “Bits from” mail to our debian-devel-announce mailinglist, which includes a summary of the recent activities and changes in our team, with the addition of Thomas and Kalle, me getting FTPMaster and Anthony and James resigning. We also ask for volunteers which we might add to the team later on. See, I write might. We keep the right to reject people, for whatever reason. Hopefully there won’t be many rejects, but still. And we will see how the volunteers get the tasks done we plan to assign to them. You can expect to see a little more in the near future from me again, I don’t plan on staying that quiet forever.
And in other news - I recently got another group added, mirroradm, as it did help to fix some mirror issues with packages.debian.org. With that I also got the mirrors@ alias additionally routed into my INBOX. Thats a nicely spammed role address and my tip for you, if you should ever get offered access to (any) role address - run as fast as you can, unless you have very good spam filters! :) Luckily my filters are pretty good, as I’m on a good number of role addresses for a long time already, only a few dozen spams getting through a day (and a thousand filtered away). Comments: 0

Jacobo Tarrío Barreiro: I m going to Debconf

I'm going to DebConf8, edition 2008 of the annual Debian developers meeting I’m so going to Debconf 8… Here are my travel details to and from Buenos Aires, in case someone wants to fly with me: All for 783 euros, bought 1 week ago. I’m arriving 1 day early and 4 days late, but I’ll take the chance to help the organization after my arrival and visit Buenos Aires after Debconf :) And I’d also like to apologize in advance to anyone I ask to fetch me something, because, being Spanish, it is possible I’ll say something obscene instead ;)

Riku Voipio: beagleboard

While I have your Attention, one of the most interesting ARM projects at the moment: beagleboard . There is _huge_ variety of ARM developer boards available, but this one has a couple of really interesting bits

Martin F. Krafft: How Lenovo freely interprets 'next-business-day' warranties

I decided to purchase a three-year on-site warranty extension with next-business-day response time for one of the Lenovo systems I administer. I get this kind of extension for most systems that aren t critical, but whose downtime would be inconvenient. My understanding of the contract has always been that, assuming the problem requires on-site service, a technician gets in touch with you by the end of the next business day to agree on a time for the on-site visit. The contract does not guarantee that there will be a technician on-site on the next business day, but for two or three hundred Euros, that would be too much to ask. However, it turns out that I assumed too much. First of all, Lenovo sells you a next-business-day response time objective , meaning that they aim to respond by the end of the next business day, but (obviously) can t be held liable if they fail to do so. Apparently, they don t even have to provide a reason for missing the objective. What s even more curious, however, is their interpretation of response : the term stems from the time when operators would log calls and technicians then processed the queue. Nowadays, Lenovo prides itself with skilled technicians resolving more than 30% of all problems already on the phone , so the technicians log the calls and then immediately respond to them. According to Lenovo, it is thus completely acceptable and within the bounds of the contract if the phone technician logs a call on Thursday (and thus responds to it righ away), an the on-site technician calls to arrange for a visit on the following Tuesday, and the first available slot would be Friday 6 business days after the call was logged. I could not find any relevant information about this on their website, nor can you retrieve the agreement which you had to accept as part of the warranty registration later. Of course, I am not surprised by any of this. The world out there seems to be full of asymmetric arrangements. I just wonder why we put up with them. I certainly don t, and that s why Lenovo is getting an angry letter from me with a reference to this blog post. PS: in fairness, I should point out that I have been please by their support before, but have also questioned it in the past. NP: Contriva: Tell Me When

Next.

Previous.