Forgot your password?

typodupeerror
Databases

Moving From CouchDB To MySQL 283

Posted by Unknown Lamer
from the hep-cats-just-use-postgres dept.
itwbennett writes "Sauce Labs had outgrown CouchDB and too much unplanned downtime made them switch to MySQL. With 20-20 hindsight they wrote about their CouchDB experience. But Sauce certainly isn't the first organization to switch databases. Back in 2009, Till Klampaeckel wrote a series of blog posts about moving in the opposite direction — from MySQL to CouchDB. Klampaeckel said the decision was about 'using the right tool for the job.' But the real story may be that programmers are never satisfied with the tool they have." Of course, then they say things like: "We have a TEXT column on all our tables that holds JSON, which our model layer silently treats the same as real columns for most purposes. The idea is the same as Rails' ActiveRecord::Store. It’s not super well integrated with MySQL's feature set — MySQL can’t really operate on those JSON fields at all — but it’s still a great idea that gets us close to the joy of schemaless DBs."

Comment: Re:Internet Explorer is damaging internet (Score 1) 329

Internet Explorer only support 32 stylesheets,

It's probably a good idea to avoid websites that cause the browser to make more than 32 HTTP requests only to retrieve style for a freaking web page. Sure, it's all cached and hopefully pipelined, but what obsessive-compulsives are able to manage so many stylesheets for their website, anyway?

can't dinamically change the innerHTML of a TR row,

innerHTML is evil. Use DOM to modify the document dynamically, it does not waste CPU cycles in an HTML parser.

Comment: Re:Why doesn't Mozilla stop complaining? (Score 1) 329

I'm not sure. Windows used to be about "general-purpose" operating systems, hence the heat they took for wiring IE too closely into it in the past. Now this RT thing is an attempt at building a walled garden like iOS, but browser vendors seem to take an issue with this.

Comment: Re:Probably lost the sale, too! (Score 2) 339

    One news report stated a farmer saw the plane fly low above him with "the engine" running. It could have been a single engine failure, which should not have been catastrophic. He may have only said "the engine" because he couldn't tell from the sound if it were one or two engines running.

Come on, who expects a farmer to know these things?

    I'm sure the pilots must have known the terrain.

Why? They were test pilots from Sukhoi who flew in for the demonstration flights.

    Since they were suppose to be out on a 50 minute flight, they should have still been climbing.

And that's why they requested a descent?

Sorry, your armchair speculation does not add to understanding why this tragedy has occurred.

Firefox

Microsoft bans third-party browsers from Windows on ARM-> 1

Submitted by
MrSeb
MrSeb writes "In a twist that's very reminiscent of Microsoft's naughty nineties, Mozilla has revealed that Windows RT — aka Windows 8 on ARM — will only support one web browser: Internet Explorer. While Firefox will technically be able to run in Metro mode on Windows RT, it will be so crippled as to be unusable; in "classic," Desktop mode, third-party browsers such as Firefox won't be allowed to run at all. This restriction seems to stem from Microsoft locking down some vital APIs in Windows RT, so that it's impossible to build a browser that competes with Internet Explorer. At first blush this sounds like a classic ploy to stymy the opposition and regain market share — and for all I know, maybe it is — but there are also a few logical reasons for Microsoft's decision. From the get-go, Microsoft has been leery of developers porting x86 code to ARM, in case these ported apps don't have the efficiency and stability that a low-power (and battery-powered) ARM tablet requires. It's for this reason that Microsoft didn't offer some kind of OS- or hardware-level x86>ARM translation. For users, however, the implications are extensive: Windows RT won't have browser add-ons, or web apps, or the ability to use WebGL sites. In the long term, if Windows on ARM is a big success, we could even return to the mid-'90s digital dark age, where more than 90% of web surfers used Internet Explorer — a fate worse than death itself."
Link to Original Source

Fundamental Progress Solving Bufferbloat->

Submitted by Anonymous Coward
An anonymous reader writes "Kathie Nichols and Van Jacobson today published an article entitled "Controlling Queue Delay" in the ACM Queue. which describes a new adaptive active queue management algorithm (AQM), called CoDel (pronounced "coddle"). The article will appear sometime this summer in the Communications of the ACM. Additionally, another independent adaptive AQM algorithm by other authors is also working its way through the academic publication cycle.

A working adaptive AQM algorithm is essential to any full solution to bufferbloat. Existing AQM algorithms are inadequate, particularly in wireless with its very rapid changes in bandwidth.

Everyone working in networking, not just those interested in AQM systems, should read the article, as it dispels common misunderstandings about how TCP interacts with queuing.

More information is at http://gettys.wordpress.com./ A Linux implementation is running, written by Eric Dumazet and Dave Taht."

Link to Original Source

Comment: Re:Another ridiculous orslawsuit (Score 1) 257

by 21mhz (#39900127) Attached to: Nokia Faces Class-Action Suit Over Windows Phone Deal

I'll ignore your "shoot the messenger" parts with nothing more than a comment that the vitriol against people gets stronger on Slashdot the more they point out home truths about Microsoft's favorites.

Wait, you first appeal to Ahonen's authority and then complain after I shoot holes in it?

Being obliged to pay into a two-year contract or pay an early termination fee does not really qualify as "free".

Actually it does; for two reasons. Firstly, if the customers were really counting the total price, it would make no sense to do phone subsidies. The fact they work and are done by operators is a pretty clear sign that customers care about the headline price. Secondly the customers normally want a contract anyway. They discount that from the deal and so the actual price of the phone is what they compare.

To cut the crap, the no-commitment price of a Lumia 900 is $450. That's hardly cheap, considering that it's a less specced-out model than the 64 GB N9.

No matter what the values are; the numbers which determine which strategy Nokia should persue seem pretty worthy of remark to me. If they were positive for the Windows strategy they would be published immediately just as the Lumia 900 initial week sales were. Notice how the more recent sales have not been mentioned at all.

You are really making too much of an issue out of N9 sales. The reality is probably somewhere in the middle: the sales were good for the circumstances (this probably validated the design for the subsequent Lumias), but not spectacular.

Comment: Re:Another ridiculous lawsuit (Score 1) 257

by 21mhz (#39896407) Attached to: Nokia Faces Class-Action Suit Over Windows Phone Deal

Firstly; the claim is for the period from Lumia launch until Christmas and then a second claim for Q1 2012. The thing is; if this isn't true then there are a bunch of people, working for Nokia, who know the exact numbers and could just publish them tomorrow. If this is an "urban myth" then it's something causing Nokia damage and they simply have a duty to publish.

I guess it's not causing Nokia damage as much as the community around certain kooky blogs and Slashdot would like to imagine.

More importantly than that; one of the most important sources for this "rumor" is Tommi Ahonen who is a) a former Nokia executive b) a consultant who makes his money solely from his experties in this area and c) the only analyst to consistently and correctly predict Nokia's market share, sales and profits (he was over-optimistic with profits; but still the lowest estimate going) over each of the recent quarters.

In other words a) he may have an axe to grind; b) he benefits from making loud statements as long as they sound plausible to certain audiences? I'd like to check the predictions, but it's hard to wade through pages and pages of emotionally-laden prose, if you don't share in the emotion, of course. The article you reference has quite a funny few paragraphs on his N9 sales "analysis", starting with outright admission that he does not have the hard data, and continuing with:

But first, we have seen that Elop hates MeeGo and has been going out of his way to discredit that OS and the related phones. Several of his Nokia chiefs for the MeeGo project have resigned in protest. So, we can be pretty sure, that still in Q1, MeeGo has outsold Lumia.

Do you really take this guy seriously? If you do, I have a bridge to sell. No wait, further onwards he mentions "a really complex multidimensional optimization model" as his method. It just keeps getting better.

There were plenty of other sources showing the N9 outseling the Lumias.

Isn't it a pity that you can't cite any of them here to save a good truthy-sounding story?

Given that the Lumia 900 has been given away for free in the US to AT&T customers

Being obliged to pay into a two-year contract or pay an early termination fee does not really qualify as "free".

Still, it's pretty clear that, unless Nokia steps up to refute it, Nokia is hiding sales figures it should have been publishing and those sales figures would have shown the N9 ahead of the Lumia phones.

Really? I don't think Nokia has an obligation to publish sales figures for any particular device. They tend to especially dodge it if the sales have been unremarkable.

If you don't have time to do it right, where are you going to find the time to do it over?

Working...