search for: yadayada

Displaying 8 results from an estimated 8 matches for "yadayada".

2020 Jun 23
3
Codifying our Brace rules-
On Tue, 23 Jun 2020 at 03:30, Mehdi AMINI via llvm-dev <llvm-dev at lists.llvm.org> wrote: > On Mon, Jun 22, 2020 at 2:38 PM Steve Scalpone via llvm-dev <llvm-dev at lists.llvm.org> wrote: >> >> Me? I would modify the first sentence from: >> >> > When writing the body of an if, else, or loop statement, >> > omit the braces to avoid unnecessary
2020 Jun 23
2
Codifying our Brace rules-
...plusses as mentioned previously for IDEs and > not confusing clang-format into "fixing incorrect indentation" when > the problem is actually missing braces. > > (2) always use braces except for a one-line block. This means > for (blah) // BAD > if (yadayada) > do_a_thing; > for (blah) { // GOOD > if (yadayada) > do_a_thing; > } > > (3) always use braces except for a one-line statement, applied > recursively. This means > for (blah) // GOOD > for (whatev...
2006 Apr 05
1
where do you put Classes in RoR
I''m just trying RoR and it works very smoothly. I''am also somewhat familiar with ruby however I do not know where my Classes are supposed to go in RoR. E.g. my ruby file looks like include a_few_lib_here Class function_name def aaaa end end #main program yadayada = function_name(parameter) I understand: - the main program goes in a controller I have to create - but where am I suppose to put the Class stuff? I''ll re-use the Class stuff for different controllers but I''m not sure where it is suppposed to go. Thanks. -T -- Posted via ht...
2017 Feb 03
2
compilation errors on master
`git describe' says V_7_3_P1-207-gc924b2ef (shouldn't it say V_7_4_P1-<yadayada>?). This is what I see: gcc -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -I. -DSSHDIR=\&quo...
2020 Jun 23
3
Codifying our Brace rules-
...me plusses as mentioned previously for IDEs and > not confusing clang-format into "fixing incorrect indentation" when > the problem is actually missing braces. > > (2) always use braces except for a one-line block. This means > for (blah) // BAD > if (yadayada) > do_a_thing; > for (blah) { // GOOD > if (yadayada) > do_a_thing; > } > > (3) always use braces except for a one-line statement, applied > recursively. This means > for (blah) // GOOD > for (whatever) &gt...
2016 Mar 03
2
as.vector in R-devel loaded 3/3/2016
I just installed R-devel to check my package before submitting. I got an error in my vignette in regards to as.vector. When I looked at the code for as.vector in R-devel it is standardGeneric for "as.vector" defined from package "base" function (x, mode) standardGeneric("as.vector") <environment: 0x0918ad70> Methods may be defined for arguments: x, mode Use
2006 Apr 17
6
acts_as_taggable confused
Ahoy, So i''ve installed the acts_as_taggable module and everything is fine, but i''m a bit confused about this bit of code described in the API "photo = Photo.new # splits and adds to the tags collection photo.tag "wine beer alcohol" # don''t need to split since it''s an array, but replaces the tags collection # trailing and leading
2016 Mar 04
2
as.vector in R-devel loaded 3/3/2016
...3), mode="integer")) int [1:3] 1 2 3 > str(as.vector(list(1,2,3), mode="numeric")) num [1:3] 1 2 3 Also, *current* r-devel has the same definition: $ ~/r-devel/BUILD-dist/bin/R R Under development (unstable) (2016-03-03 r70270) -- "Unsuffered Consequences" [...yadayada...] > library(Matrix) > as.vector function (x, mode = "any") .Internal(as.vector(x, mode)) <bytecode: 0x7fdf69279780> <environment: namespace:base> > On 04 Mar 2016, at 01:09 , Jeff Laake - NOAA Federal <jeff.laake at noaa.gov> wrote: > > I dug into th...