search for: symetrie

Displaying 20 results from an estimated 29 matches for "symetrie".

Did you mean: symetric
2006 Aug 27
6
how to get the words of a query
Hi, Using aaf to search pages, I wanted to present excerpts from the texts even when more than one term was used in the search. I came to some results, despite the difficulty caused by Unicode+ruby. The last problem I''m faced is to get the query words, without the logical articulation chars if any. Is there a clean way to get them ? -- Jean-Christophe Michel
2006 Dec 25
2
Active Record acts_as_tree and leaf depth
Using acts_as_tree, is it possible to get information of the depth a tree leaf in relation to the root? Or is available to derive information to save in the way "position" can be derived and saved for acts_as_list. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To
2007 Apr 29
1
better nested set and :through
Hello all, It''s been a while since i''ve been doing any rails development, so i''m a bit rusty. Having found this: http://opensource.symetrie.com/api/better_nested_set/ it looks really interesting and useful for solving something i''m trying to get working. What i have (essentially) is the following models: class Group < ActiveRecord::Base acts_as_nested_set has_many :memberships has_many :users, :th...
2006 Sep 03
9
using highlight from aaf
...edclass.ferret_index.searcher.highlight(@query, result_line.id, :content) * searcher is a protected method; how can I access to the searcher from aaf ? * is the doc id in aaf the same as my model id ? * is the first param, query, the string query or the query object ? Jean-Christophe Michel -- symetrie.com Better Nested Set for rails: http://opensource.symetrie.com/trac/better_nested_set
2006 Aug 06
2
better_nested_set plugin
...all siblings * children_count - count of all immediate children * children - array of all immediate childrens * all_children - array of all children and nested children * full_set - array of itself and all children and nested children Subversion repository: http://opensource.symetrie.com/svn/better_nested_set/trunk README and code browsing http://opensource.symetrie.com/trac/better_nested_set It''s in its very early version, though I already use it for three sites. Some tests and helpers to print trees to come. Suggestions, reports and comments welcomed. Jean-Chr...
2006 Jul 09
3
Mongrel and proxying with Apache 2 mod_proxy
Hi all, I''ve just spent some time going through trying to get mongrel & apache 2.0 working with mod_proxy. I thought I''d share what I''ve found in case someone is going through the same exercise. Of late, I''ve been using mongrel (lovely, btw) to run my rails apps. Since I have a couple of different rails apps running on the machine, I thought it be nice to
2006 Aug 28
1
strange 10 limit
Hi, I have a max_results limit of 10, whatever value I pass to max_results, even if I drop this option in my class. Same limit using script/console Myclass.find_by_contents(query) Ideas ? Using aaf 9.5. Jean-Christophe Michel -- symetrie.com Better Nested Set for rails: http://opensource.symetrie.com/trac/better_nested_set
2006 Aug 29
1
float/decimal with dot or comma
...o 1.1.4 -> 1.1.6 migration. (Yes I know, I should have more tests. Anyway I had to move to 1.1.6, isn''t it ? ;-) Here in dev, same version, same code (svn revision), it doesn''t happen. Ideas ? Dev box: mac os x.3.9, Prod box : debian sarge i686. Jean-Christophe Michel -- symetrie.com Better Nested Set for rails: http://opensource.symetrie.com/trac/better_nested_set --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyo...
2007 Jan 13
0
better nested set 0.1
...tly enhances ActiveRecord''s internal acts_as_nested_set. Install it with: script/plugin install svn://rubyforge.org/var/svn/betternestedset/tags/stable/betternestedset Join the mailing list: http://rubyforge.org/mailman/listinfo/betternestedset-talk Report bugs: http://opensource.symetrie.com/trac/better_nested_set/ A nested set is a smart way to implement an ordered tree that allows for fast, non-recursive queries. For example, you can fetch all descendants of a node in a single query, no matter how deep the tree. The drawback is that insertions/moves/deletes require complex SQL,...
2020 Jan 09
4
mean
Hello, Is there a reason for the following behaviour? > mean(c("1","2","3")) [1] NA Warning message: In mean.default(c("1", "2", "3")) : l'argument n'est ni num?rique, ni logique : renvoi de NA But: > var(c("1","2","3")) [1] 1 And also: >
2020 Jan 09
1
mean
I think median() behaves as designed: As long as the argument can be ordered, the "middle observation" makes sense, except when the middle falls between two categories, and you can't define and average of the two candidates for a median. The "sick man" would seem to be var(). Notice that it is also inconsistent with cov(): >
2020 Sep 25
0
[RFC PATCH 02/24] vhost-vdpa: fix vqs leak in vhost_vdpa_open()
On 2020/9/24 ??3:48, Eli Cohen wrote: > On Thu, Sep 24, 2020 at 11:21:03AM +0800, Jason Wang wrote: >> We need to free vqs during the err path after it has been allocated >> since vhost won't do that for us. >> >> Signed-off-by: Jason Wang <jasowang at redhat.com> >> --- >> drivers/vhost/vdpa.c | 11 ++++++++--- >> 1 file changed, 8
2006 Jul 13
0
how to generate api.rubyonrails.com as local ?
...) or at least propose a tar download, instead of the idea of wget -r that googles finds when searching for rake api :/ Jean-Christophe Michel -- Sym?trie, ?dition de musique et services multim?dia 30 rue Jean-Baptiste Say 69001 LYON (FRANCE) t?l +33 (0)478 29 52 14 fax +33 (0)478 30 01 11 web www.symetrie.com
2006 Mar 12
2
engines in edge
Hi, Engines is not working correctly for me with edge. I get: vendor/plugins/engines/lib/dependencies_extensions.rb:28:in `require_or_load'':NoMethodError: undefined method `log'' for Engines:Module I tried playing with Engines.create_logger at the end of config/environment.rb, but without success. ANy ideas ? PS: the Mailing List pages on rails-engines.org is empty :/ --
2006 Mar 23
3
migrations: how to have all data dumped into rb ?
Hi, I dumped the schema using rake db_schema_dump. Now how do I create a migration containing all the data I have in my dev db ? -- Jean-Christophe Michel
2006 Aug 22
3
synonyms
...to have ? (oelig) be equivalent to oe in French. Or maybe an utf8 normalization could achieve this last point easier ? Jean-Christophe Michel -- Sym?trie, ?dition de musique et services multim?dia 30 rue Jean-Baptiste Say 69001 LYON (FRANCE) t?l +33 (0)478 29 52 14 fax +33 (0)478 30 01 11 web www.symetrie.com
2020 Jan 09
0
mean
Jean-Luc, Please keep the communications on the list, for the benefit of others, now and in the future, via the list archive. I am adding r-devel back here. I can't speak to the rationale in some of these cases. As I noted, it may be (is likely) due to differing authors over time, and there may have been relevant use cases at the time that the code was written, resulting in the various
2007 May 02
3
acts_as_tree related question
hi, I''ve a normal Category model implemented with acts_as_tree (name, parent_id) that has_many :products (name, category_id). What I''m asking for is a method to fetch every product that belongs fall into a particular category and its children, eg: if I''m asking for a root node (/category/show/1) I need to display every product that have category_id = 1 AND every product
2006 Jun 20
2
Converting from acts_as_tree to acts_as_nested_set
I''m currently using acts_as_tree to display threaded Comments on my forums-like site. It''s waaay too slow to display a page with 1,000 comments, as it''s issuing a TON of selects. I''m pretty sure I want to convert to the nested set model, using acts_as_nested_set or acts_as_threaded. This should give me the performance I''m looking for. The problem,
2005 Dec 30
6
call a method once per page request
Hi, I''m wondering if there is a simple solution to call a method once per page request. I tried to place my call in a before_filter in ApplicationController but it''d called a second time if I use render_component from a view. Seems to me that a hook should be added in Dispatcher#prepare_application. Context: working on i18n, I''m trying to check lang either from uri,