sync in a C program?
i'm replacing a perl script with a C program, so the perl script used
to rsync very many files to some 60 servers, and rsync was excellent
however the script did do a lot of calculations which perl sucks at
and was using too much memory/cpu.
i took a look at rsync.h and it seemed way too complicated to use. or
maybe i didn't look hard enough
does anyone know how to use rsync in a c program without using a
In article <firstname.lastname@example.org>,
email@example.com (elia Mazzawi) wrote:
> does anyone know how to use rsync in a c ...open stdin a second time
I´m opening stdin to get a file and pass it through a pipe.
After that, if mfilt returns me an error I want to send an email with
the original message attached...but how can I re-read stdin to do
I do not want to save the message to a temp file or save it to memory
for i/o questions. Is there a way to re-read stdin ?
amit khan <firstname.lastname@example.org> writes:
> I´m opening stdin to get a file and pass it thro...Programming Counts
I am looking for SAS programming help. I have a dataset in the following format:
ID Departure_Time Arrival_Time
1 0850 0930
2 0623 0651
3 1234 1301
4 1508 1515
.. . .
.. . .
.. . .
.. . .
.. . .
n x y
I would like to determine the cumulative count of flights in-air at
different half-hour time periods across a given day (from 00:01-00:30 to
In the above dataset, for ID 1, I would like give a count of 1 for the time
periods 08:31-09:00 and 09:01-0930.
Similarly a count of one for:
06:01-06:30 and 06:31-07:00 -- ID 2
12:31-13:00 and 13:01-13:30 -- ID 3
15:01-15:30 -- I...another Ruby on Rails certificate program
repent! the end is near!
On Nov 11, 2007, at 09:13 , Giles Bowkett wrote:
> repent! the end is near!
The end of what? I teach a certificate program for the university of
washington extension program... I'm intensely curious what end is near.
Ryan Davis wrote:
> On Nov 11, 2007, at 09:13 , Giles Bowkett wrote:
>> repent! the end i...GalCiv2: Where are the save files?
I am having trouble with the galciv2 forums.
In what subdirectory are the save games found? Usually
I can find these easily for games.
"JHawk" <email@example.com> wrote in message
> I am having trouble with the galciv2 forums.
> In what subdirectory are the save games found? Usually
> I can find these easily for games.
My Documents\My Games\Sid Meier's Civilization 4
I am looking for Galciv2. But yes, they are buried about
I would like to play a wave file in my web page, for that have written
a javascipt but to no avail. Using http://www.jslint.com/ I have found
the following errors:
Implied global: alert 3, document 18, navigator 8
Problem at line 18 character 9: document.write can be a form of eval.
document.writeln('<bgsound src="' + soundfile + '" loop=1>');
Problem at line 21 character 5: document.write can be a form of eval.
document.writeln('<embed src="' + soundfile + '" autoestart=true
====================...Open Forum 4 ALL #2
Opened Forum ! http://sqlwarrior.freehostia.com/forum
SQL Warrior Forum
The most opened forum on the world !
Every one can join and asks question, expert will reply !
Discussion about SQL, Dotnet and VB...
Job seeker and company requirement : Found best workers here and posts
your jobs here for free.
Workers can posts resume and search for jobs !
Advertise here for free! (in the misc forum)
Posts anything you want to know. Show your site and get higher traffic
Join now it's free http://sqlwarrior.freehostia.com/forum
...FAQ 3.5 How do I debug my Perl programs? #26
This is an excerpt from the latest version perlfaq3.pod, which
comes with the standard Perl distribution. These postings aim to
reduce the number of repeated questions as well as allow the community
to review and update the answers. The latest version of the complete
perlfaq is at http://faq.perl.org .
3.5: How do I debug my Perl programs?
(contributed by brian d foy)
Before you do anything else, you can help yourself by ensuring that you
let Perl tell you about problem areas in your code. By turning on
w...Open Debate About OpenDocument
James Prendergast's column, Massachusetts Should Close Down Open
Document, touched a nerve among FOXnews.com's tech savvy readers
and ignited a heated response.
The column "Massachusetts Should Close Down OpenDocument" that
appeared on FOXnews.com Sept. 28 identified author James
Prendergast as executive director of Americans for Technology
Leadership, but failed to disclose that Microsoft is a founding
member of that organization.
ATL is a coalition of t...Macro for opening files by passing filenames as token
I was trying to write a macro to open files by passing the file names
as a token and I tried the following syntax but it didn't work.
Define fsdts1 (!POS !CHAREND ('/')).
!DO !fsds !IN (!1).
can any one help me on this ?
Thanks in Advance
Define fsdts1 (!POS !CHAREND ('/')).
!DO !fsds !IN (!1).
get fil !Quote(!concat('D:\temp\', !fsds, '.sav')).
A...IP Source Guard crush Catalyst 3750
I try to use Catalyst 3750 with "ip source quard". When there is 2000 lines
with "ip source binding..." in config, something like this:
ip source binding 8888.2222.0001 vlan 1001 192.168.168.1 interface Gi1/0/6
ip source binding 8888.2222.0002 vlan 1001 192.168.168.2 interface Gi1/0/6
ip source binding 8888.2222.0003 vlan 1001 192.168.168.3 interface Gi1/0/6
ip source binding 8888.2222.0004 vlan 1001 192.168.168.4 interface Gi1/0/6
ip source binding 8888.2222.0005 vlan 1001 192.168.168.5 interface Gi1/0/6
ip source binding 8888.2222.0006 vlan 1001 192.168.168.6 inte...Access to data sources across domains 363384
their data from an iframe that calls a external XLM-page. The solution
works in MS Explorer, but only if the browser security is changed to
allow data access across domains.
Has anybody found a way, so the browser default-settings does not need
to be changed.
On 10 Sep 2004 14:37:32 -0700, googleboy <firstname.lastname@example.org>
> their data from an iframe that calls a external XLM-page. The solution
> wor...GUI application and automatic file launcher questions
I would appreciate any suggestions to achive the following:
1. Launch a specified M-file automatically when MATLAB starts up.
2. Display results of a computation in a GUI. Is there a GUI component
that will take in input internally from an M-file and display it?
...Locating partially matched strings in a file
I have a situation where I have a bunch of strings stuffed into a
I need to run through each of them and locate approximate (or complete)
matches to them in another file (which also contains a string on each
line). If I am searching for CAD I need to locate even something that
looks like ACAD or CADINC (along with the exact match for CAD of
I ran into some examples using istream_iterator and have an idea how to
do this if I am just looking for an exact match.
Can someone point me in the right direction what I need to do if I have
to make substring searches too?
...Tried Open Office. Hate it.
Using Office 2003. Love it.
On Aug 16, 9:05=A0pm, reporter <TruckSaf...@gmail.com> wrote:
> Using Office 2003. =A0Love it.
to each his own.... we love you for trying it.
"reporter" <TruckSafety@gmail.com> stated in post
email@example.com on 8/16/08
> Using Office 2003. Love it.
Curious what about Open Office was not to your liking? The current version
is excellent but, of course, it has its pros and cons like anything.
"Innovation is not about saying yes to everything. It's about saying...Reading data from a file into a dataset
I want to read a file into a SAS dataset. The beginning of the file
looks like this:
SAKSDATO: 18.05.1981 SISTE DOK.: 18.05.1981 ANT.DOK: 1
DOKNR.: 1 JAVD: ODJ SBH: OD/SMS/AKV
JDATO: 18.05.1981 UOFF
AVSKR.DOKNR.: DATO: 18.05.1981
AVSKR. M�TE: X
--------------------------...Open panel too long to open....
OS 10.3.4 on a G4 Cube w Internet connection open (cable)
When using a context menu 'Open with..' on a file in the Finder... it
takes a long long time to display the Open Panel (spinning wheel)...
is it searching a complete list of libraries to display including out
searching on internet ?...... why it's so long ? any way to shorten
this delay ?
thanks for hints
...Proxy site open all blocked sites 7811
Proxy site open all blocked sites
...Auto file name function.
Am using PI version 6 very adequate for my purposes hence I've never
But am now scanning in bulk and find the auto file name function in batch
processing a little frustrating, i.e. starting at "untitled1" each time and
not padding the number, and we all know what happens when you list files
which are numbered like this.
So, the question is - does the latest version a.) give the facility to
choose the file name AND b.) get it to pad the number properly?
I've come here first for the answer as I suspect it may take a while for
Ulead to answer...Open Intervals Represented by Gauges
I would like to represent an open interval (on the real line) with a
Horizontal or VerticalGauge. Let's say (0, 1). I can represent this in
calculations by using ConditionalExpression[x, 0 < x < 1] where x might be
set by a HorizontalGauge. Then the ConditionalExpression of x becomes
Undefined at the endpoints.
But I would also like this to be reflected in the appearance of the Gauge.
For interior points I would like the Gauge marker to be a blue triangle, and
at the endpoints to change to a white triangle with a black outline.
The following was my attempt us...Opening multiple m files
I currently use the R2007a version of MATLAB. However, the previous version you could open multiple mfiles in one window but different tabs.
However, this version, whenever you try to open another mfile while one is already opened, it will make the currently opened one invisible and there is no way you can get to it. This is frustrating
"ade77 " <firstname.lastname@example.org> wrote in message <email@example.com>...
> I currently use the R2007a version of MATLAB. However, the previous version you could open multiple mfiles in one window but different tabs.
> ...Free open source IDE for C programming
I would like to know what do u suggest for Free open source IDE for
C programming. The minimum features i expect are online help (in the
editor) something u see in Borland C compiler (with that Ctrl+F1
option), highlighting, auto indenting. Dev C++ does the last two but i
don't seem to have online help i expect.
Thanks in advance.
On 8 Feb 2005 12:47:14 -0800, "Greenhorn" <firstname.lastname@example.org>
> I would like to know what do u suggest for Free open source IDE for
>C programming. The minimum features i exp...Deny Copy of a File
Is there any way to deny a user/group the ability to copy a file while
still allowing them to read and modify data in the file?
I would have thought this would be an obvious setting in the file
permissions but I am apparently wrong.
I got a similar problem.
I want users/groups to be able to read files in a folder but be able to
For now it's still possible to choose "Save as" and store the file on a
different location and modify it.
Is PDF really the only solution or should I be able to do the job with NTFS
<bshort1023@yahoo...How do I setup Labview 7 to use Starteam as the CM-tool (SCC-provider) for Source Control.
I want use Starteam as the CM-tool for Source Control. Starteam is
installed to be the selected SCC-provider and is working properly with
other tools (ex: Visual Basic). When choosing Source Control in
Labview Starteam is not in the list to be chosen.
Any ideas of solution, or if this is possible.
I do not believe you will be successful. The SCC in LabVIEW was
specifically created to work with certain products--built in scc,
perforce, etc. You will probably have to use the Starteam interface
to check the files in and out.
...Failure to add object in kepserver (Open Process Control app)
Hi everyone, I am asking you this question because I'm pretty much stuck. I am a student and my assignment is to make a simple OPC client/server application. To this end I've gotten Vihang Patil's OPC simulation program from here:
However, when I run it, without modifications, I get a "non-existent field" error and a "ui callback" error upon pressing the two buttons of the GUI, for a cylinder and ejector device, respectively.
Kepserver, the app used for the OPC server part of...