Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×

Comment Re:Reminded me of my first C application (Score 1) 241

Ick, that's what real compilers (eg, gcc) are for: good warning messages (such as "suggest parenthesis around assignment used as truth value"), and better yet, -Werror. "if (1 == i)" is completely unnatural (for an English speaker anyway), which makes it more likely to forget to do 1 == i than it is to forget to double the equals sign. I too used to make the same mistake when I first started with C (having come from Pascal: that was fun := became =, = became ==), but I quickly learned to double check my tests first when bug hunting. While mixing up = and == has become extremely rare for me (it helps that I usually test against some variant of 0 and thus can avoid using any operator other than !), I often mix up my other tests...

Comment Re:Where does the 'hum' enter the recording? (Score 1) 167

The thing with noise is it's impossible to eliminate completely. All that can be done is to knock off a few more dB, though I imagine the noise can be reduced to the point where it's sufficiently smaller than the resolution of the ADC that the bits don't shift. That said, any electrical equipment nearby will be producing a hum. Even if we can't hear it, the mic might pick it up. Then there's the magnetic fields affecting sheet metal, causing it to flex.

Short answer: epsilon.

I suspect a completely noise-free recording would raise just as many, if not more, eyebrows than a recording with a few discontinuities in the hum.

Comment Re:A 3D printer that uses paper? (Score 3, Informative) 85

This is probably more appropriate as a response to the gp, but it also works as agreement with you: don't underestimate the strength of paper saturated with super-glue. I repaired the belt-clip of an Aiwa "walkman" by first super-gluing the parts together, then super-gluing paper across the joint (second attempt: first was just the parts, promptly re-broke). 20 years on, the repair was still solid.

Comment Re:Overblown (Score 2) 131

I like subject is math.

Taken (with variations in the final word) from about 95% of the 2nd year junior high school English exams I marked.

In my opinion, any story using telepathy to overcome language barriers was written by either someone with no experience in just how different languages can be (eg, English vs Japanese), or someone with tongue very firmly planted in cheek (an onslaught of terrible bloody warfare). However, I do admit to a third possibility: the characters were lucky and their languages are similar enough that thinking processes readily translate, but different enough that speech doesn't.

Comment Re:Total Solar Eclipse Bedazzles Northern Australi (Score 1) 52

Considering the stories I heard from my dad about the drapes fading (back in '89, I think it was), that story is far too plausible to dismiss.

There were, if I remember correctly, also worries about a population explosion due to daylight savings. The stories I hear about Queenslanders just baffle me (can anyone really be that dumb?), and I lived there for about 11 years (during which time, I heard most of the stories).

Comment Re:nomenclature error (Score 2) 80

You're showing a lack of knowledge of crumpets.

A wide is where the bowler screws up and, if the fielders screw up too (or the bowler really screwed up), the runners might run anyway. There are three ways to get out in cricket: the ball is caught off the bat, the ball hits the stumps (either because the batsman failed to block the ball as thrown by the bowler, or thrown/touched by any other fielder while the batsman is outside the wicket), or the ball (when thrown by the bowler) hits the batsman's leg, but otherwise would have hit the stumps (this is a judgment call by the referee). Otherwise, you can have two batsmen in there all day making life miserable for the fielders (odds are, if their in all day, they're really racking up runs).

Slashdot Top Deals

A morsel of genuine history is a thing so rare as to be always valuable. -- Thomas Jefferson

Working...