search for: empty

Displaying 20 results from an estimated 20115 matches for "empty".

2007 Dec 01
2
How to cbind DF:s with differing number of rows?
...) #do.call(cbind, g) does not seem to work because of the different number of rows in each data.frame. #The resulting data.frame shoul look like this (only two variables printed here): Rowid;x;Freq.x;y;Freq.y; # etc... 1;1;9;1.69151845313816;1; 2;2;9;5.03748767699799;1; 3;3;8;5.37387749444247;1; 4;Empty;Empty;6.83926626214299;1; 5;Empty;Empty;6.97484558968873;1; 6;Empty;Empty;7.11023821708323;1; 7;Empty;Empty;7.1348316549091;1; 8;Empty;Empty;7.16727166992407;1; 9;Empty;Empty;7.35983428577469;1; 10;Empty;Empty;7.7596470136235;1; 11;Empty;Empty;7.86369414967578;1; 12;Empty;Empty;7.97164674771006;1;...
2007 Sep 14
0
3 commits - libswfdec/swfdec_as_frame.c test/trace
libswfdec/swfdec_as_frame.c | 2 +- test/trace/Makefile.am | 9 +++++++++ test/trace/empty-function-5.swf |binary test/trace/empty-function-5.swf.trace | 1 + test/trace/empty-function-6.swf |binary test/trace/empty-function-6.swf.trace | 1 + test/trace/empty-function-7.swf |binary test/trace/empty-function-7.swf.trace | 1 + test/trace/empty-function-8.swf...
2011 Mar 13
2
Problems getting html files out of R CMD check
...for unstated dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... NOTE prepare_Rd: CellProfile-R-internal.Rd:10: Dropping empty section \usage prepare_Rd: CellProfile-R-internal.Rd:12: Dropping empty section \arguments prepare_Rd: CellProfile-R-internal.Rd:22: Dropping empty section \value prepare_Rd: CellProfile-R-internal.Rd:25: Dropping empty section \note prepare_Rd: CellProfile-R-internal.Rd:23: Dropping empty section...
2006 Aug 08
3
params object nil in controller action
...ams) in session and then reusing those params instead of request params when user clicks on "Back to Search Results link". here is my code ________________________________________________________________________ def search if session[:incidentSearch].nil? or session[:incidentSearch].empty? # if no search criteria found in session logger.debug("if params.nil?=#{params.nil?}") logger.debug("NOT FOUND :incidentSearch") if (params[:routeNum].nil? or params[:routeNum].empty?) and (params[:incidentId].nil? or params[:incidentId].empty?) and...
2018 Dec 03
3
[supermin PATCH] build: ignore empty files
Do not error out on empty files, just ignore them. --- src/mode_build.ml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/mode_build.ml b/src/mode_build.ml index b5f5fa6..9cd0a21 100644 --- a/src/mode_build.ml +++ b/src/mode_build.ml @@ -46,6 +46,7 @@ and file_content = | Packages | Hostfiles...
2020 Jul 13
2
FileCheck --allow-empty
Hi all, By default, FileCheck will emit an error if you try to get it to check an empty file. This doesn't seem like a bad idea to me, since it might protect against certain unintended usages. However, in every use-case I know of, it's also combined with checks that essentially say "don't just allow the output to be empty, fail if it isn't". In some cases, th...
2008 Jan 10
2
FreeBSD tar errors on valid empty tar.gz
Seems our current libarchive? That support FreeBSD's tar implementation has a bug where it can create archives it cant read back. This can be seen by simply creating an empty tar.gz file and then trying to expand or list it. In doing the above you get the following error: tar: Unrecognized archive format: Inappropriate file type or format N.B. gtar can list and expand the created file without issue. Regards Steve =============================================...
2006 Jul 20
6
A few minor warnings from Sun Studio 11
These come courtesy of Sun Studio 11 on Solaris 10 in case you care: "http11.c", line 54: warning: syntax error: empty declaration "http11.c", line 55: warning: syntax error: empty declaration "http11.c", line 56: warning: syntax error: empty declaration "http11.c", line 57: warning: syntax error: empty declaration "http11.c", line 58: warning: syntax error: empty declara...
2007 Aug 13
1
Extract part of vector
Dear R-users, How do I extract numbers between asp?P= and &VID from my txt vector? I have tried grep function with no luck. txt <- c(" http://www.mysite.com/system/empty.asp?P=2&VID=default&SID=421384237289476&S=1&C=18631", " http://www.mysite.com/system/empty.asp?P=123&VID=default&SID=421384237289476&S=1&C=18643", " http://www.mysite.com/system/empty.asp?P=342&VID=default&SID=421384237289476&S=1&C...
2006 Sep 03
2
Undefined method "xxx" of a model when calling a helper
Hi all I''m creating a shop page. I have a cart model that looks like the following: class Cart attr_reader :line_items def get_line_item id @line_items.each do |l| return l if l.id == id end end def initialize @line_items = [] end def empty! initialize end def empty? return true if @line_items.empty? false end end And I have some helper methods in application_helper.rb: module ApplicationHelper def find_cart session[:cart] ||= Cart.new end def empty_cart find_cart.empty! end def cart_empty?...
2014 Mar 19
5
[LLVMdev] [RFC] Add empty() method to iterator_range.
Hi all, As RFCs go this is short and sweet - I think it would be nice to add an empty method to iterator_range. Something like: bool empty() const { return begin() != end(); } My motivation is to make the 'if' test at the start of this common pattern tidier: if (!collection.empty()) // initialization... for (auto& c : collection) // do something for each c. which...
2008 Dec 27
1
Want to create empty vectors inside a empty data frame
Hi All, I want to create empty vectors inside an empty data frame.The name of the vectors has to come dynamically. For example if record_mean is my empty data frame,and i have say 4 categories,the category names for record mean data frame has to recmeanC1,recmeanC2,recmeanC3,recmeanC4,which will be dynamically created and which...
2006 Feb 12
3
.empty? Method
I am using: if @post.empty? render_text "Post does not exist." end But it gives me this error: NoMethodError in Posts#view undefined method `empty?'' for #<Posts:0x39598d0> However, if the method list empty? apears and stuff so I am confused. -- Posted via http://www.ruby-forum.com/.
2007 Nov 01
0
5 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_object.c libswfdec/swfdec_text_field_movie.c test/image
...|binary test/image/text-field-autosize-7.swf |binary test/image/text-field-autosize-7.swf.png |binary test/image/text-field-autosize-8.swf |binary test/image/text-field-autosize-8.swf.png |binary test/image/text-field-autosize.as | 19 +++++++++++++++++++ test/image/text-field-empty-6.swf |binary test/image/text-field-empty-6.swf.png |binary test/image/text-field-empty-7.swf |binary test/image/text-field-empty-7.swf.png |binary test/image/text-field-empty-8.swf |binary test/image/text-field-empty-8.swf.png |binary test/image/text-field-empty...
2015 Oct 28
6
Detecting empty office doc containing virus macro
We are receiving LOTS of emails that contain empty XLS or DOC documents with embedded virus macros. These are getting past SPAMASSASSIN, Clamav and Kaspersky. I'm trying to write a filter for EXIM to block these emails but I need to know a good, quick, command-line to detect an empty doc with a macro. Is there anything available that I ca...
2007 May 30
2
Depot - empty_cart with ajax
...r all the job is done "You should see the cart in the sidebar update. And you shouldn''t see your browser show any indication of reloading the page. You''ve just created an AJAX application.". 10 seconds after seeing with my own eyes that it worked right, i tried the "empty cart" button, and it didnt update my sidebar. It reloaded the whole page! The I decided to implement the empty cart button with Ajax. Here''s what i did: 1) In "_cart.rhtml" partial, I replaced the line: <%= button_to "Empty cart" , :action => :empty_cart %&...
2018 Mar 19
2
Erro Upgrade Samba 4.6.3 to 4.8
...-addr.arpa' Mar 19 11:32:10 dc-linux-09 named[12975]: samba_dlz: configured writeable zone '9.16.172.in-addr.arpa' Mar 19 11:32:10 dc-linux-09 named[12975]: set up managed keys zone for view _default, file 'managed-keys.bind' Mar 19 11:32:10 dc-linux-09 named[12975]: automatic empty zone: 10.IN-ADDR.ARPA Mar 19 11:32:10 dc-linux-09 named[12975]: automatic empty zone: 16.172.IN-ADDR.ARPA Mar 19 11:32:10 dc-linux-09 named[12975]: automatic empty zone: 17.172.IN-ADDR.ARPA Mar 19 11:32:10 dc-linux-09 named[12975]: automatic empty zone: 18.172.IN-ADDR.ARPA Mar 19 11:32:10 dc-li...
2006 Oct 09
2
How can I delete components in a column ?
Hi all R-helpers, i am a new R-user and have problem with deleting some components in a column. I have a dataset like Name Id x empty 2 empty 3 a none 2 b none 3 d none 2 ad cfh 4 bf cdt 5 empty 2 empty 2 gf cdh 4 d none 5 and want to eliminate all components that have id=none and empty . The rema...
2006 Mar 31
2
RE: drag and drop sorting with an empty lis
I ran into this issue too. My solution was to add an "onUpdate" function to the sortable that tests the container to see if it''s got any children or not: function is_empty(container) { if ($(container).hasChildNodes()) { Element.removeClassName($(container),''empty''); } else if (!$(container).hasChildNodes()) { Element.addClassName($(container),''empty''); } } I was using this for 2 sortable (UL) lists - my class for the &quot...
2008 Feb 18
1
[PATCH] Make sure /var/empty dir really exists
Hi, could somebody please be so kind to apply the below patch to the Cygwin specific file contrib/cygwin/ssh-host-config? It checks more thorough that it's possible to create the /var/empty directory. It also fixes bad English. Thanks, Corinna Index: contrib/cygwin/ssh-host-config =================================================================== RCS file: /cvs/openssh/contrib/cygwin/ssh-host-config,v retrieving revision 1.20 diff -p -u -r1.20 ssh-host-config --- contrib/cygwin/...