search for: concise

Displaying 20 results from an estimated 906 matches for "concise".

2006 Jan 24
3
Is there a concise way?
Hi, Is there a concise/ruby way to do the following: [Note: 1 and 2 below are not related.] (1) for p in 0...@order.line_items[k].shipment_lines.length shipline_qty = shipline_qty + @order.line_items[k].shipment_lines[p].quantity end (2) ts = Array.new...
2009 Sep 26
1
Looking for a textbook that is more concise than Applied Linear Statistical Models (2004 version)
...are give in those examples. Comments are buried in the examples. If I skip the examples, I would miss some important points. But if I don't skip the examples, it would take me too much time to finish the book (this book is of 1000 pages) However, I feel that the main points in the book can be concisely written in the matrix form. Athough this book has include matrix formulation, but it doesn't use it extensively. For example, the examples are not written with the abstract matrix (I mean just using symbols, such A, to represent the matrix) I'm wondering if there is a well-written book t...
2013 Aug 15
2
meetme list concise
Hello, Can anyone tell me the format for meetme list concise command, so that I know what field is what (separated by '!'s) Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130815/eba161be/attachment.htm>
2007 Dec 20
1
More pleasant / concise API
Hi there, Just a small suggestion : The following apis could be a bit more concise / shorter / pleasant I thought. This is particularly difficult, my brain stumbles on this each time when scanning thorugh the code :) set_no_auto_load(true) Could it be two apis instead? auto_load no_auto_load and the other one : worker_name :important_worker (no set_ prefix) thanks, emil
2010 Dec 30
2
remove newlines / perl /concise example
Thanks for the previous tips and suggestions. Here's a more concise example: Input file: <aaaa> <bbbb> <cccc> <dddd> I want everything on one line, i.e., remove all newlines. Like so: <aaaa><bbbb><cccc><dddd> Simple perl code: #!/usr/bin/env perl # Remove newlines from a file in two ways: # (1) Just "chomp...
2009 Feb 16
3
command show channels concise
...risk_command() Secret: ZZZZ 16-Feb-09 11:51 am asterisk_command() Events: off 16-Feb-09 11:51 am DEBUG: Response: Success[CR ][LF ]Message: Authentication accepted[CR ][LF ][CR ][LF ] 16-Feb-09 11:51 am asterisk_command() Action: Command 16-Feb-09 11:51 am asterisk_command() Command: show channels concise 16-Feb-09 11:51 am DEBUG: Response: Follows[CR ][LF ]Privilege: Command[CR ][LF ] manager.conf has: [XXX] secret=ZZZZ permit=127.0.0.1/255.255.255.0 read = system,call,command,all,agent,user write = system,call,command,all,agent,user I thought that was all I needed to run that command? I am usi...
2008 Jun 23
3
expand.grid() function
...quot;), c("u", "l"), c("u", "l")) I get following as desired : Var1 Var2 Var3 1 u u u 2 l u u 3 u l u 4 l l u 5 u u l 6 l u l 7 u l l 8 l l l However I wanted to write that in more concise manner. Therefore I tried : expand.grid(rep(c("u", "l"), 3)). But I did not get answer that I previously got. Can people here clarify me why it is not like that? Then what would be the mose concise way to do that? [[alternative HTML version deleted]]
2006 Feb 24
0
More concise edit methods
......and(@item=Item.update...)), but I''ll probably actually use: def edit @item = Item.find(params[:id]) if request.post? and @item.update_attributes(params[:item]) flash[:notice] = ''Item updated.'' redirect_to :action=>:list end end I like this readable conciseness that''s easily possible in Ruby/Rails. :) Joe -- Posted via http://www.ruby-forum.com/.
2007 Sep 06
1
any reason we can''t use the concise stubs on Object
I like the concise version of stubs available on true mocks: => #<Mock:0x32f76d4> >> foo.stubs(:one => ''hi'', :two => ''again'') => {:one=>"hi", :two=>"again"} Why can''t we do it on ''real'' objects? >&gt...
2008 Dec 09
1
Voicemail.conf : concise hour prompts
Hi, In voicemail.conf: ; Supported values: ; 'filename' filename of a soundfile (single ticks around the filename ; required) ; ${VAR} variable substitution ; A or a Day of week (Saturday, Sunday, ...) ; B or b or h Month name (January, February, ...) ; d or e numeric day of month (first, second, ..., thirty-first) ; Y Year ; I or l
2008 Dec 09
0
Voicemail.conf : concise hour prompts [SOLVED]
2008/12/9 Olivier <oza-4h07 at myamail.com> > > > 2008/12/9 Tilghman Lesher <tilghman at mail.jeffandtilghman.com> > > On Tuesday 09 December 2008 09:14:11 Olivier wrote: >> > Hi, >> > >> > In voicemail.conf: >> > ; Supported values: >> > ; 'filename' filename of a soundfile (single ticks around the >>
2003 Jun 12
1
I would like a concise doccument on how to setup samba 3.0.0b2 using ldapsam_nua
Is there any doccumentation on using the ldapsam_nua backend?? I would like to setup my server in that fashion, and have looked all through the docs tree I downloaded with the cvs sources without sucess. The LDAP howto in the docs tree is completly useless as it was written for 2.2.3
2009 Nov 05
1
Typo in R Help INSTALL {utils} (PR#14045)
Full_Name: Neil Tiffin Version: R version 2.10.0 (2009-10-26) OS: [R.app GUI 1.30 (5511) i386-apple-darwin9.8.0] Submission from: (NULL) (99.68.31.116) In the help section 'INSTALL {utils}' half way down the page the line Use R CMD INSTALL ?help for concise usage information, including all the available options should have two '-' in front of help. Therefor it should read Use R CMD INSTALL ?-help for concise usage information, including all the available options At least when I copied and pasted the line it did not work until I added the s...
2017 May 16
2
stopifnot() does not stop at first non-TRUE argument
...u want sequencing you >> can use >> >> stopifnot(A) >> stopifnot(B) >> >> or >> >> stopifnot(A && B) > My main use case for using stopifnot() is argument checking. In that > context, I like the conciseness of > stopifnot( > A, > B, > ... > ) > I think it's a common use case (and a pretty natural thing to do) to > order/organize the expressions in a way such that it only makes sense > to continue evaluating if all was OK so far e.g....
2004 Nov 18
5
How to calculate the stratified means in a data frame?
Dear R people, I have a simple question to ask. Suppose I have a data.frame with two variables: one factor (x) and one numeric (y), I want to calculate the mean of y for each value of x. Although it's easy to do it within a for a loop, I believe there may be a concise way by using some kinds of "apply" functions. Could anyone tell me how to do that? Thank you. Frank
2017 Feb 01
2
RFC: Generic IR reductions
...oing IL for any optimizers not interested in optimizing reduction last value compute, that translates to longer compile time, etc.) So, it's not like we don't have reasons for asking to change the status quo. Here's what I'd like to see at the end of this discussion. Nice and concise representation of reducing a vector into a scalar value. An IR instruction to do so is ideal, but I understand that the hurdle for that is very high. I'm okay with an intrinsic function call, and I heard that's a reasonable step to get to instruction. Let's say someone co...
2014 Sep 25
4
[LLVMdev] [cfe-dev] Commit message policy?
That seems mostly reasonable. I'd try to make it more concise, though. The coding standards and developer policy docs should be short. +Commit message +-------------- + +Although we don't enforce the format of commit messages, there are general +guidelines that will help review, search in logs, email formatting and so on. +Mostly, the rules that apply ar...
2017 May 15
4
stopifnot() does not stop at first non-TRUE argument
This is getting pretty convoluted. The current behavior is consistent with the description at the top of the help page -- it does not promise to stop evaluation once the first non-TRUE is found. That seems OK to me -- if you want sequencing you can use stopifnot(A) stopifnot(B) or stopifnot(A && B) I could see an argument for a change that in the multiple argumetn case reports _all_
2017 May 15
0
stopifnot() does not stop at first non-TRUE argument
...stop evaluation once the first > non-TRUE is found. That seems OK to me -- if you want sequencing you > can use > > stopifnot(A) > stopifnot(B) > > or > > stopifnot(A && B) My main use case for using stopifnot() is argument checking. In that context, I like the conciseness of stopifnot( A, B, ... ) I think it's a common use case (and a pretty natural thing to do) to order/organize the expressions in a way such that it only makes sense to continue evaluating if all was OK so far e.g. stopifnot( is.numeric(x), length(x) == 1...
2018 Aug 21
2
Call for testing: OpenSSH 7.8
...fer the comment before the return statement, but up to you) Immediately before the return statement, it looked really confusing, like: /* ASCII on various systems ... blabla */ return UTF-8 ... blabla So i moved it up a few more lines and appended it to the existing comment, keeping the code concise and yet clearly explaining it. Yours, Ingo