Displaying 20 results from an estimated 10000 matches similar to: "Partial Function Application"
2005 Dec 14
2
new server: NT_STATUS_LOGON_FAILURE
I've googled, RTFMed, and I still can't fix this. Hoping someone here
can offer a suggestion. I'm learning, so please explain a little if you can.
I installed samba on a Ubuntu 5.10 machine (named mog). My XP machine
"sees" it, but the username/password dialog fails.
I've traced it down to what I think is an authentication problem:
mat@mog:/etc/samba$ smbclient -L
2006 Jun 22
1
[site] mog
so becky said mog is out, i remeber seeing it about a year ago on craigslist but didnt apply since it sounded like a last.fm ripoff and why waste time reinventing a wheel?..anyways, im wondering if it performs ok for anyone? it keeps freezing up on my trying to edit the page. sometimes a response comes back after about 10 seconds. im only guessing it runs rails, based on the gratuitous use of
2010 Aug 05
4
Reducing a list of functions by composition fails
Hi All,
I'd like to be able to specify the ordered composition of several
functions. So I defined compose:
compose <- function(f,g){
function(x){f(g(x))}
}
and some simple test functions:
plus2 <- function(x){x+2}
plus3 <- function(x){x+3}
plus4 <- function(x){x+4}
> (compose(plus2,compose(plus3,plus4)))(3)
[1] 12
Works fine. But trying to reduce a list of functions by
2006 Aug 18
1
Anyone seen any articles on AJAX autocompleting mulitple...
I don''t even know what its called really, so its hard to search for.
Here''s an example. They do this on MOG.com:
There''s one text field visible. You type in a band name. Another text
field appears. It auto completes album names based on the band name you
chose in the first field.
What is this type of thing called? Where is some source code I could
look at?
any
2007 Sep 11
2
Ogg metadata stream embedding
Another spin-off discussion. The scheme used on
<http://wiki.xiph.org/index.php/Metadata> was to
packetize XML (split it up into packets at the
root level, each of which was self contained
(the terminology has temporarily abandoned me),
and have the bos packet as the opening <?xml
&c. stanza, the eos a </xml>.
It is probably more sensible to include a magic
number identifying
2009 Jan 08
2
[LLVMdev] Loop elimination with floating point counter.
Hi LLVM-ers,
I'd like to eliminate dead loop with floating point counter using
LLVM, but the following loop wasn't optimized by opt.
void
func() {
float i;
for (i = 0.0f; i < 1000.0f; i += 1.2f) {
}
}
$ clang -emit-llvm-bc floop.c
$ opt -std-compile-opts floop.bc | llvm-dis
define void @func(...) nounwind {
entry:
br label %forinc
forinc: ; preds = %forinc, %entry
2010 Oct 29
2
winecfg screen size
I have been trying to get wine up and running for some time. I work with
the Debian Linux system with a KDE Desktop. Debian is supplying version
1.0.1 . I just installed the .deb file from the Wine website which is
version 1.1.24. That is the highest version available for the Debian
system. All of the versions that I have tried have the same thing wrong
with the graphic interface. I will use
2009 Apr 26
4
1.6.1: menuselect has problems with x86_64 ??
1.6.1 svn 190575:
CC="cc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect
CONFIGURE_SILENT="--silent" menuselect
make[1]: Entering directory
`/home/asterisk/rpmbuild/BUILD/asterisk-1.6.1/menuselect'
gcc -m64 -march=native -mtune=native -floop-interchange
-floop-strip-mine -floop-block -c -o
2011 Jul 28
3
Data aggregation question
Hi all,
I'm working with a sizable dataset that I'd like to summarize, but I
can't find a tool or function that will do quite what I'd like. Basically,
I'd like to summarize the data by fully crossing three variables and getting
a count of the number of observations for every level of that 3-way
interaction. For example, if factors A, B, and C each have 3 levels (all of
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
2012 Oct 07
1
Problem with national characters in main, xlab, ylab with pdf{grDevices} / postscript {grDevices}
Hello.
I'm trying to make some graphics with nationalized labels (pdf for use
in LaTeX document).
On console (displayed on screen) using all looks ok:
----------------------------------------\/
data<-rnorm(100)
hist(data,main='Rozk?ad g?sto?ci punkt?w', xlab='Warto?? na osi y',
ylab='Cz?sto?? wyst?powania')
-------------------------------------------/\
But
2015 Oct 12
2
identical(..., ignore.environment=TRUE)
On 12/10/2015 9:51 AM, Ben Bolker wrote:
> Duncan Murdoch <murdoch.duncan <at> gmail.com> writes:
>
> BB>
>>>> It seems odd/inconvenient to me that the "ignore.environment" argument
>>>> of identical() only applies to closures (which I read as 'functions' --
>>>> someone can enlighten me about the technical differences
2013 Feb 04
2
Modifying a function programmatically
Dear list
# I have a function
ff <- function(a,b=2,c=4){a+b+c}
# which I programmatically want to modify to a more specialized function in which a is replaced by 1
ff1 <- function(b=2,c=4){1+b+c}
# I do as follows:
vals <- list(a=1)
(expr1 <- as.expression(body(ff)))
expression({
a + b + c
})
(expr2 <- do.call("substitute", list(expr1[[1]], vals)))
{
1 +
2004 Feb 25
1
SYSLINUX 2.09-pre13
Another SYSLINUX prerelease (I really need to get this out the door...)
with additional menu system improvements from Murali.
Murali: I made some pretty sizable changes to heap.c. I hope that's ok
with you.
ftp://ftp.kernel.org/pub/linux/utils/boot/syslinux/Testing/
This is definitely a release candidate. Only bug fixes until 2.09 is out.
-hpa
2014 Feb 06
1
Console access to kvm guest running WindowsV7
i86_64
CentOS-6.5
I have installed a Windows instance as a kvm guest on a host running
CentOS-6.5. I can access the desktop through the virt-manager console and
everythign seems to work, although the mouse cursor seems to get lost from
time to time.
The virt-manager console display supports various resolutions but when I
re-size the desktop display remains essentially a square inside a letter
2018 Aug 14
1
Recommendations for backup methods
I've been re-thinking my backup strategy - I wanted to see what input
others have.? At this time - I'm using sdbox as the primary storage
format and running on a single server.
Previously, all my backups were simple filesystem backups. Either
inotify-based or cron-based.? The whole mail folder structure would then
be copied to a remote storage site.? I've changed services - I now
2009 Jan 08
0
[LLVMdev] Loop elimination with floating point counter.
On Jan 8, 2009, at 4:36 AM, Syoyo Fujita wrote:
> Hi LLVM-ers,
>
> I'd like to eliminate dead loop with floating point counter using
> LLVM, but the following loop wasn't optimized by opt.
>
> void
> func() {
> float i;
> for (i = 0.0f; i < 1000.0f; i += 1.2f) {
> }
> }
FWIW, LLVM optimizer can eliminate this loop if i is incremented by 1.0f
2009 May 19
4
Qs: The list of arguments, wrapping functions...
Hi. I'm pretty new to R, but I've been programming in other languages for
some time. I have a couple of questions regarding programming with function
objects.
1. Is there a way for a function to refer generically to all its actual
arguments as a list? I'm thinking of something like the @_ array in Perl or
the arguments variable in JavaScript. (By "actual" I mean the ones
2015 Oct 12
2
identical(..., ignore.environment=TRUE)
On 11/10/2015 10:36 PM, Duncan Murdoch wrote:
> On 11/10/2015 8:05 PM, Ben Bolker wrote:
>>
>> It seems odd/inconvenient to me that the "ignore.environment" argument
>> of identical() only applies to closures (which I read as 'functions' --
>> someone can enlighten me about the technical differences between
>> functions and closures if they like
2009 Jan 08
2
[LLVMdev] Loop elimination with floating point counter.
Hi Devang,
Thanks. Yes, in the case variable i incremented by 1.0f is optimized.
I don't know why...
Anyway, I've filed this problem into bugzilla(Bug 3299)
--
Syoyo
On Fri, Jan 9, 2009 at 12:42 AM, Devang Patel <dpatel at apple.com> wrote:
>
> On Jan 8, 2009, at 4:36 AM, Syoyo Fujita wrote:
>
>> Hi LLVM-ers,
>>
>> I'd like to eliminate dead loop