Forgot your password?
typodupeerror
The Internet

+ - How to use HTML5 today ->

Submitted by Barence
Barence (1228440) writes "Despite all the hype about HTML5, there are still many web developers out there who are wondering whether or not they should use it in their next site. PC Pro's Ian Devlin offers practical advice and workarounds for anyone looking to code their next website in HTML5 and ensure compatibility across all the current browsers, including Internet Explorer. For example, Modernizr allows you to check browser compatibility for every HTML5 (and CSS3) feature on an individual basis, while Remy Sharp's HTML5shiv script tells older versions of IE how to handle the new HTML5 elements."
Link to Original Source
Government

+ - Police Force Posts 3,205 Crime Reports on Twitter->

Submitted by destinyland
destinyland (578448) writes "Friday a British police force posted an update on Twitter for every crime report they handled during a 24-hour period. ("We have already had 214 incidents before 5 a.m., read their first Tweet.) Facing budget cuts, the police outreach was "designed to highlight the wide range of work the force carries out," and showed that their activities went beyond simple statistics about criminal activities. ("Reports of four foot doll or robot on Princess Parkway... confused man reporting his tv not working...") "A lot of what we do is dealing with social and health problems such as missing children, people with mental health problems and domestic abuse," explained the police chief. When it was over, they reminded the public it was intended "to raise awareness of the wide range of incidents that police officers have to deal with every day." But the bizarre crime reports had also increased their following on Twitter from 3,000 subscribers to over 19,000."
Link to Original Source

+ - Pilot refuses full body scan, may lose job-> 1

Submitted by niftydude
niftydude (1745144) writes "A pilot for ExpressJet Airlines, Michael Roberts, refused to submit to a full-body scan in Memphis on Saturday, saying the technology amounts to “virtual strip searching.” Detained by airport security, he now may lose his job. His first hand account of the TSA agents to his refusal is here . He has also written a letter to the editor of a local Memphis newspaper in which he makes the quite relevant point that "Obviously, our work places us inside the flight deck door by necessity. We wouldn't have to smuggle a weapon into the airport to take control of an aircraft.""
Link to Original Source

Comment: performance tuning (Score 1) 291

by beleriand (#32848114) Attached to: Good Database Design Books?
SQL Server Query Performance Tuning Distilled, by Sajal Dam

This book doesn't teach you what to put in each table and how to put them together. But, when you have large tables it's very important to have good indexes, and to know how to evaluate that your queries are using them correctly. There is a good explanation of using the Profiler here, as well as a nice tutorial-style approach which explains how to improve your indexes based on the execution plans that the Query Compiler spits out.

Comment: Re:Well? (Score 1) 981

by beleriand (#32740490) Attached to: The Tuesday Birthday Problem
When you divide the problem that way, you get the two cases which equal likelyhood:

in case mentioned boy is older:
B, B p = 1/3
B, G p = 2/3

in case mentioned boy is younger:
B, B p = 1/3
G, B p = 2/3

Why is it in both cases 1/3 vs. 2/3, and not, as you claim, 1/2. You have to look at the probability distribution of the underlying set. It is:
B, B = 1/4
B, G = 1/4
G, B = 1/4
G, G = 1/4

So all have the same likelyhood. In our breakdown into the two paths "younger and older" above notice how "B, B" is mentioned in both of them. Since "B, B" will occur on average just as often as "B, G" or "G, B", all the "B, B" cases will be split between the "boy younger" and "boy older" path, and it's probability of occurring in either path is thus halved when compared to it's alternative

When all Probabilitys are added up, the end result for the probability that you get B, B is the same.
p = 1/2 * p[path 1] + 1/2 * p[path 2]
p = 1/2 * 1/3 + 1/2 * 1/3 = 1/3

Comment: Re:Ksplice ... go figure (Score 1) 277

by beleriand (#32690062) Attached to: Tracking Down a Single-Bit RAM Error
No, he didn't "see" a random memory error. Maybe you can see them, i sure as hell can not.

He noticed a program had stopped working for unexplained reasons, and did some pretty nifty debugging to get to the bottom of it. Yes, i'd have rebooted too. But not because i think that what he did was a waste of time, just wouldn't have known how to do it.

And as for memtest, yes you can use it to find out if you have really shitty ram. But it's no magic wand, what if the ram is working mostly fine, and an error appears on average only once a year? You'd have to run memtest for years to test for that with certainity, and what's the point of having a computer then if you can't use it?

What i found funny btw is the hostname "psychotique", no wonder it is giving problems.

Comment: Re:Please get your facts right in TED talks! (Score 1) 398

by beleriand (#32351872) Attached to: The Fashion Industry As a Model For IP Reform

11:50 "Open source software. These guys decided they didn't want copyright protection. They thought it'd be more innovative without it."

Replace "copyright protection" by "to use their exclusive rights granted by a copyright to prevent others from selling copies of their product". I don't know if this definition is technically correct, but from the context of her speech i think it was what she actually meant. Maybe it was prone for misunderstanding, that some people might think that OSS is PD, but i think your categorical "False" is too harsh a judgement.

Comment: Re:but... but... (Score 1) 363

by beleriand (#32204648) Attached to: Cheap Cancer Drug Finally Tested In Humans

Medicine is heavily regulated, no free market there

Of course, if you remove those regulations you get tons of quacks ripping people of. So they are propably there for a good reason. But when it takes millions and millions just to get the paperwork done to start some trials, it seems the bureaucracy is overblown currently

Games

+ - Indie pay what you want Bundle Reaches $1 Million ->

Submitted by Spinnacre
Spinnacre (1716574) writes "The week long "Humble Indie Bundle," a pay what you feel adequate promotion reached a million dollars in total contributions with only 50 minutes of sale time remaining. For a minimum price of a cent, gamers could get DRM free downloads for World of Goo, Gish, Aquaria, Lugaru and Penumbra: Overture and Samorost 2.
The bundle gained great success immediately after being featured on sites such as Ars Technica and Slashdot for followup blog posts about game piracy and multi platform gaming."

Link to Original Source

Comment: Re:Bloatware? (Score 3, Informative) 246

by beleriand (#32160062) Attached to: Hacking Vim 7.2

If you ever look at :version, it spits out this huge list of features, each with a "+/-" in front.

I suppose when you build your own custom verion, there is a way that you can configure your version to leave most of those features out.

In fact debian seems to have done just that, they ship "vim.tiny" in the base install with just 640k, which should be enough for everyone.

Comment: Re:Potential censorship? (Score 1) 169

by JasterBobaMereel (#31746522) Attached to: US-Australia Tensions Rise Over Net Filter

1) they still showed it - It was not censored, the fine was after the fact

2) you can see far more explicit content on US TV (Cable)

All the hand-wringing, apologies, and remedies to stop it happening again were done by the TV company before the FCC were involved, the fine was incidental

Do you really think the FCC would or could shut down a national network TV station?

Them as has, gets.

Working...