Search Results: "tb"

29 January 2009

Russell Coker: Netbook Thermal Issues

Recently there has been increasing attention paid to thermal issues. The power used by computers not only impacts the electricity bill (and battery life for a portable device) but is a cooling problem. The waste heat from desktop systems and servers costs energy (and therefore money) to remove by the air-conditioning system and the heat produced by small devices can impact where they may be used. It seems that a temperature of 40C can cause burns if applied to the human body for any period of time. As it doesn t immediately hurt this can happen without people noticing. A friend recently reported getting a large blister on his arm after drinking a moderate amount of alcohol and falling asleep next to his EeePC. I have noticed that my EeePC 701 has an unpleasant pattern of heat dissipation. It appears to use only one small vent in the side to vent most of the heat (with some vents in the base for air intake) and the base is all plastic. Apparently such a machine draws 14W from the wall when in active use compared to my measurements of 20W for a Thinkpad T41p. The Thinkpad however has a significantly greater size, this means bigger vents (and therefore lower temperatures of the vented air). Also the fan inside the Thinkpad makes much less noise so I guess it s larger. If I am working in the loungue and leave my Thinkpad on the couch it doesn t seem to have any thermal issues. But if I leave my EeePC sitting in a normal manner the vents on the base are partially blocked and it becomes unpleasantly hot. If I leave my EeePC upside-down with the lid closed so that the vents in the base are exposed to the air) then the screen gets very hot, I am not sure whether this is heat from the CPU going through the keyboard to the screen and then being prevented from going further by the insulating cushion or whether heat is generated in the screen (although it is supposed to be powered down when the lid is closed). One suggestion I have received is to place a laptop on a metal baking tray. The flat tray preserves the airflow underneath it and the metal conducts heat reasonably well. Baking trays seem to be made of aluminium or thin steel, they don t conduct heat well - but a lot better than a cushion. It seems to me that one factor which will limit the development of NetBook class machines is the ratio of heat dissipation to either area or volume (I m not sure which is more important). For use similar to mine providing the same compute power as an EeePC 701 with less heat dissipation would be ideal - and technically shouold not be difficult to achieve. Unfortunately I think that people will want to run Windows on NetBook class machines so we will see the development of machines with faster CPUs and GPUs which have worse ratios of heat to heat dissipation potential which will lead to more heat induced shutdowns and low temperature burns. It s a pity that no-one makes a netbook with the CPU power of an iPaQ. A 400MHz ARM CPU is all I need for my portable computing and my iPaQs don t have cooling vents.

Martin Michlmayr: SmallNetBuilder article about Debian on QNAP TS-209

Jim Buzbee published an article in SmallNetBuilder a few days before Christmas about installing Debian on the QNAP TS-209. I find the article very well written and balanced, and it makes a good introduction for folks who are interested in installing Debian on NAS devices.

Russell Coker: Voting and Linux Australia

Dhanapalan writes about the small number of voters for Linux Australia elections [1]. I guess that blacklist-voting is partly to blame for my inactivity in this regard. Linux Australia is running pretty well so I don t think there s a great need for me to go out of my way to vote. One thing that could be done given that LCA is an LA event is to give a voting session keynote status at LCA. Have it happen just after a keynote speech and have some prize given away to a random person who attends - the free laptops that were given away one year are not required, a free lunch voucher would be more than enough to increase the attendance. A final factor that needs to be considered is the number of elections that we may vote in. I vote in Australian elections (state and federal), Debian votes (General Resolutions and DPL elections), and sometimes my local LUG. The amount of attention that I can focus on political issues is limited and divided with other elections that are more important.

28 January 2009

Russell Coker: It s too Hot in Melbourne

The Bureau of Meteorology has forecast temperatures of 43, 43, and 35 for today and the next two days. Those temperatures are in celcius. Yesterday was also above 40C so my entire house is hot. As my airconditioner is not overly large (a smaller unit is more efficient) the back part of my house will get really hot even without extra computers so I m turning off my SE Linux Play Machine. Also a couple of years ago a SE Linux Play Machine died during summer in a similar situation, and I prefer not to lose hardware. It will be on again in a few days.

Russell Coker: Links January 2009

Jennifer 8 Lee gave an interesting TED talk about the spread and evolution of what is called Chinese food [1]. In that talk she compares McDonalds to Microsoft and Chinese restaurants to Linux. Her points comparing the different local variations of Chinese food to the variations of Linux make sense. The CentOS Plus repository has a kernel with support for the XFS filesystem, Postfix with MySQL support, and some other useful things [2]. Mary Gardiner comments about the recent loss of a blog server with all content [3]. One interesting point is that when you start using a service that maintains your data you should consider how to make personal backups in case the server goes away or you decide to stop being a customer. Val Henson makes some interesting points about the reliability of Solid State Disks (SSD) [4]. Some people are planning to replace RAID arrays of disks with a single SSD with the idea that a SSD will be more reliable, this seems like a bad idea. Also with the risk of corruption it seems that we have a greater need for filesystems that store block checksums. Lior Kaplan describes how to have multiple Linux bonding devices [5], the comment provides some interesting detail too. programmableweb.com has a set of links to sites that have APIs which can be used to create mashups [6]. One of the many things I would do if I had a lot more spare time is to play with some of the web APIs that are out there. Gunnar Wolf has written some insightful comments about the situation in Israel and Palestine [7]. He used to be a Zionist and spent some time living in Israel so he knows more about the topic than most commentators. Charles Stross has written an informative post about Ubuntu on the EeePC [8]. What is noteworthy about this is not that he s summarised the issues well, but that he is a well known science-fiction writer and he was responding to a SFWA member. One of his short stories is on my free short stories page [9]. He also wrote Accelerando which is one of the best sci-fi novels I ve read (and it s also free) [10]. Don Marti has written about Rent Seeking and proprietary software [11]. It s an interesting article, nothing really new for anyone who has followed the news about the coal and nuclear industries. Erik writes about The Setting Sun and points out that Scott McNealy had tried to capitalise on the SCO lawsuit but Red Hat has ended up beating them in the market [12].

Joey Hess: GSoC followups

Arthur Liu is doing a great series of posts following up on the results of Google Summer of Code '08 projects in Debian. (post 1 post 2) Most of them failed to produce code that's actually used in Debian, though there were some very successful projects, too. My experience with ikiwiki in '07 parallels that: latex Patrick Winnertz produced a working teximg (latex -> image) plugin that's in ikiwiki. The initial proposal also included doing latex -> html and wiki page -> latex conversions; that work never happened. file upload and image gallery Ben Coffey had an ambitious proposal to add file upload support to ikiwiki and also write an image gallery plugin using that. Ben did produce a working file upload interface, but that code never got into ikiwiki. This was due to a combination of at least three things:
  1. The only outside communication with the ikiwiki community was doing a design proposal at the beginning, and a code dump toward the end of the project.
  2. There was an existing complex spec for how to limit who could upload what files, but Ben didn't choose to implement those access controls.
  3. The code dump was not even noticed until much later, when I was putting the finishing touches on my own implementation of an attachments plugin.
By the way, since I happened to do that attachments plugin as a paid consultant, I have an interesting data point: It took me 19 hours total to implement it, vs roughly a summer of work for the GSoC project. I don't mean this to reflect poorly on Ben, it just shows that someone who is familar with a code base and has thought a lot about a problem can work on it much more efficiently than a newcomer. AFAICS, Ben never did get to the gallery part. His involvement in SoC was cut short for personal reasons. Wiki WYSIWYG Editor Taylor Killian produced a working interface to Wikiwyg, but it tragically never made it into ikiwiki. This seemed to be going swimmingly -- Taylor set up a subversion repository for his work and produced several revisions of the wikiwyg plugin in response to feedback. At the end of the summer, it was close to ready to be included in ikiwiki. Then we lost contact with Taylor, and his site fell off the net. Subversion repo: Gone. Tarballs: Gone. The final tragic part of this story is that I had a local copy of all of Taylor's work. And when I moved ikiwiki over from subversion to git, I set up a wikiwyg branch, and put his work into it, and happily deleted my other copies of his work. But I made some kind of newbie mistake pushing that branch, and so his work never made it onto my git server, and at this point seems completly lost. (I still hope to hear from Taylor..) gallery Arpit Jain produced a working gallery plugin for ikiwiki. But that code never made it into ikiwiki. The main stumbling block seems to be that it used the lightbox javascript library, which, at least at the time was licensed under a non-free CC license. The code is present in a branch in ikiwiki's git repo, but at this point there is still no image gallery plugin in ikiwiki, though others are now working on other implementations. Conclusions I learned some important things from participating in the '07 SoC:

Martin Michlmayr: Pictures of QNAP TS-409U and Conceptronic CH3SNAS

I took some pictures the other day of NAS devices I'm currently working on. They are now available in the QNAP TS-409U and Conceptronic CH3SNAS (aka D-Link DNS-323) image galleries.

MJ Ray: World Economic Forum 2009 in Davos

The World Economic Forum opens today (28 Jan) and runs until the weekend. This year most of the high-power planning sessions and feel-good corporate social responsibility whitewash has been replaced by sessions such as What Happened to the Global Economy? (Er, it broke because you bet more money than existed in the world?) There s a report from France24 and a programme of sessions. Like WEF in previous years, selected sessions are broadcast on SFinfo in German and Original Languages (often English) on Hotbird at 13east. Additionally, this year, there are webcasts (maybe the podcast version will play on free software) but it seems that none of the computing sessions are up for broadcast. Economics rules the airwaves for 2009. My main reason for posting here is to boggle at the WEF myspace competition. Isn t Myspace about the least appropriate of the big social networks for an economics forum? I suspect some payment or benefits from the network that Rupert Murdoch s company bought. There s also @davos which seems to be talking much more than listening seems appropriate for WEF, no?

26 January 2009

Michal Čihař: Gammu test version 1.22.92

It took more than a week this time, because I was ill, but new testing Gammu version is here. This time there are finally no really major changes, only fixes of regressions (PostgreSQL SMSD brokeness) and bugs found by testing and reported by users. Full list of changes: You can download sources and Windows binaries (now for first time you can select which parts you want to install) from usual place: http://cihar.com/gammu/, Debian users will find packages in experimental soon and RPM users can use my repository at OpenSUSE Build Service. PS: I'd like to thank to "j t" who kindly donated me Nokia 6822 for testing.

Y Giridhar Appaji Nag: Wagah-Attari and Hussainiwala

Pakistan flag and Emblem of India Fellow countrymen, happy Republic day to you all.

Any trip to Punjab is incomplete without atleast one visit to the daily tamasha at the Wagah-Attari border. This is probably one of the few places on earth where you would see the Pakistan flag right next to the Emblem of India.

I arrived at the place a couple of hours before the vening flag down ceremony but was too late to be able to get a comfortable seat in the crowd of a few thousands; the place was already packed. Luckily, a BSF ranger (who incidentally was not allowing the crowds in any more) looked at my tripod and camera, thought I was a journalist and led me to the VIP section which is as close to the gates as one can get.

For a very long time preceding the ceremony, there is nationalist music blaring on the tannoys, crowds screaming in unison: LA ilAha ill-Allah on the Pakistani side and vandE mAtaram, bhArat mAtA ki jai on the Indian side. On either side of the border gates, kids run up and down the road with their respective national flags while young men climb onto the top-most walls and wave flags high in the air. One gentleman was commenting that while women on 'our' side are allowed to dance and sit anywhere, 'they' don't allow that, "see how the men and the women there are grouped separately".

Thousands of spectators Waving the Pakistan flag Waving the Indian flag Women dancing

The half hour of the retreat ceremony is full of action with the Indian BSF rangers in their red turbans and khakhis, and the Pakistani rangers in black salwaar-kameez marching heavily down the road, glaring into each others eyes, competing on who can kick higher into the air and possibly also on who has the best kept moustache. The rangers on either side of the gates know that they are entertaining their home crowd and spare no effort to do their best.

Indian BSF rangers marching Indian BSF rangers at-ease
Indian ranger marching towards the gate Indian BSF ranger Indian BSF ranger
Border gate, Pakistan crowd and rangers India and Pakistan flags Crowds going back home

The retreat ceremony is so popular that it is difficult to allow in all the people that come in to watch. So a clone of the ceremony has been setup at the Hussainiwala border. However, Hussainiwala is popular not because of the flag retreat, much less because the 1971 war memorial still has a lot of marks of artillery firing, but because of Bhagat Singh's memorial. The memorial moves one to tears.

Hussainiwala: Sukhdev, Bhagat Singh and Raj Guru Hussainiwala bridge: Sympathetically detonated in the 1971 war

Few more pictures from the Hussainiwala memorials:

Hussainiwala: Sukhdev, Bhagat Singh and Raj Guru Hussainiwala: Bhagat Singh memorial Hussainiwala bridge piers and war memorial Artillery fire on Hussainiwala bridge piers Artillery fire on Hussainiwala bridge piers

25 January 2009

Biella Coleman: Pedagogical Re-indoctrination: FLOSSIFY!

If you are in the NY-area and would like to help out with the project described below, they are looking for volunteers. Help FLOSSIFY the enormously popular book Digital Foundations. The event is being hosted Feb 6-8 at the lovely Eyebeam with some Free as in Beer and Grub provided! ******************************************************* FLOSSIFY 1 : Digital Foundations
For a long time educational courses have been cheap marketing
for proprietary software companies. Can a student really afford all
those expensive softwares required by the courses? No. Ever hear of a
software company kicking up a fuss because students are using
unofficial versions? Well, it does happen but not often. And why not?
Because proprietary software companies know, as the universities know,
that once the students leave their training they will be indoctrinated
with those tools and simply slipstream into being paid up proprietary
software citizens. Simply put, unlicensed software used in education is
tolerated because it is cheap marketing. This is how tools become industry standards . FLOSS Manuals is fighting this flow by converting textbooks that
use proprietary software to using free software in their examples. We call this process FLOSSify . We convert the book from
closed software to Free Libre Open Source Software (FLOSS) hence we
FLOSSify the book. Our first text book is the wonderful Digital Foundations book produced
by Michael Mandiberg and Xtine Burrough
(http://digital-foundations.net/). Its a text book designed to teach
software by teaching design. The current toolset it uses is the Adobe
Creative Suite and we will convert these examples entirely to using free
software. FLOSSIFY 1 : Digital Foundations will focus on a fun 3 day event at
Eyebeam, NYC. Anyone is welcome to attend and some food and beer will be
provided. Come and meet some of your old geek friends, make some new,
and help make a step towards unshackling education from proprietary
software. FLOSSIFY 1 : Digital Foundations
Eyebeam, New York City
Feb 6-8
starts 10ish
finishes when we are done
fast connection, a table, some chairs, and beer and food provided
contact adam@flossmanuals.net for more info venue:
http://eyebeam.org/
540 W. 21st Street, (between 10th and 11th Avenues)
New York, NY 10011
Tel. 212.937.6580 Fax: 212.937.6582

23 January 2009

Josselin Mouette: On the good use of compiler warning flags

The gnome-power-manager developers like clean code. Actually, more than clean code: code that will not generate a single nitpicking warning. The package builds with the following C compiler flags:
-Werror -Wcast-align -Wno-uninitialized -Wall -Wformat-security
Sometimes the compiler is more clever than the coder On the SPARC architecture, -Wcast-align really starts to mean something. Unlike most other architectures, any alignment error on here will leave you gather your teeth spread on the floor after you ve been hit by a SIGBUS. It tries to catch at build time alignment errors resulting from a cast between pointers to different types. Together with -Werror, it triggered a first FTBFS bug. The error occured on the following code:
        if (XRRGetOutputProperty (brightness->priv->dpy, output, brightness->priv->backlight,
                                  0, 4, False, False, None,
                                  &actual_type, &actual_format,
                                  &nitems, &bytes_after,  ) != Success)  
                egg_debug ("failed to get property");
                return FALSE;
         
        if (actual_type == XA_INTEGER && nitems == 1 && actual_format == 32)  
                *cur = *((int *) prop);
                ret = TRUE;
         
        XFree (prop);
        return ret;
More precisely, the error occurs when casting prop (which is an array of pointers) into an int *. The compiler is clearly right. The alignment requirements are different for a pointer and an integer; therefore, casting a pointer to a pointer into a pointer to an integer will always work, but dereferencing the pointer later will possibly cause a crash. Turning this expression into a memcpy leads to code that should always work. Lesson learned: do not design APIs where an array of pointers can actually store integers. Have you ever heard of opaque structures? and sometimes it is not This was not enough and a second FTBFS bug showed up. Here, the error happens in the following code:
static inline GstBuffer *
gst_buffer_ref (GstBuffer * buf)
 
  /* not using a macro here because gcc-4.1 will complain
   * if the return value isn't used (because of the cast) */
  return (GstBuffer *) gst_mini_object_ref (GST_MINI_OBJECT_CAST (buf));
 
GstBuffer is a structure which contains a GstMiniObject at the beginning. Therefore, you conduct operations on the GstMiniObject through a mere cast. The first cast (GstBuffer GstMiniObject) is fine, but in the second cast (GstMiniObject GstBuffer), the compiler suspects a problem, since the alignment requirements on GstBuffer are stronger than those on GstMiniObject. The compiler is wrong because it didn t read the API documentation; otherwise, it would have known that gst_mini_object_ref can only return NULL or its argument, which means there can t be any loss of alignment. Since there are no function attributes to express such complex things, we are still forced to rely on the developer having correctly read the documentation. Way to go, compiler. Lesson learned: there are good reasons why some warnings are not part of -Wall. Especially, it is dubious to use them with -Werror. Does anyone know whether it is possible to apply -Werror only to some of the warnings and not to all of them? It would sound like a useful improvement.

Y Giridhar Appaji Nag: Gurudwara Tarn Taran Sahib

About 25KM from Amritsar is Tarn Taran. Tarn Taran was founded by the fifth Sikh Guru, Guru Arjun Dev who also built a Gurudwara there and named it after the town. The Gurudwara has the largest Sarovar (lake) among all the Sarovar's across all Gurudwaras. The place is calm, peaceful and a treat to the senses. I was there one winter morning and took some pictures.

The Sarovar:

Tarn Taran Sahib Sarovar

And a few more pictures from the Gurudwara:

Tarn Taran Sahib Tarn Taran Sahib Tarn Taran Sahib Tarn Taran Sahib

Axel Beckert: MBC09: The Day Before

Helped my parents moving the first half of the week. Left there at Thurdays around 9am. Drove 45min to Zurich. Removed everything bicycle related from my daypack. Left the TomTom at home. (Google Maps on the E51 has to sufficed and sufficed so far.) Crammed cloths for three days in. Was at Zurich Main Station around 11:40am. My plan was to take the direct ICE train from Zurich to Hamburg Dammtor. Bought a Rivella for the journey. First suprise at the platform: No ICE train. Instead a Swiss InterCity. The staff told us due to a defect in the ICE train, we have to go to Basel SBB with this train, then switch trains there. No carriage numbers and reservations valid here. Hrmpf. For luck, there where not that many people in the train. No power sockets though. Next surprise at Basel SBB: No ICE train here either. We re advised to switch to a German InterCity and then switch again a few kilometers later at Basel Badischer Bahnhof (aka Basel, German Station ). There then finally waited an ICE labelled as the initially expected ICE 72 from Zurich to Hamburg Altona. Even the reservations were displayed, departure was though 20min later than the original ICE 72. The voice from the speakers told us that this is a replacement train which came empty from Zurich. WTF? The next time the voice explained the situation, it was a replacement train coming from Interlaken Ok, DB is not as insane as I believed for about half an hour. ;-) Worked though the git tutorial and the git glossary on the train since in future I ll use git in some of the OSS project I m working together with Conkeror beyond others. Also had a conversation with some doctor from University Hospital Zurich who has chasing as hobby. (WTF?) The train arrived about 45 minutes late at Dammtor, so I first checked in in my hotel ( Hotel am Dammtor , very close to the MBC09 venue) and then walked to Hamburger Botschaft where the twitter reading was already running, hoping to meet someone I know and having dinner afterwards. Guided by Google Maps on my Nokia E51 it took longer than expected to walk there. And it was windy and raining. The twitter reading venue was quite full, but I still found a place where I saw most of the screen. At least the reminder of reading was quite funny: #famouslasttweets. They closed with a tweet similar to And then there s also identi.ca . :-) I was told it wasn t that funny at the beginning. Didn t find anyone I really knew, just sticked to a group talking about being hungry. When we met @igorette on our way to some restaurant and he recognised me, I found out that @muhh was also in the group I m heading though Hamburg. We had a nice dinner at Schmitt Foxyfood, I had GrillGold (Pommes Frites) with WuchtBrumme (Currywurst) and Fritz Cola. After dinner, @moeffju drove me and some other guy to our hotels. So the first evening was already very interesting despite the usual lateness of Deutsche Bahn.

Kartik Mistry: Breaker


* I have started breaking commitments so often. It really hurts when you do it often and I am very depressed by myself at moment. But, good things in life so far: + My new digital photoframe has arrived. Thanks to Chintan for it. + We have started to make some furniture for home (ie my longterm pending thing: Computer Table!) + Kavin is becoming so smart, he has started speaking some random words and identify and duplicate things I do (no, not Debian packaging yet!) + My macbook has 4 GB RAM now. The incident is here (Sorry, its in Gujarati only!).

22 January 2009

Jose Luis Rivas Contreras: libtorrent 0.12.3 and rtorrent 0.8.3 released! (beta)

So between yesterday and today I packaged the new upstream version of libtorrent/rtorrent 0.12.3 and 0.8.3 as beta. I still need to do some testing on the packages and maybe change libtorrent from OpenSSL to TLS. Anyway, in the meantime you can grab the binaries (only 386) and sources from my debian-playground:
http://debian.rivco.info/libtorrent/0.12.3-1~b2.exp/
http://debian.rivco.info/rtorrent/0.8.3-1~b1.exp/
(there may be new beta versions at the time you read this so please check as well the parent directory) Or my repo:
deb http://reprepro.deb.rivco.info/ experimental main
Hopefully they'll be available soon from the Debian Archive, just need to check some stuff before that. Anyway, they're fully working right now.

Jose Luis Rivas Contreras: new libtorrent and rtorrent (beta, again!)

I think Jari reads my blog haha. There are shiny new packages for libtorrent and rtorrent. The same place as ever: My debian-playground: http://debian.rivco.info/ My private repo: deb ,-src http://reprepro.deb.rivco.info/ experimental main And of course, git (checkout master-experimental and upstream-experimental): http://git.debian.org/?p=collab-maint/libtorrent.git http://git.debian.org/?p=collab-maint/rtorrent.git

Russell Coker: SE-LAPP

On Tuesday afternoon I gave a talk on behalf of KaiGai Kohei about SE Linux and the LAPP (Linux Apache, PostgreSQL, PHP/Perl) stack. KaiGai has blogged about this [1], unfortunately Google Translation does a poor job of Japanese and has particular problems with KaiGai s work (could anyone who knows Japanese and English well please submit some tips to Google). KaiGai s post is useful for links to his notes which are good background reading. My talks about SE-LAPP and SE-PostgreSQL have been getting some notice, Bob Edwards referenced SE-PostgreSQL in his talk about database security. It s good to see KaiGai s great work getting the notice that it deserves. I hope that it becomes a standard feature of the PostgreSQL code base in the near future! Also Casey Schaufler, James Morris, and I have bought KaiGai a present of some Tasmanian wine, in recognition of his great work.

21 January 2009

Miriam Ruiz: In support of Patio Maravillas

Patio Maravillas is a self-managed government-independent social center in Madrid, placed in a squatted building that long ago belonged to school. The place currently belongs to a Real Estate company, Grupo 2 Reunidos. According to the law, the place has to be used for providing services to the community, which hasn t happened for 10 years. Nobody knows what plans they do have for the building, but there are suspicions that it might be related to property speculation. Nothing new on the horizon. The police are throwing them out of the building tomorrow morning, incidentally coinciding with the opening of the Foro Social Mundial (World Social Forum), for which Patio Maravillas was going to be one of the hosting buildings. Madrid isn t really known for supporting social movements in general, and has a conservative government, so feel free to think that the coincidence is not random. Patio Maravillas has been giving courses and workshops to the community since July 2007, and is very well considered and supported by different organizations. Supposedly whatever happens tomorrow will be without violence, but knowing how the Spanish Police behaves in this situations that is not very likely. The event will be streamed and probably recorded, and information will be twittered, so hopefully nothing serious will happen. I really hope the best for them. I d love to be able to be there with them, but as it is really not possible for me, I m giving them all my support from here. Good luck! Keep up the good work!

Kartik Mistry: Sorry!


* Magically, my old post appeared on various Planets after I added one more relevant tag in it. I am really Sorry for that!

Next.

Previous.