1,633 karma · joined Jun 7, 2013 (13y ago) · 413 submissions
comment 12y ago · link · parent
It's a little pricier, but the Neo-N here will sit in a USB port and be more or less flush with the side.
comment 12y ago · link · parent
I've seen lots of ads from people who don't understand software but want to hire engineers. They're universally awful. Fortunately it's quick to spot them and move on.
comment 12y ago · link · parent
app <- http -> web middleware <-> libpq <-> postgres
You would just have:
app <- http -> postgres
HTTP is also pretty secure, compact, and bug-free, and has the added advantages of being the universal firewall tunnelling protocol and implementing every authentication mechanism ever invented. It also does compression-on-the-wire, which postgres still doesn't have for its byte-packed protocol, and you don't need as much extra code to interact with it because everybody has an http client already.
What is the reasoning for using the postgres protocol? I'm not really seeing any advantages compared to HTTP.
comment 12y ago · link · parent
That seems like a reasonable case to raise a type error. That defines the cases quite neatly: if it's temporary on both branches then it can work, and if it has different lifetimes then the values can't be merged and should be rejected. If the programmer really meant for this to work then they need to copy the global, and copies should be written explicitly.
comment 12y ago · link · parent
On a two-way if statement, then a given storage location is either set on zero, one or both branches. If it is set on neither branch then the if statement is irrelevant and can be ignored. If it is set on one branch, then either it had an original value and hence can be treated as being set on both branches, or it must be destroyed within the branch of the if (no null pointers - think about it until it is clear that the type system guarantees this). Hence we are only interested in cases which are isomorphic with the location being set on both branches.
We can treat this as a phi node following the if: there is one output value, which has been created in one of two different ways. In this case we don't know statically which value has been constructed, but we do know statically how and when to destroy it regardless of which one we get, because both branches have the same type and storage location. We don't actually need to know where it came from.
Any obvious problems? I think it works...
comment 12y ago · link · parent
comment 12y ago · link · parent
That doesn't mean that the BBC actively endorses the government of the time, but rather that it tends to prefer not to rock the boat too hard. It's never been - and never will be - a hotbed of edgy, controversial content. You could describe its objective as "quality content that isn't going to be hated by too many people".
comment 12y ago · link · parent
comment 12y ago · link · parent
I can understand why they wouldn't want to give more details than they have to; it makes the prosecution's work harder. But I and many others have been arguing for years that there's nothing illegal about sending messages to a server and looking at the responses, if you aren't trying to damage anything. I can't see any reason why it would be less legal for the FBI to do it.
comment 12y ago · link · parent
I had a Miele cylinder before this one. The experience of using it was that I dragged it around the flat and needed both hands to manage it. This Dyson model, I point at things, with one hand. It seems to be a combination of low weight, and the ease of pivoting on the ball that means it's rolling everywhere, but the difference is huge.
comment 12y ago · link · parent
I own that model of vacuum you have photographed, and it's just.... good. Lightweight, easy to push around tight corners, and sucks up everything in my flat in under 10 minutes without ever having to fight it. It makes it very clear that ever other model I've ever used was not very well-designed.
It is not the kind of status symbol that you appear to be seeking. Kirby makes those and I think you'd be a lot happier with their products.
comment 12y ago · link · parent
comment 12y ago · link · parent
What they don't do is run directly biased stories; they're "neutral" in the content they put out, and any perceived bias is the result of their tendency to hold off on running boat-rocking stories. You could easily argue that this is a bias in itself, but it's not a partisan bias and it's hard to see how they could do this differently; it comes from their entirely legitimate fear that if they annoy any current government too much then they might lose the license fee advantage.
comment 12y ago · link · parent
LDs will back the outcome of the referendum whatever happens. Labour are the only party that might attempt to ignore the referendum because Scottish independence will end their existence.
comment 12y ago · link · parent
In practical terms: if Labour gets into power in 2015 then Scottish independence will not happen regardless of the outcome of this referendum, because Scottish independence would eliminate Labour as a political force in the UK (Tories would win all UK elections, SNP would win all Scottish elections).
It's not over yet.
comment 12y ago · link · parent
After doing a few of these I've got a fair understanding of the structure of the code and can figure out where to go next.
comment 12y ago · link · parent
If solving poverty and unemployment was really popular, we'd have done it already. It's not, in the population. It is popular with a vocal minority of wealthy middle-class people who occasionally vote.
If you go to voters with a plan for this stuff and start knocking on random doors, I can tell you what you'll find because we find it all the time: "Where are they going to live? Not near me I hope."
I wish I could fix this, but we have to run the campaigns that people will vote for. That's democracy, and in our democracy, people are far more interested in voting against things they don't like than in voting for ideas to make society better.
comment 12y ago · link · parent
This sort of thing is the role of governments, not businesses. The core problem you have in the US is that your government is one of those incumbent inefficient dinosaurs that doesn't really do much of anything useful any more but is so big that it's hard to topple.
Any solutions to the problems discussed in this article is inevitably going to look like politics, not business. This is a problem because in the US, it's "cool" to say "pfft, politics, it's awful why bother?" which means that competent people are driven into business instead.
comment 12y ago · link · parent
comment 12y ago · link · parent
OSX "solves" this problem by not having it: all the major libraries are supplied by Apple and are part of the system, not part of the bundle. So in practical terms, OSX does it the same way as the linux distros: on the vendor's timetable, and upstream authors have to follow along.
You can bundle things like zlib, which have a very well-defined API and never really change... but then you have a horrible mess when there is a security flaw in zlib and you need to update every application installed everywhere. But stable libraries like zlib are exactly the sort of thing that regular shared libraries work great for, and it's the fast-moving unstable APIs like libgnome that cause all the grief.
comment 12y ago · link · parent
Every year or two another group of people gets it into their heads that there is "something wrong" with the way distributions do things, and they have "the answer". (Often the answer involves a lot of new names for things.) These groups always make a lot of noise, launch a bunch of new projects to reinvent a lot of wheels "the right way", and draw a bunch of media attention.
All of the users who like this sort of thing immediately desert the previous group and leap to this new one. Last year's group somehow manages to become even louder as their userbase dwindles.
Meanwhile, the established distros dig into what this latest group is doing, and finally manage to cut away enough of the rhetoric to identify what real advantages it has. This usually boils down to a couple of features buried behind several gigabytes of blogs, mailing lists, wikis, and enthusiastic-but-content-free rants. The established distros usually say "yeah, that could be handy" and implement these new features, without rewriting the world.
Sound familiar?
This one looks like some folks decided docker wasn't complicated enough and renaming everything would let them make a new thing. If you look through their summary proposal, it's a list of things which you can already do, albeit without there being any single distro you can install today which has all of them working out of the box (largely because cryptographic verification and docker are still works-in-progress - they'll get there).