Thursday, April 28, 2011

KASEY CHAMBERS LYRICS - Freight Train

KASEY CHAMBERS LYRICS - Freight Train: "Well every time I fell behind
And I could not get ahead
I wish someone would pull the lever
And give me a little sand
And every time I slip behind
Even further back
I wish some switchman would come out of the fog
And change my track

Wish I was a freight train baby
Wish I was a diesel locomotive
I'd come whistlin' down your track
Crashin' in your door
Wish I was a freight train baby
Wish I didn't have a heart
And you'd need a shovel for the coal
Just to get me started
Wish I was a freight train baby
Wish I was a freight train . . ."

Designing a Secure REST (Web) API without OAuth

Designing a Secure REST (Web) API without OAuth

Pigs, Bees, and Elephants: A Comparison of Eight MapReduce Languages « Dataspora

Pigs, Bees, and Elephants: A Comparison of Eight MapReduce Languages « Dataspora: "I will present for each language or library the implementation of a word count program, lifted from its documentation, since this has become sort of the “Hello World” for map reduce. I don’t think such a simple program is the ultimate test of the quality of a language, so this is just to give a taste of the language. What I am most interested in is:

Can I write reasonably concise, abstract programs in this language or library?
Can I write the “inside” of map reduce, that is the code for the mapper and the reducer, as well as the “outside”, the logic that decides which map reduce jobs to run?
Is it general? Can I write any map-reduce program, including programs that require multiple map-reduce jobs, including the case of a data dependent number and type of jobs?"

Top 5 exceptions in Google App Engine - Sfalma Blog

Top 5 exceptions in Google App Engine - Sfalma Blog: "1. Routing Exceptions
The most common exception is the routing exception. Usually a resource is missing (like /favicon.png - the most common file missing).
2. Timeouts
One of the biggest headaches in GAE is timeouts (usually due to database queries or urlfetch). Either the service you are trying to connect is taking too much time to respond or you have a very complex/slow query. You can solve it by using AppStats (you are using AppStats right?) or putting retries (usually around 3 - you don’t want to drain your resources on something that is not working).
3. UnicodeDecodeError 
“ascii codec can’t encode characters in position 56-62: ordinal not in range(128)”
Everyone hates those nasty strings. encode, decode, utf-8, ascii - come on! please work! Pro-tip: always bet on utf-8.
4. Method Not Allowed
You have a route that waits for POST but you are doing a GET (vice-versa is not so common).
5. AttibuteError - NoneType
AttributeError: ‘NoneType’ object has no attribute ‘lat’
You expected that some object existed and you tried to access an attribute right? Admit it! Always check if a query returned any results.
6 (bonus). Your errors
Values, DivideByZero and many more."

Skilldrick » Magic in software development

Skilldrick » Magic in software development: "What we need to get to, eventually, is an understanding of the whole stack, but at greater and greater granularities as we get further away from our main level. So, if you’re a Ruby on Rails programmer, you need to know most of Ruby (but not all of it). It’s helpful to know a bit of C, and a bit of how the operating system responds to certain commands. Below that level, it’s good to have a vague understanding of how a computer works. And it’s useful to know that electrical signals can only transmit at a finite speed, and that there’s a physical limit to the number of transistors in a processor. As time goes on you can begin to flesh out these lower levels, remembring that the higher levels are generally going to be more beneficial to your day-to-day work."

How would you programmatically parse a sentence and decide whether to answer "that's what she said"? - Quora

How would you programmatically parse a sentence and decide whether to answer "that's what she said"? - Quora: "Outline an algorithm that, given a sentence, returns true or false for whether a 'that's what she said' is appropriate.
4 Comments"

YouTube - live coding test

YouTube - live coding test: ""

ORCA LIVE | COMMUNITY

ORCA LIVE | COMMUNITY

No orcas present.

All of the A5s headed north through Weynton and into Cormorant Channel towards Sointula before they made a turn back towards Mitchell Bay. At that point they began traveling very close to shore towards Donegal Head where they continued heading west. Thanks to Jared Towers of DFO for the update! Looks like we missed seeing them, but it was wonderful to hear them!
Leah

APOD: 2011 April 28 - Scintillating

APOD: 2011 April 28 - Scintillating

Tuesday, April 26, 2011

Debian Linux apt-get package management cheat sheet

Debian Linux apt-get package management cheat sheet: "apt-get install samba"

10. Brief Tour of the Standard Library — Python v2.7.1 documentation

10. Brief Tour of the Standard Library — Python v2.7.1 documentation

formatting - How do I keep Python print from adding spaces ? - Stack Overflow

formatting - How do I keep Python print from adding spaces ? - Stack Overflow: "Just a comment. In Python 3, you will use

print('h', end='')
to suppress the endline terminator, and

print('a', 'b', 'c', sep='')
to suppress the whitespace separator between items."

Sequined LED Gloves Set - 7 Modes and Super Bright!

Sequined LED Gloves Set - 7 Modes and Super Bright!: "Our Sequined LED Gloves have thee LEDS in each each finger tip, a red blue and green. Control several modes with the push of a button near the wrist, you can cycle through all seven modes with just an easy press of the button. The gloves are white cotton gloves with sequins on the back. The effect is insane! These are unlike any other gloves we have.
Information:
Multiple colors: Red, Blue and Green
3 colors in each fingertip (red, green, and blue)
7 finger lighting modes including rapid flash, slow flash, and steady on
Make crazy tracing patterns with your hands in the dark
Stand out! Be seen over 1/2 mile away.
Replace the CR2032 Lithium batteries as needed
Smooth surface inside – no wires!
One size fits most (excluding very large hands)
Stretchy, breathable material allows maximum comfort"

Maybe there's something wrong with the universe, but probably not - Fabulous Adventures In Coding - Site Home - MSDN Blogs

Maybe there's something wrong with the universe, but probably not - Fabulous Adventures In Coding - Site Home - MSDN Blogs: "I contrast that moment of dawning comprehension with Dr. Crusher's similar moment in that memorable 1990 episode of Star Trek: The Next Generation when she realizes that she's not crazy, it's the entire universe that is wrong. When faced with an absurd and unexpected situation - the gradual disappearance of first the crew and then the entire universe - she at least considers that she's the crazy one."

Skilldrick » Closures explained with JavaScript

Skilldrick » Closures explained with JavaScript: "Closures are functions that retain a reference to their free variables
And this is the meat of the matter. Let’s look at a simplified version of the above example first:


It’s no surprise that when you call f with the argument 5, when g is called it has access to that argument. What’s a bit more surprising is that if you return g from the argument, the returned function still has access to the argument 5 (as shown in the original example). The bit that can be a bit mind-blowing (and I think generally the reason that people have such trouble understanding closures) is that the returned g actually is remembering the variable x that was defined when f was called."

Home - Redline Smalltalk - Smalltalk for the Java Virtual Machine.

Home - Redline Smalltalk - Smalltalk for the Java Virtual Machine.

Software Creation Mystery » Stuck on a Big Hard Programming Task? Read this!

Software Creation Mystery » Stuck on a Big Hard Programming Task? Read this!: "I recommend 3 phase strategy to conquer your difficult task:

Hit the road – start moving and build the confidence
Take control – conquer uncertainty and map the road
Accelerate – drive on full speed while keeping control"

The myth of the Lisp genius — The Endeavour

The myth of the Lisp genius — The Endeavour: "Another possibility is that super-programmers are attracted to Lisp. That’s the position taken in The Bipolar Lisp Programmer. In that case, lesser programmers turning to Lisp in hopes of becoming super productive may be  engaging in a bit of cargo cult thinking.

I find the latter more plausible, that exceptional programmers are often attracted to Lisp. It may be that Lisp helps very talented programmers accomplish more. Lisp imposes almost no structure, and that could be attractive to highly creative people. More typical programmers might benefit from languages that provide more structure."

Emilis@GitHub: Usefulness of inventing programming languages

Emilis@GitHub: Usefulness of inventing programming languages

Cruelty Redefined: Undergraduates vs. C++ on Linux

Cruelty Redefined: Undergraduates vs. C++ on Linux

Shiba Inu Puppy Cam, Ustream.TV: Tune in daily to see the cutest Shiba Inu pups… EVER! The six Shiba Inu pups (3 boys and 3 girls) were born on Thursday...

Shiba Inu Puppy Cam, Ustream.TV: Tune in daily to see the cutest Shiba Inu pups… EVER! The six Shiba Inu pups (3 boys and 3 girls) were born on Thursday...

Sunday, April 24, 2011

A Camera Ravenous for the Humpback Close-Up - NYTimes.com

A Camera Ravenous for the Humpback Close-Up - NYTimes.com: "Looking into the whale’s eye, lit by sunlight through the water, Austin felt he was getting a glimpse of calmness and intelligence, of the animal’s consciousness. The moment changed Mr. Austin’s life. It struck him that something was missing from four decades of whale photography: the beauty of true scale. Mr. Austin concluded that the only way to capture the magnificence of whales would be to create life-size pictures of them. “I wanted to recreate the feeling I had when I looked into the eye of the mother whale,” he said."

Saturday, April 23, 2011

wave pool

wave pool: "HTML5 audio generation experiment

abcdefg: notes A - G
ACDFG: sharp
[space]: rest
123456789: change octave
!@#$%^: change note length"

ORCA LIVE | COMMUNITY

ORCA LIVE | COMMUNITY

Marie was out in the boat on her way to Alert Bay when the transients went by at 11am. She was able to have a brief look, long enough to ID them as the T23s. Making another Blackney Pass go through. The sea lions didn't seem to notice. The whales kept going into Johnstone Strait. Thanks Marie - have a great time in town!


Yay Marie!

APOD: 2011 April 23 - Shadows at the Lunar South Pole

APOD: 2011 April 23 - Shadows at the Lunar South Pole

Wednesday, April 20, 2011

How to Lay in a Hammock - Hammock Laying TIPS & ADVICE from 'The Hammock Shack' courtesy of Westmount Living

How to Lay in a Hammock - Hammock Laying TIPS & ADVICE from 'The Hammock Shack' courtesy of Westmount Living: "Where as Spreader Bar hammocks encourages one to lay straight as the fabric is spread evenly and taut due to the integrated spreader bars. A correctly hung classic hammock (non-spreader bar) allows for a diagonal lying position, like a real Brazilian ('from corner to corner'), not straight. This keeps the back straight and is the secret of being able to lie comfortably and relaxed for hours on end in a hammock. Though one can lie in a hammock lengthwise or across its width, most hammocks are best used with a diagonal position, as it provides the most room and support. Users with back and joint pains often report some relief from these problems when sleeping in a hammock in this manner."

The Hammock Angle: How To Relax And Sleep Comfortably In A Hammock, Even If You’re A Side Sleeper

The Hammock Angle: How To Relax And Sleep Comfortably In A Hammock, Even If You’re A Side Sleeper: "Begin by lying in the hammock directly down the center as you normally would.  Now, take your feet and legs and move them about 8-12 inches to one side. Do it until you notice that they are suddenly sitting much lower and flatter than they were.  Now, do the exact same thing with your head and the upper part of your body, except towards the opposite side.� If you did it correctly, you’re now lying almost completely flat in a curved hammock."

Monday, April 18, 2011

virtualenv — virtualenv v1.6 documentation

virtualenv — virtualenv v1.6 documentation: "virtualenv is a tool to create isolated Python environments.

The basic problem being addressed is one of dependencies and versions, and indirectly permissions. Imagine you have an application that needs version 1 of LibFoo, but another application requires version 2. How can you use both these applications? If you install everything into /usr/lib/python2.4/site-packages (or whatever your platform’s standard location is), it’s easy to end up in a situation where you unintentionally upgrade an application that shouldn’t be upgraded."

virtualenvwrapper - Doug Hellmann

virtualenvwrapper - Doug Hellmann: "virtualenvwrapper is a set of extensions to Ian Bicking’s virtualenv tool for creating isolated Python development environments. The extensions include wrappers for creating and deleting virtual environments and otherwise managing your development workflow, making it easier to work on more than one project at a time without introducing conflicts in their dependencies."

Home | Read the Docs

Home | Read the Docs: "Read the Docs hosts documentation, making it fully searchable and easy to find. You can import your docs using any major version control system, including Mercurial, Git, Subversion, and Bazaar. It also supports webhooks so your docs get built when you commit code. There's also support for versioning so you can build docs from tagged versions of your code in your repository. You can even create docs on the site. It's free and simple. Read Getting Started and find out how to host your docs on Read the Docs!"

Overview — Sphinx v1.0.7 documentation

Overview — Sphinx v1.0.7 documentation

Git is Inconsistent

Git is Inconsistent

bramcohen: Git Can't Be Made Consistent

bramcohen: Git Can't Be Made Consistent: "The solution to this problem in practice is Don't Do That. Having multiple branches which are constantly pulling in each others's changes at a slight lag is bad development practice anyway, so people treat their version control system nicely and cross their fingers that the semantic tradeoff they made doesn't ever cause problems."

Smallest possible transparent PNG

Smallest possible transparent PNG: "Plus the two bytes of zlib header, 78 9c, and the Adler-32 checksum, 00 05 00 01, makes 10 bytes. Putting the whole PNG together:

>>> png = ('\x89PNG\r\n\x1A\n'
... + chunk('IHDR', struct.pack('>IIBBBBB', 1, 1, 8, 6, 0, 0, 0))
... + chunk('IDAT', codecs.decode('789c6300010000050001', 'hex'))
... + chunk('IEND', ''))
...
>>> len(png)
67"

Practical Troubleshooting Advice « Between The Code

Practical Troubleshooting Advice « Between The Code

8yqJl.png (1100×850)

8yqJl.png (1100×850)

new user





Adding a new user to a Mac:

sudo dscl localhost -create /Local/Default/Users/username
sudo dscl localhost -create /Local/Default/Users/username UserShell /bin/bash
sudo dscl / -create /Local/Default/Users/username RealName "User Name"
sudo dscl localhost -create /Local/Default/Users/username RealName "User Name"
sudo dscl localhost -create /Local/Default/Users/username UniqueID 555
sudo dscl localhost -create /Local/Default/Users/username PrimaryGroupID 555
sudo dscl localhost -create /Local/Default/Users/username PrimaryGroupID 20
sudo dscl localhost -create /Local/Default/Users/username NFSHomeDirectory /Users/username




Saturday, April 16, 2011

"The 'reference' section of the documentation should contain a patch
demonstrating how to use each of Pd's classes. As of version 0.29, a complete
list of 'object' classes follows. Not included in this list are messages,
atoms, graphs, etc. which aren't typed into object boxes but come
straight off the 'add' menu."

Pd Documentation 2

Pd Documentation 2: "2.6.4. inlets and lists

The leftmost connection point at the top of most objects represents the object itself. Any other dark rectangle is a separate object called an 'inlet' although in Pd there are 4 individual inlet classes. The class of the inlet determines which messages it will take: symbol, float, or other; and the inlet forwards the message either to the object proper or to some proxy, usually one that the object creates for the occasion."

Friday, April 15, 2011














shivaShakti.jpg (230×256)

shivaShakti.jpg (230×256)

shiva-shakti.jpg (1089×1289)

shiva-shakti.jpg (1089×1289)

:)

lady-gaga-marc-jacobs-mask-sunglasses.jpg (300×368)

lady-gaga-marc-jacobs-mask-sunglasses.jpg (300×368)

lady-gaga-the-muppet_444x355.jpg (444×355)

lady-gaga-the-muppet_444x355.jpg (444×355)

christina-aguliera-lady-gaga-a.jpg (400×267)

christina-aguliera-lady-gaga-a.jpg (400×267)

gaga-2.jpg (500×794)

gaga-2.jpg (500×794)

2.2 The control level

2.2 The control level

APOD: 2011 April 12 - 50 Years Ago: Yuri's Planet

APOD: 2011 April 12 - 50 Years Ago: Yuri's Planet

APOD: 2011 April 15 - Messier 101

APOD: 2011 April 15 - Messier 101

How to disable sound effects at Ubuntu startup? - Stack Overflow

How to disable sound effects at Ubuntu startup? - Stack Overflow: "Ubuntu 10.04 you can go to System > Preferences > Startup Applications

In the program list look for 'GNOME Login Sound' and uncheck it.

Then the 'drum sound' is disabled by going to System > Administration > Login Screen and unchecking 'Play Login Sound'"

Tuesday, April 12, 2011

Fitts's Law and Why It Matters for Tablets | Atomic Object, Software Design & Development

Fitts's Law and Why It Matters for Tablets | Atomic Object, Software Design & Development

Feature Learning Architectures with GPU-acceleration — GPU Computing with MATLAB® & C/C++

Feature Learning Architectures with GPU-acceleration — GPU Computing with MATLAB® & C/C++

TouchStudio - Microsoft Research

TouchStudio - Microsoft Research: "TouchStudio is a new programming environment and language built around this new reality. Its typed, structured programming language is built around the idea of only using a touchscreen as the input device to author code. It has built-in primitives which make it easy to access the rich sensor data available on a mobile device. In our vision, the state of the program is automatically distributed between mobile clients and the cloud, with automatic synchronization of data and execution between clients and cloud, liberating the programmer from worrying (or even having to know) about the details."

Live.js - One script closer to Designing in the Browser

Live.js - One script closer to Designing in the Browser: "Say goodbye to Alt-Tab. Live.js makes sure you're always looking at the latest version of the page you're working on, whether you're writing HTML, CSS or Javascript."

Results of the public multiformat listening test @ 64 kbps (March/April 2011)

Results of the public multiformat listening test @ 64 kbps (March/April 2011)

What is the PDP-8 instruction set?

What is the PDP-8 instruction set?: "The basic instructions are:

000 - AND - and operand with AC.
001 - TAD - add operand to (a 13 bit value).
010 - ISZ - increment operand and skip if result is zero.
011 - DCA - deposit AC in memory and clear AC.
100 - JMS - jump to subroutine.
101 - JMP - jump.
110 - IOT - input/output transfer.
111 - OPR - microcoded operations."

Monday, April 11, 2011

JavaScript: Don't reassign your function arguments | Atomic Object, Software Design & Development

JavaScript: Don't reassign your function arguments | Atomic Object, Software Design & Development: "The numbered properties of the Arguments Object are synonymous with the local variables that hold the named function parameters. They both reference the same address in the stack. If the function body has code that changes the value of a parameter either via a name reference or the arguments[] array reference, both referenced values will reflect the same value."

PubNub ★ Cloud-Hosted Real-Time Messaging Mobile, Tablet, TV, Web

PubNub ★ Cloud-Hosted Real-Time Messaging Mobile, Tablet, TV, Web

Accurate geolocation using IP address

Accurate geolocation using IP address: "To use the method you first need some servers that you know the location of. Wang used Google Map servers. Next a rough fix of the location of the target machine is performed in the usual way i.e by measuring packet transit time from a number of 'ping servers' spread out at known locations. You can determine where the target is located using triangulation from the transit time of the packets from each of the 'ping servers'. This gives a location fix that is generally accurate to around 200km. The clever part of the algorithm is that with this rough fix you can determine which of the known machines are  close to the target machine. You can then use a trace route to compare the routers that the known machines have in common with the target machine. Then, using transit times, the distance from a known server can be refined."

GNU Emacs

GNU Emacs

Python

Python

Code rant: Message Queue Shootout!

Code rant: Message Queue Shootout!: "As you can see, there’s ZeroMQ and the others. Its performance is staggering. To be fair, ZeroMQ is quite a different beast from the others, but even so, the results are clear: if you want one application to send messages to another as quickly as possible, you need ZeroMQ. This is especially true if you don’t particularly mind loosing the occasional message."

Top 13 Most Absurd Programming Languages | Top Design Magazine - Web Design and Digital Content

Top 13 Most Absurd Programming Languages | Top Design Magazine - Web Design and Digital Content: "HQ9+ is a joke language with four instructions:

H: Print “hello, world”
Q: Print the program’s source code
9: Print the lyrics to “99 Bottles of Beer”
+: Increment the accumulator"

Ableton - Max for Live

Ableton - Max for Live

Interactive 3D model of Solar System Planets and Night Sky

Interactive 3D model of Solar System Planets and Night Sky

EPIC!

Unexpected Speculative Stability » #AltDevBlogADay

Unexpected Speculative Stability » #AltDevBlogADay: "The chief reason for the unexpected stability with speculative contacts, is that it solves one of the principle problems with discrete collision detection; contact flip/flop. This is when a contact is detected and then resolved repeatedly over the course of many frames. The discrete collision detection and resolution system will detect a contact (typically with distance < kThresh type comparison), resolve it and then after a few frames it will get pushed out of contact again and will fall very slightly towards the ground and get re-detected. This repeated pushing out/re-detection cycle will cause instability and jittering in the system."

SciPy Course Outline

SciPy Course Outline

Sunday, April 10, 2011

Sample Workflows — Kepler

Sample Workflows — Kepler: "Both Sequence Getter Using XPath and HTML Generator Using XSLT are composite actors composed of other actors that together perform a function (e.g., convert XML into a sequence of elements and an HTML file, respectively). Composite actors hide some of the complexity of underlying operations, and also permit the operations to be easily reused in others workflows.

To see and run this workflow in Kepler, open the application, select File > Open File from the menu, and then select 06-WebServicesAndDataTransformation.xml from the demos/getting-started directory."

Sample Workflows — Kepler

Sample Workflows — Kepler: "The Web Services workflow uses Kepler's Web Service actor to invoke a genomics data web service, which accesses and queries a remote genomics database and returns a genetic sequence. The name of the sequence (i.e., the gene accession number) is passed to the Web Services actor by a String Constant actor.

 After the service has executed, the Web Service actor outputs the retrieved gene sequence so that it can be displayed in multiple formats using three different Display actors: one for XML (the format in which the results are returned by default), one for a sequence of elements extracted from the XML, and one for an HTML document that can be displayed on a website. In addition, the workflow uses a fourth Display actor to display errors returned by the remote server (e.g., server down or incorrect input)."

19.7. xml.dom.minidom — Lightweight DOM implementation — Python v2.7.1 documentation

19.7. xml.dom.minidom — Lightweight DOM implementation — Python v2.7.1 documentation: "xml.dom.minidom is a light-weight implementation of the Document Object Model interface. It is intended to be simpler than the full DOM and also significantly smaller.

DOM applications typically start by parsing some XML into a DOM. With xml.dom.minidom, this is done through the parse functions:"

8.7.2 DOM Example

8.7.2 DOM Example: "dom = xml.dom.minidom.parseString(document)

def getText(nodelist):
rc = ''
for node in nodelist:
if node.nodeType == node.TEXT_NODE:
rc = rc + node.data
return rc

def handleSlideshow(slideshow):
print ''
handleSlideshowTitle(slideshow.getElementsByTagName('title')[0])
slides = slideshow.getElementsByTagName('slide')
handleToc(slides)
handleSlides(slides)
print ''"

9.3. Parsing XML

9.3. Parsing XML: "The object returned from minidom.parse is a Document object, a descendant of the Node class. This Document object is the root level of a complex tree-like structure of interlocking Python objects that completely represent the XML document you passed to minidom.parse.
toxml is a method of the Node class (and is therefore available on the Document object you got from minidom.parse). toxml prints out the XML that this Node represents. For the Document node, this prints out the entire XML document."

Syntax — Mako 0.4.1 Documentation

Syntax — Mako 0.4.1 Documentation

Web Services Essentials: Chapter 6: WSDL Essentials

Web Services Essentials: Chapter 6: WSDL Essentials: "definitions

The definitions element specifies that this document is the HelloService. It also specifies numerous namespaces that will be used throughout the remainder of the document:

"

Web Services Description Language - Wikipedia, the free encyclopedia

Web Services Description Language - Wikipedia, the free encyclopedia: "Web Services Description Language
From Wikipedia, the free encyclopedia
This article is about an information technology specification. For the radio station, see WSDL (FM).
Web Services Description Language

Filename extension .wsdl
Internet media type application/wsdl+xml
Developed by World Wide Web Consortium
Contained by XML
Standard(s) 2.0 Recommendation
The Web Services Description Language (WSDL, pronounced 'wiz-del') is an XML-based language that provides a model for describing Web services. The meaning of the acronym has changed from version 1.1 where the D stood for Definition."

WSDL Documents

WSDL Documents: "WSDL Messages

The element defines the data elements of an operation.

Each message can consist of one or more parts. The parts can be compared to the parameters of a function call in a traditional programming language.

WSDL Types

The element defines the data types that are used by the web service.

For maximum platform neutrality, WSDL uses XML Schema syntax to define data types.

WSDL Bindings

The element defines the message format and protocol details for each port."

WSDL and Media types

WSDL and Media types

Web Service Definition Language (WSDL)

Web Service Definition Language (WSDL): "




















"

KFlex — Kepler

KFlex — Kepler: "KFlex (Kepler Flex) is an extended version of Kepler with an Adobe Flex 3 client developed at the German Research Center for Artificial Intelligence (DFKI).
KFlex consists of two components:

KFlex Server: An extended version of the Kepler 1.0.0 release with WebService interface for workflows and packaged as Wep Application
KFlex Client: An Adobe Flex 3 prototypical implementation of a Kepler client to edit and execute Kepler workflows (see snapshot below)"

KFlex — Kepler

KFlex — Kepler

working memo: Kepler

working memo: Kepler: "The first impression of Kepler is good, not only for it was born from UC Berkeley, but also for the rich collection of built-in tools. Unlike Taverna and LONI which aim to help bioinformaticians, Kepler was designed for a broaden range of disciplines."

12.5. Introducing WSDL

12.5. Introducing WSDL: "A WSDL file is just that: a file. More specifically, it's an XML file. It usually lives on the same server you use to access the SOAP web services it describes, although there's nothing special about it. Later in this chapter, we'll download the WSDL file for the Google API and use it locally. That doesn't mean we're calling Google locally; the WSDL file still describes the remote functions sitting on Google's server."

12.6. Introspecting SOAP Web Services with WSDL

12.6. Introspecting SOAP Web Services with WSDL: "Discovering A Method's Arguments
>>> callInfo = server.methods['getTemp']
>>> callInfo.inparams
[]
>>> callInfo.inparams[0].name
u'zipcode'
>>> callInfo.inparams[0].type
(u'http://www.w3.org/2001/XMLSchema', u'string')"

How can I consume a WSDL (SOAP) web service in Python? - Stack Overflow

How can I consume a WSDL (SOAP) web service in Python? - Stack Overflow

WSDL Samples

WSDL Samples

Content Is Not Allowed In Prolog - ColdFusion XML And The Byte-Order-Mark (BOM)

Content Is Not Allowed In Prolog - ColdFusion XML And The Byte-Order-Mark (BOM)

SAX Error – Content is not allowed in prolog

SAX Error – Content is not allowed in prolog

Content is not allowed in prolog | My blog

Content is not allowed in prolog | My blog

Chapter 12. SOAP Web Services

Chapter 12. SOAP Web Services

What's the best SOAP client library for Python, and where is the documentation for it? - Stack Overflow

What's the best SOAP client library for Python, and where is the documentation for it? - Stack Overflow

suds - Trac

suds - Trac

Documentation - suds - Trac

Documentation - suds - Trac

Python & XML: Chapter 1: Python and XML

Python & XML: Chapter 1: Python and XML

Parse XML using Python - Yahoo! Developer Network

Parse XML using Python - Yahoo! Developer Network: "dom.getElementsByTagNameNS("

5.3. Parsing XML

5.3. Parsing XML

Python and XML: An Introduction

Python and XML: An Introduction

5. Built-in Types — Python v2.7.1 documentation

5. Built-in Types — Python v2.7.1 documentation

Web Services Essentials: Chapter 6: WSDL Essentials

Web Services Essentials: Chapter 6: WSDL Essentials

Thursday, April 07, 2011

Test HTTP Status Codes

Test HTTP Status Codes: "Test HTTP Status Codes

Our server will return the HTTP error code or status code that you request.

Enter an arbitrary status code:"

The Shakespeare Programming Language

The Shakespeare Programming Language

Wednesday, April 06, 2011

max





index of maximum element in a list in python

a = max(izip(n.values(), count()))[1]




I like big butts and I cannot lie, but is there some evolutionary reason as to why? : AskReddit

I like big butts and I cannot lie, but is there some evolutionary reason as to why? : AskReddit: "So Cosmo says you're fat, well I believe that loose connective tissue cushions and insulates internal organs from exterior threats, making a fine vehicle to incubate reproductive seed."

Tuesday, April 05, 2011

TipsAndTricks/TextBasedLinuxInstall - Dropbox Wiki

TipsAndTricks/TextBasedLinuxInstall - Dropbox Wiki

TipsAndTricks/TextBasedLinuxInstall - Dropbox Wiki

TipsAndTricks/TextBasedLinuxInstall - Dropbox Wiki



history | cut -c 8- | sort | uniq -c | sort



Ksplice » disown, zombie children, and the uninterruptible sleep - System administration and software blog
Media Queries
Re: Matplotlib - an odd problem: "Your code redraws over the same graph over and over again. You need to
create a new graph each time you want to draw something new. It took me
ages (and help) to figure out how the non-global APIs in matplotlib.

Here's an example:

from matplotlib.figure import Figure
from matplotlib.axes import Axes
from matplotlib.backends.backend_gtkagg import FigureCanvasGTKAgg as FigureCanvas

fig = Figure(figsize=(9, 9), dpi=100)
axe = Axes(fig, (0, 0, 1.0, 1.0))
axe.pie(range(5))
fig.add_axes(axe)

canvas = FigureCanvas(fig)
canvas.set_size_request(640, 480)

fig.savefig('foo.png')"
"#!/usr/bin/env python
# -*- noplot -*-
'''
A pure OO (look Ma, no pylab!) example using the agg backend
'''
from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas
from matplotlib.figure import Figure

fig = Figure()
canvas = FigureCanvas(fig)
ax = fig.add_subplot(111)
ax.plot([1,2,3])
ax.set_title('hi mom')
ax.grid(True)
ax.set_xlabel('time')
ax.set_ylabel('volts')
canvas.print_figure('test')"
matplotlib without a GUI: "matplotlib has two primary APIs. The easiest to use is the pylab interface. When that module is imported it checks for a setup file, initializes the GUI, and does a few other things to simplify interactive plotting. pylab is built on top of the matplotlib API. This is a more object oriented API, but still not that difficult to use. They can be used together, as you might have seen in my code from last time."
Parallelism is not concurrency « Existential Type
Re: Matplotlib - an odd problem: "from matplotlib.figure import Figure
from matplotlib.axes import Axes
from matplotlib.backends.backend_gtkagg import FigureCanvasGTKAgg as FigureCanvas

fig = Figure(figsize=(9, 9), dpi=100)
axe = Axes(fig, (0, 0, 1.0, 1.0))
axe.pie(range(5))
fig.add_axes(axe)

canvas = FigureCanvas(fig)
canvas.set_size_request(640, 480)

fig.savefig('foo.png')"
Building a minimalist Facebook clone and deploying on the Google cloud (14 mins) - Massimo Di Pierro - blip.tv
Twitter Engineering: The Great Migration, the Winter of 2011
Programming is a Super Power

AI Challenge - GitHub
Live Table Edit with Jquery and Ajax
Dissecting Google thumbnails - ht4

Control system - Wikipedia, the free encyclopedia

Control system - Wikipedia, the free encyclopedia

Researchers Make Flying Robots That Play Catch - Alex Knapp - Robot Overlords - Forbes

Researchers Make Flying Robots That Play Catch - Alex Knapp - Robot Overlords - Forbes

jtnimoy - Tron Legacy (2010)

jtnimoy - Tron Legacy (2010): "After this project, I was fed up enough with wxWidgets and Carbon that I was ready to author my own OpenGL based UI. The most important thing I could use is a floating-point slider. I also got irritated with the way the Carbon sliders would not slide all the way to the minimum and maximum values. It totally messed with my zen thing. Also, after a job like this, it's clear that a member of the Processing community working within a CG community is greatly restricted by the differences of realtime graphics rendering engines, and that probably messes with an art director's zen thing."

jtnimoy - Tron Legacy (2010)

jtnimoy - Tron Legacy (2010): "When fixing Quorra, there was an element in the DNA interface called the Quorra Heart which looked like a lava lamp. I generated an isosurface from a perlin-noise volume, using the marching cubes function found in the Geometric Tools WildMagic API, a truly wonderful lib for coding biodigital jazz, among other jazzes. The isosurface was then drawn along different axes, including concentric spheres. The app was mesmerizing to stare at."