similar to: Ranking within a classification variable.

Displaying 20 results from an estimated 2000 matches similar to: "Ranking within a classification variable."

2024 Sep 28
2
Is there a sexy way ...?
"Sexy code" may get a job done and demonstrate the code's knowledge of a programming language, but it often does this at the expense of clear, easy to document (i.e. annotate what the code does), easy to read, and easy to understand code. I fear that this is what this thread has developed "sexy" but not easily understandable code. While I send kudos to all of you, remember
2024 Sep 28
1
Is there a sexy way ...?
Rold, We need to be clear on what makes an answer sexy! LOL! I decided it was sexy to do it in a way that nobody (normal) would and had not suggested yet. Here is an original version I will explain in a minute. Or, maybe best a bit before. Hee is the unformatted result whicvh is a tad hard to read but will be made readable soon: x <- list(`1` = c(7, 13, 1, 4, 10), `2` = c(2, 5,
2024 Sep 28
2
Is there a sexy way ...?
Avi I fear this was all a huge social experiment. Testing if a post titled "sexy way" would increase engagement... On Sat, 28 Sep 2024, 07:21 , <avi.e.gross at gmail.com> wrote: > I see a book coming: > "666 ways to do the same thing in R ranked by sexiness." > > Kidding aside, if you look under the covers of some of the functions we > are
2024 Sep 29
1
Is there a sexy way ...?
On Sat, 28 Sep 2024 10:26:31 +0100 CALUM POLWART <polc1410 at gmail.com> wrote: > Avi > > I fear this was all a huge social experiment. > > Testing if a post titled "sexy way" would increase engagement... <SNIP> I conjecture that this conjecture was tongue-in-cheek. Be that as it were ??, let me assure everyone that such was not my intention. The usage
2024 Sep 29
1
Is there a sexy way ...?
Admit it, Rolf. Haven't you wondered if S, in a more private way, is sexier than R? OK, kidding aside, we have talked this to death. Just FYI, the conversation was stimulating for some of us and I have continued on my own and located functions I see as useful in the stringi and stringr packages to make my silly version ever less silly! LOL! -----Original Message----- From: Rolf Turner
2006 Jun 27
2
Preloading results in Ajax App
Hello Rails lovers! I have a few general discussions that I have yet to find terribly active. Perhaps all of the people busy on this front are...uh...busy on this front. So! Ajax-only apps. No degration. Yes! Forget about degradation for a moment. Not willing to? Ok, well...this question is for those who are willing... Imagine developing an app that is one page - all actions render partials
2024 Sep 27
7
Is there a sexy way ...?
I have (toy example): x <- list(`1` = c(7, 13, 1, 4, 10), `2` = c(2, 5, 14, 8, 11), `3` = c(6, 9, 15, 12, 3)) and f <- factor(rep(1:3,5)) I want to create a vector v of length 15 such that the entries of v, corresponding to level l of f are the entries of x[[l]]. I.e. I want v to equal c(7, 2, 6, 13, 5, 9, 1, 14, 15, 4, 8, 12, 10, 11, 3) I can create v
2008 Jun 03
3
Fixtures Error With Rails 2.1 (and 2.0.2)
I have begun to use the reference function feature of sexy migrations, and I have noticed that the fixtures are actually not playing nice with this new feature. If I create a model, whose table has this line: t.reference :user the fixure will look like one: user: when it should be user_id, now, it may be possible (I don''t know, to define an object in the fixtures now, but when I run
2024 Sep 28
1
Is there a sexy way ...?
I see a book coming: "666 ways to do the same thing in R ranked by sexiness." Kidding aside, if you look under the covers of some of the functions we are using, we may find we are taking steps back as some of them use others and perhaps more functionality than we need. But for a new reader , looking at many approaches may open up other ways and ideas and see the problem space as quite
2006 Nov 19
2
underscores, sugar, and more and more bugs
I sent this earlier under with the subject "artificial sugar causes cancer" and I think some spam filters ate it. Here it is again: ====================================== All, If you look at http://rubyforge.org/tracker/index.php?func=detail&aid=6760&group_id=797&atid=3149 you''ll see that Chad (the submitter) found the source of the bug. Unfortunately, the source
2005 Jun 07
7
apple to Intel
I am wondering what the list's opinion is on the Apple to Intel switch. This is going to put a slick desktop that runs on top of BSD directly into the mainstream. What does this hold for Linux in general, Linux on the desktop..and microsoft. -- Computer House Calls, Networks, Security, Web Design: http://www.emmanuelcomputerconsulting.com What businesses are in Brunswick, Maryland?
2009 Jun 24
4
More awk help
Hey guys, Looking through my book and the web and I am not having any success returning data from a search. I need to have awk search for a string and print the first field which is no problem but now its returning two options as the input data has changed. The change is reliable, I only want the first field if it ends in a regex that I have, and I only want what that regex matches to be printed.
2005 Feb 01
8
Outlook Integration
I have been looking around for Outlook Integration for Asterisk. Saw the Asterisk TAPI wiki page and also ran across this: http://www.fonality.com/pop.cgi?page=pop_pbxtray.tt (PBXtray) It looks like Fonality has managed to make an app that does screen pops and allows click to dial. Has anyone else been able to get this all to work successfully? Looks pretty slick.
2006 Mar 17
2
choppy recorded sounds in asterisk
I have installed asterisk on numerous servers. Every install was done on Fedora and (White box Linux). I now have zap channels in one of the boxes (T-1). No matter what type of channel I call on (sip or zap) I get some really strange artifacts in the sound, almost like a skip in the playback. It seems to always be in about the same place in the recording. Usually in the beginning of playback. For
2006 Nov 19
6
artificial sugar causes cancer
All, If you look at http://rubyforge.org/tracker/index.php?func=detail&aid=6760&group_id=797&atid=3149 you''ll see that Chad (the submitter) found the source of the bug. Unfortunately, the source of *this* bug is the *solution* to a *previous bug* in which Rails was replacing RSpec''s method missing with its own. When we settled on underscores, my one reservation was
2009 Apr 11
2
Mock Questions
Just started using mock to rebuild some srpms. I have two I want to rebuild, problem is the first creates a dep that is required by the second. Is there an automated way to populate an additional repo/cache that mock would look at when building the second so I could queue both? Although I haven't tried, I presume I could drop the output from the first build into a dir, createrepo it and add
2024 Sep 28
1
Is there a sexy way ...?
Sorry to append, but I just realised that of course ``` x |> ? pmap(c) |> ? reduce(c) |> ? unname() ``` also works and is a general solution in case your list has more than three elements. Here, we map in parallel over all elements of the list, always combining the current set of elements into a vector, and then reduce the resulting list into a vector by combining the elements
2010 May 31
5
ActiveRecord model relationship with YAML file
Hi, I have an ActiveRecord model Group and a YAML table stored in config/users.yaml just like: - {login: titi, password: 123456, group_id: 2} - {login: toto, password: 987654, group_id: 7} And I would like to link them by a sexy way. Can you help me? I would be happy if I can do this (as example): User.first.group.id # => 2 Many thanks for any help! -- Posted via
2024 Sep 27
1
Is there a sexy way ...?
>>>>> Chris Evans via R-help >>>>> on Fri, 27 Sep 2024 12:20:47 +0200 writes: > Oh glorious!? Thanks Duncan. > Fortune cookie nomination! I don't disagree with the nomination -- thank you, Duncan! However, please note that I'm sure Rolf's was challenged / question was ment to work correctly for all factors `f` with levels
2005 Jan 08
6
NNTP versus web forums
I see that a number of questions are being answered on the new web forum that is now part of the centos site. And the mailing lists So now there are two places to search, both the forum and the mailing list archives. This is just doubles the work required to follow along or find a solution. I know NNTP isn't sexy, it doesn't allow graphics in posts, it doesn't have person