similar to: filters

Displaying 20 results from an estimated 130 matches similar to: "filters"

2010 Apr 28
7
operator problem within function
Dear all, i have a problem with processing dataframes within a function using the "$". HereĀ“s my code: recode_items = function(dataframe,number,medium=2){ # this works q<-paste("columna",number,sep="") # this does not work, particularly because "dataframe" is not processed # dataframe should be: givenframe$columnagivennumber
2006 Apr 24
4
Does Rails need more useful form helpers?
I have been using rails professionally for only a month and a half now, but I am continually running into problems with form helpers and accessing multiple objects on a single page. To whit: 1. While text_field and text_area and such all support the :index option, the select helper does not. 2. When appending the text ''[]'' to a helper''s object name, the id is
2006 May 17
6
newbie wants to know..FasterCSV or just CSV?
I''m trying to grab a CSV file from a user and let them upload it directly to my database, but doing some minor checks on the data before saving. Which is the easier way to implement this? CSV or FasterCSV? I saw that perhaps there were some issues with FasterCSV and csv files created from Mac versions of Excel. Anyone have any experience with this and can recommend a newbie friendly
2007 Apr 18
0
[PATCH 20/21] i386 Ldt cleanups 3
Big cleanup of LDT code. This code has very little type checking and is not frequently used, so I audited the code, added type checking and size optimizations to generate smaller assembly code. I changed the ldt count to be in pages, and converted the char * ldt into a desc_struct. Signed-off-by: Zachary Amsden <zach@vmware.com> Index: linux-2.6.14-zach-work/arch/i386/kernel/ldt.c
2007 Apr 18
0
[PATCH 20/21] i386 Ldt cleanups 3
Big cleanup of LDT code. This code has very little type checking and is not frequently used, so I audited the code, added type checking and size optimizations to generate smaller assembly code. I changed the ldt count to be in pages, and converted the char * ldt into a desc_struct. Signed-off-by: Zachary Amsden <zach@vmware.com> Index: linux-2.6.14-zach-work/arch/i386/kernel/ldt.c
2014 Sep 05
1
problem with xen virtulization on centos 6.5
I have a .img file and it's config xml file that i downloaded from a website. I installed xen 4.2 on my centos 6.5. when i want to create a new domain for my .img file with this xml file with this command: "virsh create wiki.xml". that give me an error message:"unkonw os type xen". anyone know what's the problem?
2005 Mar 03
0
where is :overwrite_params ?
HI, it seems the :overwrite_params option has disappeared from the url_builder. Is there a reason or is it just a side effect of the new routes? Any chances to see it coming back? If that matters, I use it a lot :-) Raph PS: For those who don''t know it, it lets you use the current @params as parameters for eg link_to, just overwriting the values you want. For example, when displaying
2006 Jul 09
6
ajax effects
Hi, i was wondering if there was some kind of general line of code i could add to my application, anywhere i suppose, that would generate some kind of effect to notify the user that an effect is happening...it could be a box on the top of the screen or something, that would be like the small bar at the end of the browser that shows the user the status of a loading page ... i was hoping
2007 Apr 18
2
[PATCH 3/6] i386 virtualization - Make ldt a desc struct
* zach@vmware.com (zach@vmware.com) wrote: > Make the LDT a desc_struct pointer, since this is what it actually is. I like that plan. > There is code which relies on the fact that LDTs are allocated in page > chunks, and it is both cleaner and more convenient to keep the rather > poorly named "size" variable from the LDT in terms of LDT pages. I noticed it's replaced
2007 Apr 18
2
[PATCH 3/6] i386 virtualization - Make ldt a desc struct
* zach@vmware.com (zach@vmware.com) wrote: > Make the LDT a desc_struct pointer, since this is what it actually is. I like that plan. > There is code which relies on the fact that LDTs are allocated in page > chunks, and it is both cleaner and more convenient to keep the rather > poorly named "size" variable from the LDT in terms of LDT pages. I noticed it's replaced
2010 Sep 20
0
Asterisk stops processing SIP UDP messages
Last week I had a couple of outages one machine, the problem was that Asterisk suddly stopped responding to UDP SIP requests. tcpdump show requests arriving on the machine, sip debug log in asterisk doesn't show anything for the UDP peers, TCP functions just fine. In all 3 cases the log is something like below, a +/- 10m gap in any SIP/UDP related traffic in the logs, followed by a bunch of
2006 Jan 11
0
Limit attributes written out by to_yaml
I want to write out a series of records to a text file so that I can quickly edit them and then upload then again into the database. To do this I am using YAML and some code that looks like this: item = Item.find 153 File.open( ''item.yaml'', ''w'' ) do |out| YAML.dump( item, out ) end This dumps out all the field names and values which are stored in the
2006 Mar 19
3
String keys in hash
Hi all, My app is going to count sth based on poll id in the url. The url looks like: http://address.com?id=dwNKiItvcyrQ5sycnIhmJablDfXsc9tshaGIVyNIei7.e7&some_other_parameters In a controller, I''ve created a hash where the keys are the ids: @codes = { ''dwNKiItvcyrQ5sycnIhmJablDfXsc9tshaGIVyNIei7.e7'' => {:partner_id => 0,
2014 Jul 21
2
Question on Code snippet semantics
I came across this code in library.R package <- as.character(substitute(package)) where package is the first argument to the "library" function. I've been racking my brains to understand why this is not just an elaborate (and ineffcient) way to write: package <- "package" E.g. > package <- as.character(substitute(package)) > package [1]
2006 Apr 25
6
Searching over multiple MySQL tables
I am racking my brain over this, probably because I only know very simple mysql functions. Basically I''ve got a few tables, ex: Albums (id,name,band_id); Bands (id,name,label_id), and Label (id,name) I want to search through both album.name, band.name, and label.name throwing all results into a variable, with no redundant info. I think what I need to be doing is setting up some
2007 Mar 15
2
replacing all NA's in a dataframe with zeros...
I've seen how to replace the NA's in a single column with a data frame *> mydata$ncigs[is.na(mydata$ncigs)]<-0 *But this is just one column... I have thousands of columns (!) that I need to do this, and I can't figure out a way, outside of the dreaded loop, do replace all NA's in an entire data frame (all vars) without naming each var separately. Yikes. I'm racking my
2008 Feb 20
4
plotting every ith data point?
Hello, fellow R enthusiasts. Ok, I've been racking my brain about this small issue, and between searching the help archives and reading through the plot-related documentation, I can't figure out how to achieve my desired endpoint without some ugly, brute force coding. What I would like to do is make a plot in which only a subset of my data are plotted, but in regular intervals, such as
2014 Sep 15
1
Multiple Domains/Winbinds, ntlm_auth/wbinfo issue
Ok I'm at a loss, I have 2 instances on winbindd / smbdd / nmbdd running (basically copied to install from samba-multiple-domains.blogspot .com but with my domains and ip's) But the issue I have is that even though both domains joined, and I can see all the winbinds and smbs running, and no errors in the logs, it appears that wbinfo / ntlm_auth only work with one of the units, no matter
2013 Jan 06
1
Get CONNECTEDLINE info from other Asterisk system via IAX2
I have been racking my brain attempting to get the remote callerid information for calls made to extensions on another Asterisk system connected via IAX2 but nothing has worked. To clarify, I would like to display the number AND name on the calling phone when calling extensions on another Asterisk system. I seem to be able to 'send' all the information I want to the system I am calling but
2006 Jun 26
1
Designing a Coupon System
I''m racking my brain trying to figure out a good method for a coupon system for our ecommerce site. Basically We have a variety of consditions for certain coupons and a variety of effects. Some examples: 1. 5% off any order 2. Free shipping on orders over $50 3. Free shipping on an order if a product foo is part of the order 4. 10% off product foo 5. 5% off entire order if product