|
|
 |
on Monday, May 2, 2011
The Sort stage in detail
sort,
basic,
tsort,
performance,
processing
Like in many data related processes, sort plays an important part in etl transformations using Datastage. In fact sorted data is a pre-requisite for a number of stages like remove-duplicate, join, etc.. There are two ways in which you can sort your data in Datastage. One way is to do inline sorts...

DataStage Box
| 9 views
|
on Thursday, April 22, 2010
Sort records in perl
computers
Google wasn't finding me what was obviously a simple one-liner in perl, so here's how to sort a list of records marked by stars and separated by some string (a $ in this example) in reverse order: perl -e '$/="\$\n"; print sort {$b cmp $a} grep(/^\*/, <>);' I used this to sort a list such as: Thi...

Ari's Planet
| 7 views
|
on Tuesday, May 17, 2011
Two Bad Sorts
exercises
We have some fun today implementing two really bad sorting algorithms. Stooge sort is a recursively-defined algorithm that sorts n items in O(nlog 3 / log 1.5) comparisons: If the value at the end of the list is less than the value at the start of the list swap them. Then, if there are three are ...

Programming Praxis
| 9 views
|
on Wednesday, February 11, 2009
JQuery sort()
javascript,
innerhtml,
sort,
dom,
jquery
JQuery. Write less, do more Today I was trying to figure out how to sort a set of list item elements alphabetically using JQuery. Seems simple enough but after searching around I couldn?t find any ready made solution. The best I could find was JQuery Table Sort (which is a nice sorting package bu...

Lost In Code
| 7 views
|
on Friday, June 10, 2011
Sort of Requests
requests,
request,
sort,
want,
idea
Hello Internets. Im bored and want requests. Technically, I want a single request. It works as follows; 1. You give me an idea (or a few) for a picture. 2. I pick the best idea. 3. I note that person, and let them customize the shiz. 4. ???? 5. Profit. (just kidding, its free!) Why? Basically,...

deviantART: by:babyniki
| 12 views
|
|