Displaying 20 results from an estimated 94 matches for "traveral".
Did you mean:
traversal
2019 Oct 21
3
S4SXP type vs S4 object bit?
I'm trying to understand the R internals a bit better and reading over the
documentation.
I see that there is a bit related to whether an object is S4
(S4_OBJECT_MASK), and also the object type S4SXP (25). The documentation
makes clear that these two things aren't the same.
But in practice, will the S4-bit and object type ever disagree for S4
objects? I know that one can set the bit
2004 Jul 01
4
Pager Notification
Hi;
Before I tell a customer that this would require custom development I
figured I would ask here.
Does Asterisk support pager notification of new voicemails out of the
box? Or do I need an AGI script to do that?
Also, if I want to call a number from an automated program in Asterisk
and get the DTMF tones entered by the user on the other side, is there
an easy way to do this?
Best
2019 Apr 13
3
SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()
Hi Inaki,
> "Performant"... in terms of what. If the cost of copying the data
> predominates over the computation time, maybe you didn't need
> parallelization in the first place.
Performant in terms of speed. There's no copying in that example
using `mclapply` and so it is significantly faster than other
alternatives.
It is a very simple and contrived example, but
2019 Oct 22
0
S4SXP type vs S4 object bit?
Hi Travers,
Just an additional remarks to Michael's answer, if your S4 class inherits
from R's basic types, say integer, the resulting object will be an INTSXP.
If your S4 class does not inherit from any class, it will be an S4SXP. You
can think about this question from the object-oriented framework: If one
class inherits the integer class, what should R do to make all the integer
related
2019 Apr 12
2
SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()
Just throwing my two cents in:
I think removing/deprecating fork would be a bad idea for two reasons:
1) There are no performant alternatives
2) Removing fork would break existing workflows
Even if replaced with something using the same interface (e.g., a
function that automatically detects variables to export as in the
amazing `future` package), the lack of copy-on-write functionality
would
2019 Jan 15
4
Objectsize function visiting every element for alt-rep strings
I have a toy alt-rep string package that generates randomly seeded strings.
example:
library(altstringisode)
x <- altrandomStrings(1e8)
head(x)
[1] "2PN0bdwPY7CA8M06zVKEkhHgZVgtV1" "5PN2qmWqBlQ9wQj99nsQzldVI5ZuGX" ... etc
object.size(1e8)
Object.size will call the set_altstring_Elt_method for every single
element, materializing (slowly) every element of the vector. This
2010 Sep 24
2
Splitting a time + duration into a series of periods
Hi all,
Here's what I have. I have a list of log-in times for users and how
long their sessions were.
user, login_time, session_min
alice, 2010/01/01 10:00, 145
bob, 2010/01/01 11:00, 30
What I want to do is create a bar chart showing, in 1/2 hour segments,
the number of users logged in at the same time. For example:
10:00 1
10:30 1
11:00 2
11:30 1
The only way I can do this now is to
2019 Apr 13
0
SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()
I think it's worth saying that mclapply() works as documented: it
relies on forking, and so doesn't work well in environments where it's
unsafe to fork. This is spelled out explicitly in the documentation of
?mclapply:
It is strongly discouraged to use these functions in GUI or embedded
environments, because it leads to several processes sharing the same
GUI which will likely cause
2019 Jan 31
2
Object.size() should not visit every element for alt-rep strings, or there should be an altstring_objectsize_method
Below is a toy alt-rep string example, that generates N random strings:
https://gist.github.com/traversc/a48a504eb062554f2d6ff8043ca16f9c
example:
`x <- altrandomStrings(1e8)`
`head(x)`
[1] "2PN0bdwPY7CA8M06zVKEkhHgZVgtV1" "5PN2qmWqBlQ9wQj99nsQzldVI5ZuGX" ...
`object.size(1e8)`
Object.size will call the `set_altstring_Elt_method` for every single
element, materializing
2004 Apr 02
1
Newbie: ISDN and Capacity Planning
Hi;
I am in the process of planning a PBX/Voice mail system for a business
with an ISDN phone system and somewhere on the order of 12 internal
phones. The ISDN system appears to be a Primary Rate Interface, though
this may be irrelevent because receptionists answer all inbound
telephone calls before possibly transferring via the PBX, and most calls
do not get transferred. Telephone use
2010 Aug 20
2
pigeonhole sieve imapflags bug
Hi all,
ok, I just instealled the dovecot 2.0.0 release, and the latest
mercurial pigeonhole source.
All is well, except for a particular sieve rule that may not be working
right.
It is a simple rule that looks like this :
require ["fileinto","imap4flags"];
# rule:[Past Due Notices]
if allof (header :contains "Subject" "Account Past Due Notice")
{
2024 May 11
1
[External] R hang/bug with circular references and promises
On Sat, 11 May 2024, Travers Ching wrote:
> The following code snippet causes R to hang. This example might be a
> bit contrived as I was experimenting and trying to understand
> promises, but uses only base R.
>
> It looks like it is looking for "not_a_variable" recursively but since
> it doesn't exist it goes on indefinitely.
>
> x0 <- new.env()
> x1
2024 May 11
1
[External] R hang/bug with circular references and promises
On Sat, May 11, 2024 at 9:34?AM luke-tierney--- via R-devel
<r-devel at r-project.org> wrote:
>
> On Sat, 11 May 2024, Travers Ching wrote:
>
> > The following code snippet causes R to hang. This example might be a
> > bit contrived as I was experimenting and trying to understand
> > promises, but uses only base R.
>
> This has nothing to do with promises.
2005 Aug 15
0
Firewall will definatelyincreasejitters inyourvoice conversation
Do you mean this occurs when traffic is passed over an IPSec tunnel or
that it occurs anytime a tunnel is use on a machine that also is passing
VoIP traffic (outside the tunnel)?
I assume you must mean over the tunnel but I am curious...
Thanks,
Wiley
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Tim
2009 Aug 11
2
QUOTA not appearing in CAPA
Hi,
ok, I've compiled it a few times, and made sure all of my settings are
correct, but the QUOTA is not appearing in the opening CAPA that comes
with the greeting.
I have it configured in the dovecot.conf like so:
protocol imap {
mail_plugins = quota imap_quota
}
and I can see when turning debugging on that the following is spit out
when starting :
Starting DovecotILoading modules
2009 Jan 26
3
deliver and qmail
Hi all,
ok, after looking at all of the posts that I've found, and trying
numerous settings, I am a little stumped as to how to set up the deliver
program with qmail to get everything correct.
Ultimately, I really don't want to do a lookup of the home dir if I
don't have to. I'd rather specify the stuff in the .qmail-user file for
that particular user to avoid the extra step.
In
2010 Dec 02
3
Permission denied error log messages
Hi Timo,
ok, I have a large 2.07 NFS setup, and I have been monitoring error
messages to make sure I catch things, and I've come across a lot of
messages that come in pairs and look like this :
Dec 01 17:48:35 lda(paul at xxxxxx.com): Error:
write(/home/mailboxes/data/301/paul at xxxxxx.com/Maildir/tmp/1291254514.M620308P83269.mta2.scaledsystems.com)
failed: Permission denied
Dec 01
2004 May 07
4
Cisco 7940 Phones as paging system?
Hi all;
I have been searching for an answer to a question that a customer asked
me and I have only found a few older answers. So, wanting to find out
if anyone has any experience with this issue and can help provide me
with some advice.
I have a customer which is strongly interested in using Asterisk as a
PBX. One of the core requirements, however, is that the system MUST be
able to
2019 Jan 18
0
Objectsize function visiting every element for alt-rep strings
Travers,
Great to hear you're trying out the ALTREP stuff, good on you :).
Did you mean the get_altstring_Elt_method? I see the code in size.c within
utils that grabs each element, but I don't see any setting (and the setters
are noops currently anyway they just do things the old way).
One thing we have to decide is what object.size means for an altrep. I tend
to think it should mean
2010 Jun 19
2
More Dovecot 2.0 permissions issues
Hi Timo,
ok, using the latest 2.0beta6...
I can't figure out the settings for the log file to have the correct
permissions. When the log file is created, it is created owned by root
and 0600 permissions, which doesn't allow the lda to write to it if I
use different users and groups for that main config...
If I then chmod the log file to 666, then everything is happy, but
again, if that