similar to: how to better generalize a tree?

Displaying 20 results from an estimated 1000 matches similar to: "how to better generalize a tree?"

2008 May 01
20
link_to meta programming question
I am trying to create a dynamic menu using the following construct: <%- menu_list = [ ''first'', ''second'', ''third''] -%> <ul> <%- menu_list.each do |m| -%> <%= link_to "List All #{m.titlecase.pluralize} <m>_path %> <%- end -%> </ul> What I cannot determine is what I have to do to replace
2006 Jan 31
1
changing the default repositories
Hello, Is it possible to change the default repositories? I've already changed the list in the repositories file under etc/ this is how my repositories file under R/etc looks like: row name menu_name URL default source win.binary mac.binary CRAN CRAN @CRAN@ TRUE TRUE TRUE TRUE BioC Bioconductor http://www.bioconductor.org TRUE TRUE TRUE FALSE
2017 Nov 20
2
doveadm mailbox list -s Segmentation fault
Sorry, forgot to include it first time. bt full down below (gdb) bt full #0 0x0000000800d77e04 in mailbox_tree_traverse (tree=0x0, path=0x801c1a540 "INBOX", create=false, created_r=0x7fffffffe4f7) at mailbox-tree.c:103 node = (struct mailbox_node **) 0x10 parent = (struct mailbox_node *) 0x0 name = 0x801c1a540 "INBOX" str = (string_t *)
2013 Jun 18
2
Crashes at login time with freshest code
Hello, Dovecot keeps crashing at login time. Things were fine on 2.2.2 Fatal: master: service(imap): child 5014 killed with signal 11 Here is the trace: Core was generated by `imap'. Program terminated with signal 11, Segmentation fault. #0 0x00000000105cdfdf in mailbox_list_get_storage (list=0x7fffffffe310, vname=0x10a04ab0 "INBOX/spam", storage_r=0x7fffffffe308) at
2012 May 04
3
[GIT PULL] elflink fixes
Peter, Paulo reported some problems with his config files under ISOLINUX and PXELINUX - basically TIMEOUT and TOTALTIMEOUT were broken. The patches I've pushed to the elflink branch fix this and also fix parsing of the ALLOWOPTIONS config directive. The following changes since commit d5e02fb16a11bfdbce1e90a39e6cb5f2ad925389: get_key: Valid key values are positive (2012-04-17 11:25:53
2011 Aug 05
1
[PATCH 1/2] update comparison for presenting dowgrade/upgrade/install/reinstall options
rhbz#691679 Signed-off-by: Joey Boggs <jboggs at redhat.com> --- scripts/ovirt-config-installer.py | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/ovirt-config-installer.py b/scripts/ovirt-config-installer.py index ff2ccc8..cacce5e 100644 --- a/scripts/ovirt-config-installer.py +++ b/scripts/ovirt-config-installer.py @@ -29,6 +29,7 @@ import
2011 Apr 01
1
[GIT PULL] elflink ldlinux
The following changes since commit 8c576f1fe03e34879921311f46613a35c6530000: Merge remote-tracking branch 'mfleming/for-hpa/elflink/fix-compiler-warnings' into elflink (2011-03-16 12:53:58 -0700) are available in the git repository at: git://git.zytor.com/users/mfleming/syslinux.git for-hpa/elflink/ldlinux Matt Fleming (1): ldlinux: Perform auto-boot if NOESCAPE set in config
2005 Apr 24
0
utils::setRepositories bug when adding a local repository? (PR#7810)
Full_Name: John Gavin Version: 2.1.0 patched 18-04-05 OS: windows XP SP2 Submission from: (NULL) (139.149.1.203) Hi, I suspect that there may be a bug in utils::setRepositories(). Starting with > getOption("repos") CRAN CRANextra "@CRAN@"
2009 Mar 11
12
Eager loading comments associated with user submissions.
Hey everyone, I am working on an application that allows users to submit articles, and also comment on those articles. Pretty much exactly like Digg. Everything works fine except that when there are a lot of comments there are a lot of database queries to both fetch the comments and the users who posted those comments. I have used eager loading in other parts of my application to reduce the
2017 Nov 20
2
doveadm mailbox list -s Segmentation fault
Hey, I'm getting Segmentation fault when doing "doveadm mailbox list -s -u kristjan.eentsalu". doveadm mailbox list -u kristjan.eentsalu works fine. OS: FreeBSD 11.1-RELEASE-p1 Dovecot 2.2.33.2 , pigenhole 0.4.21 Trace and dovecot -n below GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you
2006 Apr 01
10
You have a nil object when you didn''t expect it!
Hi, I am creating a blog to learn ruby on rails. I have 2 different views/models/controllers, 1 called post and 1 called comments. How do i link a post from the views/post directory to the comments that belong to the post in the views/comment directory. This is the code in the post/show.rhtml <%= render :partial => "post", :object => @post %> <%= link_to
2005 Dec 27
7
help remove duplication in my app
I''m porting an old site of mine into Rails and I''m running into some duplication that could / needs to be weeded out. For each of my actions, I have to wrap the view content in the following HTML: <div class="box"> <img src="/images/content-top2.png" class="border" /> <div class="visible"> # content
2006 Apr 07
3
Ajax render a template
In my blog a user can add comments. I want an Ajax call to add the comment to the bottom of the comments list. How to i return a comment thats is in the comment template and add it to the bottom of the page. I have gotten as far as rendering some text back to the form and the comment doesn''t display until i refresh. This is my _newcomment.rhtml form to create a new comment <div
2010 Jan 21
1
Rgeneric.py assists in rearranging generic function definitions
I've attached a script I wrote that pulls all the setGeneric definitions out of a set of R files and puts them in a separate file, default allGenerics.R. I thought it might help others who find themselves in a similar situation. The "situation" was that I had to change the order in which files in my package were parsed; the scheme in which the generic definition is in the
2012 Apr 17
0
Request for adding an "alias"/"as" to ActiveRecord
I often find myself in situations where I''m fighting against ActiveRecord because there is no easy way to alias some tables. For example, I''m converting a legacy application. So, there is a ''condition_type'' table that actually should be something like ''fields''. Also it can have a parent field and deletion is handled by setting a
2011 Feb 17
5
[PATCH 0/4] Reduce core size
From: Matt Fleming <matt.fleming at linux.intel.com> These patches are based on the elflink branch. This set of patches is my attempt at moving the command-line interface functionality out of the core and into an ELF module to reduce the size of the core. The most interesting patch is [PATCH 4/4] which moves the cli code out of core/elflink and into com32/elflink/modules. [PATCH 4/4] is
2011 Mar 09
14
[PATCH 00/12] elflink shrinkage
From: Matt Fleming <matt.fleming at linux.intel.com> This is a series of patches that, * shrink the core by moving things into an ldlinux ELF module * begin wiring up some of the C versions of various functions The core now only contains essential code and loads the ldlinux module to do everything else, like providing a command line interface and loading kernels. The config file parsing
2006 Aug 15
2
Extracting the current value of a DOM element
So, say I have two select boxes. One with the letters of the alphabet, and a second with a list of names. When I select the letter in the first, how do I, in my onChange function, extract the value I selected in the first box, to determine what values to populate the second box with? I don''t want to submit the form, I''d like to do this with Ajax. Thanks in advance, Ben. --
2017 Nov 20
0
doveadm mailbox list -s Segmentation fault
Can you provide subscriptions file for the user as well? Aki On 20.11.2017 10:37, Kristjan Eentsalu wrote: > Sorry, forgot to include it first time. bt full down below > > (gdb) bt full > #0 0x0000000800d77e04 in mailbox_tree_traverse (tree=0x0, path=0x801c1a540 > "INBOX", create=false, created_r=0x7fffffffe4f7) at mailbox-tree.c:103 > node = (struct
2005 Oct 27
4
Nest sortables?
Hello All, I''m wondering if it''s possible to nest sortables: <ul id="first"> <li>One</li> <li>Two</li> <li> <ul id="second"> <li>Three</li> </ul> </li> <li>Four</li> </ul> <script> ... create sortables out of