Displaying 20 results from an estimated 3000 matches similar to: "shallow over http or ftp not supported"
2008 Mar 04
3
rspec vs. test::more
Hey all,
you HAVE to read this blog post:
http://blog.jrock.us/articles/RSpec%20vs.%20Test::More.pod#comments
My favorite parts are:
1)
... some rspec code ...
> For the sake of comparison lets translate this directly into perl:
... some perl code ...
2)
>First, notice that the rspec-version isn''t actually ruby code. It''s
not any real language.
For the sake of
2007 Sep 27
1
using @variables in an ''it'' block
Hi folks,
I''m somewhat new to the current RSpec release - at work we are still
using 0.8.something, with "context ''blah'' do ... specify ''should
thing'' ..."
We have some helper code to automatically mix-in selenium:
module SeleniumHelper
include SpecHelper
...
def initialize(arg)
@selenium = SeleniumHelper.selenium
end
(selenium.rb
2009 May 04
6
cucumber - when to stub/mock
I''m just curious about this, since my solution involved stubbing a
call to GeoIp.
Is there a good rule of thumb for when you make exceptions to the ''no
stubbing'' philosophy of Cucumber?
My step was: "Given I am accessing the site from Japan," but I can
think of other situations - mostly when interacting with web services,
that I''d probably
2007 Oct 25
0
How to spec a render:update call
Hi folks.
I''m trying to work out how to verify that a controller has called a
render:update block similar to:
render :update do |page|
page.replace_html ''edit'', :partial => ''form'', :locals => { :operation
=> ''edit'', :submit_button_value => ''Update'' }
end
We used to test this with something
2011 May 10
1
Reference Classes copy(shallow=FALSE) unexpected behavior.
Dear all,
I''ve just discovered the ''Reference Classes''.
In a previous attempt ---a year ago--- to re-implement in a Object Oriented
fashion the AMORE package using S4 classes I strongly felt the need of such
capability. It''s great to have the Reference Classes now available. Along
with the discovery of the Rcpp package, this new programming paradigm has
boosted
2010 Mar 24
0
form_for with nested shallow route
Let''s say I have:
map.resources :teams do |team|
team.resources :squads, :shallow => true
end
When I want to generate a form_for a squad, I need both the team and
squad for new/create, but only the squad for edit.
This means I need:
edit:
form_for(squad)
new:
form_for([team, squad])
This seems not very dry. Is there a more idiomatic way of doing this?
Right now,
2011 Feb 16
0
[elflink] _root_.c32 shallow ELF module
Hi,
I'm trying to figure out how to link against symbols from the core com32
shallow module at runtime. I see references to _root_.c32
(EXEC_ROOT_NAME) in com32/lib/sys/module/exec.c, but can't find where
this module is created in the build infrastructure, if indeed it is
created at all.
Does anyone have any pointers?
2010 Jul 03
1
deep vs. shallow directory structure
Hi all,
I am using rsync to sync a directory tree of ~2 million files. I am using
rsyncrypto with filename encryption to encrypt the files before syncing.
When encrypting filenames, rsyncrypto assigned each file a filename which is
made of hex digits. It also has the option to put the files in directories,
where the location of the file is determined by the file's name and a
parameter
2011 Nov 28
0
extend validObject to validate any object (shallow and deep validation)
Hi,
It would be nice if there was a tool for checking the validity of any
object. validObject() is of course the natural candidate for this but
right now it doesn't work on S3 objects:
df <- data.frame(aa=1:4, bb=letters[4:1])
attributes(df)$row.names <- c("A", "B", "C", "A")
'df' is an invalid data frame instance:
> df
2010 Mar 07
1
duplicate STRSXP : shallow copy ?
Hello,
As this little program illustrates, duplicating a STRSXP does not seem
deep enough.
require( inline )
fx <- cfunction( signature( x = "character"), '
SEXP y = PROTECT( duplicate( x ) );
int n = LENGTH(x);
int nc = 0 ;
char* p = 0 ;
for( int i=0; i<n; i++){
p = (char*)( CHAR( STRING_ELT( y , i ) ) );
nc = strlen( p ) ;
for( int j=0; j<nc; j++){
p[j] =
2014 Sep 30
2
Shallow copies
I have a question about shallow copies in R. Since R 3.1.0, subsetting
a dataframe with respect to its columns no longer result in deep
copies. This is an amazing change in my opinion. Now, subsetting a
data.frame by rows (or subsetting a matrix by columns or rows) still
does deep copies. In particular, it is my understanding that running a
command on a very large subset of rows (say
2008 Jun 09
0
Error when executing "rake db:migrate" with frozen Rails 2.1.0 on Media Temple
I''m hoping someone might have some insight into this, because I don''t
quite know how to figure this one out. I''m running the command with
Capistrano''s deploy:migrate to my (mt) Media Temple (gs) Grid Server,
but I get the same error (from "rake aborted!" and on below) when I
run "rake db:migrate" directly on the server in the
2007 Jun 19
1
Display Options While Paginating
I have a table full of articles that I want to paginate. Easy enough
with:
[Controller]
@article_pages, @articles = paginate(:articles, :per_page =>
20, :order => ''post_date DESC, title ASC'')
BUT, there are different types of articles: regular news articles
(designated NA), and press releases (designated PR).
If I want to put each type in a different table on the same
2008 Jan 21
4
Caching CSS Issue
I have a problem I was hoping someone could shed some light on. I
noticed that with every request to my server, the css file was being
requested. I went ahead and made a static link to the css file so
there is no query string at all, but still I see the requests coming
in with each request. Do I need to do anything else (in the response
header maybe?) to make sure that browsers will cache the
2006 Mar 16
1
Mixing FTP and HTTP file transfers
How do I deal with this?
A content management system which writes to a user's directory as user
apache.
A customer that wants to be able to FTP through a FTP client and vsftpd
those same files up and down, which is presently set to work with only
their username.
I don't want everything set 777 or even 707. Is there a way to allow a
particular user to download and upload files owned
2010 Apr 08
0
Debootstrap method fails to get release file file http://ftp.us.debian.org/debian/dists/lenny/Release
I am setting up a DomU Debian on Xen on an LVM.
Step 1
Debian Dom0 which has a Volume Group named virtualization.
I edited /etc/xen-tools/xen-tools.conf
and with some appropriate changes I to create image
I executed
xen-create-image --hostname=vignettes --size=150Gb --swap=4Gb
--ip=172.21.100.151 --force --memory=2Gb --arch=amd64 --role=udev
Step 2.
Now things go smoothly until I get
2007 Jul 26
0
(Update) Digium FTP server will be replaced with HTTP server
Some time in the next two weeks, Digium will be shutting down our FTP
server, located at ftp.digium.com, and begin using only the existing
HTTP server on the same system instead.
We have decided to only offer our public downloads over the HTTP
protocol, not the FTP protocol, primarily for reasons related to our
marketing department :-)
The site has a new name, downloads.digium.com, and will also
2007 Jul 26
0
(Update) Digium FTP server will be replaced with HTTP server
Some time in the next two weeks, Digium will be shutting down our FTP
server, located at ftp.digium.com, and begin using only the existing
HTTP server on the same system instead.
We have decided to only offer our public downloads over the HTTP
protocol, not the FTP protocol, primarily for reasons related to our
marketing department :-)
The site has a new name, downloads.digium.com, and will also
2005 Jan 11
0
New public rsync/http/ftp mirror of CentOs Linux in Asia
Hi
Following public mirror for CentOS Linux is available.
Please add our URL's to the Download/Mirrors pages of CentOS.
ftp://ftp.riken.jp/Linux/caos
http://ftp.riken.jp/Linux/caos
rsync://ftp.riken.jp/caos
WAN Connectivity : 1 Gbps (Tire 1)
rsync update : four times per day to mirror.caosity.org::cAos
city/state/Country : Wako/Saitama/Japan
Best Regards,
Takashi Ichihara (
2006 Sep 01
0
OT: How to make files placed into FTP directory avai lable via http
Ed Morrison wrote:
> I'm hoping someone out there can tell me or direct me on where to find
> this info on how to make files placed into an ftp directory available
> via an url link in an email. I will have a staff member upload the
> files to a directory on my ftp server (which is also the web server)
> and the files would have to be automatically linked to a web
>