Existing buggy code or a brand new one? (From time perspective)
I am facing some issues with a buggy library I currently have and it’s used in my current project, I need to finish this project as soon as possible in order to deliver it to our client.
REST API Library Conventions
Most API libraries define one method for each endpoint. If there is an endpoint for getting user information, you might have a method like:
Using a GPLv3 library in a freemium business model
I read several related questions about the use of GPLv3 in a commercial app but they don’t say anything about a freemium app. I would like to use a GPLv3 library in two apps, a free one (with limited features) and a paid one.
Best approach for utility class library using Visual Studio
I have a collection of classes that I commonly (but not always) use when developing WPF applications. The trouble I have is that if I want to use only a subset of the classes, I have three options:
C++ Library API Design
I’m looking for a good resource for learning about good API design for C++ libraries, looking at shared objects/dlls etc. There are many resources on writing nice APIs, nice classes, templates and so on at source level, but barely anything about putting things together in shared libs and executables. Books like Large-Scale C++ Software Design by John Lakos are interesting but massively outdated.
LGPL License in commercial application [duplicate]
This question already has answers here: Can I use GPL, LGPL, MPL licensed packages with my application and make it closed source? (5 answers) Closed 9 years ago. I have searched around but I don’t seem to be able to get a clear answer on my questions that I understand. I want to use the […]
Questions about linking libraries in C
I am learning C (still very much a beginner) on Linux using the GCC compiler. I have noticed that some libraries, such as the library used with the math.h
header, need to be linked in manually when included. I have been linking in the libraries using various flags of the form -l[library-name]
, such as -lm
for the above-mentioned math library.
How best to implement HTML5 support for my validation library
I have created an annotation-based validation library called regula. There seems to be some amount of interest around the framework and the next thing I’d like to do is to support HTML5 validation. Originally I figured that I would check to see if the browser supported the HTML5 validation that has been specified and to either emulate or delegate to built-in regula equivalents. This is trivial for things like required
, but once you start getting into the date-validation, it gets tricky (date widgets, localization, etc.). So I have a few options in front of me:
Library Organization in .NET
I’ve written a .NET bitwise operations library as part of my projects (stuff ranging from get MSB set
to some more complicated bitwise transformations) and I mean to release it as free software. I’m a bit confused about a design aspect of the library, though.
In GSL, why do some functions take a “workspace” argument?
In certain functions in GSL (GNU Scientific Library), some functions take a “workspace” environment as an argument. For example, gsl_poly_dd_taylor
from this page. Why? Wouldn’t it be easier for the function to allocate its own memory, or at least the same difficulty? I suppose that this allows the caller to specify where the function works, but I don’t see how it helps.