search for: given

Displaying 20 results from an estimated 42043 matches for "given".

2009 Jan 05
1
bug involving quote(); ghost in the machine
Hi list(...), I've narrowed down a weird bug. It's like a ghost in the machine, in that functions seem to remember things that they should not be able to. In the example below, the result of the second (and subseqent) calls depend on what was given in the first call. foo <- function(given = NULL) { callObj <- quote(callFunc()) if (!is.null(given)) callObj$given <- given if (is.null(given)) callObj$default <- TRUE callObj } foo() # callFunc(default = TRUE) foo(given = TRUE) # callFunc(default = TRU...
2002 Nov 27
0
invalid key given to dptr_close
...fails. Examining the logs the most eyecatching events are: (not that the keynumber started at 959 and went slowly down. I did not wait until it goes to zero and let the user reboot its machine before) Any idea ? thnx, peter [2002/11/27 12:22:43, 0] smbd/dir.c:dptr_close(277) Invalid key 280 given to dptr_close [2002/11/27 12:22:43, 0] smbd/dir.c:dptr_close(277) Invalid key 279 given to dptr_close [2002/11/27 12:22:43, 0] smbd/dir.c:dptr_close(277) Invalid key 278 given to dptr_close [2002/11/27 12:22:43, 0] smbd/dir.c:dptr_close(277) Invalid key 277 given to dptr_close [2002/11/27 12:...
2007 Sep 03
6
blog post on story runner
Here''s an excellent blog post on Story Runner, which will be part of the next release and is undergoing active development in trunk: http://evang.eli.st/blog/2007/9/1/user-stories-with-rspec-s-story-runner
2017 Jul 18
3
under some kind of attack
Hi all, It seems we are under some kind of password guessing attack: > Jul 18 21:33:33 auth: Info: ldap(username1,103.6.223.61,<W7wLl5xUfABnBt89>): invalid credentials (given password: 1q2w3e4r5t) > Jul 18 21:34:16 auth: Info: ldap(username1,221.4.61.180,<89WnmZxUrADdBD20>): invalid credentials (given password: 1q2w3e4r5t) > Jul 18 21:36:13 auth: Info: ldap(username2,117.243.180.225,<ESWBoJxUdQB187Th>): invalid credentials (given password: 1q2w3e4r) &g...
2007 Nov 15
7
Plain Text Stories Chaining Scenarios
...9;m writing a plain text story (testing the waters) and I have scenarios that I need to chain in my specs. Here is what I have so far: Story: User purchasing tshirts As a user I want to checkout So that I can purchase shirts Scenario: User goes to checkout with nothing in cart Given a user And user has an empty cart When user goes to checkout Then user should see the page: site index And page should include the text: you have nothing in your cart Scenario: Logged-in user goes to checkout Given a logged-in user And user has a cart with items in...
2008 Nov 04
8
Testing a wizard with Cucumber
...g you have a multi-step wizard like thing, with lots of different states and paths through it. What approach would your use to write a feature for it? What I want to do is do the separate states and then reuse these things in more complex scenarios that cover paths. For example Scenario: State A Given I''m ... And I''m ... When I ... Then I should see And I at state A Now I''d like to reuse this to make my scenario from going from A to B shorter e.g Scenario: Test A to B Given State A When I ... ... Instead of Scenario: Test A to B Given I'...
1999 Sep 16
0
Invalid key given to dptr_close / NT error 3013
...ut, error code 3013. The error message is 'The redirector has timed out a request to SERVER'. That brings a Doc Watson for the Office stuff and the programs (from the server) crash. This leads to phone calls from angry users :-( The samba log shows the error message "invalid key ### given to dptr_close" at the same time the NT machines get the error. It happens on NT4 SP3 and SP4 clients where people use lots of programs like office, pegasus, scheduler, access database all shared from the server at once. I tried playing with rdr registry values (as described in http://sup...
2005 Jun 28
1
Ongoing Samba Errors
...1 Time(s) session opened for user yanal by (uid=0): 2 Time(s) session opened for user wendym by (uid=0): 3 Time(s) I don't understand why these should be "Unknown Entries" and would really like to . Then I see a whole load of: mbd/dir.c:dptr_close(271) Invalid key 256 given to dptr_close : 33 Time(s) smbd/dir.c:dptr_close(271) Invalid key 257 given to dptr_close : 32 Time(s) smbd/dir.c:dptr_close(271) Invalid key 258 given to dptr_close : 26 Time(s) smbd/dir.c:dptr_close(271) Invalid key 259 given to dptr_close : 26 Time(s) smbd/dir.c:dptr_close(271) Invalid key 2...
2007 Dec 22
4
StepGroup ?
Hi, I have a need for the StepGroup feature in stories but not clear what''s the current api. Could you provide an example? In my case I have several scenarios which vary in the Givens, but not the results. Ideally I''m hoping to achieve something like: (but anything will do for now :) Scenario: one Given something When he does foo Then good things should happen Scenario: two Given something different When he does foo Group Of good things should h...
2008 May 14
4
Reuse steps like a method call
If I have a step matcher defined as so: Given "a user named $username" do |username| .... end Is there a way to call it from another step? For example: Given "a user named $username with a blog post |username| given_a_user_named(username) # calls existing step code # create a blog post end Cheers, -- Bryan Helmkamp htt...
2017 Jul 20
3
under some kind of attack
Hi all, If I may, one more question on this subject: I would like to create a fail2ban filer, that scans for these lines: > Jul 20 11:10:09 auth: Info: ldap(user1,60.166.35.162,<cDFXHbxUQgA8piOi>): invalid credentials (given password: password) > Jul 20 11:10:19 auth: Info: ldap(user2,61.53.66.4,<V+nyHbxU+wA9NUIE>): invalid credentials (given password: password) (as you can see, I have enabled auth_verbose_passwords to do this, making me very uncomfortable...) Anyway: since there are only a few password var...
2008 Jan 23
13
DRYing up stories
I''m finding that I''m writing sets of very similar scenarios to check access permissions for each of my actions. Does anyone have suggestions on how to dry this up: Given an existing Account And a logged in Admin When the user visits account/manage Then he should get access Given an existing Account And a logged in Manager When the user visits account/manage Then he should get access Given an existing Account And a logged in Supervisor When the user visits account...
2008 Mar 20
5
sharing story steps
Hi, How can I have a common set of steps that all my stories share? i.e. My stories often start out looking like this: Given a user Joe Given a user Jordan then: Given("a user $username") do |username| @users ||= {} @user_sessions ||= {} @users[username] = create_user(:username => username) @user_sessions[username] = login_as(@users[username]) end I want to share that Given with all my stories. O...
2011 Jul 08
2
Selecting subset of a given vector
Hi there, given a numeric vector, I can select numbers within a specific range. However presently, I have something related but different problem. Suppose I have a numeric vector. Now take an arbitrary number. Goal to to chose a specific subset with a given length, from that given vector, so that those chosen numb...
2007 Apr 17
2
how to estimate dose from respond given drc package result
Dear all, I can use the very nice drc package (multdrc()) to model and plot a dataframe containing dose and response values. I can also use predict.drc() to yield response values given a dose. I need to do the opposite, estimate a dose given the response. The general predict documentation seems to say that this is possible, but it does not appear that predict.drc has that capability. This makes sense because it is easy to compute y values from x values, given the fitted...
2012 Aug 17
8
Get the filename from the given path
Hi, Here i have a file path, for eg : - FPath <- "D:\\MyFolder\\MyFile.txt" HOW IS POSSIBLE TO GET THE FILE NAME FROM THIS GIVEN PATH ? - thanks in advance Antony. -- View this message in context: http://r.789695.n4.nabble.com/Get-the-filename-from-the-given-path-tp4640578.html Sent from the R help mailing list archive at Nabble.com.
2017 Jul 18
5
under some kind of attack
...erer wrote: > Am 18.07.2017 um 21:44 schrieb mj: >> Hi all, >> >> It seems we are under some kind of password guessing attack: >> >>> Jul 18 21:33:33 auth: Info: >>> ldap(username1,103.6.223.61,<W7wLl5xUfABnBt89>): invalid credentials >>> (given password: 1q2w3e4r5t) >>> Jul 18 21:34:16 auth: Info: >>> ldap(username1,221.4.61.180,<89WnmZxUrADdBD20>): invalid credentials >>> (given password: 1q2w3e4r5t) >>> Jul 18 21:36:13 auth: Info: >>> ldap(username2,117.243.180.225,<ESWBoJxUdQB187Th&...
2017 Sep 11
2
Fail2ban 'Password mismatch' regex
...39;auth_debug_passwords=yes? in dovecot.conf. >> I?m trying to get Fail2ban to detect this log line: >> Sep 11 15:52:49 mail dovecot[54239]: auth-worker(10094): sql(user at bordo.com.au <mailto:user at bordo.com.au>,::1,<L2xqieNYeM4AAAAAAAAAAAAAAAAAAAAB>): Password mismatch (given password: 2) >> I?ve added it as the last line of my dovecot filter regex: >> failregex = >> ^%(__prefix_line)s(%(__pam_auth)s(\(dovecot:auth\))?:)?\s+authentication failure; logname=\S* uid=\S* euid=\S* tty=dovecot ruser=\S* rhost=<HOST>(\s+user=\S*)?\s*$ >>...
2015 Jul 15
3
bquote/evalq behavior changed in R-3.2.1
In 3.1.2 eval does not store the result of the bquote-generated call in the given environment. Interestingly, in 3.2.1 eval does store the result of the bquote-generated call in the given environment. In other words if I run the given example with eval rather than evalq, on 3.1.2 "x" is never stored in "fenv," but it is when I run the same code on 3.2.1. How...
2009 May 27
5
How to exclude a column by name?
Given an arbitrary data frame, it is easy to exclude a column given its index: df[,-2]. How to do the same thing given the column name? A naive attempt df[,-"name"] did not work :)