search for: currie

Displaying 20 results from an estimated 172 matches for "currie".

Did you mean: curie
2007 Nov 01
3
Curry: proposed new functional programming, er, function.
Hi all (especially R-core) I suppose, With the introduction of the new functional programming functions into base I thought I'd ask for a Curry() function. I use a simple one that looks this: Curry = function(FUN,...) { .orig = list(...);function(...) do.call(FUN,c(.orig,list(...))) } This comes in really handy when using say, heatmap():
2011 Mar 21
1
Curry with `[.function` ?
Dear all, I sometimes use the following function: Curry <- function(FUN,...) { # by Byron Ellis, https://stat.ethz.ch/pipermail/r-devel/2007-November/047318.html .orig <- list(...) function(...) do.call(FUN,c(.orig,list(...))) } ... and have thought it might be convenient to have a method for [ doing this. As a simple example, > apply(M, 1, mean[trim=0.1]) # hypothetical
2002 Jul 16
3
Solaris privsep and compression.
...2.6 and 2.5.1? I have no problem getting it working under Solaris 8, but on 2.5.1/2.6 it says: # ./sshd -p 6666 This platform does not support both privilege separation and compression Compression disabled -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Kevin Currie | | | | SysAdmin/ECS Security | .|||. .|||. | email: Cisco Systems | ..:|||||||:...:|||||||:.. |kcurrie(at)cisco.com Austin, Texas |-----------------------------| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
2011 Nov 16
2
Any android source client for icecast ?
...ndroid icecast source is on the Way. > > the point is that I build a mobile Icecast source with 3G. My choices > are : > > > - Buy a X86 netbook with Ubuntu with 8 hours streaming > > - Buy a GalaxyTab 7 inches ( same price ) on Android > > > > > 2010/12/6 Leo Currie <leo.currie at gmail.com <mailto:leo.currie at gmail.com>> > > I don't have an Android phone, but if I did, I would look for a VLC > port, or a try a Java source client like JRoar. > It would be interesting to find out if either of these work! > > -...
2009 Oct 01
1
inverse currying
Dear list, I have the following function, sugar = function(fun, id = "id"){ ff <- formals(fun) if( id %in% names(ff)) stop("id is part of args(fun)") formals(fun) <- c(unlist(ff), alist(id=)) fun } which one may use on a function foo, foo = function(x){ x } sugar(foo) # results in the extended closure, function (x, id) { x } Its limitation (other
2008 Jul 07
4
script.aculo.us slider - this and event handler - depending sliders
Hi, I successfully created depending sliders with prototype and slider.js. See the result here: http://www.soa-world.de/dev/slider/slider.html (here''s the code: http://pastebin.com/ma1e82eb) There is one problem with my code. What I do is I have a sliders class "function sliders()" inside I create the 5 sliders in a for loop and store them inside an array which is a member of
2010 Dec 06
2
Any android source client for icecast ?
I don't have an Android phone, but if I did, I would look for a VLC port, or a try a Java source client like JRoar. It would be interesting to find out if either of these work! - Leo On 6 December 2010 12:55, <un at dom.de> wrote: > Thomas B. Ruecker: >> Nobody said anything about this necessarily being a GUI, >> user-frienldy application, right? > > bare bone is
2017 May 05
3
A few suggestions and perspectives from a PhD student
Dear Sir or Madam, I am in 2nd year of my PhD in bioinformatics, after taking my Master?s in computer science, and have been using R heavily during my PhD. As such, I have put together a list of certain features in R that, in my opinion, would be beneficial to add, or could be improved. The first two are already implemented in packages, but given that it is implemented as user-defined operators,
2010 Jan 26
1
ordisymbol - changing symbols used in plotting factor levels
Hello, I'm trying plot points in an NMDS according to a factor with two levels: fig<-ordiplot(canod.sol, type="none",cex.axis=0.9,cex.lab=0.1,pty="m",tck=-0.01) ordisymbol(fig, y = hab, factor = "habitat", rainbow = T,col = env, legend = F) This gets me part of the way - It produces a plot with blue triangles for the first factor level and red circles
2009 Jun 25
0
[LLVMdev] Replacing instruction in LLVM IR by an intrinsics
On Thu, Jun 25, 2009 at 12:32 AM, ihusar<ihusar at fit.vutbr.cz> wrote: >                //now i need to create an instruction that represents a call to a intrinsic >                Function* FIntr = Intrinsic::getDeclaration(&M, Intrinsic::regread_i32); > >                // here it fails: void llvm::CallInst::init(llvm::Value*): >                //Assertion
2004 Aug 06
2
[OT] Online music database
Sorry this isn't really icecast related, but I'm looking for an online music database that will let me search by artist+track and retrieve the likely record label / music publisher that owns the copyright. I want to do this from within a script as well :) Hoping somebody might know of one off the top of their head... Cheers Leo <p><p><p>--- >8 ---- List archives:
2017 May 05
0
A few suggestions and perspectives from a PhD student
Regarding the anonymous-function-in-a-pipeline point one can already do this which does use brackets but even so it involves fewer characters than the example shown. Here { . * 2 } is basically a lambda whose argument is dot. Would this be sufficient? library(magrittr) 1.5 %>% { . * 2 } ## [1] 3 Regarding currying note that with magrittr Ista's code could be written as: 1:5
2017 May 08
3
A few suggestions and perspectives from a PhD student
Thanks for the answers, I?m aware of the ?.? option, just wanted to give a very simple example. But the lapply ??' parameter use has eluded me and thanks for enlightening me. What do you mean by messing up the call stack. As far as I understand it, piping should translate into same code as deep nesting. So then I only see a tiny downside for debugging here. No loss of time/space efficiency
2023 Nov 11
1
New syntax for positional-only function parameters?
6 ?????? 2023 ?. 22:54:24 GMT+03:00, mikkmart via R-devel <r-devel at r-project.org> ?????: >The pattern of functions accepting other functions as inputs and >passing additional ... arguments to them is prevalent throughout >the R ecosystem. Currently, however, all such functions must one >way or another tackle the problem of inadvertently passing arguments >meant to go to
2006 Oct 02
2
How do I list in YP? icecast2 ices0
...not a good solution for those wanting to be on a popular directory. I am forced to recommend using Shoutcast to my clients so they can get onto a popular directory. I would prefer to recommend Icecast2. Ross Levis. http://www.stationplaylist.com ----- Original Message ----- From: "Leo Currie" <leo.currie@gmail.com> To: <rob@rob-campbell.com> Cc: <icecast@xiph.org> Sent: Tuesday, October 03, 2006 7:08 AM Subject: Re: [Icecast] How do I list in YP? icecast2 ices0 The directory at Xiph.org only lists Ogg streams - MP3 streams are silently ignored. Leo On 02/10/0...
2002 Aug 01
0
User directory shares with Samba, Winbind, and Win2k domain - Partial solution
Mats, After a couple hours of reading and trial and error, this is what I got to work for me. [username] path = /home/USERS/username writable = yes comment = User File Storage valid users = DOMIAN+username create mode = 0664 directory mode = 0775 browseable = no Then on the directory structure it self I had to run a 'chown -R
2004 Aug 06
0
[OT] Online music database
...e yourself a few documents using the web browser). If you're not on UNIX, I'd reccomend investigating Cygwin. It's overkill for this task, but it has many other uses.. -Scott <p><p><p><p><p><p><p>> -----Original Message----- > From: Leo Currie [mailto:leo.currie@strath.ac.uk] > Sent: Thursday, November 21, 2002 12:04 PM > To: icecast@xiph.org > Subject: Re: [icecast] [OT] Online music database > > > Scott Prive wrote: > > (Already noting the posts that say this is not available) > > > > Are you will...
2009 Jun 24
3
[LLVMdev] Replacing instruction in LLVM IR by an intrinsics
Hi everyone, I am trying to write a pass, that finds some instructions and replaces them with my intrinsics, but I am having problem understanding, how this should be done. Let's say I have this instruction: %tmp14 = load i32* getelementptr ([32 x i32]* @gpregs, i32 0, i64 28) and i need to read the load's operands and replace it by let's say: %tmp14 = call i32
2004 Aug 06
1
[OT] Online music database
...eight web browser such as "links" (or lynx, w3m, etc). This method breaks if the music vendor has incorrect information, or if they change page formatting sufficently that your text search no longer finds the data. -Scott <p><p>> -----Original Message----- > From: Leo Currie [mailto:leo.currie@strath.ac.uk] > Sent: Wednesday, November 20, 2002 7:04 AM > To: icecast@xiph.org > Subject: [icecast] [OT] Online music database > > > Sorry this isn't really icecast related, but > I'm looking for an online music database that will let me search b...
2011 Nov 16
0
Any android source client for icecast ?
...ndroid icecast source is on the Way. > > the point is that I build a mobile Icecast source with 3G. My choices > are : > > > - Buy a X86 netbook with Ubuntu with 8 hours streaming > > - Buy a GalaxyTab 7 inches ( same price ) on Android > > > > > 2010/12/6 Leo Currie <leo.currie at gmail.com <mailto:leo.currie at gmail.com>> > > I don't have an Android phone, but if I did, I would look for a VLC > port, or a try a Java source client like JRoar. > It would be interesting to find out if either of these work! > > - Leo > > &...