Displaying 20 results from an estimated 800 matches similar to: "RSpec for testing REST webservices? (Not Rails)"
2008 May 21
1
Testing REST webservices? (Not Rails)
Hi,
I am new to RSpec and BDD.
I was wondering if RSpec specifications are a good solution for testing
REST webservices (not implemented in Rails).
If so, what would be a good way to test something like the API described
below?
===========
GET http://localhost/workflow text/xml
Result: 200 OK
<?xml version="1.0"?>
<workflows>
2015 Nov 02
2
[StructurizeCFG] Trouble with branches out of a loop
Hi,
I've been investigating the StructurizeCFG pass, and it looks like it has
trouble handling CFG edges that break out of a loop and go directly to the
function exit. Am I running up against a bug in the structurizer, or a
general limitation of the algorithm used? As an aside, is there any
documentation for the algorithm used? Is it based on a published paper?
The input IR I have is the
2017 May 11
0
Samba shows error NT Status: STATUS_OBJECT_NAME_NOT_FOUND when copying 10GB file using robocopy when ecryptfs file system shared using samba
I shared raid 5 array which is mounted using ecryptfs to a windows 10 client using samba share . When i do a robocopy of file greater than size of 7GB the samba throws an error NT Status: STATUS_OBJECT_NAME_NOT_FOUND which can be observed in wire shark .
Setup :
----------
Host with ubuntu 16.01 -------------------> windows 10 client
(Samba server,
2017 Sep 18
1
Samba shows error NT Status: STATUS_OBJECT_NAME_NOT_FOUND when copying 10GB file using robocopy when ecryptfs file system shared using samba
Hi ,
I shared linux directory which is mounted using ecryptfs to a windows 10 client using samba share . When i do a robocopy of file greater than size of 7GB the samba throws an error NT Status: STATUS_OBJECT_NAME_NOT_FOUND which can be observed in wire shark .
Setup :
----------
Host with ubuntu 16.01 -------------------> windows 10 client
(Samba
2003 Aug 07
0
predict(lm(etc.), some_data) -> "numeric envir arg not of length one " ???
I've got a data frame with two numeric variables, df$flow and df$flow1.
> tl <- lm(flow~flow1,df,na.action=na.exclude)
> tlo <- loess(flow~flow1,df,na.action=na.exclude)
Both loess and a simple linear model fit the data well.
summary(tl) and summary(tlo) seem reasonable. As do plots such as:
plot(predict(tl),df$flow)
plot(predict(tlo),df$flow)
I want to replace missing values
2010 Jan 20
6
routing multiple network cards on a single subnet
I have dealt with machines that have multiple network cards in them
before, but never when they were on the same subnet so this issue has
never come up before.
My problem is that I can only access one IP address at a time. I
started out using dhcp and found that if I went through the dhcp
song-and-dance then that address became active and the other one was
disabled, and vice versa.
On our local
2006 Jul 19
1
Updating a model from a checkbox (noob question)
Hello everyone,
I''m trying to wire a combobox in a view to update the database. When I
select something in the combobox and press ''update'' it goes through
fine, except it places the default value for the field of the combobox.
Any suggestions?
Here''s the model:
class TestResult < ActiveRecord::Base
has_one :status_index
has_one :test_type
has_one
2014 Jul 31
2
Samba4 creating share and setting permissions without windows tools
Hello,
I need a way to set permissions to share folder without to use RSAT, I've
not found anything about that.
The samba wiki said that
---------------------
Change permissions on folders of a share
Changes of permissions are done using the classic *nix tools 'chmod',
'chown' and 'chgrp'.
Example:
Code:
# mkdir /srv/samba/Demo/Example/
# chown foobar:DemoGroup
2005 Mar 07
2
SIP and ISDN
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/bmp
Size: 2918 bytes
Desc: Picture (Metafile)
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050307/cb404791/attachment.bmp
2006 May 23
6
OT: best books
Hopefully this isn''t completely inappropriate, but lately I''ve been curious
about what books people have found most helpful in their development as
programmers. If one of the icons like Dave Thomas, DHH, Mike Clark, Andy
Hunt et al could weigh in that''d be awesome :)
Here are some of my favorites:
Refactoring, Martin Fowler
Mastering Regular Expressions, Friedl
2024 Sep 17
0
Degree of freedom issue on chi-square test of goodness of fit
I am running chi-square test of goodness of fit, the observation data was
well groupped to observation freq. I assume the data obey the normal
distribution N(? ?^2), while ? and ?^2 are unknown. So I use their
estimation. Consequently, I calculated out the probabilities and input in
vector p
>x<-c(6,13,14,27,25,19,10,6) #observation freq>p<-c(0.0505, 0.0874, 0.1533, 0.2088, 0.2088,
2008 Jan 28
9
Nested matchers
We''re encountering a failure with Mocha 0.5.6.
We had this expectation:
game_version.expects(:attributes=).with(:game_file =>
kind_of(GameFile), :game_id => @game.id)
This expectation was passing with 0.5.5, but fails with 0.5.6.
I added this test to parameter_matcher_acceptance_test.rb, which
passes in 0.5.5 and fails in 0.5.6
def test_should_match_nested_parameters
2016 Nov 07
6
Need help getting two NICs to work on CentOS 7
Hello all
Here is the scenario: We have a mail server VM which currently has two
virtual NICs attached to it. One NIC is has an IP on a subnet with a
default gateway defined and the other NIC has an IP on a different subnet
with a different gateway on a different VLAN defined. Now when I activate
both NICs, and run an ifconfig -a, I see that both IP addresses are
showing. Now here is the
2006 Jul 20
6
Ruby on Rails & FastCGI 500 Error
I''m getting an error 500 and I''m at my wits end as to what could be
causing it. I''m sure the path to the ruby executable is correct so what
else could be causing it?
--
Posted via http://www.ruby-forum.com/.
2008 Aug 21
3
Boxplot 5% and 95% quantile instead of 25% and 75%
Hi,
I'm new to the whole R-thing as a replacement for Matlab, not disappointed sofar ;)
I found out how to make nice looking boxplots, but i also would like the make a boxplot with 5% and 95% instead of the standard 25 and 75% quantiles.
My csv input looks something like:
LOCATION FILTER NR DATE VALUE MONTH
Peelhorst01 1 14-Jan-94 23.07 1
Peelhorst01 1 28-Jan-94 23.68 1
Peelhorst01 1
2006 Jan 23
1
How to call C# webservices
hey,
i have created some webservices in C# with vb.net and IIS.
i can go to them with http://localhost/Twodecode.Webservices/webservices.asmx
Like:
[Webservice]
AddCity(string zip, string city)
{
...do some stuff
return "SUCCES";
}
How must i call this from ruby??
I save an object, and then call the services.
city = City.new()
if city.save
//call webservice
else
//do
2014 Jul 22
3
Question: Publishing R/S objects with WebServices (SOAP/WSDL)
Hello,
Can anyone tell me if there is a package which will allow me to write a
package in R, then publish the package using WebServices? The idea is that
I want to be able to pass a data set into R, have R perform the
calculations, then send the result back to either a .Net application or a
LIMS BASIC application.
So far I see many packages that allow R to consume WebServices, but I
haven't
2006 May 18
0
Re: WebServices and DateTime - 3 elements of civil date are
> -----Original Message-----
> From: rails-bounces@lists.rubyonrails.org
> [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of
> Chris Goodwin
> Sent: Thursday, May 18, 2006 2:24 PM
> To: rails@lists.rubyonrails.org
> Subject: [Rails] Re: WebServices and DateTime - 3 elements of
> civil date are
>
>
> Are you using Windows? I ran into the same problem.
2007 Jun 16
1
exemple html
Bonjour, je voudrait savoir si il est possible d''aller chercher des flux rss et d''affiché les pages web avec l''exemple que vous donnez dans wxruby2: ''html'', car je cherche une bibliothèque ou autre qui puisse me permettre de faire celà.
merci
Sebastien
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
2006 Jul 13
0
webservices and date time error - part 2
Hello,
When I am trying to receive an array of objects, retrieved by
ActiveRecord from table with datetime column, while using using
ActionWebServices I get the error:
ArgumentError: 3 elements of civil date are necessary
Daniel Berger, posted that this might be fixed by changing the timezone format
in the Windows registry.