Follow Slashdot blog updates by subscribing to our blog RSS feed


Forgot your password?
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 Internet speed test! ×

Comment Re:Well (Score 4, Insightful) 103

I get that developers are lazy and can be expected to shy away from security features that get in the way, but come on, Prepared Statements have been around for a very long time, and in a lot of ways, they make your life easier (prettier code, streamed-blob-handling, no escaping, datatype checks):
They should be your /default/ coding practice, not what you reluctantly pick up after a breach or an audit!

Comment Re:Conspiracy (Score 1) 222

Why is this being pushed as news? Possibly because of the current dust-up between conservatives (Fox News) and Facebook, accusing Facebook of bias in editorial decisions affecting the "trending now" section; there's talk of overwhelmingly liberal workforce in silicon valley, and anything that supports the idea that silicon valley is not representative of the rest of the country would help buoy that complaint. Or maybe for completely unrelated reasons, I dunno.

Comment judicial power (Score 1) 353

“The fact is that, although the new software may enhance privacy for some users, it severely hampers law enforcement’s ability to aid victims. All of the evidence contained in smartphones and similar devices will be lost to law enforcement, so long as the criminals take the precaution of protecting their devices with passcodes. Of course they will do so. Simply stated, passcode-protected devices render lawful court orders meaningless and encourage criminals to act with impunity.”

Lawful requests are not automatically meaningful -- fetch me the moon, explain love, find the last digit of pi, relocate this unmovable rock... You can always ask, you can punish those who resist the order, but in the end you either need to learn to accept failure, or think twice before asking for the impossible.

The argument is that at some point, law enforcement or a court might want some piece of information, but face embarrassment when naively requesting that which is inaccessible? Cry me a river! Just because information "exists", or is believed to exist, it does not necessarily follow that it should be possible (nor easy) for a judge or detective to fetch it.

A judge may someday want to know where I was, yesterday at 3:14am. Does that mean it would make sense to require me to keep a sufficiently precise diary, or wear an ankle monitor, just to enable that possible future discovery request, so the poor slob doesn't have to face disappointment? Law enforcement has always been a cat-and-mouse game, where it's expected you won't be able to get information the easy way; bills requiring it to be easy won't change that.

Comment Re:FireBird... enough said (Score 4, Interesting) 244

I happen to use and love FB, it's been rock-solid for me for over a decade now, but I've never pushed it for *performance* reasons. It's always been about the features: MVCC that always works (unlike Oracle's, and on-by-default unlike SQLServer's), transactional triggers (came in really handy), triggers that do what you intend (unlike SQLServer's), better temporary-table mechanisms than SQLServer, better stored procedures (selectable like a table-valued-function, but can read & write like a stored procedure). There's no equivalent to PostGIS, though, and there's no built-in replication method beyond shadow databases. And other stuff that a Wikipedia page would be better at explaining.

If you're serious about speed, I'd love to see benchmarks to back you up. If you're trolling, I hope readers will consider Firebird anyway, it really is a good DBMS.

Comment Re:Since when was speed a problem for PostgreSQL? (Score 3, Informative) 244

I would expect the issue to be MVCC, not FKs. Both Postgres and Firebird do MVCC, which incurs overhead when writing data (never overwrite, always add delta records, then fix pointers so readers can follow the chain, and also cleanup deltas no longer needed by any active transactions) and when reading data (follow pointer chains, verify a given record should be visible to the current transaction despite it being listed in the slightly-larger index), etc.
The switch from myISAM to InnoDB brings MVCC with it (in addition to, as you point out, actual constraints) so the cause/effect may be unclear.

Comment Re:Liberals (Score 1) 585 -- Cardiff rejected the student petition to uninvite Greer from giving a guest lecture. Dawkins supports letting her speak, and he's no conservative.

a) it didn't actually happen; Greer has pulled out because, at 76, she's "too old" to face protesters according to

b) she wouldn't have been "banned from campus", but her one guest lecture would have been canceled

c) it's not like all liberals, or leftists, agree -- sweeping generalizations are unfounded

d) this is not about squashing free speech, the way Freedom of Speech (at the federal level) is meant: nobody's preventing these people from having their opinions, but they are asking not to have tax dollars (publicly-funded schools) or tuition money spent on giving them a platform to spew what some people *see* not just as "wrong" but outright "hateful" speech (rightly or wrongly). the logic is that a school only invites so many guests, it has to be selective, there's value and judgment applied, so the school's reputation is attached to what the speaker actually says (and may be seen as reflecting something about the student body), it's not the same as letting them rant on any old street-corner.

Slashdot Top Deals

Real programs don't eat cache.