Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror

Comment: Re:No Kidding (Score 1) 183

by Marginal Coward (#48927847) Attached to: Anonymous No More: Your Coding Style Can Give You Away

I once worked on a project that had a handful of developers, where each developer was in charge of one code for one of the software subsystems of the project. We didn't have much of a coding standard there - only about one page - but we ended up with a consensus coding style in the project that everybody could live with. Even so, you could always tell who wrote what by the personality shown around the edges of the coding style of a given module, function, or even over just a few lines.

Comment: Re:poor cops have it so hard (Score 1) 389

I just realized that the common practice among current dictatorships regarding the Internet seems to be limiting access more than monitoring. We hear about this recently in North Korea and Cuba. It seems that they prefer that people not be able to communicate electronically at all rather than to allow them to communicate but monitor (and presumably go after) people who communicated the wrong thing. I can see the logic of that: it's much cheaper to limit access than it is to monitor what's communicated.

That's in stark contrast to the "Big Brother"-style monitoring that folks have become afraid of post-Snowden. Still, if a country already has a widely available system of electronic communication that The People aren't going to give up, I guess monitoring is the only thing that can be done by the would-be Big Brothers of the world.

Comment: Re:A great developer knows how shitty he is at cod (Score 1) 201

by Marginal Coward (#48923265) Attached to: Ask Slashdot: What Makes a Great Software Developer?

I guess I've never known a great - or even good - programmer who didn't find it fun. (Imagine, for example, a concert pianist who didn't find playing the piano to be fun. Unlikely, at best.)

Of course, not ever aspect of a programmer's job is fun, so that's where professionalism comes in. Like many programmers, I don't always enjoy the documentation aspects of it, but that's part of what my employer is paying me for.

(BTW, the title of this thread makes me think fishermen are likely to be better at cod than great developers.)

Comment: Re:Good Taste (Score 1) 201

by Marginal Coward (#48921153) Attached to: Ask Slashdot: What Makes a Great Software Developer?

I agree wholeheartedly. But is good taste born or made? A few years ago, I mentored a new grad who had very good taste in coding from the beginning. It took me a lot longer to develop that. Certainly, experience helps. But I've also met highly experienced people who had poor taste in coding. Like so many things, I guess no amount of experience will make up for a complete lack of talent.

Comment: Re:A great developer knows how shitty he is at cod (Score 2) 201

by Marginal Coward (#48921079) Attached to: Ask Slashdot: What Makes a Great Software Developer?

Yep, I've never met a really good programmer who didn't use every tool he could exploit to find his bugs.

Good point. In that vein, the best programmer I ever worked with once said he had an "anti-fetish" for bugs. I think that at least partly explained the extremely high quality of his work.

For most of us, though, finding and fixing bugs is a chore that we'd rather avoid because writing code (and therefore more bugs) is more fun. I try to emulate the anti-fetish mentality of my friend, but that remains something that I sometimes have to discipline myself to do rather than something that comes naturally.

Comment: A related question (Score 1) 247

by Marginal Coward (#48916707) Attached to: Ask Slashdot: Best Medium For Personal Archive?

Here's a related question I've been wondering about. Assuming that cloud storage is used as part of a solution to archive personal data, what are some easy tools that can do strong encryption on file sets such as a directory tree? 7-zip looks like it may be a good choice, but is there something better for that?

It would also be nice if such a tool automated the upload/download process to/from the cloud, was open source, and was easily to compile on a variety of systems (yes, including Windows) in order to reduce the possibility of any back doors.

Comment: Out of the frying pan, into the fire (Score 1) 318

Assuming Alexis Tsipras is unsatisfied with his old job, maybe he's leaving just to blow off steam. But I don't know how much good that will do him: the job of Finance Minister of Greece is bound to be a pressure cooker. I just hope the problems there don't boil over.

Comment: Re:Who knew? (Score 1) 198

by Marginal Coward (#48897873) Attached to: Bjarne Stroustrup Awarded 2015 Dahl-Nygaard Prize

I guess we just disagree about what the definition of object-oriented programming is, but I think of it simply as a set of operations that you are associated with a particular user-defined data type. In that sense, I've done plenty of object-oriented programming in C by just passing a pointer to a structure into a function that was intended to operate on that "object". Of course, you can do deriviation, inheritance, and virtual methods using the mechanisms C provides. The system of classes that C++ provides makes that easier, but it's perfectly possible to do object-oriented programming in C - as evidenced by the fact that the earliest C++ compiler just translated C++ into C.

In contrast, object-oriented programming wouldn't be possible in C if it lacked not only "classes" but also structures and function pointers.

It's hard for me to understand why you would think that "no OO is involved in STL", but I guess we'll just have to disagree on that point.

Comment: Re:Who knew? (Score 1) 198

by Marginal Coward (#48896543) Attached to: Bjarne Stroustrup Awarded 2015 Dahl-Nygaard Prize

I guess I was fooled by the fact that all of the STL things I've ever used are classes. In fact, offhand, I can't even figure out how you'd do generic programming without some manifestation of objects to allow you to provide overloaded operators.

To be fair, though, the only two forms of generic programming I know a little about are the template approach in C++ and the duck-typing approach in Python. Both of those rely heavily on classes. Maybe there's something else that doesn't. I guess in C++, for example, you could leave objects out of generic programming by limiting yourself to implementing whatever algorithms you could implement using just the built-in types. Seems like more of an exercise than something you'd really do.

Going back to the STL, it seems like most of the things in the STL rely on objects - either to implement the construct (e.g. strings) or for the user to use them (e.g. vectors). So, I guess I still think the STL guy still deserves some sort of object-oriented prize.

Hopefully, though, the object-oriented prize folks will discover Guido first. I don't know how important he really was in the development of object-oriented programming (since Python draws ideas heavily from many other languages), but Guido just generally deserves a prize.

Comment: Who knew? (Score 4, Informative) 198

by Marginal Coward (#48894335) Attached to: Bjarne Stroustrup Awarded 2015 Dahl-Nygaard Prize

Who knew that there was an annual award for such a specialized field? It's surprising that Stroustrup hasn't gotten this award already. Based on the Wikipedia entry about this prize, it looks like in 2013 and 2014 they couldn't think of anyone else who created a popular object-oriented language. Maybe somebody should tell 'em about Guido Van Rossum and James Gosling. And what about the STL guy who was just interviewed here? Not to mention the Objective-C guy, whoever he is. (I'm sure I've left many other deserving candidates out - sorry about that.)

Comment: Re:Linux (Score 0) 126

by Marginal Coward (#48893465) Attached to: Linus Fixes Kernel Regression Breaking Witcher 2

I was thinking the same thing: why isn't Linus spewing his usual foul, withering, tirade at the guy who just broke something? Heck, maybe he even deserves a second meta-tirade for not providing the first one.

I recently saw a series of video interviews on YouTube that he gave. In light of the email tirades I've seen from him, it seemed remarkable that he spoke so quietly and thoughtfully in that context. And not a single curse word was uttered. Kindda makes you wonder whether his wife and kids get Dr. Jekyll or Mr. Hide. Hopefully, it's the former (the mild one.)

Comment: Re:ClamWin (Score 2) 467

by Marginal Coward (#48890955) Attached to: Ask Slashdot: Best Anti-Virus Software In 2015? Free Or Paid?

Clamwin is not an active scanner and relies on it manually being ran and then removing any unwanted stuff manually.

I actually consider that a major selling point (along with being free.) Since ClamWin is non-intrusive, it happily coexists with other AV products, though some of them complain about it when your install them. So, I use ClamWin in conjunction with whatever commercial anti-virus product I happen to be running at the moment as a secondary check when I download things. It can also be used to do a second independent quick system scan.

I don't know if adding on ClamWin actually makes me any safer, but at least I feel safer. And isn't that mostly what AV products are all about?

To restore a sense of reality, I think Walt Disney should have a Hardluckland. -- Jack Paar

Working...