similar to: Good Programming Practice Question - Functions in Different Files

Displaying 20 results from an estimated 1000 matches similar to: "Good Programming Practice Question - Functions in Different Files"

2023 Aug 30
2
Book Recommendation
Stephen, I see lots of answers with packages and resources, but not book recommendations. I have used Introduction to Data Technologies by Paul Murrell (https://www.stat.auckland.ac.nz/~paul/ItDT/) to teach SQL and database design and would recommend looking at it as a possibility. On Mon, Aug 28, 2023 at 9:47?AM Stephen H. Dawson, DSL via R-help <r-help at r-project.org> wrote: > >
2009 Feb 05
1
udev by-id symlinks randomly missing for tape drives on centos5
Hello! I'm having problems with udev /dev/tape/by-id/ symlinks.. it seems symlinks to tape drives are sometimes (randomly) missing after reboot. Server in question has IBM TS3200 tape library connected with 2 drives in it.. so /proc/scsi/scsi shows 3 devices: 2 tape drives, and 1 medium changer (tape library). So I should have 3 symlinks in /dev/tape/by-id/ directory.. 2 symlinks to tape
2007 May 23
1
[LLVMdev] Compiling llvm-gcc in linux/ppc
On Wed, 23 May 2007, Nicolas Geoffray wrote: > I will when I'll figure out why it sometimes doesn't work to add these > and I have to remove the specific instructions from the file (even an > #if 0 does not work -- maybe there's a script somewhere that misbehaves) Ok. >> Unfortunately, I really don't know. I assume this is supposed to be >> coming from
2007 Dec 25
0
[LLVMdev] Using debug info in static analysis
On Dec 25, 2007, at 5:56 AM, Török Edwin wrote: > I was looking at how to use debug info to find out original > source:line > for a certain function/variable in the llvm bytecode. > > I read http://llvm.org/docs/SourceLevelDebugging.html, and then I have > looked in lib/Debugger/ProgramInfo.cpp. > getFunction() looks useful, however I am not sure how to call it. I >
2006 Apr 08
2
[LLVMdev] line number information
On Sat, 8 Apr 2006, Jim Laskey wrote: > If you look at the stoppoint calls you'll see that you can find the line > number and if you follow the compile unit argument on the call you will find > the file. The byte codes that follow the call would have been generated by > the code on that source line. I'd suggest an approach like this: Given an instruction in the a basic
2018 Jun 07
2
vanilla build of 7.7p1 release on linux/4.17 fails with gcc8 @ "/usr/bin/ld: unrecognized option '-Wl,-z,retpolineplt'"
hi On 6/7/18 4:03 PM, Darren Tucker wrote: > On 8 June 2018 at 07:09, PGNet Dev <pgnet.dev at gmail.com> wrote: >> Verifying a report I just got pinged about, building vanilla openssh 7.7p1 on linux configures ok, but fails build around 'retpoline' > [...] >> Should the retpoline flag be getting added? If so, what's needed to make LD happy with it? > >
2006 Apr 08
0
[LLVMdev] line number information
I get it now, I can't believe I didn't understand that before. Thank you all for your help! - John On 4/8/06, Chris Lattner <sabre at nondot.org> wrote: > > On Sat, 8 Apr 2006, Jim Laskey wrote: > > If you look at the stoppoint calls you'll see that you can find the line > > number and if you follow the compile unit argument on the call you will > find >
2006 Aug 01
5
permissions warning on OpenBSD 3.9
At startup I get the following warning: "Warning: Fixing permissions of /var/dovecot to be world-readable." Q: Is this something that I can/should fix, or can it be safely ignored? Thnx, J
2007 Dec 25
3
[LLVMdev] Using debug info in static analysis
Hi, I was looking at how to use debug info to find out original source:line for a certain function/variable in the llvm bytecode. I read http://llvm.org/docs/SourceLevelDebugging.html, and then I have looked in lib/Debugger/ProgramInfo.cpp. getFunction() looks useful, however I am not sure how to call it. I have a reference to a Function, however getFunction() takes a GlobalVariable. I tried
2006 Apr 09
1
[LLVMdev] line number information
Hi, I would like to know how much effect these stoppoint calls have on the optimization of the bytecode? DOes insertion of debugging info cause opportunities for optimization (especially interprocedural dead code elimination and interprocedural constant propogation) to be reduced? The -g code is not very readable, so I am not able to confirm this by my own experiment. Thanks! Nikhil On Sat,
2007 May 23
0
[LLVMdev] Compiling llvm-gcc in linux/ppc
Hi Chris, Chris Lattner wrote: > On Tue, 22 May 2007, Nicolas Geoffray wrote: > >> OK, seems like there were unused TARGET_MACHO macros that would protect >> these errors from happening. I made some modifications that add #if >> TARGET_MACHO. >> > > ok. If you send a patch in that adds these, I would be happy to apply it. > > I will when
2006 Apr 08
0
[LLVMdev] line number information
John, If you look at the stoppoint calls you'll see that you can find the line number and if you follow the compile unit argument on the call you will find the file. The byte codes that follow the call would have been generated by the code on that source line. -- Jim On Apr 8, 2006, at 5:33 AM, John Trimble wrote: > Thanks for your help. I took a look at http://llvm.org/docs/
2006 Apr 08
2
[LLVMdev] line number information
Thanks for your help. I took a look at http://llvm.org/docs/SourceLevelDebugging.html and it seems like this doesn't give you much in the way of line number information. If you know what source line you are interested in then you can set a breakpoint, but suppose you want to know the line number in the source code for some arbitrary bytecode instruction. In my particular case, I have a pass
2007 May 23
2
[LLVMdev] Compiling llvm-gcc in linux/ppc
On Tue, 22 May 2007, Nicolas Geoffray wrote: > OK, seems like there were unused TARGET_MACHO macros that would protect > these errors from happening. I made some modifications that add #if > TARGET_MACHO. ok. If you send a patch in that adds these, I would be happy to apply it. > Now the error is a linkage problem: > > /home/varth/project/llvm-cvs/llvm-gcc4/obj/gcc/xgcc:
2004 Sep 01
1
Advice on good programming practice, lexical scope
In "An Introduction to R" (See R help menu), there is an example of a function 'open.account' that makes use of the lexical scope in R. I have a set of functions that can be used to output R tables and graphics into a single report document. (I am aware that several tools can do this already). While reorganizing my code, I realize that I can collect my functions in a list, in
2020 Mar 11
6
[PATCH 0/1] *** SUBJECT HERE ***
Hi, sifting through my system's logs, I noticed many break-in attempts by rogue ssh clients trying long lists of common passwords. For some time now I pondered different approaches to counter these, but could not come up with a solution that really satisfied me. I finally reached the conclusion that any countermeasures required support in sshd itself, and created the attached patch. If
2008 Jul 14
1
eval.wih.vis
Hello, I have an error since I run my R code. This error is : Fehler in eval.with.vis(expr, envir, enclos) : > My code is: #CONDITION1 : check if the right logfile is chosen c1=log(z[,3],n) if (c1==FALSE) { plot(0:1,0:1,type = "n", axes=FALSE,xlab="",ylab="") text(0.4,0.8,adj=0,paste("FEHLER"),col="red")
2005 Sep 10
1
Configuring SIPURA 2002 to work wih Asterisk
I'm setting up Asterisk for the first time. I purchased a SIPURA 2002 ATA to connect with the Asterisk server. In the /var/log/asterisk/messages log I keep getting an error indicating wrong password. Below is the error I am receiving. Note that the IP address and username has been modified for security. Sep 10 15:56:22 NOTICE[24099] chan_sip.c: Registration from 'John Doe
2001 Mar 09
1
Help ! Linux client wih NT server
Hello ! At first I'm french and sorry for my language I have a NT server and many linux hosts. How can I have access to a share file on the NT server from a linux host. I've already tested the smbclient command which give an ftp environment but it is not convienient for common users. Is there another more userfriendly solution. Thanks a lot other e-mail : hsth@club-internet.fr
2006 Jun 14
0
upload progress bar wih lighttpd 1.4.11?
I''m trying to implement the upload progress bar with lighttpd 1.4.11, and i''m seeing various posts (linked below) indicating that lighty doesn''t support it. sounds like they''re working on it, though. anyone have any idea what the current status of this is? or if there''s a workaround in the meanwhile? those posts: