Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).

×

Comment: Re:What's missing from this story? (Score 1) 569

Because when you get a call, anonymous or otherwise, that a shooting has happened, someone has been killed, and hostages have been taken and are being threatened, the police are not likely to send a beat cop to ring the bell with his hat in his hands.

I agree this is a symptom of the problem with the militarization of police, though. There needs to be a middle ground for an appropriate response that doesn't include a SWAT team.

Comment: Re:Today's youth collapsed the Roman Empire! (Score 2) 333

That's a common misattribution. As that link notes, however, it is aa paraphrasing of a comedic play from 400 BC in which Socrates was caricatured:

I will, therefore, describe the ancient system of education, how it was ordered, when I flourished in the advocacy of justice, and temperance was the fashion. In the first place it was incumbent that no one should hear the voice of a boy uttering a syllable; and next, that those from the same quarter of the town should march in good order through the streets to the school of the harp-master, naked, and in a body, even if it were to snow as thick as meal. Then again, their master would teach them, not sitting cross-legged, to learn by rote a song, either “pallada persepolin deinan” or “teleporon ti boama” raising to a higher pitch the harmony which our fathers transmitted to us. But if any of them were to play the buffoon, or to turn any quavers, like these difficult turns the present artists make after the manner of Phrynis, he used to be thrashed, being beaten with many blows, as banishing the Muses. And it behooved the boys, while sitting in the school of the Gymnastic-master, to cover the thigh, so that they might exhibit nothing indecent to those outside; then again, after rising from the ground, to sweep the sand together, and to take care not to leave an impression of the person for their lovers. And no boy used in those days to anoint himself below the navel; so that their bodies wore the appearance of blooming health. Nor used he to go to his lover, having made up his voice in an effeminate tone, prostituting himself with his eyes. Nor used it to be allowed when one was dining to take the head of the radish, or to snatch from their seniors dill or parsley, or to eat fish, or to giggle, or to keep the legs crossed.

I'm particularly amused about the reference to dutifully marching to school, naked, in the snow. That the joke should be 2400 years old speaks to the truth of how the old perceive the young.

Comment: Re:I choose MS SQL Server (Score 1) 320

by Bacon Bits (#49302939) Attached to: Why I Choose PostgreSQL Over MySQL/MariaDB

Really? My experience says the opposite. When you get to the point where you need clusters, high core counts, and standby sites, the licensing costs of your RDBMS are a drop in the bucket. Sure, $100,000 looks like a lot, but next to the $500,000 you're spending on infrastructure and the $10 million you're spending on the application itself, you're really not spending all that much.

Comment: Re:I choose MS SQL Server (Score 1) 320

by Bacon Bits (#49302365) Attached to: Why I Choose PostgreSQL Over MySQL/MariaDB

Eh, there is less control in SQL Server over locking than there is in other RDBMSs, and it is infamous for escalating locks to the page or table level even when you ask for lower level locks. It's rare that it happens, but it's not unheard of. The fact that the system uses optimistic locking and there's no good equivalent to SELECT ... FOR UPDATE is also somewhat problematic.

It's greatly mitigated in 2005+ by using read committed row versioning (MVCC) and/or snapshot isolation, but those are database level options and you may need to specifically request the right isolation levels with your code. The biggest problem is that you have to remember to use the feature; it's just always on with Oracle from what I hear (I haven't used it since I was in school).

There's a mountain of documentation (and videos!) from Microsoft on all this. The greatest thing about SQL Server is the extremely high quality of the documentation. It's a joy to learn about compared to IBM's DB2 documentation (but then, anything is better than IBM documentation), and Books Online is a step ahead of Oracle, MySQL, and PostgreSQL.

Comment: How about just a day off? (Score 5, Insightful) 1088

by Bacon Bits (#49295399) Attached to: Obama: Maybe It's Time For Mandatory Voting In US

Seriously, why aren't Election Days mandatory holidays? Do it over two days: The last Thursday before normal Election Day is Alternate Election Day, when people who will be working on Election Day must have off. Then everybody else takes Tuesday as a holiday. That, combined with absentee ballots should be an excellent start.

Comment: Re:SQLite3 (Score 1) 320

by Bacon Bits (#49294927) Attached to: Why I Choose PostgreSQL Over MySQL/MariaDB

That's true, although it's historically not been enabled by default, although AC was kind enough to say it is now.

One of the biggest problems I find people have coming from a MySQL background is not understanding why aggregate queries they're used to working suddenly emit errors like, "Column 'LAST_NAME' is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause."

The next big problem I see people having is people violating First Normal Form and then complaining that their queries perform really poorly or are hugely complicated, but that's not exactly MySQL's fault.

Comment: Re:Postgres hands down (Score 2) 320

by Bacon Bits (#49294827) Attached to: Why I Choose PostgreSQL Over MySQL/MariaDB

Instead, the application should be calling *into* the database, not the other way around.

Which is great... until you want two different applications to use the same database at the same time and need to occasionally do the same things the same way. When your data is more complex than what Amazon or Google use and closer to what a hospital information system or school information system use, you can no longer rely on a single application from a single vendor using a single database. Shit ain't that simple anymore.

Comment: Re:No excuse? BS. (Score 1) 155

by Bacon Bits (#49283973) Attached to: White House Proposal Urges All Federal Websites To Adopt HTTPS

Remember when Google switched GMail from HTTP to mandatory HTTPS back in 2010? You know what they had to do to cover the new TLS overhead in CPU, memory, and network bandwidth? Nothing. The biggest thing they did was patch OpenSSL to reduce memory per connection, and that patch has already been integrated upstream.

I'm not saying the other issues aren't real, but overhead is really unconvincing unless your network load balancer is a potato.

There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence. -- Jeremy S. Anderson

Working...