search for: slickly

Displaying 20 results from an estimated 316 matches for "slickly".

2005 Apr 19
3
Ranking within a classification variable.
Suppose I have a data frame with two columns ``district'' and ``score'' --- score is numeric; district may be considered categorical. I wish to append to this data frame a third column whose entries are the ranks of ``score'' ***within*** district. I've tried fiddling about with tapply() and by() but the result is a list whose i-th component consists of the ranks of
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?
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.
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
2002 Jun 12
0
Win2k oplocks and you
Hello list! I've seen the threads in this months archives on oplock issues, so I hope I am not hitting a sore spot by bringing it up again. The reason I am beating on this is that I've got a testable, repeatable issue with Win2K terminal server (SP2) running CorelDRAW 10 (patched to current) against a Debian Woody box running Samba 2.2.3a-6 for Debian. Since I can repeatedly test the
2002 Dec 17
4
Quick tip please!
...se into a single dataframe D, notionally D <- "d1 on the left, d2 on the right" which contains all the columns except that duplicates only occur once (and, preferably, in the order of occurrence on d1 -- i.e. remove them from d2 if already dound in d1). Any tips for how to do this slickly? With thanks, Ted. -------------------------------------------------------------------- E-Mail: (Ted Harding) <Ted.Harding at nessie.mcc.ac.uk> Fax-to-email: +44 (0)870 167 1972 Date: 17-Dec-02 Time: 15:47:27 ------------------------------ XFMail -----...
2012 Aug 18
5
Quiz: How to get a "named column" from a data frame
Today, I was looking for an elegant (and efficient) way to get a named (atomic) vector by selecting one column of a data frame. Of course, the vector names must be the rownames of the data frame. Ok, here is the quiz, I know one quite "cute"/"slick" answer, but was wondering if there are obvious better ones, and also if this should not become more idiomatic (hence
2006 Mar 05
2
Article: Creating a Live Datagrid
I just finished posting an article on creating a lightweight but very functional web grid that does a slick job of live updating whatever content you put in. Much like Rails itself, I pulled the code from an active project effort, in the hopes that others would find it useful. http://unspace.ca/discover/datagrid Or, for the impatient, give the demo a shot: http://unspace.ca/datagrid Feedback
2006 Sep 21
2
Exponentiate a matrix
Suppose I have a square matrix P P <- matrix(c(.3,.7, .7, .3), ncol=2) I know that > P * P Returns the element by element product, whereas > P%*%P Returns the matrix product. Now, P^2 also returns the element by element product. But, is there a slick way to write P %*% P %*% P Obviously, P^3 does not return the result I expect. Thanks, Harold [[alternative HTML version
2018 Jan 27
2
Newbie wants to compare 2 huge RDSs row by row.
Each RDS is 40 MBs. What's a slick code to compare them row by row, IDing row numbers with mismatches? Thanks in advance. //
2008 Oct 22
3
retrieving matrix elements by giving pairs of row AND column numbers?
Hi, this is probably a very trivial question but I can't figure out the right terms to find the solution in the list archive. I have a matrix or a data.frame or the like: > m <- matrix(ncol=3,seq(1,9)) > m [,1] [,2] [,3] [1,] 1 4 7 [2,] 2 5 8 [3,] 3 6 9 and now I wonder if one can provide somehow two vectors, one containing row numbers, the other
2004 Dec 05
2
String manipulation---mixed case
Hello, Does anyone know of a "slick" way to get R to convert a string which is all upper case to a string where the first letter in each word is upper case and all others are lower case? I suspect the solution is to begin by parsing the string, convert the appropriate letters to upper and lower case using "toupper" and "tolower", and then to paste the pieces back
2006 Jan 17
5
Hash.new{|h,k| h[k] = ""} ... but for views?
I sometimes buy myself a default value for a hash using something like this: h = Hash.new{|h,k| h[k] = ""}. I can now pass ''h'' any key and if a value has not yet been associated with that key I receive an empty string. I would love to do something similar in my partials so that I wouldn''t have to worry about passing in every variable that is referenced.
2008 Jan 18
1
Strange locking behaviour upsets Apache
We have a server which runs Samba and Apache. Web developers edit their files (via Windows mapped drives) from Windows XP SP2. These files are typically CGI files and the developers' routine is: while (web page not quite right) { 1. Edit file 2. Save 3. Click Reload on web browser 4. Check results } They go around that loop many times during a typical development run.
2006 Feb 15
36
Rubuntu Live CD for Rails
Friends- I am almost finished with a custom live cd called Rubuntu ;-) This is an ubuntu live cd variant that comes preloaded with ruby and rails developers in mind. I already have it working with all the basics but I was wondering what extras people would like to see on this distro. What editors with what configurations? What other tools do people really like for rails development on a
2013 Feb 05
2
How to subset a data frame to include only first events
Hi there, I have data frame with columns ID and Date. There are multiple rows for each ID, but I only want to keep the *first* such row--i.e., the row corresponding to the earliest event. So if I had, say, 1000 rows of 100 IDs doing an average of ten events each, I'd run this trimming procedure and end up with a data frame containing 100 rows (one for each ID), where each row record that
2007 Sep 21
3
really dumb question | loop counters in
...d the MATLAB convention to some degree). Or, looping from 0 -> 1 by 0.01? I've dug through what [R] documentation I have, and all I can find is the somewhat obtuse. For example, I can use x <- seq(0,1, by=.01) But not for(x in (0,1,by=0.01)) { print(x) } What about things that are slickly handled in C++, like for (node=start; value<threshold && node!=end; node=node->next) { ... } OK - I'm stumped (and happy to humiliate myself with what has surely got to be trivial). I'm happy with a simple basic counter at this point.
2009 Dec 01
2
Cut intervals (character) to numeric midpoint; regex problem
Starting with the head of a 499 element matrix whose column names are now the labels trom a cut() operation, I needed to get to a vector of midpoints to serve as the basis for plotting a calibration curve ( exp(linear predictor) vs. : > dput(head(dimnames(mtcal)[2][[1]])) # was starting point testvec <- c("(-8.616,-3.084]", "(-3.084,-2.876]",
2008 Jan 26
4
Connections
I''m checking out backgroundrb for a calculation process I estimate will take 2-3 minutes and be ran on-demand only via Rails. Very easy and slick. But I have a question. The connections never close, if I do a netstat they just keep piling up. Do I need to do some housekeeping somewhere? I noticed the @ connection.close statements are commented out in favor of a # FIXME type deal.
2016 Nov 23
1
New laptop recomendation
On 11/22/2016 3:50 PM, Dr. Mikeal Hughes wrote: > When you go to the Dell Linux site and choose shop now you are taken to a page featuring Windows 10 machines. [OT rant] a pet peeve... webpile redesigns that mess everything up. I was looking for info on the BLM (Bureau of Land Management) website last night, and they'd totally redone the entire mess, it was all slick and web 3.0-ish,