similar to: Rspec Caveman questions.

Displaying 20 results from an estimated 600 matches similar to: "Rspec Caveman questions."

2007 Sep 05
6
Caveman Questions
Hello! I''m just a caveman with some caveman questions. I''ve been parsing Rspec for quite a while, and I''m writing my first series of specs. My initial impressions are "Verbose, but understandable. Helpful and intuitive, but so much to digest." I want to congratulate the folks who are dedicating a chunk of their lives to writing this, and ask 2 caveman
2009 Sep 09
4
Mac OS X, DOS tools start X11, this is silly...
Hello, when I use DOS command line tools from within Terminal, is there a way to refrain X11 lauch? For instance if try to use DeflOpt (http://www.walbeehm.com/download/), I get this: allosaurus:wine Caveman$ ./wine deflopt *.png Building font metrics. This may take some time... Font metrics: 0.0% done fixme:font:LFD_InitFontInfo DBCS fonts like
2010 Mar 18
2
R and getting a file through https
Dears! I have a system that generates links on a https webserver. I have to be logged on with a username and password; Then follow at least fife links to get into the link where I can download the file. The question is: How can I accomplish that with R? Caveman
2008 May 15
8
facebooker, respond_to and firefox 3 beta5/pre
Hi there, I have a controller that responds to fbml and html, with html at the top. In all browsers, this works as expected - When I''m hitting the controller from my normal app, I get html. When I hit it inside facebook, I get fbml. However, with Firefox 3 hitting the normal app, I''m getting fbml for some odd reason. Am I crazy? Sudara
2011 Jun 25
2
Access R functions from web
I need a way to send R objects and call R functions from web. Is there any project close or similar to that? I want to be able to send an HTTP rquest from an existing application with some data. And obtain a plot from R. Thanks in advance Caveman [[alternative HTML version deleted]]
2002 May 07
1
Hi from Argentina!
Hi, my name is Eduardo, i?m working on my own linux distribution, i want to use isolinux but these are the problems that i have: This is the command that i made to make the iso of my distribution: mkisofs -o /argentux.iso -R -V "Instalacion de ArgenTUX" -A "Disco de instalacion de ArgenTUX" -no-emul-boot -boot-load-size 4 -b isolinux/isolinux.boot -c isolinux/isolinux.boot
2007 Jun 18
2
Large Binary file reader for Simple minds
I'm more like a caveman when it comes to programming tools. So, with that in mind, is there a way to use readBin in a batch format to read in pieces of a large binary file? Thank you for the consideration of my question. Todd Remund
2010 Aug 10
2
Replacing characters
Hello guys! May be I am lazy but I need to replace a character like \ or ' or to escape them in a character vector to write a SQL statement. How can I do that? Caveman [[alternative HTML version deleted]]
2011 Jun 26
1
RJDBC and multiple classpaths
Corect me if this is not the right place to post this. I have a mdbdriver.jar (to access an MSAccess file) under Linux. I bought the license from http://www.csv-jdbc.com/ guys. The driver work fine when tested with DBVisualizer or another JDBC thing. The problem is that driver needs 3 other more jar files to work. Under R I have tried this and does not work: > library(RJDBC) Loading required
2009 Oct 10
7
SPSS long variable names
Hello guys I am new to this list and for R too. I am wondering if there is a patch for the SPSS reading code on the foreign package, in order to be able to read long variable names. Right now read.spss() just trunc the names to 8 characters. Or if someone could help me on other way: I have to process everyday a lot of SPSS Syntax Files and Dat files that come from one system that can only export
2010 Aug 24
2
Parsing a XML file
I have one XML file with 30MB that I need to read the data. I try this; library(XML) doc <- xmlDoc("Malaria_Grave.xml") And R answers like this *** caught segfault *** address 0x5, cause 'memory not mapped' Traceback: 1: .Call("RS_XML_createDocFromNode", node, PACKAGE = "XML") 2: xmlDoc("Malaria_Grave.xml") Possible actions: 1: abort (with
2008 Jan 31
3
Using facebooker AND Haml/Sass
For anyone using both and encountering trouble with stylesheets (specifically, the paths being incorrect in production mode)... Removing facebooker solves the issue. But I bet you don''t want to do that, eh? So, simply setting ActionController::Base.asset_host = '''' also works like butter. I''m not 100% clear on why asset_host has anything to do with
2007 Aug 22
1
DUNDi, So Easy A Caveman Could Do It!
Here you go folks: ftp://ftp.ntcp.net/DUNDi_So_Easy.pdf If someone would be so kind as to upload to the wiki, it will be much appriciated. Thank you all who replied to my poll questions. As always, I hope this help. JR -- JR Richardson Engineering for the Masses
2006 May 18
3
Model Madness: habtm vs through
This has me scratching my head: a Person has many Things a Person has many Collections a Collection has many Things ...Things in a Collection are ordered ...Things in a Collection can be related to (created by) any User ...a collection has additional attributes, such as a name etc I am confused about habtm in rails (especially when using acts_as_habtm_list) vs. going the :through route.
2005 Aug 07
1
proper use of alternatives framework
So in a previous thread about java installs, I became more aware of /usr/sbin/alternatives and the links in /etc/alternatives. In an effort to not get lost in that thread (and mostly because it's a seperate topic and may help others when searching the list) I decided to posit my question directly. Rather than hack like a caveman at my installs of java and other things that fit into the
2007 May 11
15
Simulating onmouseleave and onmouseenter with Prototype
Hello. I spent an hour or three chasing down a desired effect that mootools implements, namely the simulation of onmouseleave and onmouseenter events. Why? Lets say you have a Menu. A ul element that contains many li elements. If you want to have a function (maybe an effect) fire when the mouse moves outside of the ul, you are out of luck. Observe the mouseout function like so:
2010 Feb 13
4
Labels on a pyramide
I am using pyramid.plot() from the plotrix package. I have something like this ############################################ xy.pop<-dados$masfr xx.pop<-dados$femfr #agelabels<-dados$femlab xycol<-color.gradient(c(0,0,0.5,1),c(0,0,0.5,1),c(1,1,0.5,1),11) xxcol<-color.gradient(c(1,1,0.5,1),c(0.5,0.5,0.5,1),c(0.5,0.5,0.5,1),11) xylab<-dados$maslab xxlab<-dados$femlab
2009 Mar 31
1
dundi show peers - UNREACHABLE but I can ping it!
Hi guys!! This is something that have always bother me, hope you can help me... :) I've 8 server connected using IAX / DUNDi, it works just fine. However, sometimes when some of our links goes down the server takes forever to appear back as OK at DUNDi's list and people can't call the other Box. It's happening right now: CLI> dundi show peers 00:14:22:16:54:c5 200.X.X.6
2008 Jan 30
9
catching errors, rspec basics
Trying to spec the following but don''t know if I''m using the right matcher. How do I spec? Plz, sugar on tops. Audience.stats - should have a stats of 80 when passed a flux of 10 - should return an error when passed a string (ERROR - 1) 1) TypeError in ''Audience.stats should return an error when passed a string'' String can''t be coerced into Fixnum
2007 Sep 20
4
alias :calling :lambda
Sprinkling my examples with ''lambda'' has always seemed like a bit of a wart to me. I''ve gotten into the habit of adding ''alias :calling :lambda'' to my spec suites. My examples then look like: calling { Foo }.should raise_error calling { Bar }.should_not raise_error Is there a reason that RSpec core has chosen not to make exception expectations more