Displaying 20 results from an estimated 248 matches for "weed".
Did you mean:
need
2006 Jun 23
5
create session only for logged-in
...week or two. it turns out its the sessions table..
so ive tried this:
class ApplicationController..
session :off
end
class AccountController
session :only, :login
end
and now, its impossible to login, and nothing ever appears in the session table. is this the right approach? i dont want to weed out the sessions with cron, i just want them to never be created unless its necessary.. preferably without needing to go around and add a :only or :except for every action that might want to access session data..
carmen
2006 Mar 14
3
Simple search on joined table
Looking for some guidance, I seem to be caught in the weeds.
I want to do a search on fields in a master/detail relationship.
E.g. manufacturer owns many parts. I want to search on the
manufacturer name, part name and part number, then return the full set
of results.
I have tried to use the .find method and create my own model .find
method using a...
2004 May 03
1
circular correlation
I have a problem that deals with correlating wind velocity to seed
collection data. The problem lies in that I have a wind data set that
is contains 2000+ data points and weed collection data on the order of a
couple hundred. Both data sets were collected for the same time period,
but there is not a one-to-one wind velocity->seed location match. My
understanding of correlation is that you need equal data sets. Is there
a way to compare means and standard deviations...
2008 Apr 06
1
buggy HTML from nested lists w/ paragraphs
...(using Markdown, of course). The document is mostly made of
list items in nested ul's. As I neared the end, I found (via
MarsEdit's preview) that in place of two sections of content,
Markdown had begun to generate gibberish strings like this:
aa9ca05a7c006bc5e5c091c00aee0cd7
After weeding through different sections of my text to find an
offending pattern (and even using TextWrangler to search for stray
Unicode and the like), I found that it seems to result from a
particular sequence, or type of sequence, involving headers, list
items, and paragraphs, regardless of their c...
2018 Dec 18
8
Spamassassin + Postfix : delete spam mail on the server ?
...setup, and
when a subject line begins with [SPAM] the message is directly sent to
Trash.
I've documented the whole configuration here:
* https://blog.microlinux.fr/spamassassin-centos/
The problem with this setup is that spam mail is still delivered, and I
need Thunderbird's filters to weed out incoming mail. And when I'm using
my webmail (running SquirrelMail), my inbox is a tsunami of unread
[SPAM] messages.
So I'd like to go a step further and delete all messages flagged [SPAM]
directly on the server. It doesn't look like Spamassassin provides this
functionality.
Did...
2009 Dec 07
3
captcha
Hi all,
I want to implement a captcha on my register page to help weed out any
''non-human'' visitors.
I was told to check out http://expressica.com/simple_captcha/ but the
site isnt responding.
Does anyone have any other reccomendations that are tried and tested &
successful?
Many Thanks
--
You received this message because you are subscribed...
2018 Mar 30
2
getting all circular arrangements without accounting for order
Jeff,
I wanted to let you know that your function is faster than generating the directional circular permutations and weeding.
Here is the time for n = 10. I compared with just doing the permutations, there is no point in proceeding further with the weeding since it is slower at the start itself.
system.time(directionless_circular_permutations(10))
user system elapsed
1.576 0.000 1.579
system.time(perm...
1999 Nov 10
0
Occasional failure of authentication
...using authentication from the NT server. Samba version 2.0.3
The messages in the log file are are shown below. In this case the user
was able to reconnect quickly, but this is not always the case.
We do not even want to use smbpasswd, but it looks anyway after failing
on the password server.
weed (158.184.45.179) connect to service siskw as user siskw
(uid=30744, gid=19) (pid 8232)
[1999/11/09 15:25:55, 1] smbd/service.c:close_cnum(514)
weed (0.0.0.0) closed connection to service siskw
[1999/11/09 15:42:45, 1] smbd/password.c:server_validate(1127)
password server 158.184.3.244 rejected...
2005 Dec 27
7
help remove duplication in my app
I''m porting an old site of mine into Rails and I''m running into some
duplication that could / needs to be weeded out. For each of my
actions, I have to wrap the view content in the following HTML:
<div class="box">
<img src="/images/content-top2.png" class="border" />
<div class="visible">
# content inserted here
</div>
&...
2018 Mar 30
0
getting all circular arrangements without accounting for order
I don't know if this is more efficient than enumerating with distinct
directions and weeding... it seems kind of heavyweight to me:
#######
library(gtools)
directionless_circular_permutations <- function( n ) {
v <- seq.int( n-1 )
ix <- combinations( n-1, 2 )
jx <- permutations( n-3, n-3 )
x <- lapply( seq.int( nrow( ix ) )
, function( i ) {...
2010 Nov 17
2
[LLVMdev] L->isLoopInvariant giving wrong results?
Thanks Chris,
I was able to weed out loop invariant arithmetic instructions using
isLoopInvariant function.
when i try to do an instruction->moveBefore(bb->getTerminator()) i'm
getting a seg fault.
any obvious reasons that i'm missing out on?
Thanks in advance
On Wed, Nov 17, 2010 at 10:41 PM, Chris Lattner <cl...
2018 Mar 30
0
getting all circular arrangements without accounting for order
..., 1L ] <- rep( ix[ , 1L ], each = jxrows )
result[ , n1 ] <- rep( ix[ , 2L ], each = jxrows )
result
}
On Fri, 30 Mar 2018, Ranjan Maitra wrote:
> Jeff,
>
> I wanted to let you know that your function is faster than generating
> the directional circular permutations and weeding.
>
> Here is the time for n = 10. I compared with just doing the
> permutations, there is no point in proceeding further with the weeding
> since it is slower at the start itself.
>
>
> system.time(directionless_circular_permutations(10))
> user system elapsed
>...
2011 Apr 14
3
Find number of elements less than some number: Elegant/fast solution needed
...are less than 'x'.
An example would be:
sapply(x,FUN=function(i) {length(which(y<i))})
[1] 0 0 0 0 1 2 2 3 3 4
But this solution is far too slow when x and y have lengths in the millions.
I'm certain an elegant (and computationally efficient) solution exists, but I'm in the weeds at this point.
Any help is much appreciated.
Kevin
University of Manchester
Take two vectors x and y, where y is a subset of x:
x=1:10
y=c(2,5,6,9)
If y is removed from x, the original x values now have a new placement (index) in the resulting vector (new):
new=x[-y]
index=1:lengt...
2006 Mar 27
2
Receptionist Phones (was 3Com Phones)
...is a large number of phones out there to dig through looking for the
right solution.
What I have not been able to find, after spending all weekend
looking, is a good solution for an attendant console. We have 2
receptionists that need to be able to view all 60+ phones (we could
probably weed it down a bit if we had to, but would like to be able
to cover all the phones) and see who is on the phone already. I
would like to avoid a software solution as those tend to be confusing
and hard for non-computer savvy people to deal with. I have seen
that the polycom setup (601+sidecar)...
2018 Mar 30
3
getting all circular arrangements without accounting for order
Thanks!
Yes, however, this seems a bit wasteful. Just wondering if there are other, more efficient options possible.
Best wishes,
Ranjan
On Thu, 29 Mar 2018 22:20:19 -0400 Boris Steipe <boris.steipe at utoronto.ca> wrote:
> If one is equal to the reverse of another, keep only one of the pair.
>
> B.
>
>
>
> > On Mar 29, 2018, at 9:48 PM, Ranjan Maitra
2010 Nov 17
2
[LLVMdev] L->isLoopInvariant giving wrong results?
...nator, by editing the human readable form
and then using llvm-as to convert it into bytecode.
On Thu, Nov 18, 2010 at 4:01 AM, Chris Lattner <clattner at apple.com> wrote:
>
> On Nov 17, 2010, at 1:38 PM, Sreeraj a wrote:
>
> > Thanks Chris,
> >
> > I was able to weed out loop invariant arithmetic instructions using
> isLoopInvariant function.
> > when i try to do an instruction->moveBefore(bb->getTerminator()) i'm
> getting a seg fault.
> > any obvious reasons that i'm missing out on?
>
> No idea, sorry.
>
> -Chris
&...
2015 Jan 27
2
[LLVMdev] ATS workaround for Clang 3.5
...een using
an older version of clang and upgraded because newer versions give
higher quality warning messages. Unfortunately, with 3.5, moving from
-O1 to -O2 triggers a crash on startup in the clang-generated
executable. I had suggested building with -fsanitize=undefined and
-fsanitize=address to weed out any dependencies undefined behavior.
All their generated C code came out clean. Here is the workaround
Hongwei Xi came up with:
https://github.com/githwxi/ATS-Postiats/commit/5e17db4badf58b404598e8b3ae4a666b8b0e889c
Looks like a bug on the LLVM side. He says it worked with clang 3.3,
but br...
2011 Nov 11
2
Puppet Windows: test if non-MSI package already installed
...d.sourceforge.net/installers.php) I feel confident I can
write a short script for Puppet to "exec" on my hosts to silently install
most of what I need.
What I can''t decide on a "best" way to test if the software has already
been installed. I am likely "off in the weeds" and could use some help
getting back.
Here are what I think my choices are, I make no claim to their sanity.
0.) I think using the "package" provider in puppet will not work if the
program installed did not use the MSI installer.(?)
1.) Check for existence of a file known to be...
2006 Apr 19
4
Basic vector operations was: Function to approximate complex integral
Dear List
I apologize for the multiple postings. After being in the weeds on this
problem for a while I think my original post may have been a little
cryptic. I think I can be clearer. Essentially, I need the following
a <- c(2,3)
b <- c(4,5,6)
(2*4) + (2*5) + (2*6) + (3*4) + (3*5) +(3*6)
But I do not know of a built in function that would do this. Any
suggesti...
2010 Nov 17
0
[LLVMdev] L->isLoopInvariant giving wrong results?
On Nov 17, 2010, at 1:38 PM, Sreeraj a wrote:
> Thanks Chris,
>
> I was able to weed out loop invariant arithmetic instructions using isLoopInvariant function.
> when i try to do an instruction->moveBefore(bb->getTerminator()) i'm getting a seg fault.
> any obvious reasons that i'm missing out on?
No idea, sorry.
-Chris