search for: actor

Displaying 20 results from an estimated 271 matches for "actor".

Did you mean: factor
2006 Aug 16
3
Question RE Rails associations
Hi, I am new to Ruby and Rails programming and am having difficulty with the following scenario... Consider the following model: class Studio < ActiveRecord::Base has_many :movies has_and_belongs_to_many :actors end class Movie < ActiveRecord::Base belongs_to :studio has_and_belongs_to_many :actors end class Actor < ActiveRecord::Base has_and_belongs_to_many :studios has_and_belongs_to_many :movies end The underlying database structure is as follows: studios id: integer movies i...
2008 Sep 30
2
[LLVMdev] Integer handling
OvermindDL1 wrote: > > It is using the Actor-Oriented model, not Object-Oriented. > /* snip */ > By keeping the type system based on the actual types it allows > arbitrary message passing to any other actor without needing to load > any code relating to the actors, you can just send a structure with > the appropriate ID and for...
2008 Sep 30
0
[LLVMdev] Integer handling
...ems like your language is very high level indeed (it almost sounds > dynamic). If you can pass arbitrary messages without needing to statically > know the type of anything, and pass data transparently from one machine to > another. It is in no way dynamic, everything is compiled down. All Actors are fully compiled code, each could be akin to its own Process. Each Actor has its own event loop, parses its own messages, etc... When a Message is sent you just build up a structure and send it off. At compile time the structure is stuffed into a bitstream with some metadata at the front descri...
2013 Jun 15
2
Plotting two y-axis vs non-numeric x-axis
...axis, for example if I replace time <- seq(0,72,6) by month <- c("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","Pag") Ofcourse I use factor(month) instead of time; but I didn't get similar plot as the example shown. any help is greatful ;) month <- c("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov",&qu...
2009 Apr 16
0
[LLVMdev] LLVM and coroutines/microthreads
...coroutines entailed and the thread died out. >  This technique has an unfortunate number of names, but it does get a > lot of use, including popular languages like Ruby. > > I'm currently working on a programming language called Minnow > (http://www.minnow-lang.org).  It's an actor-based language, where > each actor has its own microthread.  In the current implementation I'm > manually saving and restoring the stack and live variables by hand to > get this effect.  After spending months wrestling with these manual > continuations, I can safely say they are a t...
2009 Apr 16
2
[LLVMdev] LLVM and coroutines/microthreads
...me confusion as to what coroutines entailed and the thread died out. This technique has an unfortunate number of names, but it does get a lot of use, including popular languages like Ruby. I'm currently working on a programming language called Minnow (http://www.minnow-lang.org). It's an actor-based language, where each actor has its own microthread. In the current implementation I'm manually saving and restoring the stack and live variables by hand to get this effect. After spending months wrestling with these manual continuations, I can safely say they are a total pain in the but...
2010 Mar 18
3
Using indexing to manipulate data
...one of R's advantages is it's ability to index, eliminating the need for control loops to select relevant data, so I thought this problem would be easy. I can't crack it. I have looked through past postings, but nothing seems to match this problem I have a data set with one column of actors and one column of acts. I need a list that will give me a pair of actors in each row, provided they both participated in the act. Example: The Data looks like this: Jim A Bob A Bob C Larry D Alice C Tom F Tom D Tom A Alice B Nancy B...
2001 Feb 26
2
R ignoring quantile() in source()d file
Can anyone explain this behavior? Essentially, I've created a short file to be read in via source() that gets some descriptive information on a series of variables in a data frame. For each variable, I do three things: print('last.hc.actors') quantile(last.hc.actors,probs=seq(0,1,0.1),na.rm=T) stem(last.hc.actors) where the variable name is (in this case) last.hc.actors. All that is fine, except that R seems to quietly ignore all the quantile() steps. I narrowed it down to bare minimum, trying with a file, test.R, that contain...
2010 Apr 10
3
nfs-alpha feedback
...: hashcount 2, xlid 0, gen 5458285267163021319, ino 11856898, offset: 1129578496, count: 65536, UNSTABLE [2010-04-09 23:37:33] D [rpcsvc.c:1790:rpcsvc_request_create] rpc-service: RPC XID: 7068c85f, Ver: 2, Program: 100003, ProgVers: 3, Proc: 7 [2010-04-09 23:37:33] D [rpcsvc.c:1266:rpcsvc_program_actor] rpc-service: Actor found: NFS3 - WRITE [2010-04-09 23:37:33] D [rpcsvc.c:1266:rpcsvc_program_actor] rpc-service: Actor found: NFS3 - WRITE [2010-04-09 23:37:33] D [rpcsvc.c:1266:rpcsvc_program_actor] rpc-service: Actor found: NFS3 - WRITE [2010-04-09 23:37:33] D [rpcsvc.c:1266:rpcsvc_program_actor...
2008 Sep 30
0
[LLVMdev] Integer handling
...8:49 PM, Matt Giuca <mattgiuca at gmail.com> wrote: > /* snip */ The language I am making is not a traditional scripting language, it is designed for heavy math work. It has not classes, the basic data structure is a struct, yet even those are only used to pass messages. It is using the Actor-Oriented model, not Object-Oriented. I have been creating it to deal with taking the heavy computations and 'offloading' them from the main program in such a way that it can take advantage of multiple cpu cores, or even multiple computers, in a more transparent way, so I was intending for...
2009 May 12
4
has_many :through and scopes: how to mutate the set of associated objects?
...ts << Person.find_by_name(''Steve McKing'') m.participant_ids = params[:movie][:participants] With the given has_many :through, none of these work, as Role object won''t validate without a role type. Anyway, what I would like to write is m.participants.as(''actor'').clear m.participants.as(''actor'') << Person.find_by_name(''Steve McKing'') m.participants.as(''actor'') = Person.find(params[:movie][:participants]) I''m not sure this is possible with ActiveRecord as it is, but I''m...
2007 Sep 10
6
RSpec view spec writing problem (unable to generate url_for in RESTful resource link_to)
...code: - I''m using a restful design - I''m using nested (multiply nested) resources - I am trying to test a show.rhtml view, that includes links (link_to) to resources managed by another controller - The use_case model has a many-to-may through relationship with actors, and I''m displaying links to the associated actors on the use_case page - I can''t get the links to generate when running rspec (but it works great in the app) - I am in the early stages of the project, and want to move forward BDD, but I have some existing code tha...
2008 Sep 30
2
[LLVMdev] Integer handling
OvermindDL1 wrote: > > I know why it was removed, and it does make sense, just would be nice > if there was an option to be able to get two pointer to a specific > llvm::IntegerType, functionally they would be identical, but for user > code (hence, my code) would be useful as I could match it for the > different ones at generate different code for each. > Well a language
2008 May 20
0
[PATCH] Fix compilation on 64-bit platforms
...iles changed, 5 insertions(+), 5 deletions(-) diff --git a/swfdec/swfdec_text_field_movie.c b/swfdec/swfdec_text_field_movie.c index 1f7bc4b..729c2e2 100644 --- a/swfdec/swfdec_text_field_movie.c +++ b/swfdec/swfdec_text_field_movie.c @@ -524,7 +524,7 @@ swfdec_text_field_movie_mouse_cursor (SwfdecActor *actor) { SwfdecTextFieldMovie *text = SWFDEC_TEXT_FIELD_MOVIE (actor); double x, y; - guint index_; + gsize index_; const SwfdecTextAttributes *attr; gboolean hit; @@ -559,7 +559,7 @@ swfdec_text_field_movie_mouse_press (SwfdecActor *actor, guint button) { SwfdecTextFieldMovie...
2017 Jan 13
11
[Bug 99396] New: Crash in nouveau_dri.so when switching apps with alt-tab in Gnome
...r-cogl.so) #17 0x00007f63af126909 cogl_texture_new_from_bitmap (libmutter-cogl.so) #18 0x00007f63b277e143 n/a (libmutter-clutter-1.0.so) #19 0x00007f63b275a85d clutter_actor_continue_paint (libmutter-clutter-1.0.so) #20 0x00007f63b2760aab n/a (libmutter-clutter-1.0.so) #21 0x00007f63b463daa0 n/a (libgnome-shell.so) #22 0x00007f63b1f26ecf g...
2006 May 26
3
capistrano on windows (again)
....8/gems/net-ssh-1.0.9/lib/net/ssh.rb:47:in `new'' c:/ruby/lib/ruby/gems/1.8/gems/net-ssh-1.0.9/lib/net/ssh.rb:47:in `start'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/ssh.rb:31:in `connect'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:25:in `connect_to'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:397:in `establish_connections'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:396:in `each'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capist...
2006 Aug 17
1
More on n-way.
...threads on the list, but I think they don`t solve my case, or I didn`t understand how all of it works. I''m new to Rails, so be pacient. :) I''ll use an example of movie catalog, I''m realing doing a kind of movie catalog, for laerning rails, and I did this: Models: Movie, Actor, Director, Writer, Country, Language The Movie model HABTM Actor, Director and Writer, and belongs_to Country and Language @Movie id name country_id language_id year Join tables: movies_actors movies_writers movies_directors Everything works! But I have a situation where I can have an *Actor*,...
2006 May 24
0
capistrano on windows
....8/gems/net-ssh-1.0.9/lib/net/ssh.rb:47:in `new'' c:/ruby/lib/ruby/gems/1.8/gems/net-ssh-1.0.9/lib/net/ssh.rb:47:in `start'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/ssh.rb:31:in `connect'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:25:in `connect_to'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:397:in `establish_connections'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:396:in `each'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capist...
2006 Apr 18
3
Capistrano and Certificates
...d.rb:39:in `sleep'' /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/command.rb:39:in `process!'' /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/command.rb:26:in `process!'' /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:176:in `run'' /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:425:in `execute_on_servers'' /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:173:in `run'' /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano...
2005 Nov 07
5
Switchtower deployment
Hi, Has anyone experiences using SwitchTower (Windows) in a shared hosting environment (Textdrive)? I already patched the SwitchTower rake tasks (I don''t know if someone is interested on it), but i still experience some problems (not in the sudoers list, ...). Thank you for answer (and thank you to the textdrive guys, i never had a such fast support!) -- Jean-Etienne Durand