Displaying 20 results from an estimated 163 matches for "wincent".
Did you mean:
vincent
2007 May 22
3
BDD screenscast
I posted a quick screencast demonstrating some BDD with RSpec yesterday:
http://wincent.com/a/about/wincent/weblog/archives/2007/05/
behaviourdriven.php
I''m a C/Objective-C programmer who knows a bit of Ruby, almost
nothing about Rails, and in BDD I can really only claim "new but
interested" status.
It''s not scripted, it''s totally improvised...
2007 Oct 18
12
first cut at blockless given/when/then
Hi all,
I committed a first cut at blockless Givens/Whens/Thens to RSpec''s trunk:
cd /path/to/rspec/project
svn up
cd rspec
bin/spec examples/story/calculator.rb
Take a look at examples/story/calculator.rb to see what''s going on.
Needs docs!!!!
Thoughts welcome.
I''ve also got a cut at the plain text parser checked in, but it''s not
hooked up to anything
2007 May 24
15
Specs for code stored in rails_app/lib/
...d RSpec
automatically picks them up when run using "rake spec".
Before I go ahead and patch rspec_on_rails/lib/autotest/
rails_rspec.rb so that autotest can monitor these specs I''d like to
ask whether this is the "standard" location for such specs or not.
Cheers,
Wincent
2007 Jun 22
11
Nicer failure message formatting
Hi
Are there any tools around that make rspec''s failure messages easier
to read?
unit_diff from ZenTest doesn''t seem to work - unless I missed something.
A simple but very helpful improvement would be to use more line-
breaks, e.g.
Current output:
expected "this is a very long string blah blah", got "this is a very
very long string blah blah" (using
2010 Jul 02
4
Visualization of coefficients
...jetspeed/portal/cms/Sites/destatis/Internet/DE/Content/Wissenschaftsforum/Kolloquien/VisualisierungModellierung__Beitrag,property=file.pdf
) looks pretty good. I wonder if there is any function for such plot?
Or any suggestion on how to present statistical models in a
presentation?
Thank you.
--
Wincent Rong-gui HUANG
Doctoral Candidate
Dept of Public and Social Administration
City University of Hong Kong
http://asrr.r-forge.r-project.org/rghuang.html
2000 Jan 13
1
observations on nt smb support = no
We use Samba 2.0.6 as server, the clients are about 10 NCD WinCenter
(NT 3.51 multiuser, WinCenter 3.0.34 based on Citrix WinFrame 1.6)
machines with about 70 concurrent users each and several WinCenter (as
above) and NT Terminal Server (NT 4.0 multiuser with
MetaFrame/WinCenter (X11 addon)) machines.
The 2.0.6 smb.conf manpage says:
nt smb support (G)...
2007 May 24
25
Specs for ApplicationController, where to put them?
...;t produce a corresponding spec file for this
controller.
I''ve made a spec file (spec/controllers/application_spec.rb) so that
I can test these methods, but I''m not sure if this is the right thing
to do. Should I be testing only the non-abstract subclasses instead?
Cheers,
Wincent
2007 Jun 08
5
autotest bug?
Autotest is running continuously - even when the files mtimes aren''t
changing. I believe this only happens if using a failures file.
autotest -v gives me:
euclid% autotest -v
loading autotest/rails_rspec
/opt/local/bin/ruby -S script/spec -O spec/spec.opts spec/
controllers/log_entries_controller_spec.rb spec/views/login/
new_spec.rb spec/controllers/login_controller_spec.rb
2007 May 18
3
Fixtures considered harmful?
.... Can someone please clarify why use of
fixtures are not recommended?
Anyone care to recommend an active, open source Rails project that''s
using RSpec and which is an exemplar of "best practice"? I''d really
like to get things right first time, if I can...
Cheers,
Wincent
1998 Jul 07
0
(Off Topic, a litle) WinFrame/WinCenter, other Multi-User NT
I'm looking for experiences with the various Multi-User NT products with
SAMBA, and in general.
My intent is to set up a single Multi-User NT box as a shared
email/productivity program environment
for my six full time UNIX users.
My environment is such that I'll be using Outlook 97 to talk to MS
Exchange 5.5 servers, and running
MS Office Pro 97 (among other) tools from SGI 6.4
2008 Jun 07
1
Problem of installing Matrix
[wincent at PC-BSD]export MAKE=gmake
[wincent at PC-BSD]sudo R
.....
> install.packages("Matrix")
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
trying URL 'http://bibs.snu.ac.kr/R/src/contrib/Matrix_0.999375-9.tar.gz'
Content type 'app...
2010 Apr 30
3
replace elements in a list
...ist(a=2,b=2))
I want to find out the elements with value of NULL and replace them with NA.
The actual case has a very long list, so manually find out and replace
them is not an option.
I can use for loop to do this, but I want to know if there is
vectorized way (or other ways) to do it?
Thanks
--
Wincent Rong-gui HUANG
Doctoral Candidate
Dept of Public and Social Administration
City University of Hong Kong
http://asrr.r-forge.r-project.org/rghuang.html
2012 May 09
2
file path
...erated automatically which may
contain characters such as ? < >, unacceptable in Windows OS. What I
do at this moment is to strip such characters off with gsub(). Is
there any direct way to make legitimate file path without detailed
knowledge about the naming rule specific to a OS?
Best
--
Wincent Ronggui HUANG
Sociology Department of Fudan University
PhD of City University of Hong Kong
http://homepage.fudan.edu.cn/rghuang/cv/
2010 Apr 09
2
How to enable core dump?
...1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
Selection: 1
aborting ...
Segmentation fault
When I select 1, there is still no saved core dump. I guess because it is
not enabled. May I ask how to enable this option? Thanks.
--
Wincent Rong-gui HUANG
Doctoral Candidate
Dept of Public and Social Administration
City University of Hong Kong
http://asrr.r-forge.r-project.org/rghuang.html
[[alternative HTML version deleted]]
2007 May 21
9
Ordering in view specs using have_tag and with_tag
...eaking the specs.
In many cases, this might not matter. But what if I want to test for
alternating divs (odd, even, odd even)? I can add multiple have_tag
assertions but their order won''t be considered, so I''m not really
testing the alternation, only for existence.
Cheers,
Wincent
2007 Oct 14
40
Step matchers
I think we all know that the readability of steps isn''t great right
now, and in fact there''s a very recent thread that discusses just
that. It was that recent thread that prompted me to explore this a
bit.
The basic idea is that you define step matchers, which have a regex,
and then you match step names against that regex. Kind of tough for
me to explain so I''ll just
2007 Oct 21
8
Interesting shared behaviour side-effect
...''t have any side-
effects and running them twice is harmless, and in any case getting
rid of the nesting (putting all the specs in a single shared
behaviour block) gets rid of the duplicate. But I''m wondering, is
this a bug? Feature? Am I abusing shared behaviours?
Cheers,
Wincent
2007 Aug 10
3
FixtureScenarios
...ain problem with fixtures, for me, has always been how unfun
> they are. They literally suck the fun out of anything they?re
> around. You throw them in your test/ directory, then suddenly
> testing is, like, work. But it?s not work, dammit. This is Ruby,
> dammit.
>
Cheers,
Wincent
2007 May 19
1
RSpec 1.0.0 and a couple of other things
...pported" way?
And a quick bug report (can''t login to RubyForge due to transparent
proxy issues):
The README.txt file that comes with Spec::UI 0.2.2 points to a non-
existent page:
<http://blog.aslakhellesoy.com/articles/2006/12/02/getting-
screenshots-from-watir>
Cheers,
Wincent
2000 May 03
1
Process per share control.
A long time ago, and I could be mistaken, I thought samba could be
configured so that instead of a smbd process per user/machine it would
spawn a process per share/user/machine. If it still can, could someone
point me in the right direction?
Thanks!
Weldon Godfrey
Sr. Systems Specialist
Science Applications International Corporation