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!



Gamestop's Ludicrous Idea: Require Preorders To Unlock Custom Game Content

tyggna To what end? (86 comments)

Is this supposed to get me to buy through gamestop? Is this their effort to claw at a dwindling physical-medium retail space?

No amount of douche-baggery will cause me to give up my preferred method of spending money. If I want the release-night environment and other anonymous gamers to talk to while waiting for my copy, then gamestop it is. If I want to forego putting on pants, I'll go with a digital distributor, and no amount of virtual clothing tweaks or outlet-specific items can make me put on my pants!

about two weeks ago

NSA Considers Linux Journal Readers, Tor (And Linux?) Users "Extremists"

tyggna It's not what you think (361 comments)

They're looking for potential hires. What better pool to pull from than technical terrorists?

about three weeks ago

Ask Slashdot: Switching From SAS To Python Or R For Data Analysis and Modeling?

tyggna Python because (143 comments)

When you get into the statistics, numpy, and scipy, it's all just python bindings for native fortran/C code--so it tends to be about the best there is in terms of execution time.

about three weeks ago

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

tyggna Research (536 comments)

Every web framework and technology has benefits and drawbacks. It's a matter of finding the right fit for your company. It's a good thing they're letting you ask the question, because managers/bean-counters make bad decisions in this area claiming that devs can't "see the big picture." Find one that fits well with your system and needs.

But, I assume that's why you're asking slashdot--you don't know what's out there or what their benefits are.

Well, I've spent the past 7 years benchmarking web frameworks and systems and I'll share a bit of what I've found out. Keep in mind, all information given here is my opinion and subject to debate and correction.

First--if you need near-infinite scalability and the absolute best performance, there is nothing that can beat mongodb for a database backend with fastcgi++ for your "framework." Mongodb is a bit buzzy still, but there are good reasons for that. It scales extremely well, and was designed to scale at speed. Fastcgi is anything but buzzy, but it's the fastest there is and it's built right into most webservers--but you're writing C/C++ code so that's an odd beast to deal with.

Now that I've said something that management will undoubtedly shoot down, here are some other frameworks and what they were originally designed to do, and some highlighted features.

Python - Django : "perfectionists with deadlines." Django was designed to chug out simple, straightforward web applications as quickly and cleanly as possible inside of your overall project. Contains template inheritance that has a small learning curve and is very powerful. Uses any SQL backend you want and provides an abstraction layer for it with caching. Cons: can be pretty heavy for a webapp, and difficult to integrate into a production environment.

Python - Flask : Simple and lightweight. Uses the same templates as django, but no database backend. It's meant to be standalone and simple (5 lines of code will get a website up). It's easy for your code to grow unwieldy inside of flask.

Ruby - Rails : Continuous development and test-first environment. This is kinda the poster boy for buzzwords, in my opinion, but it has some strength beneath it. Ruby is largely on-par with perl, so you have that. Rails provides the data modeling and really streamlines a lot of the annoyances common to web development. They designed the system to be the whole "45 minutes to a production environment" pipeline. You're supposed to write your tests first, then your code, and you write your deploy scripts and settings before you even start your project.

PHP - Drupal : Make a website without knowing crap about making a website. Haven't used it personally, someone else can comment.

PHP5 : "Hey, let's fix all the problems with PHP4!" Seriously, though. PHP was meant to add one-off server side scripts inside of your html, and has grown to be so big in comparison. PHP5 is actually a good language though, but it took a while to get it there. It's best used for image data processing, in my humble opinion, but it's on-par with any other language out there.
So, search them, find out who is using which systems, and which ones seem the most similar to your setup and go from there.

about three weeks ago

Venture-Backed Bitcoin Miner Startup Can't Deliver On Time, Gets Sued

tyggna Risk Assessment (120 comments)

You mean there are venture capitalists who can't do basic risk assessment?

That's how these miner manufacturers operate. It is relatively low and well-understood risk to sell physical goods. We have X orders, and can produce Y units each month. The reason they don't mine bitcoins themselves is that they don't want to take that risk. They sell the machine, and they get their money. They sell more machines, they get more money. It's simple, it's safe.

For the people who purchase them, they are assuming the risks of mining. They take the risk that their machine will underperform, that their miners won't find any blocks, and that the value of the bitcoin will stay stable or increase. The people actually mining have much higher risk than the people just selling the equipment.

about 1 month ago

Ask Slashdot: How To Bequeath Sensitive Information?

tyggna Few options (208 comments)

So, what I would do is pick a few passphrases that are long and cryptographically secure. Print these out and store them in a safety deposit box, bequeathing said box to whomever you want to give this information to.

From there, the linux command-line utility gpg will work nicely.

gpg -c filename

Will prompt for a passphrase twice (use one on your sheet), and output "filename.gpg" leaving filename still in tact.

From there, you can do whatever you want with the encrypted file--store it on a USB and put it in the safety deposit, email it, whatever. No one will be able to do anything with it until they have the passphrase.

The other way I'd do that, which is more of the day-to-day stuff, is create two bitmessage accounts and just send it via that.

PGP encrypted email is also a good way to go, so long as the recipient has their private key properly protected.

about a month ago
top GOP Voters To Be Targeted By Data Scientists

tyggna Wrong and wrong (422 comments)

Your average GOP voter is the same as your average democrat voter, with different parents and geography. I have never, personally, met more than one republican that didn't like science, and she was a nut-job. Also, republican or democrat is not the dividing line for individual privacy. That's a non-partisan issue (unless you're libertarian, in which case it's your quest in life to remove all privacy violations). I was skeptical, at first, about targeted approaches generated from big-data problems. Then I got on google fiber. There were some HUGE privacy concerns there, since they basically keep a tcpdump (minus packet contents) of all your internet history as part of your google-fiber profile for 3 days. Before that, they just knew that I was an adult male. After being on google fiber, all my internet ads changed from gaming and porno to high end computer hardware and data center products. As it turns out, I greatly prefer seeing computer hardware ads (particularly when I'm at work). Targeted approaches bred from privacy violations aren't necessarily a bad thing, it's what people do with them that's the problem. Technologies can be used effectively to make the world a better place, or abused to make it worse, it doesn't mean the technology is inherently evil. I don't think democrats would have problem being data-mined and invited to public events surrounding global warming policy, and I doubt these GOP voters will care that they were selected by a computer to be invited to take part in something that they're interested in.

about a month and a half ago

Ask Slashdot: How To Start With Linux In the Workplace?

tyggna You have 10 machines, try 10 setups (452 comments)

let the monkeys choose which GUI they want. Whichever one the majority of them chose, force the others to abide by it.

about 3 months ago

Old Operating Systems Never Die

tyggna Yes (875 comments)

Windows--in my head. Took several counseling sessions and intense electro-shock therapy, but my therapist says the scars are slowly healing.

more than 4 years ago

Does Your College Or University Support Linux?

tyggna Easy way to find out (835 comments)

Find a university that mirrors a Linux repository. They are very commonly hosted there. If it hosts it there, then there will be some kind of official Linux support on campus.

more than 4 years ago

Utah Law Punishes Texters As Much As Drunks In Driving Fatalities

tyggna From someone in Utah (620 comments)

Well, the drivers are so bad over here that we need every advantage we can get.

more than 4 years ago

Open Source In Public K-12 Schools?

tyggna Try before you buy (323 comments)

Well, I'd have both OSes at a school. While the CSRs and network admins will hate you for it--I think both OSes provides the healthiest learning environment. Every kid is different. Some get things quick, some don't. Personally, I think you should just make the resources available to the students, and then let them decide what they want. That will be more informative to you about whether or not its a good idea. If you put in Linux machines, and none of the kids use them--then take them out and say its not worth it. If you put them and Windows almost never gets used, then take the Windows machines out. Trying Open Source is really very cheap. For an entire school district, you could probably have one or two Linux guys set everything up for you within a month or two.

more than 5 years ago

Massive Martian Glaciers Found

tyggna Nitrogen (314 comments)

Personally, I think we should just start sending up high-payload conventional explosives to Mars. Releasing nitrogen into their atmosphere would make it so the planet could hold heat for a longer time, and conventional explosives are all Nitrogen-based. If we could do that, and there's already glaciers on mars--then that'd be the first step to terraforming it to be a habitable planet. Granted--that'd take hundreds of megatons of nitrogen, but it'd be cool to say, "we tried blowing up mars, but all it did was make it more habitable."

more than 5 years ago

AMD Shows Upcoming Phenom II CPU At 6.0 GHz+

tyggna Flops? (159 comments)

Clockspeed is good and great and all, but that isn't a very good measure of how many calculations it can do. 6.0Ghz doesn't mean anything (especially if we're talking radio frequency) other than how quickly your processor's heart pumps. This is why the 3.0Ghz "barrier" has been in place for so long--it's because Intel internally switched from benchmarking by clock speed to benchmarking by floating point operations per second. Sure, it might be clocked at 6Ghz, but if I'm only getting a 6giga-flops outta that, I'd be better off buying an Intel Atom.

more than 5 years ago



Text Editor and Programming Language Correlation

tyggna tyggna writes  |  about a month ago

tyggna (1405643) writes "The flame wars of different shells and text editors have long been established, but my question is this: are text editors and various languages linked? Do the majority of Ruby programmers use Emacs? Are most Perl programmers using vim?
Please post your editor and language of choice in the comments."

Power from trees

tyggna tyggna writes  |  more than 4 years ago

Maybe-The-Hippies-Were-On-To-Something (1405643) writes "Researchers over at University of Washington have given another meaning to the term "flower-power." Using nothing but the internal energy of a tree they powered an electronic circuit. While it may never be able to shoot fireballs, power cities, or bring world peace, it may prove a good indicator of the health of the tree. Read more here."


tyggna 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