similar to: Excited about the near future...

Displaying 20 results from an estimated 10000 matches similar to: "Excited about the near future..."

2010 Nov 23
1
Possibility for memory improvement: x <- as.vector(x) always(?) duplicates
Hi, I've noticed that as.vector() always allocates a new object, e.g. > x <- 1:10; > x <- as.vector(x); > tracemem(x); [1] "<0x0000000005622db8" > x <- as.vector(x); tracemem[0x0000000005622db8 -> 0x0000000005622ec0]: as.vector > x <- as.vector(x); tracemem[0x0000000005622ec0 -> 0x0000000005622f18]: as.vector > x <- as.vector(x);
2011 May 12
3
Reproducible use case for R crash after updating R
This might have been discussed before, but below is a "not-so-unlikely" use case where the user follows normal procedures, updates R to a major release version, and then R crashes: 1. Use runs R stable (e.g. v2.13.0). 2. User installs a package with a namespace, e.g. install.packages("fortunes"). 3. User uses the package and one of the package's objects are assigned to the
2011 Jun 07
1
Cases of TAB-completion that hang Rterm
FYI, via a bug report of one of my packages, I discovered that the following cases will hang Rterm when using TAB completion: CASE #1: Adding an empty default function for tail() causes Rterm on Windows to hang if one press TAB at the prompt: % Rterm -vanilla > tail.default <- function(...) {} > [PRESS TAB] Error in specialOpLocs(text) : (list) object cannot be coerced to type
2010 Nov 02
1
inst/ and hidden files/directories, especially inst/.svn/?
In Section 'Package subdirectories' of 'Writing R Extensions', it says about the inst/ directory that: "The contents of the inst subdirectory will be copied recursively to the installation directory (except perhaps hidden files with names starting with ?.?)." Indeed, on Windows with R v2.12.0 patched (2010-11-01 r53513) and R v2.13.0 devel (2010-11-01 r53513), if you
2023 Mar 19
1
WISH: Optional mechanism preventing var <<- value from assigning non-existing variable
I'd like to be able to prevent the <<- assignment operator ("super assignment") from assigning to the global environment unless the variable already exists and is not locked. If it does not exist or is locked, I'd like an error to be produced. This would allow me to evaluate expressions with this temporarily set to protect against mistakes. For example, I'd like to
2023 Mar 19
2
WISH: Optional mechanism preventing var <<- value from assigning non-existing variable
Why should it make an exception for cases where the about-to-be-assigned-to name is present in the global environment? I think it should warn or give an error if the altered variable is in any environment on the search list. -Bill On Sun, Mar 19, 2023 at 10:54?AM Duncan Murdoch <murdoch.duncan at gmail.com> wrote: > I think that should be the default behaviour. It's pretty late to
2023 Mar 19
1
WISH: Optional mechanism preventing var <<- value from assigning non-existing variable
I think that should be the default behaviour. It's pretty late to get that into R 4.3.0, but I think your proposal (with check.superassignment = FALSE being the default) could make it in, and 4.4.0 could change the default to TRUE. Duncan On 19/03/2023 12:08 p.m., Henrik Bengtsson wrote: > I'd like to be able to prevent the <<- assignment operator ("super >
2011 Jun 18
3
Unconditionally transfer files
Is there a way to make rsync unconditionally transfer files, i.e. create them anew even if the target already exists and is identical to the source ? rsync -I looks closer but still avoids transferring the files. -- Andr? Majorel http://www.teaser.fr/~amajorel/
2011 Mar 30
1
R CMD build processes inst/doc/Makefile only if there are vignette files?
Hi, in Section 'Writing package vignettes' of 'Writing R Extensions' it says: "Whenever a Makefile is found, then R CMD build will try to run make after the Sweave runs, so PDF manuals can be created from arbitrary source formats (plain LaTeX files, ...). [...] Note that the make step is executed even if there are no files in Sweave format, [...]". In my package,
2008 Aug 06
4
Union of columns of two matrices
I was posed the following problem/teaser: given two matrices, come up with an "elegant" (=fast & short) function that returns a matrix with all and only the non-duplicated columns of both matrices; the column order does not matter. In essence, a matrix equivalent of union(x,y), where x and y are vectors. I could not come with anything nice. Any ideas? Giuseppe -- Giuseppe A.
2023 Mar 19
1
WISH: Optional mechanism preventing var <<- value from assigning non-existing variable
I have to say <<- is a core debugging tool when assigning into the global environment. I suppose I could use assign but that would be somewhat annoying. That said I'm still for this change, the vast overwhelming number of times that <<- is in my package code - already rare but it does happen - it would absolutely be a bug (typo most likely) for it to get to the global environment
2006 Oct 04
1
Slideshare.net (we use Mongrel)
Hi guys :-) Just a note to let you know that today we launched Slideshare ( slideshare.net) into open beta. It''s a powerpoint-sharing tool (with a twist) and the app is served with Mongrel. A teaser on techcrunch: http://www.techcrunch.com/2006/10/04/introducing-slideshare-power-point-youtube/ Zed, a huge thanks for developing this server. If anybody needs pointers on using Mongrel in
2006 Feb 05
1
classifying packets and ports
Hi, I''ve been working for a big corporate company as junior system engineer and getting nicely to understand HTB/iproute2/iptables etc, The ordinary users(about 500 users), can pop / smtp / skype out on the network, but I can''t ssh out, cause they blocked the ports. Thought of being clever, I let my home linux listen on port 443 or 110 for ssh connection, but it wont connect, I
2012 Jul 27
1
[LLVMdev] proposal for exploiting undefined behavior much more aggressively
On Thu, Jul 26, 2012 at 3:41 PM, Chris Lattner <clattner at apple.com> wrote: > On Jul 26, 2012, at 9:58 AM, John Regehr wrote: > > http://blog.regehr.org/archives/761 > > It's an interesting post, but I'd like to point out that it is a non-goal > for the project to be actively hostile to users of the compiler. :) It is > useful to have debugging tools for
2007 Aug 20
1
Looking inside device files
Is there a way to make rsync look inside device files ? The goal is to copy the contents of a block device to a regular file incrementally. Short of that, even just getting it to dump the block checksums of the content a block device would help (if I know which blocks are out of sync, I can fix them with dd). -- Andr? Majorel <URL:http://www.teaser.fr/~amajorel/> Do not use this account
2013 Dec 03
1
Guard against destination = existing directory
Trying to use rsync to make sure that _dest_ is a regular file with the same content as file _source_. If _dest_ already exists and is a symlink, FIFO or device file, rsync deletes it and creates a regular file in its place. Good. If _dest_ already exists and is a directory, rsync creates _dest_/$(basename _source_). Not what I want. Is there an option similar to GNU install -T or GNU cp -T
2005 Oct 31
1
Truncating with decoding/recoding
Hello all. Thanks for FLAC. It's served me well for the past few years. Is there a program out there to truncate a FLAC file without decoding/recoding it ? Preferably command-line (I already know at what point I want to truncate it). Thanks in advance. -- Andr? Majorel <URL:http://www.teaser.fr/~amajorel/> Do not use this account for regular correspondence. See the URL above for
2009 Oct 13
4
Creating a list of empty lists
Well here is one more brain-teaser related to assigning stuff into a list of list. What if I need to create a new list of empty lists? I have actually got a solution to this problem: l = list(list()) for ( i in sequence(length-1) ) { l = list(unlist(l,recursive=FALSE), list()) } But it is not very neat to do this in a loop. Are there any cuter ways to do this?
2007 Aug 08
2
How to write a function with a return value in Asterisk
Hi, Is it possible to write a function in Asterisk, that returns a value? Sort of like any programming language allows? For example, I`d like function ReturnSipReg to return the right SipRegistration to dial, based on some value so that I could use it in my dial plan: i.e: exten => 1234,1,Dial(SIP/ReturnSipReg(John)) ; would dial John's extension, which I don't know at this
2012 Nov 28
2
Opus for ASR - update and questions
For the last couple months, Nuance has performed extensive testing on how the Opus codec performs in the speech recognition task. I'm hoping to publish a full report in the coming months, but until then all I have is a teaser. Opus performed within about 1% of the WER (Word Error Rate) of unencoded audio. This is compared to about 5% for Speex, which was the previous codec of choice. Well