Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment Re:EC2 is scriptable (Score 3, Interesting) 80

The OP needs lower-priced spot instances, which are intermittently available and designed exactly for this workflow.

Here's how to utilize lower-priced spot instances for scientific computing:

1. Set up one long-running, low-cost instance (a small is fine) that creates a distributed queue using Amazon's SQS, and adds jobs to the queue corresponding to each "unit" of the relevant computational problem of interest. New jobs can be added using a command line interface, or through a web interface.

2. Create a user start-up Bash script for the spot instances that runs your main program -- I prefer using Python and boto for simplicity. The main program should connect to the SQS queue, and begin an "infinite" while loop. Inside the loop, the next job off the queue is pulled, containing the input parameters that define the "unit" of the computational problem of interest. These input parameters are fed to the main algorithm, and the resulting output is uploaded to Amazon S3. The loop continues.

3. Any time the queue is empty or the spot instance remains idle for ~5 minutes, the spot instance then auto-terminates using EC2's command line interface.

4. Finally, just write a simple Python script to pull all the results off S3, combine & analyze them, and export to another useful format.

You'll also need to set up your spot instance price threshold, and make sure the queue has jobs to run. That's it, it's fairly simple.

Comment That OO-My-God Moment of Emergence (Score 1) 242

Emergent OOism -- that everything is an object, including the variable types -- can provide continual surprises of what is possible, even to veteran programmers in other languages. As you were developing and using Python, Guido, what was your favorite surprise? What was now easily possible using Python that would have been very difficult with another language (at the time, or even nowadays)?

Mine: a dictionary of lambda functions for parsing text, and writing a custom MapReduce capability for AWS in 372 lines.

Comment You're not alone (Score 5, Informative) 212

Hi Timothy,

Unfortunately, you didn't provide a lot of information in your post as to what the problems are.

As people have pointed out, there are a ton of USB to Serial solutions out there so having the modern hardware with the ability to communicate over RS-232 is generally not a problem (although, depending on the connections used, you might want to invest in a RS-232 breakout box and read up on RS-232 handshaking as many of the older devices do use hardware handshaking). I have a few hand wired 9 pin to 25 pin connectors with the CTS-RTS and DSR-DTR pins shorted together as they can simplify your life immeasurably.

In my experience, the biggest problem is retaining floppies & CDs with the original software on them (assuming that the developers are no longer supporting the product/are out of business). If the company is still in business, usually they're pretty good at providing updated software for their products. If they're not in business, then look to see if they were bought out by anybody. Chances are you'll find that the purchaser is still supporting the product, although it may be under another name.

Personally, the biggest issue that I see when I have encountered this type of situation is that the original programs are on floppies. If this is the case, you will need to find somebody with a Windows/95 machine that they're keeping together with spit, bailing wire, gaffer's tape and good intentions - you should be able to copy the program onto a USB key and then burn it on a CD/DVD for more permanent storage.

Once you have the program in a media that you can work with, you may have problems with the installation. You will probably have to create a virtual machine on your PC AND there may be 16 bit programs that you have to convert to 32 bit - here's a great resource that's saved me a couple of times: http://www.reactos.org/forum/viewtopic.php?f=22&t=10988

Finally, Google is your friend. Chances are the answers are out there for your particular equipment.

Good luck!

myke

Submission + - Google Formally Puts Palestine on Virtual Map (paritynews.com)

hypnosec writes: Google has indirectly walked right into one of Middle East's most obstinate conflict by putting Palestine as an independent nation wiping off the term Palestinian Territories and replacing it with Palestine in its localized search page. Google’s move is more or less in line with the UN’s decision October to name Palestine as a non-member observer state. The status given to Palestine will allow the state to join UN debates as well as global bodies such as the International Criminal Court, in theory atleast. Up until May 1, anyone visiting http://www.google.ps were shown the phrase Palestinian Territories, which has now been replaced with the word Palestine. This change is definitely not a huge one but, it has attracted criticism from politicians in Israel. They have slammed Google for invading and getting involved in a complex issue that has not been resolved yet.
Security

Did the Spamhaus DDoS Really Slow Down Global Internet Access? 70

CowboyRobot writes "Despite the headlines, the big denial of service attack may not have slowed the Internet after all. The argument against the original claim include the fact that reports of Internet users seeing slowdowns came not from service providers, but the DDoS mitigation service CloudFlare, which signed up Spamhaus as a customer last week. Also, multiple service providers and Internet watchers have now publicly stated that while the DDoS attacks against Spamhaus could theoretically have led to slowdowns, they've seen no evidence that this occurred for general Internet users. And while some users may have noticed a slowdown, the undersea cable cuts discovered by Egyptian sailors had more of an impact than the DDoS."

Comment The correct answer is ... maybe (Score 1) 170

Wouldn't the best answer for an individual be based on their driving habits and history?

If you tended to stay at the speed limit (or reasonably above according to traffic), were a defensive driver and were reasonably confident that you wouldn't cause an accident, wouldn't you want tracking on to show that it's the other guys fault?

Depending on your hubris level, the next step is a dashboard camera because clearly you are never going to cause an accident - right?

myke

Submission + - Elon Musk Lays Out His Evidence That New York Times Tesla Model S Test Drive Was (techcrunch.com) 1

mykepredko writes: "Tesla Motors CEO and founder Elon Musk definitely isn’t the best guy to try to pull a fast one on. The visionary entrepreneur set Twitter a titter when he claimed earlier this week that New York Times writer John Broder had fudged details about the Tesla Models S car’s range in cold weather, resulting in what he termed a “fake” article. Musk promised evidence, and now he has delivered, via the official Tesla blog."

Comment Bring in your team lead (Score 1) 507

Interesting question and one I've thought about for a bit since the original question, from the other side came out.

I would say, bring in the team lead as an arbitrator. It's their job to direct the work and (hopefully) develop team members - this guy sounds like he needs a bit of development and level setting.

myke

Comment We found that broken code was a better test (Score 4, Interesting) 776

When I was at RIM, we used a broken quick sort method that the candidate was asked to fix. We didn't time how long it took the candidate to implement the fix, but it generally required the candidate to do some research as to what was wrong. One of the team leads created a simple app that tested the performance (ie speed) of the fix.

What was really interesting to me was the number of candidates who refused to do the test (50-60%) because they said it was "beneath them". The big problem was, RIM's HR (OD) that insisted we interview the candidatest that refused to do the test because we were losing potentially half the candidates that were responding to the job applications (this was when RIM was The Place To Be).

The best candidates were the ones that did the test and asked if we had any more. These candidates also tended to produce code that ran sort the fastest.

myke

Slashdot Top Deals

If you want to put yourself on the map, publish your own map.

Working...