Forgot your password?

Comment: Re:its why devs cringe. (Score 1) 155

by squiggleslash (#47580305) Attached to: PHP Finally Getting a Formal Specification

FWIW, in answer to your "Can't speak for PHP" thing, PHP has, for reasons known only to the person that implemented, two incompatible dictionary type structures, objects and arrays. They're both equivalent, and because they're not compatible an enormous number of developers of third party libraries and frameworks feel the need to implement a "Give me it as an object"/"Give me it as an associative array" parameter onto any function that returns one or the other.

And lest you think "Wait! It's obvious squiggy! The associative array is obviously using hashtables and the other is typed!", that's... not (quite) the case. If PHP is optimizing anything with objects at some level, it's certainly not doing so based upon "static-after-parsing-app" set of possible member names: you can convert each to the other form with a simple cast, and you $some_array[$expression] has an object equivalent of $some_object->{$expression}. If it isn't using hashtables for objects too, then it's probably doing something even more braindead.

Comment: House of Lords != House of Commons (Score 1) 274

by billstewart (#47579677) Attached to: UK Government Report Recommends Ending Online Anonymity

"Parliamentary system" mainly refers to the House of Commons, whose members are elected and who elect the Prime Minister. The House of Lords is the other lot, sort of like a hereditary Senate, that *used* to be the important part of Parliament up until maybe the early 1800s, which lets the aristocracy still have some say in government as long as they don't actually interfere with the Commons too much.

Comment: Re: (Score 2) 161

by Black Parrot (#47579465) Attached to: Was America's Top Rocketeer a Communist Spy? The FBI Thought So

It has been common for the government to have public executions without trial when an american citizen is known to say "bad things"

Saddam Hussein did a little more than just saying "bad things"

I wasn't aware that he was an american citizen.

Plus we didn't off him when he was murdering Kurds and other "undesirables", or when he started a revanchist war against Iran that resulted in several hundred thousand, possibly a million, casualties. He only got in the doghouse for seizing Kuwait, threatening the carefully engineered balance-of-powerlessness established in the middle east by the the allies after WWI.

Comment: Re:Time Shifting? (Score 1) 314

No. Here's the relevant part of the ruling, quoting the Senate report on the bill:

"[i]f the `primary purpose' of the recording function is to make objects other than digital audio copied recordings, then the machine or device is not a `digital audio recording device,' even if the machine or device is technically capable of making such recordings."

What information does the car's system digitally record other than music? That it might display digital information, or play digital information isn't relevant, since those don't involve the recording function.

Computers record lots of stuff to their hard drives. Some of it is music, but the ability to write to disk isn't primarily designed for digital music, nor primarily marketed for that.

Comment: Re:Formal specifications are pretty useless for th (Score 1) 155

by squiggleslash (#47578837) Attached to: PHP Finally Getting a Formal Specification

Unless we're using "formal specification" in a form uncommonly known in the English language, ANSI C (hint hint) does, indeed, have a formal specification or three.

In fact, that's part of the problem with C. ANSI spent a lot of time trying to make their specification so generic it could be implemented on all kinds of different hardware, leaving us with a language that means virtually every bit of "obvious what it does" readable code can be re-interpreted by every optimizing compiler to mean something completely different. A big problem, considering C's system programming roots.

Comment: Re: Very original (Score 0) 178

Not with a fan that size. and I highly doubt that a HEPA filter and a fan works. you need significant air pressure behind the fan to get any real filtering volume.

Honestly people buying cheap pleated paper furnace filters and doubling them up over their windows will be more effective. when it can filter 50CFM then I'll be impressed. and that will be for a very small one that can barely keep up with air leakage of a tiny apartment.

Comment: Re:Very original (Score 2, Insightful) 178

Comparable particle counts HOW? right up against the filter? What about over time? Zero details except you MUST go to his workshop for $33 to find out... Fishy...

I have a rock that keeps tigers away, My most recent tiger count shows zero so it's as good as a $10,000 tiger cage.

Need real data, full information on how the test was done and for how long. Anything else is made up BS or misinformation.

Comment: Re:USB 4.x to offer signed USB device signatures?? (Score 1) 204

by Lumpy (#47574793) Attached to: "BadUSB" Exploit Makes Devices Turn "Evil"

All you need to do is have the USB drive mounted by a locked down device. Example, RasPi set to read only on the OS and disable everything all it does is mounts the USB drive and then offers up the contents via the network.

I dont care what you have in the USB stick it will not auto run and infect. then your can look at the contents with another pc via the network and see the real contents or even run automated tests on it before it is available to the users machine.

It is not hard to make something that will stop this crap.

The number of arguments is unimportant unless some of them are correct. -- Ralph Hartley