interactive

[BIRT 2.3.2] Interactivity where are you gone ?

I am sorry to bother you but I am facing a very inconviniet problem ... I have been browsing around your many sites about BIRT and specially for Interactivity or scripting related subjects. But (it would be sooo nice to live in a flawless world) trying to perform some examples (like this one http://kickjava.com/src/org/eclipse/birt/cha...

Detecting interactive shell within ksh ENV script

What's the preferred way to determine if a given ksh invocation is running an interactive shell? I have some commands in an ENV file that I would like to skip for non-interactive ksh invocations (e.g. when executing a shell script). I've seen suggesting ranging from: if [[ $- = *i* ]]; then # do interactive stuff fi ...to not ev...

Java's interactive shell like ipython

I am quite new to java, and I would like to learn java just like python, with the interactive shell IPython. I try a few a them, like beanshell, jython, jythonconsole, JyConsole... Almost all of them don't have the function of tab completion like ipython. Is there anything similar to that? Thank you. ...

python: find out if running in shell or not (e.g. sun grid engine queue)

is there a way to find out from within a python program if it was started in a terminal or e.g. in a batch engine like sun grid engine? the idea is to decide on printing some progress bars and other ascii-interactive stuff, or not. thanks! p. ...

[BIRT 2.3.2 (StandAlone)]"Jumping" problem ?

Hi there, Here's the fact : I made a tiny app which consist of a table related to a bar chart (a birt one ... of course), when I modify my table values it automaticaly alter my chart (like Excel but less fancy) ... Anyway everything works fine ... BUT when I want to make my chart interactive in order to show tooltips (for example) I inf...

What are the available interactive languages that run in tiny memory?

I am looking for general purpose programming languages that have an interactive (live coding) prompt work in 32 KB of RAM by itself or 8 KB when the compiler is hosted on a separate machine run on a microcontroller with as little as 8-32 KB RAM total (without an MMU). Below is my list so far, what am I missing? Python: The PyMite V...

C++ interpreter / console / snippet compiler

Hi, I am looking for a program where I can enter a C++ code snippet in one window, press a button, and get output in another window. Compilation should somehow be hidden behind the button. On a per-snippet basis would be fine, full interactive probably asking too much. It should run under Linux/Unix. Main use case would be learning/tes...

Detecting when a python script is being run interactively

Is there a way for a python script to automatically detect whether it is being run interactively or not? Alternatively, can one detect whether ipython is being used versus the regular c python executable? Background: My python scripts generally have a call to exit() in them. From time to time, I run the scripts interactively for debug...

How do I unbind a library reference in F# interactive

In VS 2010 I reference several libraries using #r Once I run an interactive session these libraries get bound. As a consequence I cannot rebuild my library because the system complains these libraries are currently used. How do I unbind them in case I want to update the library? ...

Python Get Docstring Without Going into Interactive Mode

I want to grab the docstring in my commandline application, but every time I call the builtin help() function, Python goes into interactive mode. How do I get the docstring of an object and not have Python grab focus? ...

How can I check to see if a Python script was started interactively?

I'd like for a script of mine to have 2 behaviours, one when started as a scheduled task, and another if started manually. How could I test for interactiveness? EDIT: this could either be a cron job, or started by a windows batch file, through the scheduled tasks. ...

Is there a good interactive 3D graph library out there?

I'm looking for a library that will layout and display graphs (i.e. network diagrams, not charts) in 3D, with some interactivity like selecting and dragging nodes, rotating the display etc. I would like to do this in a web page so Javascript or Flash are preferable, I'd also consider Java. Having looked myself I realise the options are ...

list of methods for python shell?

You'd have already found out by my usage of terminology that I'm a python n00b. straight forward question: How can i see a list of methods for a particular object in an interactive python shell like i can in ruby (you can do that in ruby irb with a '.methods' after the object)? ...

Creating interactive pplets from R Output

Currently, I generate results from statistical analyses (e.g., a three dimensional plot) and then "manually" move it to processing - a graphics programming language) where I can (with some simple coding) export an interactive java applet (e.g., allow the person viewing the plot to move in, out and around the data points). Can I keep thi...

Python Drop into REPL

Is there a way to programmatically force a Python script to drop into a REPL at an arbitrary point in its execution, even if the script was launched from the command line? Edit: I guess I should clarify by specifying why I want to do this. I'm writing a quick and dirty plotting program, which I want to read data from stdin or a file, p...

Access an instance from Terminal

Can't figure this out. In Terminal, I import a module which instantiates a class, which I haven't figured out how to access. Of course, I can always instantiate in Terminal: Server=Data.ServerData() Then I can get a result: Server.Property().DefaultChart However, I want to skip that step getting the result directly from the insta...

How to wrap a CLI program in Python (keeping the interactivity)?

Hello everybody, I'd like to write a wrapper for an interactive CLI Program (the Asterisk CLI). Basically, I need to keep the interaction with the CLI (including tab-completion) but I want to filter the output of Asterisk, in order to show only lines matching a given pattern. I tried a select() based approach, using popen.popen4 and pu...

Define an emacs command that calls another emacs command (preserving interactive stuff)

How can I define an emacs command X that does something and then calls another emacs command Y and also copying the interactive interface of the command Y too? I want to define an altenative version of query-replace with temporarilly toggled value of case-fold-search: (defun alt-query-replace (a b c d e) (interactive) (let ((case-f...

What is scala -i command-line option supposed to do ?

I'm finding the scala '-i' command line option quite useful for running some scala code and then dumping me into an interactive shell so I can prod/inspect the things it defined. One thing which completely mystifies me though: why does it load and run the script twice ? For example, given file test.scala containing the cannonical prin...

Making a Background Service Somewhat Like Apple's Spotlight in VIsual Studio C#

I am about to start working on application that runs in the background waiting for a certain user input somewhat like apple's spotlight. Basically the user will give the service a certain key that will bring it up (for example the user might hit control-space or control-p) then the application main GUI will be brought up. Now my questio...