Displaying 20 results from an estimated 448 matches for "sth".
Did you mean:
sh
2014 Apr 11
1
4.0 stopped working after updating xubuntu 13.04
...problem by adding server
services and cderpcendpoint servers in the smbd.conf but the original
problem was still there so I decided to remove those two lines again
before sending this mail).
Regards,
Peter
SMBD.CONF
===========
# Global parameters
[global]
workgroup = SOMEDOMAIN
realm = STH.SOMEDOMAIN.SE
netbios name = STOCKHOLM
server role = active directory domain controller
dns forwarder = 83.255.245.11
eventlog list = Application System Security SyslogLinux
[netlogon]
path = /usr/local/samba/var/locks/sysvol/sth.somedomain.se/scripts
read only = No
[s...
2009 Aug 23
2
difficult "for"
Hi,
My english isn't brilliant and my problem is very difficult to describe but
I try ;)
My first question is: May I write loop "for" like this or similar - for (i
in sth : sth[length(sth)], k in sth_else : length(sth_else) ) - I'd like
to have two independent conditions in the same loop "for".
My secound question depend on program below. I'd like to write every result
in matrix but I also want to call my function "odleg" using vector...
2012 May 18
5
[LLVMdev] Phi + Select Optimization
Hi all,
I've just written a small enhancement to SimplifyPHINode.
The idea is the following:
If we have this:
a = phi(X, X, undef, undef, X, undef)
X = select cond, sth, a
or this:
a = phi(X, X, undef, undef, X, undef)
X = select cond, a, sth
we can replace the phi by 'a' and the select by 'sth'.
Why does this work?
Well, in those cases where control-flow happens to hit the phi from undef edges the select can just "wish" to get '...
2005 Jun 10
1
Convert extensions.conf INTO MySQL script
I swear I read somewhere on one of the MANY pages that there is a script out
there that can read the extensions.conf file and create the MySQL DB records
on the fly. Anyone know where I look for such a thing?
Sure speeds up migration!
Chris Coulthurst
chris@shuksan.com
2004 Jul 01
2
DISA and AGI: authenticate by caller ID?
...y %input = $AGI->ReadParse();
$AGI->answer();
if (my $callerid = $input{'callerid'}) {
$AGI->say_digits($callerid);
$query = "SELECT active FROM cids WHERE cid=$callerid"; #
active should be 1 if the caller ID is found and set active
$sth = $dbh->prepare($query);
$sth->execute();
$sth->bind_columns(undef, \$active);
$sth->fetch();
if($active)
$AGI->exec('DISA','no-password|disa');
}
$AGI->hangup();
exit;
2012 May 20
0
[LLVMdev] Phi + Select Optimization
Hi Roland,
> If we have this:
>
> a = phi(X, X, undef, undef, X, undef)
such a phi should already be replaced by X if X dominates this basic block.
Is this not the case? Or does each X here not necessary represent the same
value?
Ciao, Duncan.
> X = select cond, sth, a
>
> or this:
>
> a = phi(X, X, undef, undef, X, undef)
> X = select cond, a, sth
>
> we can replace the phi by 'a' and the select by 'sth'.
>
> Why does this work?
>
> Well, in those cases where control-flow happens to hit the phi from undef edges...
2005 Mar 21
1
ASTCC: perl / mysql or me???
...DNUM},${TARIFF},${EXTEN})
35c35
< # exten => _00XXXXXXXXX,1,DeadAGI(astcc.agi,${CALLERIDNUM},BALANCE,1)
---
> # exten => _00XXXXXXXXX,1,DeadAGI(astcc.agi,${CALLERIDNUM},BALANCE,'',1)
273,274c273,276
I added one parameter ${TARIFF}
< my ($number) = @_;
< my $sth = $dbh->prepare("SELECT * FROM routes WHERE " .
$dbh->quote($number) . " RLIKE pattern ORDER BY LENGTH(pattern) DESC");
---
> my ($number, $tariff1) = @_;
> my $sth = $dbh->prepare("SELECT * FROM " . $tariff1 . " WHERE "
. $dbh-...
2007 Jul 23
0
Problem w/ MySQL update from perl AGI script
...= DBI->install_driver("mysql");
my $Q1 = "8";
my $Q2 = "6";
my $Q3 = "7";
my $Q4 = "5";
my $Q5 = "3";
my $query = "INSERT into caller_data (DateTime, ANI, Q1, Q2, Q3, Q4, Q5)
VALUES($TIMESTAMP,$ANI,$Q1,$Q2,$Q3,$Q4,$Q5)";
$sth = $dbh->prepare($query);
$sth->execute;
$sth->finish;
Then, When I try an put it together with the AGI commands, the IVR works nicely
from a caller prespective, but I get no update in the MySQL table:
#!/usr/bin/perl
#
#
use DBI;
use Asterisk::AGI;
$dsn = "DBI:mysql:DBname...
2004 Jun 22
0
Perl Script for pulling information from a mysql database
...Database connect and define subroutines
$dsn = "DBI:mysql:database=$mysql_db;hostname=$mysql_host";
$dbh = DBI->connect($dsn, $mysql_user, $mysql_pass) || die "Can''t
connect to database: " . DBI->errstr;
sub SelectSQL {
my($sql) = @_;
my @MATCHES, $hash;
$sth = $dbh->prepare("$sql");
$sth->execute();
while ($hash = $sth->fetchrow_hashref) {
push @MATCHES, $hash;
}
return @MATCHES;
}
sub SelectSingleSQL {
my($sql) = @_;
my($gotit, $return, $hash);
$sth = $dbh->prepare("$sql");
$sth->execute();...
2000 Feb 01
1
R: possibility for sth. like parameter passing by reference?
Hello,
is there a possibility to pass parameters to a
function without copying them into the new environment?
In my case I have huge data structures which I would not
like to be copied - or handled globally.
Thanks
M. Eger
--
+-------------------------------------------------------
| E-Mail: marcus.eger at physik.uni-marburg.de
+-------------------------------------------------------
2002 Dec 09
2
Sth better than cycle?
Hi,
I want to calculate expected likelihood over a 2D discrete
distribution, something like
\sum_k \sum_l p_{kl} L(v_k, v_l)
It is trivial to write a cycle like
for(k in 1:K)
for(l in 1:L)
sum <- sum + p[k,l]*L(v[k], v[l])
But is there a more clever way for R?
Best wishes,
Ott
2004 Apr 18
0
AGI Module
...39; . $accountNumber eq 'foo') {
$AGI->exec('Queue', 'unverified-patientq');
$AGI->verbose('No account number entered', 1);
exit(0);
}
# Run query to get verification data from server.
$AGI->verbose('Executing queury',3);
my $sth = $dbh->prepare("select SSN, [Birth Date], Zip, [Home Phone]
from SEARCHBASE where [Demo#] = $accountNumber");
$sth->execute();
if ($sth->rows == 1) {
@data = $sth->fetchrow_array();
my $ssn = $data[0];
my $dob = $data[1];
my $dob = $data[1];...
2006 Mar 19
3
String keys in hash
Hi all,
My app is going to count sth based on poll id in the url. The url
looks like:
http://address.com?id=dwNKiItvcyrQ5sycnIhmJablDfXsc9tshaGIVyNIei7.e7&some_other_parameters
In a controller, I''ve created a hash where the keys are the ids:
@codes = {
''dwNKiItvcyrQ5sycnIhmJablDfXsc9tshaGIVyNIei7.e7...
2006 Aug 23
5
Singleton-like Worker
...ello there,
I need a Worker Class to be Singleton-like, that means there must be at
maximum one Instance at a time. When a new Request is made to create another
worker of this type, it should return and wait for the other instance to be
destroyed.
what i need to do: i have a worker who needs to do sth with java and
openoffice, and it seems when i have more tha one worker simultaneously,
everything goes terribly wrong...
is there already sth in bgdrb or how would i do that?
--
Michael Siebert <info at siebert-wd.de>
www.siebert-wd.de - Gedanken lesen
www.stellar-legends.de - Weltraum-Br...
2009 Apr 19
1
data$ID -> I always get a NULL
I have database write as .csv file.
When I want to get sth from my database I get NULL, but I know that there is
sth!
For example:
> data$ID
NULL
> data$kod
NULL
but command like below is always recognize by R
> data[2,3]
[1] '082'
In my opinion this problem is also connect with my attempt to create a tree.
I always get errors.
> t...
2009 Nov 15
1
where is a value in my list
...1 1 1 8
I would like to know where is number 5 (which line)?
For example I have got a loop:
k= vector(mode = "integer", length = 3)
for(i in 1:3)
{
for (j in 1:length(lista[[i]])){
if ((lista[[i]][j])==5 k[i]= [i])
}
}
This loop is wrong but I would like to get in my vector k sth like this:
k = lista[[1]][1], lista[[2]][1] ...or sth similar
--
View this message in context: http://old.nabble.com/where-is-a-value-in-my-list-tp26359843p26359843.html
Sent from the R help mailing list archive at Nabble.com.
2003 Aug 13
1
How do i configure so an incoming call triggers an http request?
Hi all,
I'm about to start setting up my first asterisk/cti system in our test lab.
I've read through all the documentation I can find and relevant posts in the
list archives but can't seem to find anything explaining how to go about
initiating an http request upon an incoming call.
I basically want asterisk to request an uri on our intranet, which will pass
call details to our
2004 Apr 29
4
Outgoing DTMF on BRI
If I want to send outgoing DTMF over a BRI interface, can I do it with
'isdn4linux' or must I use the 'capi' library?
--
. . ___. .__ Posix Systems - Sth Africa
/| /| / /__ mje@posix.co.za - Mark J Elkins, Cisco CCIE
/ |/ |ARK \_/ /__ LKINS Tel: +27 12 807 0590 Cell: +27 82 601 0496
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc:...
2007 Oct 27
3
[LLVMdev] malloc() vs. MallocInst
...ly transforms MallocInst's.
Is there a general policy on how passes should behave? Should they handle both
representations, is doing -raiseallocs the preferred way, or do we
explicitely not want any single policy (ie, are there any hidden problems)?
Perhaps this could also get a FAQ entry or sth. like that.
Torvald
2011 Feb 09
1
add mean and sd to dotplot in each panel using lattice
...e dotplot using lattice package:
library(lattice)
dat<-read.table("test.txt",header=T,sep="\t")
dotplot(Score ~ Dose | Sex, groups=Sex, data=dat)
How can I add mean line and stdev bar around mean line to this dotplot?
I have searched maillists, only several post about add sth to dotplot, but they
are not what I want.
I know it may have sth to do with panel.function, but don't know how to
implement it.
I think the mean and stdev bar are popular additions to dot plot, don't know why
there is no argument to control this kind of plotting.
Thanks.
Xiaokuan
__...