Displaying 20 results from an estimated 100 matches similar to: "database outputting results twice per page (using pagination + sorthelper)"
2008 Apr 23
0
self referential (n-n relationship) belongs many controller
Hi all,
I ve some troubles in my small acpplication (only 2 tables).
I want to follow up tasks but these tasks are linked to others tasks.
So I ve tried to do store the nn relationship in other table called
links
1st table : tasks
columns : id | infos neutral... (as title, description etc ...)
-----------------------------------------------------------------------------------
model :
class
2006 Mar 31
1
SortHelper Question
I''m trying to install the SortHelper module, and for some reason I''m getting a NoMethodError when I try to view the list. I''m a relative newbie to rails, but the controller and the helper seem to be pointing to the right places. I named the controller sort_controller.rb and the helper is sort_helper.rb, and list is list.rhtml
Thanks for any help!
2007 Jul 30
3
SortHelper problem
I have TableA with name, description, start time displayed on one page.
TableB has name, comment, file path and is displayed on another page.
I''m using the SortHelper2 helper to help me sort the columns of these
tables, however I''m experiencing a problem whereby if I sort TableA by
description and then go ahead and view TableB I get an error message
saying SQL Command Failed,
2006 Feb 02
2
uninitialized constant
Ok, I searched but couldn''t find anything and I even tried the RoR IRC
channel with no help.
I get this error:
uninitialized constant Airport
I used this code which I got from the RoR site.
helper :sorting
def list
@sorter = SortingHelper::Sorter.new self, %w(icao host_id name),
@params[''sort''], @params[''order''], ''icao'',
2019 Jun 19
5
[RFC] Documentation clarification: Phabricator, not the lists is the main entry point for new patches
The current documentation talks about both the Phabricator review, and review
as mail replies on -commits lists. It also talks about submitting
patches to lists,
with the subtext that it may be friendlier for outsiders.
It is true that Phabricator has some entry threshold, larger than
github, or maillists,
so the attempt is not unwarranted. But from what i can tell, 99.9% patches go
via
2009 Jan 29
1
Xapian Ruby bindings do not implement full multi-value-sorting functionality?
Hello,
this is a question that could be answered by collaborators of the Ruby
bindings.
Today I've played around with the Xapian::MultiValueSorter class. I've set
everything up and then I tried following on an instance of Xapian::Enquire:
:
enquire = Xapian::Enquire.new(database)
enquire.query = options[:query]
:
sorter = Xapian::MultiValueSorter.new
sorter.add(0, true)
sorter.add(1,
2006 Nov 28
0
tzinfo_timezone/tzinfo can't modify frozen object
Hi.
I get the following error off and on in my app. I''m running latest
EdgeRails in development mode, and use the tzinfo_timezone plugin and
the tzinfo 0.3.3 gem.
I''ve checked line 210 in tzinfo_timezone.rb but cannot relate that to
an object modification in tzinfo. Any tips much appreciated.
ActionView::TemplateError (can''t modify frozen object) on line #29 of
2004 Jul 07
0
Visualizing Marketing Campaigns With R
Warning: This is a bit off-topic.
Using R, I'm trying to develop a way of visualizing a marketing campaign
that is divided into lists, each with a mailing and control group. Within a
mailing group, we have respondents and sales conversions (think "successes")
and the overlap between the two. We also have conversions among those
subjects in the list's control group, who were
2019 Jun 19
2
[RFC] Documentation clarification: Phabricator, not the lists is the main entry point for new patches
On 6/19/19 12:50 PM, Reid Kleckner via llvm-dev wrote:
I believe the history is that when Phab was initially introduced, we wrote the documentation this way to make things easy for reviewers who didn't want to change their workflow. But, I agree with your observations. The majority of code review seems to happen on Phabricator, and the best way to get traction on a new patch is to upload it to
2010 Aug 27
1
Using relevance when sorting by generated key
Hi all,
I am trying to implement a scheme where documents in an MSet will be
sorted based on relevance as well as geographical distance from a given
(non-fixed) point.
I understand that this can be accomplished by using PostingSource in
order to implement a custom weighting scheme that would combine BM25
weighting and distance. The problem is that I am using perl and
PostingSource is not
2009 Jan 17
0
libtheora fails to compile examples on Solaris
Hi together,
I have compiled so far a lot libs and already some programs on my
Solaris 5.7 box (old, I know). When I try to compile libtheora the
examples are not compiling:
make[2]: Entering directory
`/export/home/quix0r/more/libtheora-1.0/examples'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include
-I/usr/local/include -I/usr/local/include/libpng12 -Wall
-Wno-parentheses -O3
2011 Feb 25
0
Help with card-sorting experiment
This is the first time that I've posted to this list, so if I'm doing
something wrong, please let me know. Also, if there is a searchable forum
where I can find help, that would be good too.
I'm doing a card sorting experiment, and I'm having problems imputing my
data into R for later analysis. This is what I get from each sorter:
Category Name Card numbers
2015 Jun 10
1
make check xapian-bindings-1.2.21 & Search-Xapian-1.2.21.0
Eric Lindblad
http://www.ericlindblad.blogspot.com
- - -
Slackware-14.0
bash-4.2# make check
Making check in perl
make[1]: Entering directory `/home/eric/xapian-bindings-1.2.21/perl'
make check-am
make[2]: Entering directory `/home/eric/xapian-bindings-1.2.21/perl'
make check-TESTS
make[3]: Entering directory `/home/eric/xapian-bindings-1.2.21/perl'
./t/01use.t .. ok
All tests
2009 Apr 23
1
Failing to print mer object in an RData image
Hi all
I have problems in accessing a mer object called model.01 from a
workspace that was created with R 2.8.1 and saved with save into an
.RData file (on Windows XP or Ubuntu 8.10, don't remember anymore).
Now I want to open it in R 2.9.0 on Ubuntu 8.10. I use
# load workspace
load("name.RData")
which seems to work:
ls() # all objects in there
[1] "all"
2007 Oct 23
1
Samba, AD and non AD Machines
Hi All,
I have configured Samba 3.0.23 to work with Active Directory. Based on
all the tests shown here:
http://us3.samba.org/samba/docs/man/Samba-Guide/unixclients.html#adssdm
Things are working as expected.
Most machines and users are working as expected.
I do have some Windows machines on another subnet, NOT joined to the
domain that are giving me grief. Going to
2007 Oct 23
0
Samba, AD and non AD Machines
Hi All,
I have configured Samba 3.0.23 to work with Active Directory. Based on
all the tests shown here:
http://us3.samba.org/samba/docs/man/Samba-Guide/unixclients.html#adssdm
Things are working as expected.
Most machines and users are working as expected.
I do have some Windows machines on another subnet, NOT joined to the
domain that are giving me grief. Going to
2006 Feb 02
0
tunneled tc
Hello!
I''ve posted recently a question about shaping tunneled traffic.
Now I ask a sorter question:
I tried to add a HTB qdisc to a gre tunnel interface and after that
there is no traffic going out into the tunnel.
The classes, filters and qdiscs are ok. Does anyone know what else
should I do for it to work?
Then I tried to add a txqueuelen but with no effect (after the command
completed,
2009 Mar 18
2
Xapian 1.0.11 released
I've uploaded Xapian 1.0.11 (including Search::Xapian 1.0.11.0), which
as usual you can download from:
http://xapian.org/download
Starting from this release, I'm going to include SHA1 checksums of
the released files in the release announcement. For 1.0.11 these are:
480fd99617975c1aaf9127cd7c7166bc05d07eb1 Search-Xapian-1.0.11.0.tar.gz
217c7fb1754d0aeaf82c3ab83d5ec0881099bb61
2006 Jan 23
8
In which application areas is R used?
If anyone has a list of application areas where there is
extensive use of R, I'd like to hear of it. My current
short list is:
Bioinformatics
Epidemiology
Geophysics
Agriculture and crop science
John Maindonald
Mathematical Sciences Institute, Australian National University.
john.maindonald at anu.edu.au
2017 Oct 21
1
split() - unexpected sorting of results
Hello,
In order to solve that problem of sorting numerics made characters there
is package stringr, functions str_sort and str_order.
library(stringr)
set.seed(2447)
x <- sample(11L)
sort(as.character(x))
[1] "1" "10" "11" "2" "3" "4" "5" "6" "7" "8" "9"