Displaying 20 results from an estimated 28 matches for "sorters".
Did you mean:
porters
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'',
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
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 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,
2013 Feb 20
1
Sticky results
Hi there,
I have a xapian index whose results are being sorted by a value, with (PHP bindings):
$enquire->set_sort_by_value($sort_data_value);
This is because I want the results returned in chronological order of publication date. However, I now have a need to have certain results be 'sticky' at the top of the resultset, regardless of their publication date. Obviously there are
2006 Apr 16
11
Best way to sort categories w/ pager
Ahoy,
I made this pager,
" def list
@item_pages = Paginator.new self, Item.count, 10, @params[''page'']
@items = Item.find :all, :conditions => "category_id =
#{params[:condition]}",
:limit => @item_pages.items_per_page,
:offset => @item_pages.current.offset
@categories = Category.find_all
2007 May 19
0
database outputting results twice per page (using pagination + sorthelper)
Each page is getting the same 5 db results listed twice, I cant seem
to figure out why
this is how the page look
page 1:
post 1
post 2
post 3
post 1
post 2
post 3
page 2:
post 4
post 5
post 6
post 4
post 5
post 6
template
------------------------------
<%= render_collection_of_partials "upcoming", @albums_pages %>
view (sorry its big)
------------------------------
<%
2010 Feb 01
6
Import fixed-format ascii file with mixed record types
I need to import several ascii files in fixed format with two different record types. The data comes from European Labor Force Surveys, wich is a household survey. The first record type is for people over 16 years, and the second much sorter is for people aged 15 or less (this record has a filler with several blanks to get the same record length).
The files tipically have 160000 records, with 176
2008 Oct 09
3
Sorting results by a "sort expression"
Olly,
We currently use Sphinx for our website search function, but we're planning
on using Xapian instead for a few of the extra features it has. Our website
is written in Ruby on Rails, so of course we're using Xapian with Ruby
bindings. I don't know if you're familiar with Sphinx but Sphinx allows you
to pass a sort expression when you execute the search that will be evaluated
2006 Apr 24
2
sortable table rows?
I''ve been trying to make some table rows sortable using Scriptaculous. I''ve
used:
Sortable.create("secondlist", {tag:''tr'', treeTag:''table''});
and
Sortable.create("secondlist", {tag:''tr''});
Neither of which works. Is it even possible to do this?
Thanks,
Daniel
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
2010 Aug 23
1
Sort ordering
Using MultiValueSorter, I can sort by key1, key2, relevance; or relevance, key1, key2.
But AFAIK, I can't sort by key1, relevance, key2. Unless I spool out the entire result set or write some C++.
I wonder if we need a new 'sort by' function that accepts any combination of keys and relevance in any order? The function would make it's own optimisations (ie is relevance first or
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
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
2010 Jul 15
13
The perils of GMAX
gmax won't start up after the initial time. The messages I am getting indicate that it has become case sensitive with respect to names. The installer put in a directory named 'stdplugs' but the program wanted it to be 'StdPlugs'. So I renamed it. It still says these libraries fail to initialize. I must be missing a windows module but I did put in the recommended winetricks
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
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"
2010 Aug 28
3
Drag'n drop with word 2007
Hello all !
Sorry if the question have been already asked many times...
I just want to know if it's possible to drag'n drop images into word 2007. Currently i have an error message related to encoding problem.
Thanks
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