Displaying 20 results from an estimated 120 matches similar to: "[Cucumber] Struggling with "multiple step definitions""
2006 Apr 25
2
JRS problem
Hi all,
I''m playing with the new RJS stuff. Very cool!
But I have a problem. The following code works ok:
page.select(''div.blogcomment'').each do |element|
page.visual_effect :highlight, element
end
All div''s with class blogcomment are highlighted correctly. But I just
want the last elemen to be hightlighted. The following code is not
working:
2002 Oct 15
2
extremely dense tinc-mini-howto
Hi,
I'm trying to write an extremely dense tinc-mini-howto.
You can see it at:
http://keetweej.vanheusden.com/~folkert/tinc_mini_howto.html
Please send me suggestions on how I can make things better
and such.
Oh, and if someone could tell me how to configure tinc so
that it authenticates against the host on the other side,
please tell me! (couldn't figure that one out)
Folkert.
Tinc:
2018 Feb 27
0
SPIRV-LLVM as an external tool
On 27 Feb 2018, at 9:07 pm, Anastasia Stulova via llvm-dev <llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>> wrote:
> SPIR-V does not have to be a part of LLVM for you to do this. You can add
> the SPIR-V target to clang and then define a SPIR-V toolchain (i.e. clang/Driver/Toolchains)
> that uses the external tool to translate LLVM IR to SPIR-V.
Ok. I guess
2008 Apr 24
4
Pure Ruby HTTP parser
Before anything else, let me state this: Of course it''s going to be
PAINFULLY slow on MRI. That''s not the point :)
I thought I''d try out writing out a Ruby version of the parser for the
purposes of Rubinius. For those of you who aren''t aware, Ragel supports a
goto-driven FSM on Rubinius by injecting assembly directly, and Rubinus head
honcho guy Evan Phoenix
2002 Aug 29
2
Weird(?) HTB3 setup
Hi,
I want to be able to specify actions for different classes of
traffic in any of these four ways, and I''d like to use only
HTB if possible:
1. No guranteed rate, No ceil
2. Guaranteed rate, No ceil
3. No guranteed rate, Ceil specified
4. Guaranteed rate, Ceil specified
For types 2, 3 and 4 there can be several classes of each, with
different rates and ceilings.
4 is ofcourse easy.
2018 Feb 27
5
SPIRV-LLVM as an external tool
> SPIR-V does not have to be a part of LLVM for you to do this. You can add
> the SPIR-V target to clang and then define a SPIR-V toolchain (i.e. clang/Driver/Toolchains)
> that uses the external tool to translate LLVM IR to SPIR-V.
Ok. I guess if Clang community accepts this way, it would be better to set up the SPIRV converter as a tool of LLVM.
So the question is are there any
2009 Dec 28
4
How to change the default Date format for write.csv function?
Hi,
I have a data.frame containing a Date column. When using write.csv()
function to generate a CSV file, I always get the Date column formatted as
"YYYY-MM-DD". I would like to have it formatted as "MM/DD/YYYY", but
could not find an easy way to do it. Here is the test code:
d <- data.frame(ticker=c("IBM", "IBM"), date =
2009 Mar 05
1
Question about SwfdecAsScriptFunction in swfdec
Hello,
I got a question about the script function class(SwfdecAsScriptFunction)
design in swfdec.
Why doesn't a script function mark its
target(SwfdecAsScriptFunction::target) in the marking phase? What if the
function's target has been destroyed while the function itself is still kept
alive? (Answer myself: then there would be a segfault when executing that
function)
Let me give a
2017 Sep 15
4
libimoblidevice prevents updating to Centos7.4
Hello All,
this problem occured both before the release with CR repo and now after the release.
I have 150 laptops running Centos7 / MATe, including my own laptop.
We have these repo's enabled:
repo id repo naam status
base/7/x86_64 CentOS-7 - Base 9.591
beid-release/7 Belgian eID package archive 68
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 11.904
extras/7/x86_64
2008 Aug 22
2
help needed for HWE.exact in library "genetics"
Hi,
I have a genotype data for both case and controls and would like to calculate the HW p-value. However, since the number of one genotype is 0, I got wired result. Would someone help me to figure it out? Or confirm it's right? Thanks a lot.
============
> library( "genetics" )
NOTE: THIS PACKAGE IS NOW OBSOLETE.
The R-Genetics project has developed an set of enhanced
2017 Sep 15
2
libimoblidevice prevents updating to Centos7.4
> Date: Friday, September 15, 2017 05:34:11 -0500
> From: Johnny Hughes <johnny at centos.org>
>
> On 09/15/2017 03:06 AM, johan.vermeulen7 at telenet.be wrote:
>> Hello All,
>>
>> this problem occured both before the release with CR repo and now
>> after the release. I have 150 laptops running Centos7 / MATe,
>> including my own laptop.
>>
2009 Aug 25
1
Elastic net in R (enet package)
Dear R users,
I am using "enet" package in R for applying "elastic
net" method. In elastic net, two penalities are applied one is lambda1 for
LASSO and lambda2 for ridge ( zou, 2005) penalty. But while running the
analysis, I realised tht, I optimised only one lambda. ( even when I
looked at the example in R, they used only one penality) So, I am
2016 Dec 26
2
Centos7.3-Mate
Hello All,
I have this problem starting Centos7.3 - the official name escapes me at the moment.
I often install Centos7 Minimal, then X Window System, then Mate desktop.
This last step gives me trouble, and I have to run
# yum groupinstall mate --skip-broken
output:
skipped packages:
NetworkManager-I2tp
ldns
libreswan
unbound-libs
xl2tpd
I realise this is probably an issue for EPEL
2006 Oct 20
2
the worst scenario of ext3 after abnormal powerdown
Hi,
I have seen and heard many cases of ext3 corrupted after abnormal
powerdown (e.g. missing all the files in one directory). yes, UPS
should help, but wonder what kind of worst scenario will ext3 present
after powerdown.
messed up meta data has been seen in many cases, for example, the
in-direct block of one inode contains garbage, which causes the
automatic fsck failed to work and user has
2020 Apr 21
1
[PATCH -next] drm/nouveau/acr: Use kmemdup instead of kmalloc and memcpy
Fixes coccicheck warning:
drivers/gpu/drm/nouveau/nvkm/subdev/acr/hsfw.c:103:23-30: WARNING opportunity for kmemdup
drivers/gpu/drm/nouveau/nvkm/subdev/acr/hsfw.c:113:22-29: WARNING opportunity for kmemdup
Fixes: 22dcda45a3d1 ("drm/nouveau/acr: implement new subdev to replace "secure boot"")
Reported-by: Hulk Robot <hulkci at huawei.com>
Signed-off-by: Zou Wei
2005 Jun 01
1
Local machine not through firewall: Fixed
Thanks Alexander Wilms ... that fixed the problem ... YOHOOO.....I'' am so happy
Rob
2010 May 25
1
Need Help! Poor performance about randomForest for large data
Hi, dears,
I am processing some data with 60 columns, and 286,730 rows.
Most columns are numerical value, and some columns are categorical value.
It turns out that: when ntree sets to the default value (500), it says "can
not allocate a vector of 1.1 GB size"; And when I set ntree to be a very
small number like 10, it will run for hours.
I use the (x,y) rather than the (formula,data).
2010 Jan 17
1
screenshot of swf file
Hi,
Im trying to thumbnail a swf file based on this found at
http://www.mail-archive.com/swfdec at lists.freedesktop.org/msg00821.html.
#include <stdlib.h>
#include <stdio.h>
#include <swfdec/swfdec.h>
#include <cairo.h>
void swfdec_player_save (SwfdecPlayer *player, guint width, guint
height, const char *filename) {
cairo_surface_t *surface;
cairo_t *cr;
2006 Mar 04
2
count("<p>") in a string
i want to count the number of paragraphs in my message of an article ,
but it gives the wrong number
example of paragraph :
<p><div class=''paragraaf''><p><h4>Dick Advocaat verdient veel geld bij
Zuid-Korea</h4><div class=''bericht''>De Zuid-Koreaanse voetbalbond legt
de Nederlandse bondscoach Dick Avocaat rijkelijk in de
2008 Dec 09
1
Can elastic net do binary classification?
Hi, List
The elastic net package (by Hastie and Zou at Stanford) is used to do
regularization and variable selection, it can also do regression. I am
wondering if it can perform binary classification (discrete outcome).
Anybody having similar experience?
Many thanks,
-Jack
[[alternative HTML version deleted]]