search for: akshay

Displaying 20 results from an estimated 150 matches for "akshay".

Did you mean: akshar
2009 Mar 25
11
ActiveRecord: Nested :include erroneous behavior
Hi, Found a simple example breaking on moving to 2.2 from 2.0. This example illustrates the usage of nested :include finder options. class Book < ActiveRecord::Base has_many :distributors end class Distributor < ActiveRecord::Base belongs_to :book has_many :agents end class Agent < ActiveRecord::Base belongs_to :distributor has_many :shops end class Shop <
2013 Apr 16
2
[LLVMdev] creating and inserting a function with variable arguments
...ways end up with some kind of error. Can you explain how can I get a function type for function which returns void (nothing) and it's arguments are (int, int, int, void *, void *, ...) ?? Thanks in advance. On Tue, Apr 16, 2013 at 7:22 AM, Óscar Fuentes <ofv at wanadoo.es> wrote: > Akshay Jain <jivan.molu at gmail.com> writes: > > > I am working on a pass in which I need to define and insert a function > with > > variable arguments. Can I do it with the help of getOrInsertFunction()? > > Sure. There is an overload of getOrInsertFunction that takes a &gt...
2013 Apr 16
0
[LLVMdev] creating and inserting a function with variable arguments
Akshay Jain <jivan.molu at gmail.com> writes: > I have tried it, but I always end up with some kind of error. Can you > explain how can I get a function type for function which returns void > (nothing) and it's arguments are (int, int, int, void *, void *, ...) ?? Instead of getting s...
2023 Mar 19
1
lexical scoping for scripts......
Again, the answer is "interactivity does not matter". On March 19, 2023 12:54:28 PM PDT, akshay kulkarni <akshay_e4 at hotmail.com> wrote: >Dear Jeff, > I will not be running R command in the shell prompt. So there is no banner, no > prompt. Just running "myscript.R" from the shell prompt. or from crontab in Linux. I think you get the context..... >...
2023 Mar 19
1
lexical scoping for scripts......
On 19/03/2023 2:55 p.m., akshay kulkarni wrote: > Dear Duncun, > ? ? ? ? ? ? ? ? ? ? ? ? ?What if there is no interactive "session" > running? I will be running my scripts automatically from crontab in Linux. I was talking about the session that is created for the duration of the BATCH run, not some other s...
2013 Apr 16
1
[LLVMdev] creating and inserting a function with variable arguments
...ParamTys.push_back(IntegerType::getInt32Ty(Context)); ParamTys.push_back(PointerType::get(Type::getVoidTy(Context), 0)); ParamTys.push_back(PointerType::get(Type::getVoidTy(Context), 0)); FunctionType *ftype = FunctionType::get(Type::getVoidTy(Context), ParamTys, true); And the errors are: /home/akshay/llvm/llvm-2.9/lib/Transforms/AliasPass/pass2.cpp: In member function ‘virtual bool {anonymous}::Hello2::runOnFunction(llvm::Function&)’: /home/akshay/llvm/llvm-2.9/lib/Transforms/AliasPass/pass2.cpp:108:62: error: no matching function for call to ‘std::vector<llvm::Type*>::push_back(const...
2023 Mar 19
2
lexical scoping for scripts......
Dear Duncun, What if there is no interactive "session" running? I will be running my scripts automatically from crontab in Linux. THanking you, Yours sincerely, AKSHAY M KULKARNI ________________________________ From: Duncan Murdoch <murdoch.duncan at gmail.com> Sent: Monday, March 20, 2023 12:20 AM To: akshay kulkarni <akshay_e4 at hotmail.com>; R help Mailing list <r-help at r-project.org> Subject: Re: [R] lexical scoping for scripts...... O...
2023 Mar 19
1
lexical scoping for scripts......
Dear Jeff, I will not be running R command in the shell prompt. So there is no banner, no > prompt. Just running "myscript.R" from the shell prompt. or from crontab in Linux. I think you get the context..... thanking you, yours sincerely AKSHAY M KULKARNI ________________________________ From: Jeff Newmiller <jdnewmil at dcn.davis.ca.us> Sent: Monday, March 20, 2023 1:01 AM To: r-help at r-project.org <r-help at r-project.org>; akshay kulkarni <akshay_e4 at hotmail.com>; Duncan Murdoch <murdoch.duncan at gmail.com&gt...
2023 Apr 04
1
on lexical scoping....
..." packages. There are a lot of really good ideas in those packages, but "tidy evaluation" is far too complicated and hard to understand, and I think it confuses people, so they don't understand the really very simple R scoping rules. Duncan Murdoch On 04/04/2023 10:59 a.m., akshay kulkarni wrote: > Dear Duncan, > ? ? ? ? ? ? ? ? ? ? ? ? ?THanks for the reply...! > > So the takeaway is that define the symbol in the same environment before > using it right!? > > Thanking you, > Yours sincerely, > AKSHAY M KULKARNI > ---------------------------...
2023 Mar 19
1
lexical scoping for scripts......
...eturn values is up to you... how do you save them now? (Depending on auto-saving to .Rdata files is not a good idea in any case, but if you choose to use save() to specific filename.Rdata files works the same whether you type it interactively or use R CMD BATCH. On March 19, 2023 11:55:37 AM PDT, akshay kulkarni <akshay_e4 at hotmail.com> wrote: >Dear Duncun, > What if there is no interactive "session" running? I will be running my scripts automatically from crontab in Linux. > >THanking you, >Yours sincerely, >AKSHAY M KULKARNI > >__...
2023 Apr 04
1
on lexical scoping....
Dear Duncan, THanks for the reply...! So the takeaway is that define the symbol in the same environment before using it right!? Thanking you, Yours sincerely, AKSHAY M KULKARNI ________________________________ From: Duncan Murdoch <murdoch.duncan at gmail.com> Sent: Tuesday, April 4, 2023 8:21 PM To: akshay kulkarni <akshay_e4 at hotmail.com>; Deepayan Sarkar <deepayan.sarkar at gmail.com> Cc: R help Mailing list <r-help at r-project.org&gt...
2023 Jan 12
4
return value of {....}
Hello Akshay, R is quite inspired by LISP, where this is a common thing. It is not in fact that {...} returned something, rather any expression evalulates to some value, and for a compound statement that is the last evaluated expression. {...} might be seen as similar to LISPs (begin ...). Now this is a very...
2016 Dec 13
15
[Bug 2646] New: zombie processes when using privilege separation
...ilege separation Product: Portable OpenSSH Version: 7.2p2 Hardware: ix86 OS: Linux Status: NEW Severity: minor Priority: P5 Component: sshd Assignee: unassigned-bugs at mindrot.org Reporter: akshay.moghe at gmail.com I'm using `OpenSSH_7.2p2 Ubuntu-4ubuntu1, OpenSSL 1.0.2g-fips` and I've explicitly enabled UsePrivilegeSeparation. With this I notice that the [priv] process does not get reaped by its parent (sshd) and as a result is adopted by whatever pid 1 happens to be. Normally th...
2023 Jan 09
3
return value of {....}
...e user to manipulate any object he chooses. Don't you think returning the last, or any value, is redundant? We are living in the 21st century world, and the R-core team might,I suppose, have a definite reason for"returning" the last value. Any comments? Thanking you, Yours sincerely, AKSHAY M KULKARNI ________________________________ From: Valentin Petzel <valentin at petzel.at> Sent: Monday, January 9, 2023 9:18 PM To: akshay kulkarni <akshay_e4 at hotmail.com> Cc: R help Mailing list <r-help at r-project.org> Subject: Re: [R] return value of {....} Hello Akshai,...
2023 Apr 12
1
aborting the execution of a script...
This is what I get: > source("~/temp/test.R", echo = TRUE) > print(1) [1] 1 > stop("here") Error in eval(ei, envir) : here I get similar output in every variation I tried. It never prints the 2. On 12/04/2023 8:13 a.m., akshay kulkarni wrote: > Dear Duncan, > ? ? ? ? ? ? ? ? ? ? ? ? ?What if I use source() with echo? I am using > that in RStudio. > > THanking you, > Yours sincerely > AKSHAY M KULKARNI > ------------------------------------------------------------------------ > *From:* Duncan...
2023 Apr 09
1
extracting pdf tables...
...4]]) [1] "X168" "TATA.MOTORS.LIMITED" "TATAMOTORS" "X4" THe above has to be the first row of IDT[[4]]. The first row is getting parsed as the column name. How do you make that the first row of IDT[[4]]? Thanking you, Yours sincerely, AKSHAY M KULKARNI ________________________________ From: Jeff Newmiller <jdnewmil at dcn.davis.ca.us> Sent: Monday, April 10, 2023 12:27 AM To: akshay kulkarni <akshay_e4 at hotmail.com>; r-help at r-project.org <r-help at r-project.org> Subject: Re: [R] extracting pdf tables... Your co...
2023 Apr 04
1
on lexical scoping....
...cause they are based on functions in S from 30-40 years ago, and it had very different scoping rules. My advice would be to ignore the "where" and "frame" arguments, and always use "envir" if you want to say where to look. Duncan Murdoch On 04/04/2023 10:28 a.m., akshay kulkarni wrote: > Dear Deepayan, > THanks for the pithy, pointed reply. > > But isn't it risky? Can I somehow get a warning when x is not defined in the global environment but takes on a value from one of the loaded packages? any packages for that? &g...
2010 Feb 08
0
Akshay Nawale wants to chat
----------------------------------------------------------------------- Akshay Nawale wants to stay in better touch using some of Google''s coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-63ba558873-726d82338f-2bba3f259d787d35 You''ll need to click this link to be able to chat with Akshay Nawale. To get Gm...
2023 Jan 10
1
return value of {....}
Fair enough, Akshay. Wondering why a design was chosen is reasonable. There are languages like python that allow unpacking multiple values and it is not uncommon to return multiple things from some constructs as in this: >>> a,b,c = { 4, 5, 6 } >>> a 4 >>> b 5 >>> c 6...
2023 Mar 19
1
lexical scoping for scripts......
On 19/03/2023 2:33 p.m., akshay kulkarni wrote: > Dear Duncun, > ? ? ? ? ? ? ? ? ? ? ? ? ?thanks for the reply.... > > So when I run a script in the system command line by R CMD BATCH, the > objects created in the script cannot be stored in the workspace ,right? > If yes, how to save them? Moreover, the only...