search for: stroustrups

Displaying 20 results from an estimated 40 matches for "stroustrups".

Did you mean: stroustrup
2007 Jan 19
5
C vs. C++ as learning and development tool for R
I have 3 years of experience with R and have an interest in becoming a better programmer so that I might someday be able to contribute packages. Other than R, my only experience was taking Lisp from Daniel Friedman in the 1970's. I would like to learn either C or C++ for several reasons: To gain a better concept of object oriented programming so that I can begin to use S4 methods in R. To
2009 Jul 20
2
[LLVMdev] x86 unwind support[MESSAGE NOT SCANNED]
> In languages without stack-allocated objects (ie. most languages that > support exceptions) there is no need to unwind frame-by-frame, the > unwind simply needs to make a single jump to the invoke instruction and > restore the context (which in x86 is just 6 registers). > No. Java, C#, Ruby and Python all support the finally/ensure block; C# supports the using( IDisposable x
2008 Dec 27
2
stdint.h on Solaris 7
Hi together, here is a little success tory how I got flac 1.2.1 (ZIP from downloads page) compiled with Solaris 7: First of all you need a lot packages from sunfreeware.com If you have installed the required packages you may end up with an error that says there is no stdint.h on your system. On an other forum I have read upgrading to Solaris 10 "fixes" this problem but that might not
2008 Dec 28
4
Driver installation after reboot
Hello, I have installed a Windows game using Wine. ("Ritter Rost", basically a simple point and click adventure for children, see http://www.terzio.de/produkte/677/Ritter_Rost_Geisterjagd_Wasserpost.html) When starting the game, I receive a message that some drivers are being installed. (That's okay, I receive the same message when running the game for the first time on Windows.)
2016 May 05
3
pread() failures when using mdbox on btrfs
(Note: I am not subscribed to this ML, so please be sure to CC me in replies.) Hello, I see a strange bug when running dovecot under btrfs with a mailbox in mdbox format. At some point, which can take a few minutes or more than a day, dovecot starts logging pread() failures, like so: Apr 02 23:43:42 thetick dovecot[570]: imap(marcec): Error: pread() failed with file
2012 Oct 27
7
How does btrfs behave on checksum mismatch?
I came across the tidbit that ZFS has a contract guarantee that the data read back will either be correct (the checksum computed over the data read from the disk matches the checksum stored on disk), or you get an I/O error. Obviously, this greatly reduces the probability that the data is invalid. (Particularly when taken in combination with the disk firmware''s own ECC and checksumming.)
2013 Oct 02
1
Shutting down a GlusterFS server.
Hi, I have a 2-node replica volume running with GlusterFS 3.3.2 on Centos 6.4. I want to shut down one of the gluster servers for maintenance. Any best practice that is to be followed while turning off a server in terms of services etc. Or can I just shut down the server. ? Thanks & Regards, Bobby Jacob -------------- next part -------------- An HTML attachment was scrubbed... URL:
2011 Aug 18
1
[LLVMdev] [cfe-dev] Style question: NULL or 0?
On Wed, Aug 17, 2011 at 4:41 PM, Jordy Rose <jediknil at belkadan.com> wrote: > But I think I read somewhere that 0 is more C++esque. I believe Stroustrup espoused this at one point (perhaps even on his website) on the basis that using NULL gives you a false sense of security - which isn't entirely true now that compilers (GCC & clang presumably) will warn you about using NULL
2008 May 05
0
flac/metaflac 32/64 Universal OS X builds
...oken binary'. Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "I've nothing against OO, I do have something against C++. Its a dogs dinner. Anyone who's (tried) to read Stroustrups book on C++ like I had the misfortune of doing knows that the man is very intelligent but has about as much clarity of thought as Timothy Leary on a bad day." -- NJR in comp.os.linux.development.apps
2008 Dec 28
1
stdint.h on Solaris 7
Erik de Castro Lopo wrote: > Both <inttypes.h> and <stdarg.h> are part of the 1999 ISO C Standard > (yes, a standard that is now 10 years old). Any compiler which has one > or the other missing does not comply with the standard. Fairly old standard. ;) > > > Maybe you can ask SUN to fix their compiler. Okay, maybe that was not fully clearto you. I use the GCC from
2008 Jan 17
1
compression level
hi I was wondering how many difference in % of cpu load (on same cpu) exists between compression level 1 and 8 while decoding. Also same question for encoding. Is the difference in % of cpu load while decoding/encoding the reason different compression levels were created or another reason? thx -- 'C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows
2008 Feb 07
1
Nullsoft winamp's FLAC plugin
Hi, Does anybody know if the FLAC plugin of Nullsoft winamp (the one included with winamp itself, not the one you can download on the FLAC website) uses the reference FLAC decoder? thx -- 'C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg.' --Bjarne Stroustrup, The Creator of C++ 'And so at last the beast fell and the
2006 Jul 05
0
Problem with coxme
------------- Begin Forwarded Message ------------- Date: Wed, 5 Jul 2006 09:09:14 -0500 (CDT) From: Terry Therneau <therneau at mayo.edu> Subject: RE: Problem with coxme To: jhz22 at medschl.cam.ac.uk Cc: R-help at stat.mat.ethz.ch, liulei at virginia.edu, spencer.graves at pdf.com Content-MD5: BXKVsHtW/1I9mIUqrXBU0g== The original question involved a strange error message from coxme
2004 Jun 15
1
QueryParser memory leak?
Hi Olly, valgrind showed me what seems to be a memory leak: QueryParser owns the Stopper and Stem instances it points to (since it deletes them e.g. in set_stemming_options), but it does not delete them at destruction. (Btw., I don't test before deleting, but maybe "delete 0;" does not work on all platforms?) -- Robert Pollak GPG Key ID: 748646AD -------------- next part
2007 Apr 05
1
sizeof(std::string)
Currently we carefully try to pass std::string by const reference everywhere, which is a good idea if one assumes it's an object of non-trivial size. Bjarne Stroustrup's guideline is "more than a couple of words): http://www.research.att.com/~bs/bs_faq2.html#call-by-reference I've noticed that under GCC at least (I tried 2.95, 3.3, and 4.1) std::string just holds a pointer to
2013 Jun 09
0
xattrs, Operation not supported during rsync
All, I was just running an rsync mirror script and noticed some errors in my brick log file: [2013-06-09 17:48:38.527144] E [posix.c:1755:posix_create] 0-data-posix: setting xattrs on /mnt/gfs/wingu0/sda1/data/mirror/archlinux/core/os/x86_64/.core.db.tar.gz.NhEheR failed (Operation not supported) [2013-06-09 17:48:38.598159] E [posix.c:1755:posix_create] 0-data-posix:
2008 Mar 27
2
WINEDLLPATH weirdness
Hi all, I'm using the Linux to MinGW cross compiler toolchain to build windows binaries for one of my libraries. I'm also trying to run the cross-compiled binaries that make up the test suite under wine version 0.9.58 from ubuntu hardy heron. The DLL for my library gets built as: /home/erikd/Bzr/libsndfile-mingw/src/.libs/libsndfile-1.dll and the test suite binaries get built in:
2013 Aug 20
0
sf bug 256 - Virtual functions in destructor
In 2007, user reported a segfault in FLAC::Encoder::File::progress_callback() when called from ~Stream(). Original report at https://sourceforge.net/p/flac/bugs/256/ Hello! Sorry, english is not my best language. I use libFLAC++ API. I have some problems. In libFLAC API all OK. Unhandled exception at 0x00000000 in Test.exe: 0xC0000005: Access violation reading location 0x00000000. Call stack
2011 Feb 14
0
[LLVMdev] LLVMdev Digest, Vol 80, Issue 13
On Mon, Feb 14, 2011 at 3:49 PM, Peter Lawrence <peterl95124 at sbcglobal.net> wrote: > Andrew, >                your response highlights a naming problem in LLVM, > which is that  "array" and "vector" > mean the same thing in normal computer language and compiler theory > usage, so it is > inconvenient and misleading within LLVM to give one a very
2009 Jul 20
0
[LLVMdev] x86 unwind support[MESSAGE NOT SCANNED]
Nick Johnson wrote: >> probably there should be a switch to choose whether codegen should turn >> unwind/invoke into dwarf or setjmp/longjmp style code. It seems to me that there is an implicit, and undocumented, assumption that unwinding needs to handle stack-allocated objects. In languages without stack-allocated objects (ie. most languages that support exceptions) there is no