processing

When to use Processing language?

When it comes to online or desktop presentation we've options like actionscript, java, picolo, flare, prefuse. Now choosing a perfect language for needs is subjective and depends on project. But if you've to choose Processing (language), then on what basis you'll choose? what are the pro's and con's of processing in your opinion? ...

c# How to use the ProcessDialogKey to capture special characters like "Tab", "Up" etc...

Hi! I want to register when the key "Tab" has been pressed, but can't figure out how to use the ProcessDialogKey. This is what i got: this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.Keypress); private void Keypress(object sender, KeyPressEventArgs e) { MessageBox.Show("...

Audio Processing - Tone Recognition

I've started developing a simple guitar tuner as a learning project for audio processing programs. Could someone recommend me an adequate library for this? Here's basically what I'm looking for: Microphone input. Real-time processing of the signal. I need to be able to perform note recognition on whatever is being played to the mic. C...

webcam access using opencv with processing in an applet or application

I made a small sketch with processing using opencv to face detect and track. But when I export as an application and start it nothing happens, same as an applet. First I exported the applet and thought this must be a security issue, and struggled with some hack for processing to sign your java applet. http://processing.org/hacks/hacks%3...

Guidelines for determining the maximum frequency to process an SSAS cube?

We have an Analysis Services cube that needs to be as real-time as possible. It's a relatively small cube that currently takes a couple of seconds to process. Are there any guidelines for this? I'm curious what other folks are doing. Also, what would be the impact of processing the cube too frequently? Would the main concern be th...

Why is my Processing app not behaving?

I am learning to use Processing, and have modified one of the examples to create this applet. I have two questions: Why are the spheres oblate? The spheres in the example I cribbed from were nice and round. Why do I get the light showing on the outside edges of the spheres, when the point source is between them? Here is the source f...

How to automatically get from daily e-mail attachment to script-processed file?

Background: Every work day I get an e-mail from a vendor who sends me a CSV file as an attachment. The CSV file needs to be converted into HTML and I already have a script that does that. The problem is, I have to manually open my e-mail, save the attachment to my hard drive and then run the script against the saved attachment. I would ...

I need a good programming discussion board.. (Systems Design) : Edited

I'm needing to run some ideas by others dealing with systems design. I doubt stackoverflow.com is the place to have the conversation(s). Is there a good and active discussion board for systems design out there? EDIT : Ok, here we go, If you had to design a file processing component/system, that could take in a wide variety of file ...

Difference between Cmdlet.EndProcessing and Cmdlet.StopProcessing

When writing Powershell cmdlets, what is the difference between EndProcessing and StopProcessing? They sound the same, their descriptions are just about the same, and latter doesn't appear in the cmdlet lifecycle documentation. ...

HashMap and incrementing values in Processing

Hi there, I have a HashMap that I'm using in Processing and I'd like to increment the value in the map. I Google'd it and it showed me that the following code is correct: if (colors.containsKey(ckey)) { colors.put(ckey, colors.get(ckey) + 1); } else { colors.put(ckey, 1); } I keep getting: The operator + is undefined for the...

AJAX textarea blocked for writing when processing request

I have a textarea where people can write comments and click a button to post them. The processing is done with AJAX and so I want that as long as the server is processing the user request (and after too), the button and textarea will be blocked for editing/writing/clicking. It's very similar to how comments on Youtube videos work. Do y...

How to extract the second record from my plist?

I have a sample database file called albums.plist It is structured as below (very simple layout). I am new to Objective-C programming and would learn a lot if someone is able to help me figure this out. What I would like to do programatically is parse this database and for example, show on screen for example, the second albums details ...

C# solution for analysing files as they are written/modified

I have several projects that require me to monitor files, and then edit them as they are getting written to disk. I have a feeling that what I am looking for is operationally the same as how anti-virus tools operate. Let me give more details: 1) I need to trap all files saved by Office application, and then add specific company tags to t...

Basic DSP question

I'm new to DSP programming, and I'm wondering how best to carry out the seemingly basic operation of level adujustment. Say I have an 8 bit number that represents the amplitude I want a signal to be in 256 steps. I have a set of 16 bit numbers representing the signal data. What's the best way to go about scaling the signal data based ...

Java - Zoom / 3D Data Visualization Libraries

What are the best libraries/frameworks for doing 3D and/or Zoom interfaces in Java? I'd like to be able to do some prototyping of creating new types of interfaces for navigating within data and representing object graphs/relationships. Low and no cost options are better. Open Source is also a plus. UPDATE: The higher level the api the ...

Checking for content in Django request.POST

I feel like such a n00b asking this question but it's late and I'm tired. ;) I am accepting data via request.POST like this: if request.method == 'POST': l = Location() data = l.getGeoPoints(request.POST) appid = settings.GOOGLE_API_KEY return render_to_response('map.html', ...

How would I go about plotting "live" stock market data with Processing, jQuery, Pure Data or Max/MSP?

This is intended as a question quite open to any suggestions, hints or pointers. I wish to start playing around with home brewed automated investment models, the beginnings of which I have concepts for. I'm familiar with a few frameworks/languages that I suspect might be able to help me in this. Suggestions regarding other languages than...

When should you not use the new parallel loop functions in c#

For maintainability purposes, my impulse is to simply use parallel processing all the time. For simple loops it sounds like there is overhead which could actually slow the function, and presumably for loops where order of execution makes a difference it is a mistake. How do you decide when to use parallel processing and when to avoid i...

how to extrude a path in 3d ?

Hi, I'm trying to extrude a path in 3d. Nothing fancy yet, just following some points and using a regular polygon for 'tubing'. I'm using Processing for now to quickly prototype, but will later turn the code into OpenGL. My problem is rotating the 'joints' at the right angles. I think I have a rough idea how to get the angles, not sure...

How to tell when an @font-face rule is applied

Is there any way to tell when an @font-face rule is applied? I'm creating @font-face rules that use data: URIs from a font file requested with an synchronous XMLHttpRequest in JavaScript and then write text to a canvas element using the font right away. The thing is that it doesn't actually use the font when drawing the text for the firs...