Search Results: "ms"

11 June 2008

Obey Arthur Liu: debian.org domainsquatted ? (1)

debian.org domain squatted I was like “wtf?!”. Debian.org replaced by a link farm ? debian.org being actually domainsquatted is highly unlikely, so I started searching how this could happen. First, a little explanation of the setup : Now there are some peculiarities to the situation : Some hints : Now for the challenge : how could this happen ?

Peter Van Eynde: google me: sendfile problems

After upgrading an ubuntu LTS server at work proftpd (not my choice) would not transfer files anymore. It would die with:

error using sendfile(): [75] Value too large for defined data type

After searching a little I found the problem: sendfile does not work if the filesystem on which the files are stored is 'special'. Of course we are serving files from a CIFS directory... Sigh.

Russell Coker: Perpetual Motion

It seems that many blog posts related to fuel use (such as my post from yesterday about record oil prices [1]) are getting adverts about perpetual motion [2]. Note that the common usage of the term “Perpetual Motion” does not actually require something to move. A battery that gives out electricity forever would be regarded as fitting the description, as does any power source which doesn’t have an external source of energy. The most common examples of this are claims about Oxyhydrogen [3], this is a mixture of hydrogen and oxygen in a 2:1 ratio. The wikipedia page is interesting, apparently oxyhydrogen is used for welding metals, glass, and plastics, and it was also used to heat lime to provide theatrical lighting (”lime light”). So a mixture of hydrogen and oxygen does have real-world uses. The fraud comes in the issue of the claims about magnecules [4]. Magnecules are supposedly the reason for the “atomic” power of HHO gas (AKA Oxyhydrogen) which are repeated on many web sites. In brief, one mad so-called scientist (of course if he was a real scientist he would have experimental evidence to support his claims and such experiments would be repeatable) has invented entirely new areas of science, one of which involves magnetic bonds between atoms. He claims that such chemical species can be used to obtain free energy. The idea is that you start with water, end with water plus energy - then reuse the water in a closed system. Strangely the web sites promoting water fueled cars don’t seem to mention magnecules and just leave the “atomic energy” claim with no support - maybe magnecules are simply too crazy for them. The water fuelled car wikpedia page is interesting - it lists five different ways that water can actually be used in a car engine (which are based on sound scientific principles and which have been tested) and compares them to the various water fueled car frauds [5]. I’m not accepting any more comments on my blog about perpetual motion solutions to the petrol crisis (they just take up valuable space and distract people who want to discuss science). I’ll allow some comments about such things on this post though.

10 June 2008

MJ Ray: Online shopping

I maintain a number of web shops for our webmaster cooperative and one of our main challenges is to encourage people who put things into their basket/cart to actually buy them. How to avoid shopping cart abandonment by Graham Jones makes some points that I've identified as possible reasons for people not buying in the past: comparisons, robots and not trusting the site enough to give payment details. There's not much we can do about robots or people comparison-shopping at a technical level, but we try to build some trust by publishing the shop owner's geographic address and telephone number (which I think is required by law in England for most web shops now), making sure the SSL certificate and domain registration details are correct, using reputable payment providers and being clear about delivery charges and terms. The point about the slickness of the checkout process is a good one and one that we've only recently started to work on. We've had pretty good results from making the checkout slicker on one site. It looks like two-thirds of people who click the checkout button now continue to buy, putting it comfortably ahead of current UK averages but I need to tweak our stats calculator to make the report directly comparable. Nevertheless, I think those improvements will be added to our other shops as soon as possible. I share Graham's low opinion of the oft-quoted Amazon. We've also been looking at other web shop software besides OSCommerce for a new project, so now would be a good time to change to something new if it improves the checkout a lot. We've made OSCommerce's checkout a lot smoother, but it's still essentially OSC. Is there a good checkout which you'd want to use as an example? The other challenge is getting visitors onto the site in the first place. How To Build Links By Patrick Altoft explains the basics as well as I've seen recently.

Alastair McKinstry: Little Endian problems

#include <stdio.h>
#include <sys/types.h>
int main(int argc, char *argv[])
 
#ifdef LITTLE_ENDIAN
	printf("Little Endian defined\n");
#endif
 
On Linux/x86, this prints outputs little-endian. Unfortunately it also does so on the IBM BlueGene (Linux, GNU Libc), which is, by default, big-endian. (Thanks to my colleague Honore Tapamo for discovering this). It turns out that this is due to <sys/types.h> including <endian.h>, which has:
#define __LITTLE_ENDIAN 1234
#define __BIG_ENDIAN    4321
#define __PDP_ENDIAN    3412
/* This file defines  __BYTE_ORDER' for the particular machine.  */
#include <bits/endian.h>
   #ifdef  __USE_BSD
   # define LITTLE_ENDIAN  __LITTLE_ENDIAN
   # define BIG_ENDIAN     __BIG_ENDIAN
   # define PDP_ENDIAN     __PDP_ENDIAN
   # define BYTE_ORDER     __BYTE_ORDER
   #endif
   
   #if __BYTE_ORDER == __LITTLE_ENDIAN
   # define __LONG_LONG_PAIR(HI, LO) LO, HI
   #elif __BYTE_ORDER == __BIG_ENDIAN
   # define __LONG_LONG_PAIR(HI, LO) HI, LO
   #endif
We're working on a code at the moment that has LITTLE_ENDIAN defined in Makefiles on Little-Endian architectures. This all needs to be changed to something like IS_LITTLE_ENDIAN to avoid this issue. POSIX requires that all symbols beginning with an underscore, followed by a Capital letter or another underscore, are reserved for "the system". Unfortunately the reverse does not appear to be true, and this then is a collision with a symbol that programmers thought was unique to the code being defined in system headers but with different meaning. Is there a standard for detecting byte order? There doesn't appear to be in POSIX. Linux / libc provides __BYTE_ORDER but what other Operating Systems does this work on ? Tags , , , , ,

Adrian von Bidder: Movies

Watched De Gr nne slagtere (great black comedy even if it moves a bit slowly. I think if you have to chose you'd better watch Adams bler with which it shares writer/director Anders Thomas Jensen and a big part of the cast). And this just has to be said: I can't believe anybody could call eXistenZ “quite a good see”. One of the worst movies I've ever seen, on a level with “Tweed” (a late 90s Bond parody I distinctly remember having seen but can't find on imdb right now.) I agree with Adeodato's assessment of Billy Elliot, though.

Adeodato Sim : Five films (#2)

It’s time for recommending five films again. I’ve also decided that I may reserve the last of the five for films I watched prior to starting these series. So here we go:

Romain Beauxis: Liquidsoap 0.3.7 is out !

We eventually released liquidsoap 0.3.7 !!
For those who don't know about this software, liquidsoap is a scripting language designed for building audio streams. It was initially aimed at web radios, as an alternative shoucast/icecast source client, but quickly turned to a much more general tool.
For those who read debaday, I already blogged about it few months before. There, you'll find more explanations on how the program operates.
A simple example could be: #!/usr/bin/liquidsoap # (...)

David Pashley: index sambaSID sub

If you get the following error:
/etc/ldap/slapd.conf: line 127: substr index of attribute "sambaSID" disallowed
when you run slapindex, then you haven't updated your samba.schema to the version from Samba 3.0.23. Dapper and Edgy had 3.0.22, so if you've recently upgraded to Hardy, you will see this problem. The file should have an MD5 of 0e23b3ad05cd2b38a302fe61c921f300. I'm hoping this resolves problems I have with samba not picking up group membership changes. I'll update if it does. Update: Having installed the new schema and run slapindex, net rpc info shows I have twelve groups when previously it showed zero. This may not solve my group membership problems, but it can't be a step backwards.
Read Comments (0)

9 June 2008

Joey Hess: heat

Summer crept up behind me and has been beating my about the head and shoulders all week. It's hot (95+ F / 35 C in the shade). I've been slowly adapting back to hot-weather mode, but with the suddenness of the onslaught, it's been hard to keep up. It's easy to get annoyed at hot weather -- like one of pterry's trolls, I know I am a tenth as good a coder in the summer. And I choose not to have air conditioning at home, so if I need to get back to peak performance for something, I have walk downtown to the coffee shop or library or someplace air-conditioned. But this weather is good for the bigger, longer-term thoughts (aka lazing about). And I know I can adapt. Yesterday I hiked in to Abrams Falls, and the heat didn't bother me at all, and just made sitting and meditating under the falls even better. Then I climbed up to the top of the falls and waded all the way back up the creek. Today, I got out in the peak heat of the day and hauled in and unpacked 300 pounds of gear. More on that in a few days..

Neil Williams: reportbug-ng - unfit for purpose? Absolutely.

Bastian, I had cause to reinstall this machine and the one thing that I decided not to do was install reportbug-ng. I've tried it, I've found problems with it that are clearly documented already in the existing bug reports (so I haven't added a me-too) and I cannot understand why there is such opposition (without any cohesive counter-argument that I have seen) to reportbug-ng handling the bug scripts carefully designed by maintainers (like me). Please, just do it - this could have been resolved months ago if this bug had been fixed when initially raised. Your opposition to this functionality makes no sense to me. This isn't something that one person in the Release Team has decided, this is something that irritates your fellow developers and the
actions of the Release Team merely reflect the opinions of others of your peers
.

Emdebian uses bug scripts and also needs various bug scripting tools but all I'm going to do is script around reportbug - explicitly because the maintainer scripts must be handled by any sane bug reporting tool. This is not optional. As far as I am concerned, reportbug-ng is unfit for purpose and has been so since this whole issue was raised.

If you are going to complain about decisions appearing arbitrary, maybe the lack of bug script support in reportbug-ng should be explained in a cohesive, logical and persuasive defence. Merely stating that it is not what reportbug-ng will support is completely unacceptable IMNSHO.

If the bug scripts are never to be supported, I would recommend accepting the decision of the Release Team and moving on to a different package because reportbug-ng will never be an acceptable bug reporting tool whilst this functionality is ignored.

If reportbug-ng was to be released in Lenny it would make my life a log harder because I need the information retrieved using the bug scripts in the package. These are not arbitrary, the scripts are carefully written by your fellow developers to get more useful information in the initial bug post - this is particularly important when some bug submitters can take significant amounts of time to respond to a "moreinfo" request. (I would even consider conflicting with reportbug-ng to prevent such chaos.)

Why does reportbug-ng assert that it knows better than I what information I require in a bug report against my own upstream or Debian code? Clearly, that is nonsense.

Why must reportbug-ng users be subjected to inevitable requests for more information or recommendations to use a sane bug reporting tool? Please just fix it, it really is the only sane option.

David Welton: Startups: government help and hindrance

Aaron Swartz writes about what government might do to encourage entrepreneurship: http://www.aaronsw.com/weblog/prostartup As an American who has lived in Europe for a while, I've seen both sides of the coin (or pond, as it were), and feel qualified to add a few things to the conversation, even if many of these points merit a discussion of their own. And here are some thoughts of my own: I think it's best to focus on the startup "curve", and costs associated with various points on it: when people are just getting started, keep state-imposed costs low. If someone makes a lot of money, worry about taxing it then. This is quite different than what has previously been the norm in many places in Europe, which have policies akin to slaughtering the goose before it lays any eggs, let alone golden ones. Italy is a particularly bad example, but it's the place I know best, and not too far off what happens elsewhere in terms of policy: fixed, sunk, startup costs are in the order of 10,000 Euro, which for most people is a lot of money. This creates a bias towards people who already have a lot of money, and away from random people who happen to have good ideas and a strong desire to execute on them. This is something that the US more or less gets right: it cost me $55 in state fees to start DedaSys LLC as a limited liability company (even throwing in money for lawyers and the like, you're still far under the thousands it costs in many European countries). Incidentally, it looks like Germany may be on the right track, if you look at the "Mini-GmbH" mentioned in the article. It's progress, if nothing else. Beyond that, there is a lot more red tape in Europe, and that, I think, rather than a bit higher taxes for companies that are profitable, is the thing that, outside of culture, probably weighs most heavily on European startups. Culture, however, is also a very key factor, and not something that will change soon or easily. In Italy, there's a lot of pressure to land a permanent job, from which you can basically never be fired. The idea of striking out on your own is probably simply not on most people's radar screens. I think culture is what means that Europe produces tons of great open source software, for example, but relatively fewer startups (if you're just counting open source startups though, Europe does ok). Perhaps this is slowly changing, but it will take a while, and without some policy changes, the incentives won't even materialize. Returning to things that government can do, something critical that many people don't get is that government funded startups are usually big failures (see the French "Google competitor") and a big waste of money that would probably simply be better to spend in lowering taxes, improving education, or other "level playing field" initiatives, rather than having government employees attempting to "pick winners". This is a common problem in Europe, but also in many areas of the US that want to replicate Silicon Valley's success. Going back to the US, which was Aaron's original point of focus, beyond health care, what could the US improve? At the moment, immigration seems to be the big problem: people from all over the world want to go to the US to work and start companies, but look at what kinds of hoops someone (who is coming to spend money and create jobs!) has to jump through to do so: http://www.techcrunch.com/2008/05/02/coming-to-america-getting-visas-to-do-business-in-silicon-valley/ Embarrassing and shameful. In conclusion, I think the common theme is that the government can't really do much to actively promote startups, but can certainly hinder them by setting too high a bar in terms of bureaucracy and fixed costs. Lowering those fixed costs for new companies, be it through at least basic health care for everyone, or lower taxes and less paperwork should be what governments aim for. Given the right conditions and incentives, bright, hard workers will do the rest.

Matthew Garrett

Things in your computer that you do not have the source code for:Anyone think of anything I've missed?

Things people have suggested:
More suggestions:

Matthew Garrett

Linux consumes less power than Windows on servers. What's interesting is that this is running on the current set of enterprise distributions, so it's missing functionality like the tickless kernel and cpuidle. Within the next year or so we should be seeing the Linux figures drop by significant margins. As companies start becoming interested in either reducing their energy costs or cramming more hardware into the same machine rooms, power efficiency becomes an important factor to consider when you're choosing the OS you're going to be running for the next 5 years. Linux is the right choice now, and that's going to be even more obvious in the near future.

Christian Perrier: [life] Running pace

Dirk often blogs about running and generally posts his running paces as minutes/mile. Well, we're both geeks, so numerical challenges are logical for us..:) I follow my own 'performance' (or lack of) in terms of speed in kilometers per hour. Which makes the conversion fairly hard. Just to confirm that we live on different planets, this week, I tried to get a rough idea and then calculated my usual pace (for distances ranging from 15km to 25km, as well as short distances such as 5km): The challenge I give myself currently is not really running faster (I apparently reached a level which I can't easily break), but more running longer. My current estimate is that 30-35km could be achievable (I only need to find enough time for this) while a marathon is still out of question. Frankly, I couldn't even imagine this when I (re)started running, less than 1 year ago. Anyway, for people going to Debconf, I plan to gather the Debian runners and share the pleasure of running together during the conference. I'll probably open an "event" for this in Pentabarf. Of course, the point there will be sharing the pleasure, not performance. So, even if you are a very occasionnal runner, you're welcome.

Pierre Habouzit: reportbug-ng

Dear Bastian let's fix your blog post.
Philipp thinks, the fact that rng is not using the information in /usr/share/bug renders rng unfit for release and upgraded the corresponding bugreport from wishlist to serious. Moreover: since I dared to downgrade the report back to wishlist he decided to remove rng from testing and block it until the bug is fixed.
s/Philipp/the Release Team/g. And yes, we believe that reportbug-ng goes against the Maintainers wishes, and doesn't help users that don't know how to report a bug (and which are rng audience unless I'm mistaken).
I don t want to heat the debate about this bug again, but Philipp s decision seems arbitrary for me and I wonder if the same standard is applied to every other Debian package.
It's not, it was discussed in the Release Team and was not Philipp on his own alone. And yes, the same standards of quality is wanted for every package in Debian.
I mean, rng has no release critical defects.
That's you claiming that, there have been really constructive remarks in both bug that we upgraded, and that I think explain wisely why the current reportbug-ng behaviour doesn't makes it a suitable reportbug tool right now. I think for example that Sam's and Michael Biebl contributions in both bugs are good explanations of what is wrong and why.
It just does not use the aforementioned scripts as additional information in bugreports does this really render the software unfit for release ?
Yes it does. Again, people that use rng are I think, less experienced users, who need guidance through the bug reporting process. The kind of users that often send annoying bug reports. Instead of lowering the annoyance factor, you aggravate it. In the end, rng makes the frustration higher, and totally fails to meet its primary goals: making bug reporting nicer, simpler, and more efficient for the Reporter and the Maintainer. While it's probably nicer for the reporter, you totally fail on the other part of the contract. And if you don't care about the Maintainer, then well, reportbug-ng is just a spam machine to them, and your careless attitude toward them is unfit for release for sure.

Aurelien Jarno: IPsec, MTU & NAT

Dear lazyweb, I encounter MTU problems with an IPsec setup and NAT. Here is a simplified version of my setup: remote host --- internet ---> (eth0) gateway (eth1) --- LAN As you may have guess, the gateway has only one public IP address and thus the hosts on the LAN are connected to the internet through NAT. The connection between the remote host and the gateway is secured using IPsec (kame tools), and this works as expected as long, as the connection is done between the remote host and the gateway. The problems arise when I try to make a connection between the remote host and one host from the LAN. Due to the use of IPsec, the MTU is reduced by 44 bytes, however “ICMP need to frag” packets are not emitted by the gateway, so the connection just hangs. I have tried various solution from the web (setting MTU on the various interfaces, clamping MSS with iptables, defining advmss with ip route, etc.), and the only one which actually works is reducing the MTU on the LAN hosts. Not very useable given that they are a lot of hosts on the LAN. Note that when IPsec is disabled, if I lower the MTU of eth0, the “ICMP need to frag” packets are correctly emitted, and the connection just works. Suggestions?

Bastian Venthur: Lenny won t ship rng

Philipp thinks, the fact that rng is not using the information in /usr/share/bug renders rng “unfit for release” and upgraded the corresponding bugreport from wishlist to serious. Moreover: since I dared to downgrade the report back to wishlist he decided to remove rng from testing and block it until the bug is fixed. I don’t want to heat the debate about this bug again, but Philipp’s decision seems arbitrary for me and I wonder if the same standard is applied to every other Debian package. I mean, rng has no release critical defects. It just does not use the aforementioned scripts as additional information in bugreports — does this really render the software “unfit for release”? For example: In Etch we shipped a famous email client with a known bug which lead reproducibly to loss of emails on IMAP accounts, just because removing the program, or one of it’s components was not possible in the remaining time.

MJ Ray: Fixing things the wrong way

For some reason (maybe related to upgrading openssl recently), my Jabber client became unstable. Instead of fixing it the right way, I simply upgraded to Emacs 22.2 (which also got me the emacsclient --eval option mentioned on this blog previously). It still wouldn't make SSL connections at first, but a quick application of [jabber.el] Anybody using emacs-jabber with Emacs 22.2? fixed it. That's the wrong way to fix that bug, but it's not quite as wrong as misusing computers to try to fix copyright infringement. MediaDefender denial-of-service attacked a TV production company, as described in Inside the Attack that Crippled Revision3 on May 29th, 2008 at 07:49 am by Jim Louderback in Polemics MediaDefender or MediaDestroyer? That's the wrong way to fix that bug, but it's not quite as wrong as making treaties mostly in secret, under NDAs to try to evade local copyright law-makers. The US government, the European Commission, Japan, Switzerland, Australia and a handful of other countries are meeting in a secret negotiation on a new treaty
"that undermines civil rights and privacy, and which many say will change the substantive rights the public has to use copyrighted works or inventions."
Read more at Act On ACTA and then contact your law-making representatives.

8 June 2008

Jeff Bailey: Recruiters; Technology ups and downs

Dear Recruiters,

While I appreciate being contacted with interesting opportunities (at the moment I'm not looking. It's a lovely cross between being happy in my current job and hoping for a particularly uneventful 12 months on the home front), emailing me from noreply@saic.com is just going to make me mock you. It's at moments like these that I with I could channel Matthew Garrett. When I try, I just sound like Overfiend from the good old days ;)

The family went up to the City today with some friends of ours and I had the most amazing thing: I walked into an Apple store, and the greater at the front solved my iPhone problem. The phone decided a week or so ago that there was always a headset plugged in. The greeter pulled up a clever tool that looks like an 1/8th inch to 1/4inch adapter with tiny holes milled in it for blowing air in. Seems they have this problem often. Being with 3 kids and two families, I couldn't reliably book a time to see someone at the Genius Bar, but he just blasted it out and it worked wonderfully.

Of course, I came home to plug it in and have discovered that the cord to connect to the charger appears to have corroded and won't charge the phone now. So, AppleEmployees++, AppleHardware--. I now will make the distinction.

Next technology FixIt: Convince my Bluetooth headset and Bluetooth stereo to go into pairing mode again. Both seem to have decided they won't do this anymore.

Next.

Previous.