7,186 reputation
11734
bio website
location
age
visits member for 3 years, 11 months
seen 14 hours ago

2d
answered can a closed source commercial software make system(3) calls to GPL applications (not libraries)?
2d
comment can a closed source commercial software make system(3) calls to GPL applications (not libraries)?
@AquariusPower, if you don't distribute bash, there is no problem in distributing a script which depend on bash with a license not compatible with the GPL. If you distribute both as a package, see a lawyer. The text cited in this answer hints that if the packaging make it clear that it is two different things -- and probably allows to use another version of bash easily --, the FSF does not consider it as infringement. How is that interpretation binding for them? I don't know. How is it binding for someone else who release GPLed software? my guess is not at all.
2d
comment can a closed source commercial software make system(3) calls to GPL applications (not libraries)?
You can depend on GPLed code as much as you want as long as you don't distribute GPLed code. If you don't distribute ls, your application can depend on it. If you distribute ls, then things become muddy and I'd strongly suggest lawyer advice.
Dec
14
comment can a closed source commercial software make system(3) calls to GPL applications (not libraries)?
Note that the issue isn't about using, it is about distributing (that's what copyright control). If you don't distribute things for which you don't hold the copyright (you probably won't for ls), you are save from copyright infringement
Dec
11
comment Is it allowed to embed an LGPL command-line tool?
@Newtopian, AFAIK, the nature of the linking does not influence if something is a dependent work or not, nor does the structuring in two or one executable. (That may help meeting the licensing requirement though, especially in the case of the LGPL).
Nov
12
comment What did people do before templates in C++?
@Telastyn, IIRC, templates were a novelty of CFront 3 (about 1990).
Nov
12
comment What did people do before templates in C++?
IIRC, old g++ distributions (pre 2.0) had a 'generic.h' header.
Oct
29
awarded  Nice Answer
Oct
23
comment Why is float the default in the majority of languages?
@supercat, about an unbounded type, my unbounded integer implementation is templated on the base as well as on the representation type and one reason is that I sometimes use a big decimal base.
Oct
23
comment Why is float the default in the majority of languages?
@supercat, about BCD, see any IBM mainframe -- AFAIK COBOL mandate the availability of BCD -- and the IEEE 754-2008 standard decimal exchange format has provision for three decimal digits per 10 bits encoded in something which is more a packed BCD form than binary (there is also provision for a binary significant, IIRC IBM mainframe and POWER have them available in hardware).
Oct
23
comment Why is float the default in the majority of languages?
@supercat, DFP format are usually BCB based, so normalization is shifting (but for software implementation, I'd not be surprised if keeping the significant part in binary and doing the normalization by multiplication -- by reciprocal for division -- would not be better performancewise).
Oct
23
comment Why is float the default in the majority of languages?
@supercat, floating point, whatever the base, implies normalization and denormalization steps.
Oct
19
comment Rewriting GPL code to change license
@Lohoris,see my previous comments; it's not striclty needed, it's a way to ease the proof. About "going way too far", clean room approach was deemed necessary by the lawyers of a company I worked for (not for GPLed code, but I don't think the license has any influence of that), and the lawyers of the current one don't want us to look at GPLed code relevant to our projects.
Oct
16
comment Why isn't HTML/CSS/HTML5 considered a programming language?
I'm not sure I'd make turing completeness the criteria for being a PL or not. For instance GEB has one exemple of something I'd call a PL without hesitation but where termination is determinable (and thus is not TC).
Oct
14
comment Is checking for cin.eof() really necessary?
See stackoverflow.com/a/1284294/136208
Oct
1
revised Why implement a lexer as a 2d array and a giant switch?
added 62 characters in body
Oct
1
answered Why implement a lexer as a 2d array and a giant switch?
Sep
30
awarded  Explainer
Sep
29
comment How do I compile my software for all platforms from Ubuntu Linux 64 bit?
@StephenOstermiller, I don't know what most projects use, I do know that in the 20 years of my career we always had computer farms with a set up so that we could run tests on all supported platforms and we would never deliver something to our customer which had not passed the tests (or at least had to failure waived out).
Sep
9
comment Why friend in C++ should be in the header file?
@Arun, the C++ compilation model is not adapted to that. Module could be a way to provide it, but AFAIK the current proposals don't consider it as a goal (there are a lot of things that modules could provide, I don't expect all of them will be provided, especially in the first version).