×

Announcing: Slashdot Deals - Explore geek apps, games, gadgets and more. (what is this?)

Thank you!

We are sorry to see you leave - Beta is different and we value the time you took to try it out. Before you decide to go, please take a look at some value-adds for Beta and learn more about it. Thank you for reading Slashdot, and for making the site better!

Comments

top

Google Earth API Will Be Retired On December 12, 2015

Patman64 Re:Alternative? (75 comments)

Uh, that repo's been dead for over 4 years. Says so right in the blurb: "Currently the canonical version of the PPAPI code has moved to the Chromium subversion repo". It's heavily integrated into Chrome now, and Google control all changes, so it's hardly ideal for a cross-browser plug-in API.

about a week ago
top

Fork of Systemd Leads To Lightweight Uselessd

Patman64 Re:launchd (469 comments)

Problem is still that productivity on Macs is lower because the OS keep getting in your way, and there is no way of making it stop, because giving power features to power users is not the Apple way.

This may shock you, but OS X ships with this app called Terminal. It's just like a shell on Linux. I'm guessing you haven't actually used OS X though.

I know Slashdotters have to reflexively shit on Apple, but I don't see how an OS that gives you bash, root access, and vim/emacs is "getting in your way" in terms of developing software. Every IDE that supports Linux supports OS X. You can even install BSD packages with MacPorts. What more do you want?

about 3 months ago
top

Google's Doubleclick Ad Servers Exposed Millions of Computers To Malware

Patman64 Re:And there's the reason why... (226 comments)

If you aren't alive to the ad servers, you're dead to the website.

Then download the ads directly into /dev/null. You make it sound like a difficult problem.

about 3 months ago
top

Ask Slashdot: What Are the Strangest Features of Various Programming Languages?

Patman64 Re:Lua[0]? (729 comments)

This is exactly why there's no problem with Lua being 1-indexed instead of 0-indexed. It's not C, so you aren't doing pointer arithmetic on some address. If you want the first element in a table it's index is 1 and the second is 2. The first letter in a string is 1, second is 2.

If anything, other high(er) level languages being 0-indexed is the oddity. I would imagine it's to make C programmers feel comfortable.

about 3 months ago
top

PHP Finally Getting a Formal Specification

Patman64 Re:Six identifiable bullet points (180 comments)

, as you can tell from his meticulous list of instances when == is not transitive.

Which highlights his laughable ignorance. He clearly doesn't understand dynamic languages. If you do the same comparisons in other dynamic languages, or others with the relevant type casts, you'll get the exact same results.

Then again, I'm not trying to defend a long-debunked meme. I appreciate the effort you put in to your "rebuttal", but it's laughably incompetent. A bit like the "fractal" article itself.

He clearly doesn't understand dynamic languages? Have you ever used a sane one like Python?

Guess what happens when you compare different types (like a string and an integer) in Python? It's fucking false because they aren't the same! Amazing! Things that aren't even the same type aren't equal! No voodoo type-magic, no charts, just the language working like you would expect.

Hm, looks like Ruby works the same way too. Oh and Lua too! What were you saying about "not understanding dynamic languages"? Have you used anything besides PHP and Javascript?

about 5 months ago
top

Ask Slashdot: Choosing a Web Language That's Long-Lived, and Not Too Buzzy?

Patman64 Re:Avoid Frameworks. (536 comments)

People look at posts like yours and get it through their head that if they use Python, their website will crawl. Nothing could be farther from the truth.

If your website is anything like the majority of websites, the server-side code will spend far, far more time waiting for IO than doing any sort of processing. The language choice is almost irrelevant. It's essentially just glue to join HTTP queries and database queries.

OTOH, if you do need to do some actual processing, you might be better off just doing that in a compiled language (C, Rust, etc.) and using the web framework glue to hook it up to the web.

TL;DR: Using C++ for web server-side because "it's fast" is premature optimization. Don't prematurely optimize.

about 6 months ago
top

4K Is For Programmers

Patman64 Re:where do I sign? (520 comments)

It's HDMI 1.4 (only runs at 30 fps). Pretty sure every card has that.

about a year ago
top

PC Shipments In 2013 See the Worst Yearly Decline In History

Patman64 Re:Current PCs are good enough. (564 comments)

For desktops, sure. For laptops, which is the majority of Apple sales, your most common points of failure are the motherboard and the DC jack, so if anything the average Apple laptop will last longer because of the Magsafe port.

You must have a PPC or 32-bit Intel Mac. It sucks, but unless Intel loses their minds and goes 128-bit, I think anyone who buys their hardware now is safe. I have a MBP that's going on 5 years old and it's running Mountain Lion just fine.

about a year ago
top

Disney Pulls a Reverse Santa, Takes Back Christmas Shows From Amazon Customers

Patman64 Re:Reverse Santa? (418 comments)

Exactly, The evol libertarians are destroying america with all their small government and individual freedoms

The freedom to starve when you're out of a job isn't one I would defend, personally. But I'm not a libertarian.

1 year,3 days
top

GitHub Takes Down Satirical 'C Plus Equality' Language

Patman64 Re:So, when will Jezebel and The Spearhead be on t (575 comments)

The Spearhead: Men not allowed to criticize feminists

That seems to be what's going on here, yeah. So they would be the correct party.

1 year,5 days
top

New Windows XP Zero-Day Under Attack

Patman64 Re:Upate to the most current (241 comments)

For good and bad (and Mavericks has some things that piss me off) the Apple model of forced upgrades has some reasoning to it.

Wut? I ran Snow Leopard until recently and it hasn't automatically updated my computer to Mavericks. Apple doesn't force you to upgrade anything. They release new versions of APIs for new versions of the OS but that's standard practice.

1 year,20 days
top

Prison Is For Dangerous Criminals, Not Hacktivists

Patman64 Re:Should have been a VP (337 comments)

Not *all* crimes.. Just those which lead to profit... Steal from the company and it's the slammer for you.

I believe those are called "bonuses".

about a year ago
top

Researchers Use Computer-Generated 10-Year-Old Girl To Catch Online Predators

Patman64 Re:Virtual Victims (545 comments)

It's only a crime when sex is involved. Haven't you been paying attention to society at all?

about a year ago
top

Chrome Will End XP Support in 2015; Firefox Has No Plans To Stop

Patman64 Re:All right (257 comments)

Windows XP will not get any security issues fixed after April 2014 from Microsoft.

FTFW. WinXP may not be open source but if you think the people who use it are going to give up on it you can think again.

about a year ago
top

Why One Woman Says Sending Your Kid To Private School Is Evil

Patman64 Re:This woman is an idiot.... (1255 comments)

Any belief that forcing public schools on everyone is seriously misguided. Nothing ever gets better when it's forced on people. The best schools in the world are in Finland, where a voucher system forces public schools to compete with private schools.

Uh, wrong. There are no private schools in Finland. Everyone gets the same education, and the results seem to be exactly what the author of TFA is suggesting.

about a year ago
top

Time Reporter "Can't Wait" To Justify Drone Strike On Julian Assange

Patman64 Re:Idiot (490 comments)

I've been quoting Beck for years, even a broken clock twice a day and all that. There is one thing he said which i think needs to be carved onto the mountain and NEVER forgotten which is "You do NOT shred the constitution to "get the bad guys" as its the constitution that keeps us from becoming the bad guys". I'm sorry if some don't like the guy but on that point he is right, once you start throwing out the rule book to "get the bad guys" the definition of bad guy just keeps growing until YOU are the bad guy.

Funny, because literally the only quote I remember from "A Man for All Seasons" is the exact same thing:

"And when the last law was down, and the Devil turned round on you—where would you hide, Roper, the laws all being flat? (He leaves him) This country’s planted thick with laws from coast to coast—man’s laws, not God’s—and if you cut them down—and you’re just the man to do it—d’you really think you could stand upright in the winds that would blow then?"

(http://www.sparknotes.com/lit/amanforallseasons/quotes.html Quote #4)

about a year ago
top

Microsoft Is Sitting On Six Million Unsold Surface Tablets

Patman64 Re:Bury (550 comments)

That's all very true, and I can imagine it being a challenge in the 80's. However, someone managed to make this with the exact same hardware constraints in mind. So it wasn't strictly a hardware issue.

about a year and a half ago
top

Visual Studio vs. Eclipse: a Programmer's Comparison

Patman64 Re:Getters and setters (543 comments)

Tangential question: What's the advantage of having getters and setters vs. just accessing the variable directly? If automatically generating getters and setters is just an easy/common thing, what function do they really serve?

Future-proofing. Due to the rigidity of Java/C++ you can't just switch a variable to a method call without breaking all your code (might also be true of C#, never bothered looking into it). So you give everything a getter/setter even if it's just Foo getBar() { return bar; } void setBar(Foo foo) { bar = foo; } for hundreds of lines.

Contrast to a language like Python, where you can transparently move from attribute access to methods just by putting the @property decorator on the methods.

about a year and a half ago

Submissions

Patman64 hasn't submitted any stories.

Journals

Patman64 has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?