Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×

Comment Re:Curly braces = good. Indents = bad. (Score 1) 170

I don't know about everyone else, but I find it *immensely* helpful to write debugging statements without indentation. This makes it so that they stand out from the normal statements among which the debugging statements are inserted. This is the reason I won't even consider using Python.

Just stick "# XXX" comments around your debug code. Many editors automatically highlight XXX so prominently that it's just as easy to spot as unindented code.

Now, all you Python-indentation-style lovers, consider how you would code this kind of Go initializer:
        arr := [][]int{{1,2,3},{4,5,6}}
(This declares the variable 'arr' as a slice of slices of ints and initializes the variable.)

You mean, like:
arr = [[1,2,3][4,5,6]]
What's the problem?

Comment That's It? (Score 1) 14

That sounds like a rehash of the Hero 4, with a gee whiz feature that a large part of their target demographic won't be able to use. You know what I want? I want a full 360 degree VR camera. One that doesn't pose a snag hazard when a parachute gets deployed and won't throw off my aerodynamics. Somewhere out there is a company with the vision to create such a thing, and I'll purchase my next camera from that company.

Comment Re:Other than Brother... (Score 4, Insightful) 387

About 5 years ago, my Brother laser printer said it was low, so I taped over the window. A couple of years later, I did get off my lazy ass and ordered a new cartridge so that I wouldn't interrupt my workflow. However, the original cartridge that came with the printer still hasn't run out. I have no idea when and if I'll ever need to install the new cartridge.

As you can guess, I don't do very much printing. However, the "low toner" light probably started blinking after printing only about 1/4 of the total number of pages I've gotten out of it so far.

This whole episode does reinforce the decision I made before buying the laser printer: I will never, ever buy another inkjet printer as long as I live. Those cartridges seem to dry up, clog and die even if I don't use them. I got sick of spending $30 on a set of cartridges, only to get a hundred pages out of them before they became useless from age. At least laser printer toner seems to have an almost unlimited lifespan.

Comment Re:oh Pluto (Score 1) 106

Preach it, Brother! I memorized one fucking mnemonic back in grade school and I really don't want to have to come up with another one! Of course the next headline will probably be that it's not a planet, it's a space station...

Comment Sausage Stylus! (Score 4, Funny) 167

I heard a story a while back that there was a town where the people use sausages to operate their cell phone when it gets too cold. Having spent the last 6 months working with a mobile test automation framework, I think it would be easier to build an Arduino-powered robot equipped with a sausage and a camera. A mobile-testing abomination, part meat, part machine! Because fuck, Apple sure doesn't make it easy to test on their shit! Naturally, you'd have to replace the sausage every so often, when your sausage robot starts getting smelly. That's just a design consideration, really.

Comment Nothing to see here. Move along. (Score -1, Troll) 424

Woman does malicious thing X.
Woman regrets malicious thing X.
Woman can't take it back.
Woman kills self.

Welps, that about sums it up. Seems like the right outcome.

And for anyone screaming "misogyny," I realize that it is now considered sexist to allow women to experience the consequences of their very own behavior, but I think it's about time we started doing just that. After all, men have to do it. Let's have some equality.

Slashdot Top Deals

If all else fails, lower your standards.

Working...