similar to: describe scope

Displaying 20 results from an estimated 300 matches similar to: "describe scope"

2007 May 24
4
Multiple EM connections on separate threads
Hi EM Gurus, I''m hoping someone can shed some light on the following... I''m using a 3rd party (legacy) server that can accept up to 8 simultaneous connections on one port. I''ve been able to make multiple connections to this server from within one call to EventMachine::run {...}. Specificaly, I can access each connection separately using: em_thread = Thread.new do
2007 Sep 12
2
A puzzling spec failure in a shared describe
Hi, Thanks for all the effort that has gone into making RSpec available. I''m not a professional developer and I''ve found the approach articulated has helped me a lot in writing my code, and understanding that of others. To cut my teeth, I''m trying to write an db adapter for the og project. I''ve being iterating with RSpec and it''s exposed some
2007 Dec 27
5
ExampleGroup and SharedExampleGroup relationship(?)
I''m working on a series going over the source code for rspec, and I ran into something interesting with ExampleGroup and SharedExampleGroup. I was wondering if anyone could shed light on it. [NOTE: I''m working through the code for my own edification in learning Ruby. Ruby has some features that I think are incredibly cool, so I''m using a concrete implementation (RSpec)
2007 Sep 10
2
Removing an AR class definition, for testing plugins
I''m writing an acts_as_* plugin and am trying to BDD it. Ideally my specs would look like: describe ActsAsCloneable, " basic cloning" do load_example_classes School.class_eval do acts_as_cloneable end before(:each) do @old_school = School.create! :name => "Baylake Pines", :city => "Virginia Beach", :guid => "abc123"
2006 Mar 23
1
RMySQL's column limit
Dear R-users, First, thank you to the developers for the very useful R-library RMySQL. While using this library a recieved an error message: RS-DBI driver: (could not run statement: Too many columns) The statement that generated the error was: dbWriteTable(dbcon, "simdataseries", template, overwrite = TRUE, row.names = FALSE ) I am assuming this is a RMySQL rather than MySQL limit.
2007 Oct 28
4
A better way to stub out constants
Hi Something that''s gnawing at me... to avoid using the SQLite3 gem I''m stubbing it out like this: before(:each) do @database = mock("SQLite3 database") SQLite3 = Module.new SQLite3::Database = Class.new SQLite3::Database.stub!(:new).and_return(@database) end But then it keeps nagging me:
2004 Mar 03
3
Adding text (coefts) to pairs panels
Hi, First of all, thanks for the efforts of all the developers and contributors - I'm very new to R and at the moment am just using it to create some graphics, but it seems to be quite powerful. I've googled the archives and wasn't able to find anyhting that dealt with this problem, so would appreciate any suggestions/tips. In a pairs plot I'd like to plot a linear regression line
2012 Jun 13
3
Default Route disappear
Hi I have a default route to 192.168.1.1 as soon as I start shorewall the default route dissapear. What do I need to do to have it not disappear. Kind Regards My network setup /etc/network/interfaces: # The primary network interface auto eth0 iface eth0 inet static address 192.168.1.17 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255
2004 Mar 04
4
Accurate area map projections
Hi, Could any one point me to the projection, and parameters if necessary, that would show each country/continent with it's area accurately refelcted on the plot? E.g. aitoff vs. albers vs. bonne vs. cylequalearea vs. guyou - they don't all look the same to mee but some of the documentations suggests they are equal area? Of course this isn't my field, so I am largely guessing and am
2020 Nov 18
2
Should I add intrinsics to write my own automatic reference counting passes?
My experience with LLVM is limited, but I am trying to figure out how to add optimizations for automatic reference counting. The GC documentation mentions that patch-points could be useful, but it does not state how they would be useful. If this is a FAQ, please let me know... So this is my idea at this point: The context is a C++ like language with an aggregate type that is always reference
2007 Mar 10
2
upgrading rails to 1.2.2 giving me mongrel errors
I''m working on upgrading to rails 1.2.2 from 1.1.6 and getting the mongrel error below in development mode. Now things seem to work fine with 1.1.6and 1.2.2 (in prod mode). Any ideas what might cause this? Googling gave me very little to work with. This was the closest thing i found http://dev.rubyonrails.org/ticket/6716 I''m running Ubuntu with mongrel 1.0.1 and fastthread
2006 Oct 09
1
Problem with routing
Hi All I have the following setup Users ------- Machine A ----------- Machine B ----------- Machine C >From machine A to B: Ipsec VPN Allows 192.168.10.0/24 (Users) to connect to 192.168.20.0/24 (Network on machine B) >From machine B to C: Ipsen VPN Allows 196.44.33.118 to coccent to 192.168.241.65 (machine C) I want to rewrite 192.168.20.33 to 192.168.241.65 This can be done
2007 Jan 24
7
Ferret problems with Rails 1.2.1
Hi, I''ve just updated rails from 1.1.6 to 1.2.1 and I''m getting the following errors whenever I load a page that uses a class that uses ferret. I have ferret 0.10.13 and acts_as_ferret. They were working fine before the upgrade. #<NameError: cannot remove Object::WildcardQuery>
2004 Mar 04
2
Alternative mail archives?
I have no solution. However I wonder why the mail archives at https://www.stat.math.ethz.ch/pipermail/r-help/ are not searchable by Google. That would perhaps be a solution otherwise, since you can restrict Google to search within just one site. (This applies to some other search engines too.) Since I am also interested in the possibility to search the archive I have just sent a question to
2006 Mar 30
1
Logger::Format not defined (NameError) [NOOB]
I have just installed apache2 / php4 / mysql and RoR on a clean and minimal Ubuntu (5.10) server. I have set up a test site and can reach the "Welcome on board" index page. However when I run "ruby script/generate contoller firsttest" I get the following error. ./script/../config/../vendor/activesupport/lib/active_support/clean_logger.rb:13:in `remove_const'':
2004 Mar 17
1
(no subject)
Hi Marc, Thanks for the response. Apologies for the lack of detail... I have used 'boxwex', 'at' and ylim, to place things nicely, except I know have some spare room at the end of the plot, which I would like to get rid of.... Your suggestion to use 'add' per the example is one I had not thought of. Does any one know of a simpler approach, to use add I'm need to
2004 Jul 21
2
where are sources diffs?
Hello all, I'd like to update my local src tree (from Wine 20040615), and I'd rather grab a diff instead of the full 10MB so tarball; the README in source.winehq.org refers to some 'Wine-yymmdd.diff.gz' but I can't find any of such. Did I overlook some infos, or are such diffs not available, and I'm supposed to use CVS? thanks -- paolo GPG/PGP id:0x21426690 kfp:EDFB
2008 Jul 25
21
Problems with mock assigned to a constant
Hi all, Initially I thought this was a bug in the built-in mocking framework(and it still may be), but I better hash it out on the mailing list before I file/reopen the ticket: http://rspec.lighthouseapp.com/projects/5645/tickets/478-mocks-on-constants#ticket-478-6 I thought my example illustrated my problem, but obviously I was passing the wrong arguments to the mock. I revised my example to
2005 Jan 10
2
Connecting Asterisk to a Toshiba Strata system
I'm interested in setting up Asterisk as a voice mail system for our Toshiba Strata CTX100 PBX. Our current voice mail system connects to the PBX with four analog extensions. Does anyone have information on how to integrate this kind of system with Asterisk? I've looked at the legacy integration section of the Wiki, but it doesn't seem to have anything about Toshiba systems. ---
2017 Mar 26
3
Tip: update dovecot MD5 password from PAM
It is a jolly bad idea to use the same password for both email and system access. On TLS+plaintext, if your passwords are slurped by a python script, all accounts are compromised. Congratulations, the NSA will love you. On the other side of the ocean, however, there are European states where you must disclose the fact, or go to jail. (I tried to protect dovecot passwords with bcrypt, but the