search for: concept

Displaying 20 results from an estimated 7693 matches for "concept".

2006 May 06
6
assert_raises --> how does it work?
Hi, I have this code fragment: def test_delete_concept assert_not_nil Concept.find(concepts(:entreprise).id) get :delete_concept, {:concept_id => concepts(:entreprise).id} assert_raises :RecordNotFound, Concept.find(concepts(:entreprise).id) end basicaly, on the first line, I make sure that the concept exist in the DB. On the second...
2006 May 20
3
Navigation between DB Items with active Record
...ollowing 4 models: class Client < ActiveRecord::Base has_many :client_variations has_many :variations, :through => :client_variations end class ClientVariation < ActiveRecord::Base belongs_to :client belongs_to :variation end class Variation < ActiveRecord::Base belongs_to :concept has_many :client_variations, :dependent => :destroy end class Concept < ActiveRecord::Base has_many :variations, :order =>"id", :dependent => :destroy end How can I get one of the Concept record associated with a specific Client? So far I have this: temp = clients(:a...
2006 Apr 30
0
weird error when running my unit tests
How can this be possible: I have two tests: def find_all_active_and_inactive assert_equal Concept.find_all_active_and_inactive.size, @concepts.size end and def test_find_all_inactive assert_equal Concept.find_all_inactive.size, (@concepts.size - Concept.find_all.size) end Concept.find_all returns 2 concepts (I overwrote the method to return only the active concepts) Concept.find...
2010 Mar 29
4
Confusing concept of vector and matrix in R
Why does R need the concept of "Vector"? In my opinion, it is a useless and confusing concept. A vector is simply a special case of a matrix whose row or column number is equal to 1. When I take submatrix from one matrix and if row or column number is 1, R will automatically convert it into a vector. It is very...
2011 Jul 18
4
Understanding R's "Environment" concept
Hi all, I am trying to understand the R's "environment" concept however the underlying help files look quite technical to me. Can experts here provide me some more intuitive ideas behind this concept like, why it is there, what exactly it is doing in R's architecture etc.? I mainly need some non-technical intuitive explanation. Thanks,
2011 Jul 18
4
Understanding R's "Environment" concept
Hi all, I am trying to understand the R's "environment" concept however the underlying help files look quite technical to me. Can experts here provide me some more intuitive ideas behind this concept like, why it is there, what exactly it is doing in R's architecture etc.? I mainly need some non-technical intuitive explanation. Thanks,
2006 May 17
0
teardown not cleaning the BD?
...m a bit confused, I have a few functionnal tests were I add/delete records on top of the ones provided in the fixture and it seems like the records are surviving the teardown. Isnt teardown supposed to be ran after each test? So if I have something like: def teardown Client.delete_all Concept.delete_all Variation.delete_all ClientVariation.delete_all end All the records from my DB should be deleted... Well, when I run my test, I get a faillure on a test that is supposed to make sure that a specific record is deleted. When I look at the DB, the record is still there. The t...
2017 Jun 26
2
About the concept of "materialization"
I’m current debugging one of my LLVM passes which utilized inline assembly. I constantly encounter crashes related to “value materialization”, according to the error messages I received. It seems a big concept in LLVM (or maybe generally in compilation), but I cannot find any document that is comprehensive enough to help me understand what exactly materialization is for. Could someone offer some pointers to useful materials introducing this concept or just explain it to me if it is straightforward enough...
2018 May 20
3
Loop Function to Create Multiple Scatterplots
Hello, I am trying to create multiple scatter plot graphs. I have 1 independent variable (Age - weeks post conception) and 18 dependent variables ("Gene n" Expression) in one csv file. Is there a way to set up a looped function to produce 18 individual scatterplots? At the moment, I am writing the plot() function out 18 times to make the 18 graphs. My code is below and csv file is attached. *Code* wd...
2004 Oct 03
3
Help with concept.
G'Day All, I have read a lot but still have not got the concept in my head. My ultimate goal is to setup asterisk with VOIP at my job but am working on setting one up at home first. I have a 10/100 network at home with Cable broadband and would like to setup a server with RedHat and Asterisk. Do I MUST HAVE a VOIP provider so as to be able to make and receive...
2011 Oct 20
2
Aggregating data help
Hello, I have a dataset with student performance on a math test. There are multiple cases for each student (identified by id) and the concept as a variable. > rtest id test subject grade concept correct tested per_corr year 1 1 83 Mathema 8 8.2.D 1 1 100 2011 2 1 83 Mathema 8 8.3.A 1 2 50 2011 3 1 83 Mathema...
2007 Jul 27
1
Asterisk advanced concepts
Hello, I am interested in knowing what are the advanced topics that can be learned in Asterisk. It would be helpful if there are any reference books or tutorials on Asterisk that cover advanced concepts on Asterisk. Thanks in advance! A Successful Person Is The One Who Can Lay A Firm Foundation With The Bricks That Others Throw --------------------------------- Why delete messages? Unlimited storage is just a click away. -------------- next part -------------- An HTML attachment was...
2009 Apr 10
2
Concept: Wine as a workspace
...r people think, am I the only one who would like this or do other peopel thin its a good idea too? Also I a not sure how hard it would be to do, maybe there is a simple tweak or maybe it needs a lot of changes to the source. Anyway a quick mockup is below. [Image: http://madnessred.co.cc/anthony/concept.jpg ]
2007 May 01
2
Concepts question: environment, frame, search path
Folks: I'd appreciate if someone could straighten me out on a few concepts which are described a bit ambiguously in the docs. 1. data.frame: ---------------- Refan p84: 'A data frame is a list of variables of the same length with unique row names, given class "data.frame".' I probably don't need to point out how opaque that is! Anyhow, key que...
2017 Jun 05
4
IAX port 4569
I think you need to increase verbose output and search in /var/log/asterisk/full for any error message related to IAX2 registration or simil. 2017-06-05 17:12 GMT-03:00 <thelma at sys-concept.com>: > No, I don't think it is IP table issue, I've not upgraded dd-wrt for a > while and it was zoiper was working OK with my previous version of > asterisk. > > After upgrade to 11.25.1 it stop working. > I'm sure port forwarding on dd-wrt is working OK as I hav...
2017 Jul 01
0
How to replace match words whith colum name of data frame?
Dear ?, I'm sure that there are many ways to do what you want; here's one: > cbind(concept_df, category= + ifelse(apply( + sapply(chemical_df$chemical, + function(x) grepl(x, concept_df$concept)), + 1, any), + "chemical", "")) concept category 1 butan acid...
2013 Feb 28
1
postfix, dovecot, samba, winbind
...nfortunately when Postfix tells Dovecot to deliver the mail he submit the username without the AD-Domain part: Feb 28 17:17:59 tpdc postfix/pickup[30396]: 5DDAE2C0C2B: uid=0 from=<root> Feb 28 17:17:59 tpdc postfix/cleanup[30402]: 5DDAE2C0C2B: message-id=<20130228161759.5DDAE2C0C2B at mx0.concepts-and-training.de> Feb 28 17:17:59 tpdc postfix/qmgr[30395]: 5DDAE2C0C2B: from=<root at concepts-and-training.de>, size=463, nrcpt=1 (queue active) Feb 28 17:17:59 tpdc dovecot: lda(dwitt): msgid=<20130228161759.5DDAE2C0C2B at mx0.concepts-and-training.de>: saved mail to INBOX Feb 28...
2017 Jun 05
3
IAX port 4569
...0 0 0.0.0.0:4569 0.0.0.0:* 10244/asterisk Att, H?lvio Junior dCAA - Digium Certified Asterisk Administrator SafeId - Gest?o de identidades e Acessos +55 41 | 9 9855-9300, single-sign-on.com.br helvio.junior at safetrend.com.br Em 05/06/2017 17:22, thelma at sys-concept.com escreveu: > Yes, it is working! > > tcpdump -ni any port 4569 > dropped privs to tcpdump > tcpdump: verbose output suppressed, use -v or -vv for full protocol decode > listening on any, link-type LINUX_SLL (Linux cooked), capture size 262144 bytes > 14:20:42.184521 IP 10.0....
2006 May 19
1
Need help with a test
Hi, I have this controller method that I need to test: def link_concept_to_client concept_to_link = Concept.find(params[:concept_id]) # take all the variations for the concept for variation in concept_to_link.variations new_client_variation = ClientVariation.new new_client_variation.client = session[:active_client] new_client_variation.var...
2005 Jan 10
1
Could anyone explain the slot and bucket concept in SFQ to me?
Dear all, I''m reading codes in sch_sqf.c in kernel 2.4 of Linux. I find I messed up with the concept of slot, bucket and hash tables. Could anyone explain the data stucture of the hash tables a little to me. Thanks very much. Best, Franklin BTW: I can not understand why the number of entries of dep[SFQ_DEPTH*] should be twice:( _______________________________________________ LARTC mailing list...