Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Comments

top

Ask Slashdot: Have You Experienced Fear Driven Development?

flargleblarg Re:Wow... (203 comments)

A good Waterfall approach gets 4x more done than any version of Agile

Citation needed

6 hours ago
top

Court Rules the "Google" Trademark Isn't Generic

flargleblarg Re:Well, if you're going to push... (154 comments)

More to the point, when people use, "Google," as a verb, they mean to actually use Google, as opposed to using any brand of facial tissue available when saying, "Kleenex."

Exactly! You can't google something using Bing, for example. Not that you'd want to anyway. You can only google something using Google.

(Now I feel like I need to go wash my hands after mentioning Bing. Eww.)

2 days ago
top

Technological Solution For Texting While Driving Struggles For Traction

flargleblarg Re:A solution in search of a problem... (324 comments)

Ya, I should have stated mirror-opposites assuming a vertical mirror line (which is what's relevant/important when it comes to hands on the wheel).

2 days ago
top

Technological Solution For Texting While Driving Struggles For Traction

flargleblarg Re:A solution in search of a problem... (324 comments)

Don't feel bad. It's tricky wording. I wasn't sure how to word it to be clear (and to be fair, I don't think it was really clear). "Opposites" to me would imply 180 opposing... so I wrote "mirror-opposites" to imply a vertical mirror, but of course that's pretty subtle and not very unambiguous.

2 days ago
top

School Installs Biometric Fingerprint System For Cafeteria

flargleblarg Re:Not about ease, about authority (230 comments)

Existing POS software for school cafeterias already can cross-reference the enrollment records and photos.

What exactly makes you think it's piece-of-shit software?

3 days ago
top

Technological Solution For Texting While Driving Struggles For Traction

flargleblarg Re:A solution in search of a problem... (324 comments)

In reality, it turns out, 9:30 and 3:30 are safer.

Oh yeah? 9:30 and 3:30 are not mirror-opposites. Did you mean 9:30 and 2:30?

3 days ago
top

Laid Off From Job, Man Builds Tweeting Toilet

flargleblarg Re:obligatory (114 comments)

And always compress your logs before flushing them out to archive!

about a week ago
top

Laid Off From Job, Man Builds Tweeting Toilet

flargleblarg Re:obligatory (114 comments)

Is recent activity contained in a log?

Yup, and the logs are even rotated!

about a week ago
top

Scala Designer Martin Odersky On Next Steps

flargleblarg Re: Would be nice to see Scala replace Java (94 comments)

I'm pretty sure, though, that even any class that requires you to use equals(), you can still use == as a fast-precheck. That is, a==b implies a.equals(b) for all objects a,b in all classes. The converse, of course, is not the case: a.equals(b) does not imply a==b. And the inverse is not true: a!=b does not imply !a.equals(b). But the contra-positive is true: !a.equals(b) does imply a!=b.

about two weeks ago
top

Ask Slashdot: What Are the Strangest Features of Various Programming Languages?

flargleblarg Re:Powershell (728 comments)

Ok, so it's the developer's fault for not using lint then.

:-)

about two weeks ago
top

Ask Slashdot: What Are the Strangest Features of Various Programming Languages?

flargleblarg Re:+ operator for string concat? (728 comments)

Yes "clever" operator overloading comes up high in my list. Scripting languages are full of it like in Pike: str/" " Divide a string by space to get an array of the words. But I dislike it way more when operator overloading abuse is done in user code than when it is a language construct.

So, if you take that array of words and multiply it back by " ", do you get the original string? Because that would make it cool.

about two weeks ago
top

Ask Slashdot: What Are the Strangest Features of Various Programming Languages?

flargleblarg Re:C++03 had one that was corrected in C++11. (728 comments)

That's a really dumbass lexer. Glad that shit got fixed.

Or should I say... a really dumbass parsing layer to go and use a lexer that doesn't understand the local context when it constructs a lexeme from the input stream.

about two weeks ago
top

Ask Slashdot: What Are the Strangest Features of Various Programming Languages?

flargleblarg Re:C++03 had one that was corrected in C++11. (728 comments)

Namely, the >> symbol. Because templates use angle brackets for template parameters, if you had a nested template such as T<int, T1<double> >, you HAD to put the space between the two closing angle brackets. Otherwise the lexer would interpret the two angle brackets as the shift operator.

That's a really dumbass lexer. Glad that shit got fixed.

about two weeks ago
top

Ask Slashdot: What Are the Strangest Features of Various Programming Languages?

flargleblarg Re:Powershell (728 comments)

They should of used:

:=

s/of/have/

I know one game shipped with buggy AI because somebody forgot to use two equal signs inside an if statement!

That's not C's fault. That's the developer's fault for ignoring the compiler warning about it. (Or for not having enabled the warning.)

about two weeks ago
top

Ask Slashdot: What Are the Strangest Features of Various Programming Languages?

flargleblarg Re:Powershell (728 comments)

Documentation for sizeof would have told you that it's for telling you the size in bytes of datatypes on a particular system.

s/bytes/chars/

example: uint32 is a 32-bit unsigned integer,

s/uint32/uint32_t/ (unfortunately)

about two weeks ago
top

Scala Designer Martin Odersky On Next Steps

flargleblarg Re: Would be nice to see Scala replace Java (94 comments)

Ok, cool... Ya, after I posted that and re-read it, I thought to myself, "I wonder if he was referring only to Integer, in which case I'm going to feel like an a-hole for being so harsh." Apologies if I came across as harsh.

Question... what did you mean by "For any kind of object" then?

about two weeks ago
top

Scala Designer Martin Odersky On Next Steps

flargleblarg Re:Would be nice to see Scala replace Java (94 comments)

The core problem is that Java was never indented as a mainstream language, but for embedded programming.

s/never/not originally/

FTFY

about two weeks ago
top

Scala Designer Martin Odersky On Next Steps

flargleblarg Re: Would be nice to see Scala replace Java (94 comments)

No, it never works. Ever. For any kind of object. Comparing references instead of values is logically wrong, it does not make sense, and ...

Oh my god. Excuse me, but you are so very wrong. Yes, it DOES work and is a GOOD THING to compare references sometimes. For example, if you are implementing your own general hash-based collection class, you will find that your lookup code runs significantly faster if you first compare object references for equality before comparing the object's hash followed by comparing the objects themselves for equality. That is to say: (1) First compare object references using ==. If equal, you're done immediately because your key matches, and you can go fetch the object associated with the key. If not equal, proceed to next step. (2) Next, compare object hashes using ==. If not equal, you have a mismatch and you look at the next key/value pair, if present in the bucket or linear addressing cycle; if equal, proceed to next step. (3) Finally, assuming you get this far, compare contents of objects. If equal, then you have a key match; if not equal, you have a mistmach and you either continue for the next key or fail with no object found.

So you see, sometimes is makes perfectly good sense to compare object pointers. Comparing references instead of values is NOT logically wrong — as long as you use the comparison as an early-out test before performing the more expensive actual comparison of value. Hope that clears things up.

about two weeks ago
top

Bill Gates Wants To Remake the Way History Is Taught. Should We Let Him?

flargleblarg Re:I don't like to trust people who write "Gates's (362 comments)

I don't like to put trust in people who write "Gates's"
And three times in the same sentence! (Legal, but annoying.)

Relax, you'll be in good hands soon. The wambulance has been called and should be arriving shortly.

Gates's is the clearest form of the possessive nominative.

about two weeks ago

Submissions

flargleblarg hasn't submitted any stories.

Journals

flargleblarg has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>