similar to: what''s the best way to deal with class/inheritence

Displaying 20 results from an estimated 1000 matches similar to: "what''s the best way to deal with class/inheritence"

2011 May 05
3
Alter a line in a file.
Hi all R users Ive got a file that contains diffrent settings in the manor of: setting1="value1" setting2="value2" setting3="value3" setting4="value4" . . . What I want to do is open the file and change the value of a specific setting like wanna change setting4="value4" -> setting4="value5" and then save the file again.
2009 Sep 10
2
tranform a table?
hello everyone, i'm new to R, so i hope you dont mind a fairly basic R question. we're using R to manipulate the results of SQL queries and create an HTML output. I'm starting with a table that looks essentially like this: Name Field1 Field2 John value1 value2 Jane value3 value4 My table is stored as a dataframe. I'd like to efficiently produce an
2007 Jun 12
3
Read Windows-like .INI files into R data structure?
I need to process some datasets where the configuration information was stored in .INI-like files, i.e., text files with sections like this: [Section1] var1=value1 var2=value2 [Section2] A=value3 B=value4 ... >From Google and other searches I haven't found any package, or function within a package, that reads .INI files into an R list, or other data structure. Any suggestions, or
2009 Aug 10
1
manipulating text to generate different formulas to use in nls()
Hello, In doing a series of non-linear estimations of a function which is a sum of a varying number of sinusoids, I would like to "autogenerate" the arguments needed by nls() depending on that number. For example, when there are two sinusoids: > nls( y ~ mu + A1 * cos(2*pi*f1*x - P1) + A2 * cos(2*pi*f2*x - P2), data = some.xy.data, start = list( mu=some.value0,
2020 Aug 14
2
TDB database commands (TDB used by SAMBA)
Background: FREEBSD 11.2 - SAMBA 4.10.15 Hello everyone, Good evening/afternoon/morning. I am trying to "reuse" the TDB database to my portal, where I want to store basically 3 information: IP address , Name, TimeStamp - where IP would be the KEY and "NAME,TIMESTAMP" would be the VALUE. I am using the tdbtool to insert/store data successfully (like the example below)
2015 Oct 28
4
RFC: Supporting macros in LLVM debug info
Hi, I would like to implement macro debug info support in LLVM. Below you will find 4 parts: 1. Background on what does it mean to debug macros. 2. A brief explanation on how to represent macro debug info in DWARF 4.0. 3. The suggested design. 4. A full example: Source -> AST -> LLVM IR -> DWARF. Feel free to skip first two parts if you think you know the background.
2020 Aug 17
1
TDB database commands (TDB used by SAMBA)
On Mon, 2020-08-17 at 12:36 -0700, Jeremy Allison via samba wrote: > On Fri, Aug 14, 2020 at 08:33:33PM -0300, Suporte - KONNTROL via > samba wrote: > > Background: FREEBSD 11.2 - SAMBA 4.10.15 > > > > Hello everyone, > > Good evening/afternoon/morning. > > > > I am trying to "reuse" the TDB database to my portal, where I want > > to
2015 Nov 03
3
RFC: Supporting macros in LLVM debug info
> Do we really need to touch the AST? Or would it be reasonable to wire up the CGDebugInfo directly to the PPCallbacks, if it isn't already? (perhaps it is already wired up for other reasons?) This sound as a good idea, I will check that approach. PPCallbacks is only an interface, has nothing connected to it, but we will create a new class, which implement PPCallbacks, for macros. So we can
2015 Nov 03
2
RFC: Supporting macros in LLVM debug info
> Not necessarily, if we kept the macros in order in the list of macros attached to the CU, which I imagine we would. OK, now I understand what you are aiming for. I really do not favor one on the other. But, can you explain what is the advantage of the parent approach over the children approach? If any, the children approach seems to be the one reduces the LLVM IR size, is not it? Regards,
2015 Nov 05
2
RFC: Supporting macros in LLVM debug info
> Right - I was wondering if CGDebugInfo already implemented PPCallbacks or was otherwise being notified of PPCallback related things, possibly through a layer or two of indirection. I checked the approach of skipping representing macros in AST, and communicate them directly from Parser to CGDebugInfo. However, I could not find a way to initialize this communication. The only interface
2015 Nov 04
2
RFC: Supporting macros in LLVM debug info
I'd like to jump in. I do not work on a preprocessor based language, but have the same code expansion problem to encode. Right now, we hack around the problem by appending some prefix after the file name and pretend it is a different file, which is not great. I understand you want to represent expansion by DIFileMacro ? I'm not how this is supposed to be used and it is not in the example.
2020 Aug 17
0
TDB database commands (TDB used by SAMBA)
On Fri, Aug 14, 2020 at 08:33:33PM -0300, Suporte - KONNTROL via samba wrote: > Background: FREEBSD 11.2 - SAMBA 4.10.15 > > Hello everyone, > Good evening/afternoon/morning. > > I am trying to "reuse" the TDB database to my portal, where I want to store > basically 3 information: > > IP address , Name, TimeStamp - where IP would be the KEY and >
2015 Nov 13
2
RFC: Supporting macros in LLVM debug info
On Mon, Nov 9, 2015 at 4:00 AM, Aboud, Amjad <amjad.aboud at intel.com> wrote: > I found a way to skip representing macros in AST and create them directly > in CGDebugInfo through PPCallbacks during preprocessing. > > To do that, I needed to extend ASTConsumer interface with this extra > method: > > > > /// If the consumer is interested in notifications from
2011 May 20
4
The quantum effect when loading classes
Can anyone comment / expand upon http://www.nico.schottelius.org/blog/puppet-sometimes-loads-a-class/ I am experiencing a case which may be related. We have an ENC, and recently on our twice daily noop runs from cron, puppet has reported some servers aren''t in sync because they do not have a certain module/class (dns_server) even though they are not subscribed to the dns_server module in
2024 Mar 22
1
Samba errors everyday at 00:00:00
Hello, I have errors like below every day at midnight. Anyone have an idea? samba4 AD version : 4.18.11 OS : Rocky Linux 8.9 Mar 18 00:00:00 <dc> samba[1253835]: [2024/03/18 00:00:00.114303, 1] ../../source4/dns_server/dns_query.c:1141(dns_server_process_query_got_auth) Mar 18 00:00:00 <dc> samba[1253835]: dns_server_process_query_got_auth: Failed to add SOA record:
2014 Dec 18
2
Samba4 on Ubuntu server
New to linux and new to Samba so any direction in troubleshooting would be helpful. Here is what I have so far. Within a half an hour of a reboot of the server my cpu reaches high numbers and becomes slow to respond on all actions. With my limited understanding I have used vmstat to observe the system. I noticed is that the numbers of forks grows from 1-2k to 43k within 30 minutes after reboot. I
2024 Mar 22
1
Samba errors everyday at 00:00:00
On Fri, 22 Mar 2024 14:45:31 +0000 Kamal Chikh echioukh via samba <samba at lists.samba.org> wrote: > Hello, > > I have errors like below every day at midnight. Anyone have an idea? > > samba4 AD version : 4.18.11 > OS : Rocky Linux 8.9 > > Mar 18 00:00:00 <dc> samba[1253835]: [2024/03/18 00:00:00.114303, 1] >
2007 Jun 06
2
lookup in CSV recipe
I await Luke''s node settings implementation with interest. At the moment however, I have this sort of ugliness: $site = $hostname ? { fred => "opsera", barney => "bedrock", default => "unknown site", ... } So I''ve knocked up this little function to use CSV files instead. Now I can just do: $site =
2015 Nov 13
2
[cfe-dev] RFC: Supporting macros in LLVM debug info
On Fri, Nov 13, 2015 at 2:41 PM, Richard Smith <richard at metafoo.co.uk> wrote: > On Fri, Nov 13, 2015 at 10:21 AM, David Blaikie via cfe-dev < > cfe-dev at lists.llvm.org> wrote: > >> On Mon, Nov 9, 2015 at 4:00 AM, Aboud, Amjad <amjad.aboud at intel.com> >> wrote: >> >>> I found a way to skip representing macros in AST and create them
2014 Dec 18
4
Samba4 on Ubuntu server
On 18/12/14 16:19, Germ van Eck wrote: > Not sure about the high CPU load, but you have the [netlogon] share > twice in your smb.conf. Your first matches mine, have you added the > second yourself? > The second one looks weird with 2 path definitions. > Cj Tibbetts schreef op do 18-12-2014 om 08:59 [-0700]: >> New to linux and new to Samba so any direction in troubleshooting