Beta

Slashdot: News for Nerds

×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Comments

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 three weeks 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 6 months 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 6 months 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.

about 7 months ago
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.

about 7 months ago
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.

about 8 months ago
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 8 months 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 9 months 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 9 months 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.

1 year,4 days
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.

1 year,7 days
top

Security Researchers Submit Brief For Andrew "Weev" Auernheimer

Patman64 Re:What this really is (161 comments)

Yeah, it's more like an office building and every single door inside are unlocked and there's no security to be found, someone tells the world, and people go in and photograph all the documents. And then the building manager gets mad at the guy who told everyone.

1 year,16 days
top

Red Hat Ditches MySQL, Switches To MariaDB

Patman64 Re:3, 2, 1 (203 comments)

Elite computer scientists look down upon both because they are perceived as quick and dirty hacks. But that doesn't matter; for many applications, a quick and dirty hack is good enough.

If anyone wants to know why this is now a crock of shit, look no further than this post: http://me.veekun.com/blog/2012/07/28/quick-doesnt-mean-dirty/ It goes through the development of a simple web-app using proper technologies as the author discovers and uses them for the first time, and serves as a good introduction to Flask, SQLAlchemy, and Postgres.

Quote:

This is a recurring sentiment: developers telling me, well, yeah, Python may be all cool in your ivory tower, man, but like, I just want to write some programs.

To which I say: what the fuck are you people smoking? Whence comes this belief that anything claimed to be a better tool must be some hellacious academic-only monstrosity which actively resists real-world use?

about a year ago

Submissions

Patman64 hasn't submitted any stories.

Journals

Patman64 has no journal entries.

Slashdot Account

Need an Account?

Forgot your password?

Don't worry, we never post anything without your permission.

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>
Create a Slashdot Account

Loading...