Process POST data
Hi to all,
Recently, I had one little problem regarding Ruby and Processing POST
requests from a HTML form.
I know that there is Webrick for Servlets and stuff, but I want to know,
there is possible to process POST/GET requests with basic net/http and
I have one ruby script that receive some data from one html page
I want to display or use in other scope these parameters.
How can this be done ?
Thanks in advance.
Posted via http://www.ruby-forum.com/.
Alin Popa �rta:
> I have one ruby script that receive some data from one html page
> ...changing com.apple.LaunchServices.plist
I have a graphics application that I want to have open with any file
that has a .JPG extension (instead of Preview.app). I can do this
through Finder by doing a GetInfo and then selecting the App and the
"ChangeAll" button. Doing this updates the com.apple.LaunchServices
Does anyone know how I can change the application a file type is
associated with from the Unix command line? I need to write a script
to do this change in an automated way.
Looking at the LaunchServices.plist, there is a <data> tag that I'm
not sure about...
...A Query-Transpose of Data
I am supplying you with Sample Data:-
Initial Classcode SampleSize Average
------- ---------- -------------------------------
ADK SSC 22 3.6800000000000002
ADK TSC 17 2.7599999999999998
ADK TSM 5 3.5499999999999998
ANB FCA 31 3.23
ANB FCB 50 3.0499999999999998
ANB FCC 30 3.0899999999999999
ANB SCA 35 3.02
ANB SCB 9 3.4300000000000002
ANB TCA 30 2.77
ANB TCB 6 1.8799999999999999
APG MCH ...Need help serializing data using C
Hello I need some guidance doing serialization of data using C. I have
the following function prototype for serializing data:
int serializeData(unsigned short data_type, void *structure, unsigned
What I want to be able to do is take any type of structure and of course
write the data into the buffer.
so for example if I have a struc A defined:
than the buffer would contain the data for x, y, and z.
I also want to prepend an opcode of type unsigned short so that I can
determine which structure type the buffer contains.
I would like to pa...cbm: 4 Millions Domains data with Category
Successfull Internet and Direct Marketing products on
* NEW * DOMUS Domains Toolkit Fall 2004 - Unique on the Net
4 Millions "Whois" Domains data with Expiration Date and Category*.
Ultimate Version (October 2004) - Our best rate starts from US *$149*.
A wonderful tool for Internet and Direct Marketing.
Available in Basic, Advanced and Full Editions.
It contains a domain database with 4 millions *FRESH* October 2004
New records .com, .net, .org.
4 Gigabytes MS Excel data zipped on CD-Roms/Dvd. Compression 3:1.
MS Excel or Text tab del...how to connect a windows xp PC to solaris 9 machine by telnet (Connection to host lost) ? thanks !
I have a windows XP machine and a solaris 9 machine, they can ping each
but when i telnet to the solaris from xp , it give me the following message,
what should i do ?
thanks for your help !
Not on system console
Connection to host lost.
On Sat, 11 Oct 2003 23:03:28 +0000, tom ye wrote:
> I have a windows XP machine and a solaris 9 machine, they can ping each
> but when i telnet to the solaris from xp , it give me the following message,
> what ...Finding Average of Sets of Data
It's been a while since I've been in the math field, but now I need to use matlab to get some statistic information on sets of data.
I'd like to collect data and then try to fit a distribution to it. I've found that I can attempt to do so using some items in the statistics toolbox.
However, my collected data isn't perfect. It's just from one trial. However, say I have 100 separately collected sets of data. I don't care about the distribution of the individual sets of data, but rather the average. For example, I'd like to import 100 sets of data and th...Help with Apple IIc starup
Hi to all !!
I've got today a beautiful Apple IIc with stand and monitor from U.S.A.
I'm testing it and all is okk ... I'm trying to testing also Floppy unit
drive using Apple IIe Floppy games disk without any results ...
It's my first time with an Apple IIc ... Someone can help me to know if
there are difference from Apple II and Apple IIc disk drive format ??
At startup of Apple IIc I listen a rumor from floppy (the disk use and power
led are on), after few seconds nothing....
Maybe I need Prodos Disk to load the Disc Operative Sistem ...
May you help me ??
Excuse me fo...Re: Stats question
Given that at most I have 5 data points for this analysis (often I have 4,
3, or even 2 points), I was asked to find States that should be focused on.
If you were asked this business requirement, how would you respond then
since you and everyone else seems to be saying to not place stock in 5 or
less observations? I am just trying to help my staff focus on the low
hanging fruit states for intervention. People often focus on States with a
huge delta from last year's metric to this years metric (eg last year was
50% and this year it was 30% so a 20% decline is worth looking at). ...Data Specialist
JOB TITLE: Data Specialist- 3 Month Contract
DEPARTMENT:L Information Technology
REPORTS TO: Manager, Production Support
JOB PURPOSE Process data to ensure the smooth completion of jobs.
KEY JOB FUNCTIONS
� Operate and monitor data processing applications, utilizing command-line
and graphical user interfaces.
� Troubleshoot issues that may arise during production runs.
� Escalate problems that cannot be resolved to the appropriate parties.
� Send, receive and process data.
� Prepare I/O (input/output) reports.
� Set up and test new software or new version...Write to WORK.DCOL.DATA failed.
I have not seen this error.
Write to WORK.DCOL.DATA failed. File is full and may be damaged.
I increased the space on the Input and Output files, but that did not
help. I think that something is going on with SAS rather than the Input
and Output files. (????)
570764 records were read from the infile DCOL.
The minimum record length was 204. =20
The maximum record length was 336. =20
ERROR: The open failed because library member WORK.DCOL.DATA is damaged.
ERROR: No data set open to look up variables.
.. ...Data Casting
Is there an easy way to - from a String variable value - I can "cast" it
into a Picture object.
In other words, I have a String like MyPicture = "Photo".
Can I use MyPicture value as a Picture object?? How can I translate the
data type?. I'm not really sure how the Dictironay class works or if it
will help me in any way.
Thanks all! ;)
Guillermo Enrich Serra <email@example.com> wrote:
> Is there an easy way to - from a String variable value - I can "cast" it
> into a Picture object.
> In other words, I have a String li...Apple Mail Barfs on Broken Outlook Html Emails
Anyone know a fix for this?
Blighted individuals sending email from MS Outlook Express
are causing me problems, because the particular build they
use insists on adding two html tags. This causes Apple Mail
to barf, serving up the complete raw text (complete with the
html head, body, and all other tags). To make matters worse,
Apple Mail appears to consider this the "plain text" version
of the message!
Example of offending email:
X-Mailer: Microsoft Outlook Express 6.00.2900.2670
[snip remaining headers]
<html><!DOCTYPE HTML PUBLIC "-//W3C//DTD H...Thanks to Apple
Why are "advocates" not congratulating Jobs and Apple for putting a stop
to cpu heavy, ram consuming Flash? Adobe are now officially out of the
mobile market leaving it to open standards and HTML5.
Why are "advocates" such snivelling, two faced hypocrites?
Emacs outshines all other editing software in approximately the same way
that the noonday sun does the stars. It is not just bigger and brighter;
it simply makes everything else vanish - Neal Stephenson
> Why are "advocates" not congratulating Jobs and Apple for putting a stop
>...Denmark joins France in Apple/DRM-Bashing
Denmark joins France in Apple-kicking
,----[ Quote ]
| Denmark could be the latest country to join France in forcing Apple to
| open up its iTunes system to rivals - but only if market forces don't
| sort out the problem first.
| French law makers are considering a Digital Rights Management bill
| which would force Apple and others to make their products
| interoperable. Apple has blasted the move as state-sponsored piracy.
Roy Schestowitz wrote:
> Denmark joins France in Apple-kicking
> ,----[...Re: Thank you! #2
See the attached file for details
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to firstname.lastname@example.org
...Re: data management- Data format problem- Thanks
Thanks Mark. It helps a lot.
--- On Wed, 8/6/08, Terjeson, Mark <Mterjeson@RUSSELL.COM> wrote:
From: Terjeson, Mark <Mterjeson@RUSSELL.COM>
Subject: Re: data management- Data format problem
Date: Wednesday, August 6, 2008, 11:08 AM
You mention having some numeric data, but due to
the rest of your commentary, "numeric data" may
be the human applied "use" of the digits displayed.
i.e. it is not certain whether your data variable
is of type numeric or character. so I make a few
references for each case.
IF, your data variab...Java Program Looking For Apple Jars?
I know this specific to Java on FreeBSD, but the Java newsgroup
doesn't look too active. My problem is that I'm trying to run the Zend
Developer Studio for PHP, but it craps out when it trys to look for a
bunch of Apple files:
at java.lang.ClassLoader.defineClass0(Native Method)
at java.net.URLClassLoader.ac...How to get the pixel data but in the jpg format!!
I need the pixel data from the images but I want it in the compressed
format, but I don�t know how to do it.
I f someone knows something, please tell me .
Jos� M� wrote:
> I need the pixel data from the images but I want it in the compressed
> format, but I don�t know how to do it.
Look at javax.imageio.ImageIO.write(). You will be able to write your
image to a ByteArrayOutpotStream in JPG or PNG format
...Thank you, thank you, THANK YOU.
I am new to this newsgroup and already have gleaned several tips and
suggestions that have been of great help, e.g. the Backup Plug in for
backing up essential files, and turning off the pesky return receipts.
I still have over 2000 more posting to go through, and expect
Christmas again at any moment.
Thank you for being here, thank you for all that you do.
...Transferring Data between pages
Hi, I am trying to find methods/tools that will help me automate the
process of manually copying some data from one web page form and
pasting them to another.
We have to frequently fill out a web page entry form (belonging to
another website which we have no control over), part of the data on
that form exists in our in-house developed Web application (windows
XP). Instead of manually copying and pasting the same data fields from
one form into the other, we want to find the methods, technologies, or
tools available that can grab data from our page and paste them into
equivalent field...Re: how can I import my datas in excel to mathematica and then do calculations on them?
On 3/11/06 at 5:16 AM, email@example.com (deniz10) wrote:
>i have over 3650 datas in my excel files, they are datas of each day
>past 10 years, i should import this to mathematica to do some
>calculations, i 'll find increment or decrement percentage of each day
>according to the next day, i almost need to have 3649 calculations,
>can't do it without mathematica :) but i can't even import those
>datas? does any of you have any kind of idea,
When asking for help, it is a very good idea to post what you've tried. That makes it much easier to see wha...FA: Apple Joystick for Apple IIe, IIc, IIgs
"tolsen64" <firstname.lastname@example.org> wrote in message
Wahhhh!, me want beige with orange button to go with paddles.
Have 2 and not work vewwy well. Anybody got one work good can
sell, give me??? Tanks.
Apple II Forever, Apple II Together
Bill @ GarberStreet Enterprizez
Web Site - http://garberstreet.netfirms.com
Has anyone used GetBytes to successfully read a blob using the
The following code (which I got from a MS how-to I believe) works fine
to retrieve a blob when I use the ODBC interface (using
ODBCDataReader). However the same technique fails under the
IFXDataReader with the following message
Exception Source: IBM.Data.Informix
Exception Type: System.NullReferenceException
Exception Message: Object reference not set to an instance of an
Exception Target Site: GetBytes
---- Stack Trace ----
IBM.Data.Informix.IfxDataReader.GetByte...Using a hash for the post data in LWP::useragent?
Does anyone know of a way to send the post data as reference to a hash
instead of hardcoding the post data into the useragent request? I
have tried using HTTP::Request::Common and Useragent request.
[ username => 'bob',
host => 'localhost',
other => '1',
other2 => '2',
other3 => '3',
I would like to to be able to use the same subroutine for multiple
post data hashes by calling
my %posthash = [ username => 'bob',host => '...