×

Announcing: Slashdot Deals - Explore geek apps, games, gadgets and more. (what is this?)

Thank you!

We are sorry to see you leave - Beta is different and we value the time you took to try it out. Before you decide to go, please take a look at some value-adds for Beta and learn more about it. Thank you for reading Slashdot, and for making the site better!

Comments

top

Ferguson No-Fly Zone Revealed As Anti-Media Tactic

chgros Re:Political science (265 comments)

Horses, maybe?
Sure, if they're Houyhnhnms.

about a month and a half ago
top

Passwords: Too Much and Not Enough

chgros Re:Make the salts non-trivial (223 comments)

I'm not sure you really understand how salting a password works.
There's never any point in "trivial" salt.
Salt is a public random value (randomly generated for each password), the same size as the hash. It's stored in plaintext alongside the hash.
To check the password, you hash <salt><password>. It's effectively impossible for <salt><password> to be in a table no matter what <password> is. It doesn't prevent brute-forcing the password in other ways of course.
I'm not sure what your deep-deep-dark secret password would enable.

about 2 months ago
top

Aral Sea Basin Almost Completely Dry

chgros Re:Mono Lake (151 comments)

Actually Mono Lake has been protected and its water level is currently going up.

about 3 months ago
top

Secret Service Critics Pounce After White House Breach

chgros Re:A lock on the door? (221 comments)

Unless he needs some time to finish reading "the pet goat"

about 3 months ago
top

Astronomers Find Star-Within-a-Star, 40 Years After First Theorized

chgros Re:Wait, these are for real? (72 comments)

I think it should have been multiple times more massive then the sun.

about 3 months ago
top

US Wireless Carriers Shifting To Voice Over LTE

chgros Re:Expose limits as unnecessary? (126 comments)

But the current state of things is that we pay more for data than for voice.

about 7 months ago
top

Traffic Optimization: Cyclists Should Roll Past Stop Signs, Pause At Red Lights

chgros Re:Many polite people (490 comments)

I agree.
I wish more cyclists were like that, too. It's really annoying, as a cyclist, to stop at a red light, to be passed (often on the right, and very close) by another, slower cyclist.

about 7 months ago
top

Steve Jobs Defied Convention, and Perhaps the Law

chgros Re:And he's the only one? (311 comments)

What's the difference actually? I'm not an expert in contract law.

about 8 months ago
top

Steve Jobs Defied Convention, and Perhaps the Law

chgros Re:And he's the only one? (311 comments)

Non-compete agreements are typically illegal in California.

about 8 months ago
top

450 Million Lines of Code Can't Be Wrong: How Open Source Stacks Up

chgros Re:HIgher defect density indicates BETTER code (209 comments)

while (source[i] != '\0')
{
        dest[i] = source[i];
        i++;
    }

So one error in that code would be 1 defect per five lines or so.

Here's all the code you need, what a better programmer would write:
while (*dest++ = *src++);

Your "better code" is actually not equivalent (the first loop doesn't copy the nul terminator). Even if it was equivalent, I don't think I would necessarily call it "better". This particular piece happens to be fairly idiomatic and many would understand it, but cramming as much semantics in one line as possible is usually not a good idea. I agree that in general less code is better for equivalent behavior, but usually that means better factoring, not putting more code in one line.

about a year and a half ago
top

USMA: Going the Extra Kilometer For Metrication

chgros Re:Boggle (909 comments)

> something that predated the definition of units in the metric
> system in physical units by almost 200 years.
That definition depends on gravity at the point of measure (I think. I'm not sure what's "a pendulum at 38 degrees"). How is it more a "defined in physical units" than 1/10,000,000 the distance from the equator to the North pole (original definition of the meter), of the mass of a given volume of water (original definition of the kilogram)?

about 2 years ago
top

Solid State Quantum Computer Finds 15=3x5 — 48% of the Time

chgros Re:Can someone explain... (262 comments)

Most NPC problems fall into this category.

Actually, by definition, *all* NP-complete problems fall into this category (unless P = NP)

more than 2 years ago
top

Boeing's X-51 WaveRider Jet Crashes In Mach 6 Attempt

chgros Re:What's the hurry? (190 comments)

Last I heard, jets were going as fast as possible (despite the large increase in fuel consumption from near top speed to top speed) because of the savings in staff costs. So, fuel savings wouldn't necessarily hep that much.

more than 2 years ago
top

Knight Trading Losses Attributed To Old, Dormant Software

chgros Re:The NYSE shouldn't reverse trades. (223 comments)

For everyone that loses money, some one else would gain it.
The market is not a zero-sum game.

more than 2 years ago
top

What's To Love About C?

chgros Re:One good reason... (793 comments)

Well, if you can add a field at run-time then by definition you can't check its presence at compile-time.

more than 2 years ago
top

What's To Love About C?

chgros Re:One good reason... (793 comments)

More importantly, it is runtime-resolved.
I personally would consider this a disadvantage.
I like my type-checking at compile-time thank you.

more than 2 years ago
top

Nearly Half of American Adults Are Smartphone Owners

chgros Re:Rots your brain (267 comments)

Other than the "convenience" of being able to get at your email, a crutch for a stunted sense of direction, and a safety net for poor before-hand planning
These are all excellent reasons for using a smartphone (and you don't need a stunted sense of direction to find maps useful). Anything after that is bonus.

more than 2 years ago

Submissions

chgros hasn't submitted any stories.

Journals

chgros has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?