Catch up on stories from the past week (and beyond) at the Slashdot story archive


Forgot your password?

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:PHP is fine (Score 1) 178

by Bogtha (#49367843) Attached to: Modern PHP: New Features and Good Practices

Absolutely and evidence of this is always only a Google search away. Search on how to do something with a database and the results you get are riddled with things like SQL injection vulnerabilities, even when the source of the official documentation.

To follow on from this: Language Community Litmus Test: Database Placeholders. An informal survey shows PHP joint bottom, with all but one of the top 5 hits for "PHP database tutorial" promoting insecure methods.

And, as you mention, the official PHP tutorial had beginner-level security holes in it for YEARS. The whole community is riddled with this crap.

Comment: Sure, the employees would be intimidated (Score 1) 129

by whitroth (#49355763) Attached to: GAO Denied Access To Webb Telescope Workers By Northrop Grumman

"You say anything to the GAO people we don't like, we'll find out, and you'll never work again".

And I was a contractor for a company that was sold to them... and they proceeded to get rid of those of us who knew the project best, on a variety of excuses.

I read, a few years ago, that the client manager was in legal, or was it criminal, trouble.... (and he was a city government employee).

Do you *really* think NG is all wonderful, and doing everything right (and that it's all the federal gov't fault that the telescope is years late and billions overbudget? If you do, then you've obviously never actually worked for a living....

                mark "I recommend Dilbert"

Comment: Re:it has already **A**ffected how business... (Score -1, Flamebait) 345

Yep. Sure. And how do they find the best people?

I assume you're saying that overwhelmingly, most people other than white males are the best. And that sure was true... look how well it worked out 15 years ago... ooops, that was the buble, wasn't it?

At any rate, looser, my daughter is a better programmer than you are.

                  mark (and so am I)

Comment: Re:Do It, it worked in AZ (Score 1) 876

by whitroth (#49347731) Attached to: Gen Con Threatens To Leave Indianapolis Over Religious Freedom Bill

That's funny, here I thought there were laws against that, if you're a public accommodation.

Or maybe I'm wrong, and the Civil Rights Movement never happened, and Blacks, Jews, or anyone else can be turned away in, say, a public restaurant, or a motel, or....

              mark "if you don't like an open society, and want to be a bigot, you can leave and start your own country;
                                            I recommend Iran for your tastes...."

Comment: Published in the Progressive... Dec 1979 (Score 1) 339

by whitroth (#49336761) Attached to: Feds Attempt To Censor Parts of a New Book About the Hydrogen Bomb

Go look it up. I don't remember if that was the article that told you how to build one at home. The really hard part of that was the centrifuging, where you put the solvent and uranium in a bucket, and spun around as fast as you could in your living room for half an hour....


Comment: Re:PHP is fine (Score 4, Insightful) 178

by Bogtha (#49324567) Attached to: Modern PHP: New Features and Good Practices

Blaming the language for bad code is asinine.

This is bullshit. A shitty language promote shitty code. Aside from the whole taking pride in your work and other "soft" effects, in PHP's case, there are several big, concrete instances of this happening.

For example, older versions of PHP were obviously designed without any clear understanding of how a web request operates. So, for example, you'd have SQL escaping happening in the input layer rather than at the database layer. Nobody who understands what they are doing would design something to work that way. But the core PHP devs totally fucked up in the beginning. They have since started to pull this crap out of PHP, but take a look around. Big, widely-used PHP packages like CodeIgniter have replicated this topsy-turvy design fuckup even in recent versions. That's no coincidence - that's inherited from PHP's design flaws. The blind led the blind into hell, and this crap permeates the PHP developer community as a result.

Likewise with the cavalier attitudes towards correctness. Error handling, character encoding, testing, release management, things like that. Where PHP fucks up, the community is sure to follow. The low quality of PHP has a direct negative effect on the code its fans write.

I'm fed up with the equivocation PHP fans trot out whenever any criticism heads their way. Yes, the quality of a language really does have an effect on the quality of the code you write with it. This is plain for anybody to see, and if you don't see the difference in quality, then you should seriously question your competence.

Comment: Sounds good to me (Score 1) 1089

by whitroth (#49303595) Attached to: Obama: Maybe It's Time For Mandatory Voting In US

And for all the brainwashed suckers (aka libertarians), who say they're all the same, and nothing ever changes:
            unemployment insurance
            Medicare (or don't you have parents?)
            The Voting Rights Act of 1965
            NASA puts a man on the Moon, 1969

Oh, that's right, if it doesn't involve you getting rich, and screw everyone else, it's not changing, and they're all the same....

And we keep reading of countries where they finally get to vote, and stand in line for a day or more, and then there was the in-all-the-media disgrace in France 10 years or so ago, when they didn't even have 72% turnout.... and you little shits think that tweeting's all you need to do, and not put your body where it matters....

Why, yes, I *do* vote, so if you don't, SIT DOWN, SHUT UP, and listen to me - if you don't vote, you ain't got no right to open your mouth. Voting is my license to bitch.


Comment: He's an idiot. (Score 1) 341

Vint Cerf, when he gave a presentation where I work, mentioned that the latest version of Google's self-driving car didn't even have a steering wheel.

Allow me to present my two arguments that they're complete idiots:
          1) It's now a few years from now, and half the self-driving cars on the road are 5-10 years old. Many, if not most, were purchased used.
                            How do you feel knowing that many of those cars' owners have never seen a safety recall, much less had one done?
            2) Pull 11705 Dewey Rd, Wheaton-Glenmont, MD up in google maps, go to street view, and rotate to the left, to look at the road. One two
                                  parking lane, directions, no lane markings, and, oh, yes, the bus uses this road, and if I drive to work, I usually drive on this
                                  road. Tell me a self driving car's going to handle it...

Oh, and argument 3: I can go most places without driving. I use this thing called "public transit". If I really, really need to get somewhere faster, there are these things called "taxis". Consider how much a self-driving car costs, and how long you'll own it, and how much maintenance will cost, and then how much you'd spend on public transit, with or without taxis, and tell me which is a *hell* of a lot more money.


Comment: Marketing over primary function of searching (Score 3, Informative) 232

by whitroth (#49302793) Attached to: FTC: Google Altered Search Results For Profit

I've been complaining for a few years now - the last five or so, google search returns a much worse signal-to-noise ratio. And they keep taking away search tools, *and* theyve begun ignoring search criteria. Just last year, I was looking for high leather men's boots, with criteria of -"ladies" -"womens"... and among other things, saw a sponsored ad (a *complete* waste of the advertiser's money) that had "womens/bold" in the text.

So much technical computer info is buried in rubble....


Comment: What we use at a biomedical research facility (Score 1) 385

by whitroth (#49293205) Attached to: Ask Slashdot: Choosing a Laptop To Support Physics Research?

Mostly, our laptops are Dell Precisions or Lattitudes. NOTE:: DO NOT BUY A CONSUMER-GRADE LAPTOP.. Spend more, buy the "business grade". They'll last longer and have better support and warranties.

I'm not happy with HP warranties. Don't even *think* about Sun....

Does she want to work on computers, or physics? And how knowledgeable is she? A Windows box is a bad joke, spending most of it's CPU cycles on eye candy. Ditto with Macs. For real work, run Linux, which will use the system much more effectively. I'm not a fan of Ubuntu, but if she does go with it, she should *only* use the LTS (long-term support) stable releases. Here - and we're mostly on workstations and servers, we run CentOS (same as RHEL, but free). System software and libraries are "older"... but *VERY* stable. You don't have to debug the o/s....


PS: Dell's OMSA, their maintenance disk, boots... CentOS, so if a saledroid says "huh?", ask for someone who knows something. I believe Dell also offers RHEL as an alternative o/s.

Comment: No, they're not (Score 1) 451

by whitroth (#49293133) Attached to: Lyft CEO: Self-Driving Cars Aren't the Future

And one of these days, I'll take a picture of a road I use going to or from my home on the occasions when I drive: 3 lanes wide, parked cars in one lane, no center stripe, oh, and did I mention that buses use this street? No, a self-driving car will have smoke coming out of its ears....

On the other hand, self-driving. They're going to be *really* expensive. For less money than that, couldn't you use existing methods of getting somewhere without having to drive? There is this thing called "public transportation", as well as this business called "taxis", and all your fares, over the estimated lifetime of a self-driving car are probably a *lot* less than you'd spend on the car.

Oh, and how safe will you feel knowing there are 5 and 10 year old self-driving cars, some years from now, many bought used, whose owners may, or may not have had the recall upgrades applied?


Comment: Re:That's all well and good... (Score 1) 112

by Bogtha (#49289919) Attached to: How To Make Moonshots

...if you have the financial resources to afford to crash and burn

That's implied in the name "moonshot". If budget is a constraining factor, then what you're attempting isn't a moonshot, but standard R&D. It's the difference between a Boeing exec. deciding to fund the development of a better plane and JFK saying "get us to the moon no matter what".

Comment: Mac laptop keyboard (Score 1) 307

"Most problems" you say? Yes, the laptop keyboard on this one Mac which was augmented by one or two drops of water. Fifty six screws the size of poppy seeds just holding the keyboard in. Had to remove the entire motherboard, unplug a dozen edge connectors of five or size different types.

I had to do this three times: first time to attempt to dry it out (90 minutes to disassemble with the right tools and space to do the job), second time when the replacement came but it was the wrong one, third time when the proper one came (90 minutes total last time around).

It's an awful design. The first thing you want to do if you spill water on a keyboard is remove it and dry it out. But it takes 90 damned minutes to do it, by which time the electrolytes have been dumped and the contact areas damaged. The keyboard assembly also includes the power switch, so there was no way to just unplug it and use an external one. This particular model of Mac laptop also has no power jumper on the motherboard. I was this close to wiring up a switch on the edge connector. When an external keyboard is plugged in, OS X doesn't disable the internal keyboard, either, so when your Control key is acting up and believes itself to be pushed in permanently, good luck! Unplug/plug/unplug/plug/unplug/plug the USB jack and after a few goes, it'll pick up the change. Also, for whatever reason, unloading the keyboard driver kernel extension did not work. Mac forum people aren't exactly the most diligent (or another word ending in "-ligent") of troubleshooters, so there were too few clues to go on.

I've had failures with floppy drives, hard drives, PSUs, monitors, fans, the 1530 motor controller on a Commodore 64 several times over because some thick lout at the computing club kept borrowing my tape deck even after being told. But this Mac laptop keyboard definitely presented me with "the most problems" in terms of irking me to the point of lining up a Windows machine for my next laptop, not this cheap shitty Chinese Apple shit.

Comment: Re:Climate change is politics (Score 1) 416

by whitroth (#49276759) Attached to: Politics Is Poisoning NASA's Ability To Do Science

No, you didn't read it correctly. Did you read the *article*?

Fine, I really do want NASA to look outwards... but I also want it to look down.
Throughout the session, Cruz downplayed Earth science, claiming that NASA has lost focus on exploring space. It’s clear everything he was saying came from his stance of global warming denial.

And that is utter nonsense, to be incredibly polite. Pure and simple.

Bolden shot back, saying, “We can't go anywhere if the Kennedy Space Center goes underwater and we don't know it—and that's understanding our environment.” In other words, we must study the Earth and its changing climate. Studying our planet is at least as important as studying others.
--- end excerpt ---

In other words, Cruz, who has openly denied global warming (or "climate change", if warming gets your knickers in a twist), doesn't want NASA to even try to look for data.

The real answer, as the article notes, is GIVE NASA MORE MONEY. They've been cut over and over again, just like everything except the vastly bloated US military.


When some people discover the truth, they just can't understand why everybody isn't eager to hear it.