Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment Re:The OTHER Python Challenge (Score 1) 132

I'm not sure why dicks are modding you down; that turned out to be a wonderfully interesting and noncommercial site which (gasp) is news for nerds like me and stuff that matters. I'm glad I caught your post before the "Offtopic" sourpusses did.

That said, I wasted most of the day on it and am at challenge 11, but I'm finding it's turning out to be less and less about python and more and more about silly logic games. Still, the widely different solutions people come up with are amazing.

Comment Re:Kinda Subjective but... (Score 1) 479

You are (probably) not the only person having to deal with the source code. If you're so egoistical that you're making it harder for everyone else by mangling two different things together, I sincerly hope you and I are never working on the same codebase together.

If you look back at my original post, my whole point is that I don't give a flying fuck how people indent their code as as long as don't have to scratch my head to figure out how they liked their tabs. Which is why tabs are annoying.

You're the Nazi here, not me. I have to figure out what your tabs mean. Gee thanks a lot.

Comment Re:Kinda Subjective but... (Score 2) 479

Are there really people who get their jollies by changing the tab value to make code look different on their screens

Yes.

And why should anybody pander to your bizarre fetish?

Use Unix "unexpand" and shove in tabs everywhere you want. Whack off while changing the indents; I don't care. But for the source code I have to deal with, why must I try to figure out what particular tab setting made you orgasm?

If you are truly obsessed with a 7-space indent, then go ahead and use that but don't make me have to try to guess it.

Comment Re:Kinda Subjective but... (Score 0) 479

No, this just means you (and/or the people you work with) are using tabs in the wrong way.

I don't use tabs, so this does not apply to me.

But the main point is, I have seen tons of code over the past 20 years of my coding experience with this problem. The very existence of the Unix "expand" program which converts tabs to spaces per choice is concrete evidence of this.

So, since apparently most everybody uses tabs incorrectly, and there does not seem to be any point at all with using tabs instead of spaces, then why use tabs at all? Are there really people who get their jollies by changing the tab value to make code look different on their screens?

Tab (ascii 9) goes back to typewriters and teletypes and is effectively an 8 indent because terminals and printers and other devices assume it by default. So if you don't want an 8-space indent, don't use a tab. If you do want an 8-space indent, you can't assume the viewers device will treat it that why, so why bother with a tab at all?

.

Comment Re:Kinda Subjective but... (Score 0) 479

Tabs do not work. Don't use them. Consider this, where there's a tab before the "int" and the "//" comment using the 8-space standard and the intent is to get the comments to line up. I'm using "_" instead of spaces to get around slashdot formatting grief:

________int_a;__________//_Hello
________int_Whatever;___//_Yeah

If you set your editor, printer, viewer, whatever to use 4 space tabs it becomes this:

____int_a;______//_Hello
____int_Whatever;___//_Yeah

I for one am sick and tired of having to reverse engineer what some frustrated artistic genius decided to use for their tab offset. Set your editor to expand tabs to spaces to whatever you want and save everyone the grief of trying to figure out what you were trying to do, because I really don't give a damn if you use 2, 3, 4, 6 or 8 space indentation; I just don't want to have to guess my way to making your code line up.

Comment Re:The orbit, itself (Score 2) 116

So the best thing here is to keep those geosync slots in use, and not chewing up an empty slot with a dead or useless satellite. I'll have to agree with what someone else said - that de-orbit should be a published option, as well.

De-orbiting from geosync is way to expensive to be an option (too high delta-V). What they use instead is the "graveyard orbit". At the end of operational life, the satellite just does some final burns to raise its orbit by a few hundred km, where it is no longer geosynchronous but also out of the way of the geosync orbit. Satellites launched into geosync are required to have this capability.

Comment Re:We developers knew this for a long time.. (Score 1) 274

Oh so instead of IN the editor at the same time and it breaks right into the debugger? Or is it a separate step? Oh and do you have the right plugin's? Oh ding 'bad parameters passed in?', oh 'that line caused a memory overwrite', and 'thread race conditions'? Oh and a suggestion on what to fix? Oh and as you are debugging it? Oh I use these tools. Use both for *many* years. Like most linux tools they are 'almost there' but what I call 'scatter brained'.

Properly *configured* valgrind can do very well. But oh the configuration part... Most windows tools you are ready to rock after install. By default does valgrind do what you are talking about? No. Oh you need 4 different command line settings. Then it *starts* to produce useful information. Oh you need this other thing oh you run again and hopefully you have the right plugin.

By default (no arguments, out of the box) valgrind gives a description of the problem and a stack backtrace with the names of the procedures, files and linenumbers. You can tell it to also drop you into the debugger of your choice at the offending line.

The point is, your accusation "You goto valgrind and bisect issues" (exact quote) would make unfamiliar readers think that valgrind does not give the exact source code location where the errors occur and that, sir, is a flat out lie. I'm sorry that there are no weaker words for it.

Slashdot Top Deals

"Gravitation cannot be held responsible for people falling in love." -- Albert Einstein

Working...