Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).


Comment: Re:Bad idea (Score 5, Insightful) 655

by pla (#49174751) Attached to: Snowden Reportedly In Talks To Return To US To Face Trial
As I've said before, if he's really this stand up guy, why did he run? IF he really had good and legal reasons to do what he did, take it to court and face the music.

I know, right? Like how the Sons of Liberty didn't disguise themselves as Indians before dumping a load of tea into Boston Harbor, and then when done, turned themselves in to the nearest British garrison? We need more heroes like those fine, upstanding, nametag-wearing gentlemen.

if you break the law to make your point that the law is unjust you should stand ready to be arrested, imprisoned and tried in court for what you choose to do.

"Ready to be" doesn't mean adopting a Gump level of naivete and making it easy for the government to remove you from the public view. By him fleeing the country (and seeking asylum in a country we traditionally mock for their lack of an open and fair government, no less), we continue to discuss Snowden's actions years later. If he had stuck around, we would all have forgotten about him as soon as the next weekly scandal distracted the media.

Comment: Re:Please stop. (Score 1) 253

by pla (#49174071) Attached to: Gritty 'Power Rangers' Short Is Not Fair Use
I admittedly don't usually look at the submitter. If the FP gets my attention, I'll click through to read the rest of the submission, and, maybe, even TFAs where appropriate.

In Bennett's case, I have to admit he has become a truly master-level troll, in that he has learned to write an opening paragraph that gets my attention but doesn't give away his essential Bennett-ness. By the third paragraph, though, I usually catch on, stop reading there, and just write the obligatory "fuck Bennett" post.

Comment: Re:c++? (Score 1) 395

by pla (#49173363) Attached to: Ask Slashdot: Which Classic OOP Compiled Language: Objective-C Or C++?
You make it sound like having a non-stupid, modern string class is a monstrosity that needs 16 cores to run.

You can split a string in any language. If you want to write in C++, write in C++. If you want to write in VB.Net, write in VB.Net.

C++ doesn't need to look like VB.Net just because you don't like the syntax.

Comment: Re:Good luck with that. (Score 1) 561

by pla (#49172515) Attached to: Why We Should Stop Hiding File-Name Extensions
Did you?

Why, I did! Thanks for asking!

"The "mystery" is that nowhere in your code does it mention the word "split".

It's still a stupid argument, because any problem you can solve with a free and common library is not a real problem.

Well, I have to agree with the "stupid" part, insofar as if you can't figure out how to parse a simple delimited string without pulling in multi-MB frameworks, you have no place writing code. Beyond that, though, the whole conversation amounts to a holy war. Do you prefer Emacs or Vi? Top or bottom? Allah or Jesus? Pointy end or round end?

But to get back on topic - Do you prefer extensions or icons? Correct answer: "Why not both?"

Comment: "WILL" be too fragmented? (Score 2) 229

by pla (#49172411) Attached to: Will you be using a mobile payment system?
Google Wallet / Android Pay. Apple Pay. CurrentC. Samsung Pay.

Competition works well when all players adhere to certain standards. It doesn't work well when everyone does their damnedest to lock out the competition.

Personally, I find Samsung's announcement the most interesting so far; because while Google and Apple require the clearly unreasonable expectation that merchants won't actively disable NFC on their card readers, Samsung plans to work with existing card-swipe readers.

That should lead to an interesting legal showdown, eventually, because CurrentC forces exclusivity terms on their retailers, while retailers can't block Samsung's approach as easily as they could Google and Apple's.

Comment: Good luck with that. (Score 3, Informative) 561

by pla (#49171629) Attached to: Why We Should Stop Hiding File-Name Extensions
it might be time to admit that users need to understand, embrace and responsibly use the only plain-text, obvious indicator of what a file actually is.

Oh man, good one! You had me going until that line. Beautiful!

I just responded in another thread where actual programmers argued about whether or not it counts as "confusing" to split a delimited string without actually using the name "split" for the method that does the work.

And you want to try to get the average end user to understand the difference between ".XLS", ".XLSX", and ".XLSX.EXE"?

May as well swing for the fences, I suppose.

Comment: Re:c++? (Score 2) 395

by pla (#49171491) Attached to: Ask Slashdot: Which Classic OOP Compiled Language: Objective-C Or C++?
Three includes! Two methods! A loop! Six lines! And he didn't call it "George" like you would have!

...vs pulling in a massive amount of overhead with something like Boost or QT, complete with their own huge list of dependencies... For a program that may well do nothing more than parse a CSV file.

"What if" if needs to work on UTF-16? No, wrong question by a wide margin - What if it doesn't? Do you always use a CNC to cut a 2x4 in half, just because you have access to one? What if you have 5/4 lumber? What if you have cellular PVC? What if you have rebar? All valid questions - And all completely irrelevant if you just need to cut a 2x4 in half.

We can all agree that building some not-strictly-required flexibility into our code generally counts as a good thing, that will frequently save us time and effort down the road. We don't need to build a tilt-a-whirl for someone that wants a tire-swing, though.

Comment: Re:Just because they call it pedo doesn't mean it (Score 1) 199

They reported a hosted site where you sign on to exchange child porn. If accurate, that's a good thing for them to go after.

"Hosted" still doesn't mean "knew it existed". It just means that it happened to live on their servers.

For a rare non-car analogy, my GMail account "hosts" thousands of attachments I've received over the years, many encrypted (I don't send personal info through any third party in cleartext). Anyone who "knows the password" can get in and view them. Some of them, I've even shared from my GDrive, so someone doesn't even need to know my password, just have a valid GMail account.

How does that materially differ from the situation in TFA, other than in the nature of the content (which Google has no way to check)?

Comment: IR5 (Score 1) 132

by pla (#49150753) Attached to: Microsoft Finally Allows Customers To Legally Download Windows 7 ISOs
because after all, it's not like they can be taken utilized without a legal key

Who you trying to convince, there?

Win7 had such a flawed, easily circumvented activation system that many suspected MS did it deliberately just to get market share on a new OS post-Vista.

You can literally keep using Win7, fully functional, forever without a crack (note that the tool mentioned in my subject line doesn't "crack" or install anything, it just automates a few steps you can run, from the command line purely by hand, on a stock Win7 box).

Comment: Re:About time... (Score 1) 158

by pla (#49148487) Attached to: Invented-Here Syndrome
Minimize the amount of work necessary to complete your work. (emphasis mine).

Some of us aspire to a bit more than shuffling tasks from our in-box to our out-box. Some of us want to produce functional, resilient, maintainable code. Some of us want to actually understand how it works, not just trust that it works. Some of us want to write code, not the compiled equivalent of shell scripts that do nothing themselves but pass inputs and outputs between different external blobs.

I'm paid to build. I don't get paid to pat myself on the back.

I get paid to meet an SLA, not just to say "well it compiled, didn't it?" and throw my hands in the air with vague complaints about bugs in library X. If I build some fragile piece of shit out of a dozen other fragile pieces of shit all held together by spit and string, I haven't done my job, no matter how quickly I did it.

Yes, "not invented here" counts as its own problem; it surprises me to hear that its opposite can count as a problem, though, because why does any organization with that culture employ programmers in the first place?

Comment: Re:file transfer (Score 1) 464

by pla (#49144341) Attached to: Ask Slashdot: Old PC File Transfer Problem
It's a machine before the TCP/IP and Internet times.


I remember the joy of using machines back then, and that convinced me of the awesomeness of Linux... Flat memory? Every device (with suitable physical capabilities) can act as storage, or network or an input method? Awesome!

The "right" answer here, pull the drive. The second choice, install Linux to a FAT partition and tell it to use either SLIP or PLIP to talk to the outside world, then just transfer the files via RSync. Simple as that.

Comment: Re:verified (Score 1) 309

by pla (#49137891) Attached to: Reddit Imposes Ban On Sexual Content Posted Without Permission
Funny, all three of your examples are consensual activities. Posting nudes without permission of the model? Isn't.

Biiig difference between banning links to "revenge porn" and banning all links to porn without the explicit permission of the model.

Sure, it sounds nice and progressive and kum-ba-ya-bullshitty to say that even "real" porn models have a right to control the distribution of their images. In practice, you need a bigger stick than Reddit has to force that genie back in the lamp. Hell, you need a bigger stick than world governments have - See how long it takes you to find all the dirt on Max Mosley despite France ordering the internet to forget about him.

As a result, we end up with "fake havens", echo-chambers where everyone can pat themselves on the back about how much of a difference they've made, essentially by doing nothing more than ignoring the rest of the world. "Good job, guys! We sure showed them! Hey, where'd everybody go?"

"There is no statute of limitations on stupidity." -- Randomly produced by a computer program called Markov3.