background preloader

Parallel Programming & Parallel Computing Information and Resources

Holding a Program in One's Head August 2007 A good programmer working intensively on his own code can hold it in his mind the way a mathematician holds a problem he's working on. Mathematicians don't answer questions by working them out on paper the way schoolchildren are taught to. They do more in their heads: they try to understand a problem space well enough that they can walk around it the way you can walk around the memory of the house you grew up in. That's particularly valuable at the start of a project, because initially the most important thing is to be able to change what you're doing. Your code is your understanding of the problem you're exploring. It's not easy to get a program into your head. Even the best programmers don't always have the whole program they're working on loaded into their heads. Avoid distractions. Even more striking are the number of officially sanctioned projects that manage to do all eight things wrong.

12 Hot Mobile Medical Apps -- InformationWeek Mobile medicine is everywhere. There's the iPhone app that lets you cut away images of muscle layers to see what lies beneath, an e-health record system for the iPad, and a smartphone-based blood pressure monitor. Here are a dozen innovative ones. 1 of 12 This free iPhone app shows you extensive views of the muscle systems. More Insights C++ Programming/Exercises/Iterations Iterations[edit] Solutions requirements Solutions must: Use only standard C++.Be compilable.Be in accordance to general coding practices. and should: Handle error situations, even if behavior is not defined. Please do not add solutions that are 99% similar to another that is already present, if it is an improvement just add it to the existing solution. EXERCISE 1[edit] Write a program that asks the user to type an integer and writes "YOU WIN" if the value is between 56 and 78 (both included). int main() {int i; cout << "Type all numbers between 58 and 73: " << endl; cin>>i; if (i>=58 && i<=78) { cout << "YOU WIN" << i << endl; else cout<<"YOU LOSE!" EXERCISE 2[edit] Write a program that asks the user to type all the integers between 8 and 23 (both included) using a for loop. Solution Alternative solution by Bartosz Radwanski //Alternative solution by Bartosz Radwanski//This one allows the numbers to be entered in random order and exits//when all correct numbers have been entered. Alternate solution

Learn to Program With Code Academy Did you ever want to be a huge nerd your whole life, but didn’t know where to start? Don’t have the shelf space for the O’Reilly books, or found the various "in a nutshell" books too dry? I think Codecademy has an offer you can’t refuse. It’s an interactive site you start off simply with some naming conventions and math equations inside an interactive "terminal" window. The depth of the lessons look excellent, and the site is advertising a teacher beta once you log in, so if you want to contribute to the learning experience, you should absolutely get in touch with them. What about you? As an old coder, however, the interface and interaction this site provides looks pretty invaluable. Are you still here? [Update Oct 4, 2011: It's "Codecademy", not "Code Academy".

Search Engine Algorithm Research & Testing Performing tests on search engine algorithms can help you stay current on what the search engines are looking for and help guide your SEO strategies. The hardest part is devising tests that show an effect on individual ranking factors. Because change is a factor in itself, it’s nearly impossible to test a single ranking factor independently. Here are some suggestions and warnings on conducting a search engine algorithm test. Defining the Metrics Let’s start by looking at some metrics you could use: Ranking: Combines too many factors and should be communicated with its probable level of certainty. When you use ranking as a metric for a specific change between two timeframes, you won’t get a clear answer on the importance and performance of that change. Your competitors usually aren’t standing still – and could be doing things that you can’t monitor.The search engine could change the weighting of specific ranking factors. Metric Difference Between … ? Effected Broadness Threshold

Flex/ActionScript/C++/Scratch/Alice/C#/Java/JavaScript/XML Programming, by Richard G Baldwin 10 Search Engines to Explore the Invisible Web Not everything on the web will show up in a list of search results on Google or Bing; there are lots of places that their web crawlers cannot access. To explore the invisible web, you need to use specialist search engines. Here are our top 12 services to perform a deep internet search. What Is the Invisible Web? Before we begin, let's establish what does the term "invisible web" refer to? Simply, it's a catch-all term for online content that will not appear in search results or web directories. There are no official data available, but most experts agree that the invisible web is several times larger than the visible web. The content on the invisible web can be roughly divided into the deep web and the dark web. The Deep Web The deep web made up of content that typically needs some form of accreditation to access. If you have the correct details, you can access the content through a regular web browser. The Dark Web The dark web is a sub-section of the deep web. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10.

The 5 types of programmers « Steven Benner's Blog In my code journeys and programming adventures I’ve encountered many strange foes, and even stranger allies. I’ve identified at least five different kinds of code warriors, some make for wonderful comrades in arms, while others seem to foil my every plan. However they all have their place in the pantheon of software development. Without a healthy mix of these different programming styles you’ll probably find your projects either take too long to complete, are not stable enough or are too perfect for humans to look upon. The duct tape programmer The code may not be pretty, but damnit, it works! This guy is the foundation of your company. The OCD perfectionist programmer You want to do what to my code? This guy doesn’t care about your deadlines or budgets, those are insignificant when compared to the art form that is programming. The anti-programming programmer I’m a programmer, damnit. His world has one simple truth; writing code is bad. The half-assed programmer What do you want?

5 Ways To Hack Your Brain Into Awesomeness Much of the brain is still mysterious to modern science, possibly because modern science itself is using brains to analyze it. There are probably secrets the brain simply doesn't want us to know. But by no means should that stop us from tinkering around in there, using somewhat questionable and possibly dangerous techniques to make our brains do what we want. We can't vouch for any of these, either their effectiveness or safety. All we can say is that they sound awesome, since apparently you can make your brain... #5. So you just picked up the night shift at your local McDonald's, you have class every morning at 8am and you have no idea how you're going to make it through the day without looking like a guy straight out of Dawn of the Dead, minus the blood... hopefully. "SLEEEEEEEEEP... uh... What if we told you there was a way to sleep for little more than two hours a day, and still feel more refreshed than taking a 12-hour siesta on a bed made entirely out of baby kitten fur? Holy Shit!

DropSend - Email large files and send large files FutureMe.org: Write a Letter to the Future

Related: