Displaying 20 results from an estimated 28 matches for "sortby".
Did you mean:
sort_by
2006 May 31
5
Help with sorting arrays with objects in it
I have to build an array through both activerecord and also through a ferret
index.
I was hoping to find a way of sorting the array as i combine the two so
def advanced_search(search_text, store, format, sortby)
# find items in ferret index
items = Item.find_by_contents(search_text)
# and now find all the items from a certain store or category
items_from_sql = Item.find_by_sql("SELECT * .....")
@list = []
items.each do |i|
@list << i if items_from_sql.include?(i)
end
#now i need...
2004 Dec 23
1
searching Jonathan Baron's R Site
...search. For example,
RSiteSearch("multiple imputation")
Jon
--
RSiteSearch <- function(string,
restrict=c("Rhelp02a","Rhelp01","Rhelp00","functions","docs"),
format="normal", sortby="score", matchesPerPage=10) {
string <- paste("http://finzi.psych.upenn.edu/cgi-bin/namazu.cgi?query=",
gsub(" ", "+", string), sep="")
mpp <- paste("max=", matchesPerPage, sep="")
format &l...
2004 Nov 24
2
an R function to search on Prof. Baron's site
...ted for
searching Rwiki and R-help archive, I've made up a function that does the
search on Prof. Baron's site (Thanks to Prof. Baron's help on setting up the
query string!):
RSiteSearch <- function(string, restrict="Rhelp", format="long",
sortby="score", matchesPerPage=10) {
URL <- "http://finzi.psych.upenn.edu/cgi-bin/htsearch"
qstring <- paste(URL, "?config=htdigrun1", sep="")
## replace spaces with "%20" in the query
string <- paste("words=", gsub("...
2005 Jan 14
1
how to produce 2-d color plots in R
Hello 'R' Users,
I am very new on 'R', so excuse me if I ask something wrong.
I have ASCII data and the colums of the data are looks like :-
!-------------------------
time,yr,mo,dy,hr,min,sec,lat,lon,ht,co2obs,sigma,co2model
--
-
--
!----------------------------
Each column has data value. Now I want to produce 2-d color maps,
for example the plot should look like :-
on
2009 Jul 02
7
Params Merge and URL sorting/pagination
...or search by date
When searching for a team for instance, the url returned will be:
/rushing_offenses?search=Florida
When searching by date, the url returned will be:
/rushing_offenses?compiled_on=2009-07-02
Pagination has a show all button:
/rushing_offenses?numteams=120&orderby=rank&sortby=asc
Pagination has a show simple button:
/rushing_offenses?orderby=rank&sortby=asc
If I click on each page number within will paginate the URL changes to:
/rushing_offenses?compiled_on=2009-07-02&orderby=rank&page=2&sortby=asc
My table helper functions for sorting and for the s...
2010 Dec 02
0
Thinking Sphinx sorting problem
...arch_for_ids(@searched,
:select => "id, applicant_id",
:group_by => ''applicant_id'', :group_function => :attr,
:with => Application.filter_for_search(@filter, @season),
:sort_mode => :extended,
:order => Application::Search::SortBy::SPHINX[@sort], # this gives
me sql string to sort by
:per_page => 1000)
@applicant_ids = Applicant.search_for_ids("@application_ids
''#{application_ids * ''|''}''",
:match_mode => :extended2, :page => params[:page], :per_page =>...
2006 Jun 20
4
Prototype Array bug??
...ned
t=flatten, undefined
t=compact, undefined
t=last, undefined
t=first, undefined
t=clear, undefined
t=_each, undefined
t=_reverse, undefined
t=entries, undefined
t=member, undefined
t=select, undefined
t=find, undefined
t=map, undefined
t=inspect, undefined
t=zip, undefined
t=toArray, undefined
t=sortBy, undefined
t=reject, undefined
t=pluck, undefined
t=partition, undefined
t=min, undefined
t=max, undefined
t=invoke, undefined
t=inject, undefined
t=include, undefined
t=grep, undefined
t=findAll, undefined
t=detect, undefined
t=collect, undefined
t=any, undefined
t=all, undefined
t=each, undefined...
2012 Dec 20
2
[LLVMdev] llvm 3.2 regression
...> > Can this be fixed before the 3.2 release?
> Given that release is tomorrow, then - no, unfortunately.
Well if you can't fix the bug by tomorrow, can't you at least revert the
failing part of...
https://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/tests/asan_test.cc?sortby=log&r1=145953&r2=145952&pathrev=145953
with...
Index: lib/asan/tests/asan_test.cc
===================================================================
--- lib/asan/tests/asan_test.cc (revision 170724)
+++ lib/asan/tests/asan_test.cc (working copy)
@@ -2046,7 +2046,7 @@ TEST(AddressSani...
2006 Feb 17
2
Sorting Multiple Arrays
Hey Cats,
I''m having a problem. I''m working with an object that contains a bunch
of arrays:
var myObject = {
"data": [
{"line": [1,"aoo","far"]},
{"line": [2,"boo","ear"]},
{"line": [3,"coo","dar"]},
{"line":
2012 Dec 21
0
[LLVMdev] llvm 3.2 regression
...e the 3.2 release?
> > Given that release is tomorrow, then - no, unfortunately.
>
> Well if you can't fix the bug by tomorrow, can't you at least revert the
> failing part of...
>
>
> https://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/tests/asan_test.cc?sortby=log&r1=145953&r2=145952&pathrev=145953
>
> with...
>
> Index: lib/asan/tests/asan_test.cc
> ===================================================================
> --- lib/asan/tests/asan_test.cc (revision 170724)
> +++ lib/asan/tests/asan_test.cc (working copy)
>...
2007 Jul 02
2
Object Property Sorting - Hash?
I''m trying to sort an object by its property names. As I understand it,
iterating over an object using for...in or using Hash.each() (or
Hash.sortBy()) does not guarantee the order of the properties.
Is there an easy and low-overhead way to guarantee order? Or would I
need to have some type of collection object that uses arrays instead of
the property-value configuration that Hash uses?
Here is an example object similar to the one I want to...
2012 Dec 21
1
[LLVMdev] llvm 3.2 regression
...> Given that release is tomorrow, then - no, unfortunately.
>>
>> Well if you can't fix the bug by tomorrow, can't you at least revert the
>> failing part of...
>>
>>
>> https://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/tests/asan_test.cc?sortby=log&r1=145953&r2=145952&pathrev=145953
>>
>> with...
>>
>> Index: lib/asan/tests/asan_test.cc
>> ===================================================================
>> --- lib/asan/tests/asan_test.cc (revision 170724)
>> +++ lib/asan/tests/asan_...
2008 Sep 03
4
delta index in Sphinx
...inx.conf''...
-------------------------------------------------------------------
>> @sphinx = Sphinx.new
=> #<Sphinx:0xb6f7fe20 @mode=0, @host="localhost", @groupby="",
@port=3312, @min_id=0, @warning="", @error="", @max={}, @weights=[],
@sortby="", @maxmatches=1000, @min={}, @filter={}, @sort=0, @limit=20,
@offset=0, @groupfunc=0, @max_id=4294967295>
>> @sphinx.set_match_mode(Sphinx::SPH_MATCH_ANY)
=> 1
>> @result = @sphinx.query(''test'')
=> {:time=>"0.000", :matches=>{}, :...
2007 Sep 18
4
Prototype.js and Multidimensional Arrays
...ed
undefined
findAll
undefined
undefined
grep
undefined
undefined
undefined
include
undefined
inGroupsOf
undefined
undefined
inject
undefined
undefined
undefined
invoke
undefined
max
undefined
undefined
min
undefined
undefined
partition
undefined
undefined
pluck
undefined
reject
undefined
undefined
sortBy
undefined
undefined
toArray
zip
size
inspect
find
undefined
undefined
select
undefined
undefined
member
undefined
entries
_reverse
_each
undefined
clear
first
last
compact
flatten
without
reduce
uniq
undefined
intersect
undefined
clone
toJSONument
i test it with several versions of prototype.js bu...
2002 Nov 05
2
2.5.6 release
...; > 30th. This seems rather odd-- perhaps a daemon stopped working? If there
> > has truly been no activity since that date, I apologize for
> > disturbing you.
>
> I think there really have been no commits since then:
>
> http://cvs.samba.org/cgi-bin/cvsweb/rsync/?sortby=date#dirlist
>
> We are all slackers and/or overworked. :-(
>
> I did see your Stratus (sp?) patch, and it looks harmless and useful.
> I have a lot on at the moment but I don't mind merging it when I or
> somebody else gets a chance.
This might be a good time for tagging 2...
2011 Sep 15
1
[LLVMdev] Fixing a typo on the web site
There's a typo on the confirmation page at <http://www.llvm.org/devmtg/talk.php> when you submit a session proposal for the developer's conference.
"Sponsorsip"
I'll be happy to fix it if someone could point me at the right place in svn.
-- Marshall
Marshall Clow Idio Software <mailto:mclow.lists at gmail.com>
A.D. 1517: Martin Luther nails his 95
2012 Dec 20
0
[LLVMdev] llvm 3.2 regression
> Can this be fixed before the 3.2 release?
Given that release is tomorrow, then - no, unfortunately.
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
2002 Nov 05
0
FW: rsync-cvs mail list archiving broken??
...rsync-cvs archives since August
> 30th. This seems rather odd-- perhaps a daemon stopped working? If
there
> has truly been no activity since that date, I apologize for
> disturbing you.
I think there really have been no commits since then:
http://cvs.samba.org/cgi-bin/cvsweb/rsync/?sortby=date#dirlist
We are all slackers and/or overworked. :-(
I did see your Stratus (sp?) patch, and it looks harmless and useful.
I have a lot on at the moment but I don't mind merging it when I or
somebody else gets a chance.
--
Martin
2003 Mar 05
2
compressed archives
Suppose I have a particular version of a largish compressed archive,
most likely a .tgz or .tbz2, and that a remote machine has a newer,
and only slightly different, version of the same archive, where most
of the content hasn't actually changed much. I might attempt to obtain
a copy of the newer archive by first copying my local older copy to
the newer name as a file to update from.
My
2012 Dec 20
2
[LLVMdev] llvm 3.2 regression
There seems to be a new regression in current llvm/compiler-rt 3.2 branch.
On 86_64-apple-darwin12, I am seeing the failure...
[100%] Running all regression tests
lit.py: lit.common.cfg:19: note: using clang: '/sw/src/fink.build/llvm32-3.2-0/llvm-3.2/build/bin/clang'
lit.py: lit.cfg:171: note: using clang: '/sw/src/fink.build/llvm32-3.2-0/llvm-3.2/build/bin/./clang'
FAIL: