background preloader

Programming

Facebook Twitter

Python_cheatsheet. Fluid dynamic tests. Triumph of the Cyborg Composer | Miller-McCune Online. The office looks like the aftermath of a surrealistic earthquake, as if David Cope’s brain has spewed out decades of memories all over the carpet, the door, the walls, even the ceiling. Books and papers, music scores and magazines are all strewn about in ragged piles. A semi-functional Apple Power Mac 7500 (discontinued April 1, 1996) sits in the corner, its lemon-lime monitor buzzing.

Drawings filled with concepts for a never-constructed musical-radio-space telescope dominate half of one wall. Russian dolls and an exercise bike, not to mention random pieces from homemade board games, peek out from the intellectual rubble. Above, something like 200 sets of wind chimes from around the world hang, ringing oddly congruent melodies. And in the center, the old University of California, Santa Cruz, emeritus professor reclines in his desk chair, black socks pulled up over his pants cuffs, a thin mustache and thick beard lending him the look of an Amish grandfather.

Guy Building A Working (Yes, Working) Computer Inside A Video Game. Gravity Swarm. Main.swf (application/x-shockwave-flash Object) The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!) By Joel Spolsky Wednesday, October 08, 2003 Ever wonder about that mysterious Content-Type tag?

You know, the one you're supposed to put in HTML and you never quite know what it should be? Did you ever get an email from your friends in Bulgaria with the subject line "???? ?????? I've been dismayed to discover just how many software developers aren't really completely up to speed on the mysterious world of character sets, encodings, Unicode, all that stuff.

But it won't. So I have an announcement to make: if you are a programmer working in 2003 and you don't know the basics of characters, character sets, encodings, and Unicode, and I catch you, I'm going to punish you by making you peel onions for 6 months in a submarine. And one more thing: In this article I'll fill you in on exactly what every working programmer should know.

A Historical Perspective The easiest way to understand this stuff is to go chronologically. And all was good, assuming you were an English speaker. Unicode Hello Encodings. Computer derives natural laws. Lindsay France/University Photography Professor Hod Lipson and graduate student Michael Schmidt adjust a double pendulum. Refectors on the pendulum enable motion-tracking software to record position and velocity as the pendulum swings.

From this a new computer algorithm can derive equations of motion. If Isaac Newton had had access to a supercomputer, he'd have had it watch apples fall and let it figure out what that meant. But the computer would have needed to run an algorithm developed by Cornell researchers that can derive natural laws from observed data. The researchers have taught a computer to find regularities in the natural world that represent natural laws -- without any prior scientific knowledge on the part of the computer. The research is described in the April 3 issue of the journal Science (Vol. 323, No. 5924) by Hod Lipson, associate professor of mechanical and aerospace engineering, and graduate student Michael Schmidt, a specialist in computational biology.

The Java™ Tutorials. The Java Tutorials are practical guides for programmers who want to use the Java programming language to create applications. They include hundreds of complete, working examples, and dozens of lessons. Groups of related lessons are organized into "trails". The Java Tutorials primarily describe features in Java SE 8. For best results, download JDK 8. What's New The Java Tutorials are continuously updated to keep up with changes to the Java Platform and to incorporate feedback from our readers.

This release of the tutorial coincides with the release of JDK 8. Lambda expressions enable you to treat functionality as a method argument, or code as data. Apart from fixing typos and errors, this update includes also includes the following: The Security trail has been restructured; find security information about applets and Java Web Start applications in the Java Applets lesson.

Trails Covering the Basics These trails are available in book form as The Java Tutorial, Fifth Edition. Sortvis.org - sorting algorithm visualisation. Mergesort. Sortvis.org sorting algorithm visualisation mergesort drag to pan, scroll to zoom, view raw code def mergesort(lst, left=0, right=None): if right is None: right = len(lst) - 1 if left >= right: return middle = (left + right) // 2 mergesort(lst, left, middle) mergesort(lst, middle + 1, right) i, end_i, j = left, middle, middle + 1 while i <= end_i and j <= right: if lst[i] < lst[j]: i += 1 continue lst[i], lst[i+1:j+1] = lst[j], lst[i:j] lst.log() i, end_i, j = i + 1, end_i + 1, j + 1 List order is sampled for visualisation whenever lst.log() is called.

Copyright 2010 Aldo Cortesi. Rick Barraza. Mobile puts your brand in a customer’s back pocket, but don’t be fooled – there’s much more to actually going mobile. By Mike Wolf, Director of Technology, Cynergy Every company knows they need to go mobile because mobile applications have the potential to put your company in a customer or employee’s pocket. They provide people with what they want where and when they need it most. However, the decisions associated with going mobile and the resulting implications are often underestimated. The incredible potential of mobile combined with a fear of missing out or being left behind, has created a mad dash of companies who believe “going mobile” is THE answer.

But without a clear understanding of what that means and how mobile can transcend an organization, these companies are setting themselves up for failure. In order to realize the true potential of mobile engagement first consider the following mobile misconceptions: “Mobile is a strategy.” “Enterprise developers know mobile.”