demo

iPython demo mode

I'm trying to use the iPython demo mode. I created a file called test.py containing: print 1 print 2 print 3 and then launched iPython and did the following: In [1]: from IPython.demo import LineDemo In [2]: d = LineDemo('test.py') In [3]: d() ********************* <test.py> block # 0 (5 remaining) ********************* p ********...

How to implement a prototype caching system in PHP?

The problem is how to do it efficiently when checking whether the cache has expired? Can you explain with some really basic demo? ...

Interesting projects/problems/challenges to work on?

Being a "true" developer I love working on projects in my spare time. This is not necessarily to reach a particular end but just so that I can keep my skills sharp, work with the latest patterns and ideas, and see if the latest thinking on things holds up for me. I don't like just doing sample bits of code, but rather try and wrap thing...

solr example demo, cant work out where to put java folder

Hi, Ive followed this tutorial to install (multiple) solr instances on tomcat http://wiki.apache.org/solr/SolrTomcat Now i want to set up this demo but its not working http://www.ibm.com/developerworks/java/library/j-solr1/ Ive built the dw.war as mentioned in the demo and now I get this error. java.lang.NoClassDefFoundError: Could...

Fantasy names database

I am building a demo dataset for my webapp. I would like thousands of "real looking" names. They should not be names of famous people or fiction heroes or names that will evoke associations. They should all have various and different sounding but realistic male and female names and surnames. Birth dates and other data can be randomly ge...

Am I crazy? Demos on jQuery's 'effects' page not working in any browser

Hi all, I want to make sure I'm not crazy, because I can't get any of the effects demos to work on jQuery's demo pages. I thought it might be my new Firebug version (1.5.2) or Firefox in general, but they're not working in IE or Chrome either. Here are the links where the demos aren't working. One is for highlight, and the other is for...

How to automatically insert code for an Xcode video demo

I've been watching some of the WWDC 2009 videos which include some video demos in Xcode. The presenters are using some sort of macro or script bound to a keyboard shortcut to automatically insert some pre-prepared code at the current caret location. Each time they press the key, the next prepared snippet is inserted. Does anybody know h...

Compiling without libc

I want to compile my C-code without the (g)libc. How can I deactivate it and which functions depend on it? I tried -nostdlib but it doesn't help: The code is compilable and runs, but I can still find the name of the libc in the hexdump of my executable. ...

Regarding mootools and jQuery demo

Hi , i found http://visualjquery.com/ more useful when i was learning jQuery with each function explained in demo along with code sample in a practical manner. im looking for the same in mootools. is anyone find any website which provide demos and sample coding like above the same in visualjquery.com ...

HTML 5 Structure tags demo

Hello, i can't find demo of structure tags <header>, <footer>, <articles> ... http://brucelawson.co.uk/tests/html5-elements.html Here, something like this, but with highlighted of each elements Please, help ...

Wordpress Demo Pages for Tutorials

I have a few tutorials that I would like to write up. Many web-based tutorials have a demo page and a zip download of the demo. I can easily upload a zip file to my post, but the for the demo i'm not quite sure. The demo page would need to be different from the theme I'm currently using. One example of this style would be http://css-tric...

A Good demo app for Intellitrace

I want to demo intellitrace. But all of my simple apps end up not having the methods instrumented (despite me setting the most complete "tracing" I can). Does anyone know of a good demo app for intellitrace? (or a good idea of one?) ...

How do I run gtk demos?

They are located under: share\gtk-2.0\demo But none of them contains a main function, how can I make the following textscroll.c actually work: /* Text Widget/Automatic scrolling * * This example demonstrates how to use the gravity of * GtkTextMarks to keep a text view scrolled to the bottom * while appending text. */ #include ...

What is the coolest WebGL demo you have seen so far?

What is the coolest WebGL demo you have seen so far? (One demo per answer please) ...

Easy way to build an in-app demo like they do in Convertbot?

I want to make a little in-app demo like Tapbots does in Convertbot. Maybe there is a better solution than mine? make everything programmatically controlable write a huge class with hundreds of performSelector:withObject:afterDelay: calls to control the whole app for the demo The demo actually only does two things: Simulate touches...

Who can give me a demo to get datum of my facebook in Java?

Possible Duplicate: How to get all the datum of my Facebook by Java, including profile, my friends list, etc. Who can give me a Demo to get my friends list of Facebook in Java? ...

eCommerce systems with demo

I want to try some eCommerce systems to take look of how they implement the diffentent aspects Items publication Stock Sells Return Etc, Etc I'm developing a system myself (web application writen in PHP) and I have the feeling than I'm over complicating the process in several parts (particularly in the relations between products and ...

What is memoization good for and is it really all that helpful?

There are a few automatic memoization libraries available on the internet for various different languages; but without knowing what they are for, where to use them, and how they work, it can be difficult to see their value. What are some convincing arguments for using memoization, and what problem domain does memoization especially shine...

Possible to mirror iPhone/iPad screen on a monitor without jailbreaking?

I have been looking for a way to show the iPhone screen (not the simulator) on a monitor or projector for demo purposes. Previous SO post suggested jailbreak (Veency, iDemo/DemoGod, screensplitr) or simulator. Release notes iOS 3.2 (External Display Support) and iOS 4.0 (Inherited Improvements) mentions that it should be possible to con...

Why does the Android maps compass demo use a delegate for the SmoothCanvas class?

In the Android MapsDemo available in Eclipse for the Google API, they create an inner class SmoothCanvas in MapViewCompassDemo.java. Within this class the re-implement seemingly every method and reroute it to a delegate instance of Canvas. static final class SmoothCanvas extends Canvas { Canvas delegate; private final Paint mSm...