LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Intermediate C/C++ Data Interpolation (curve fitting)

Posted 03-25-2012 at 02:16 PM by rainbowsally
Updated 04-19-2012 at 02:02 PM by rainbowsally (Note about obsolete makefile-creator and replacement)

[Note: makefile-creator was far too limited and has been replaced by mc2, makefile-creator the 2nd generation. All the sources can be downloaded at once here:
http://www.linuxquestions.org/questi...eration-34648/
There may be some differences in the libLQ functions as well, but they should be easily spotted (need '&' prefix, and readPipe() has been renamed pipeRead() for purposes of alphabetically listing by...
Member
Posted in Uncategorized
Views 2647 Comments 0 rainbowsally is offline
Old

f2c (with makefiles) and xfoil (that converges correctly in VISC mode).

Posted 03-10-2012 at 09:38 AM by rainbowsally
Updated 08-06-2014 at 10:27 AM by rainbowsally (stable)

f2c (with makefiles) and xfoil (that converges correctly in VISC mode).

For advanced programmers or folks that don't have 500 bucks for an air foil simulator/analyzer.

Features:
  • Bug fix(es) for f2c and xfoil retro apps.
  • Example of how to f2c when INC files mix data and declarations.
  • Example of a make system that builds its own uninstaller.
  • XPlot11 (included, renamed libPlt, but easily changed again.
  • The first of many reasons to install in a sandbox like
...
Member
Posted in Uncategorized
Views 639 Comments 0 rainbowsally is offline
Old

libLQ and/or Temp (recycling) formatted strings and blocks of memory

Posted 02-26-2012 at 11:02 AM by rainbowsally
Updated 05-06-2012 at 05:48 AM by rainbowsally

[Note: this refers to an obsolete implementation of the temp strings and libLQ sources but the concept of being able to pass a buffer containing a formatted string directly in the parameter list makes this both interesting and important regardless.

Also the peek into the asm code may be helpful for folks wishing to get into the really low level stuff. See how we can redirect a call to sprintf() instead of calling vsprintf() below. This may not be portable but then neither can QT...
Member
Posted in Uncategorized
Views 331 Comments 0 rainbowsally is offline
Old

Starting With Stat (dyn linked shell routines)

Posted 02-19-2012 at 08:51 PM by rainbowsally

Features:
  • dynamic linkage of shell subroutines
  • automatically loading shell dependencies
In order to dynamically link subroutine files we need a method of blocking multiple loads of any file.

For this, we load a set of base definitions in a file named sub.sub. The sub.sub file includes some simple functions for listing functions and the main function that blocks multiple-loading as well as a 'sub.unload <filename> function so we can unload and reload subroutines while editing...
Member
Posted in Uncategorized
Views 755 Comments 0 rainbowsally is offline
Old

Create a self-extracting archive

Posted 02-16-2012 at 05:45 AM by rainbowsally
Updated 02-23-2012 at 07:50 AM by rainbowsally

CHANGELOG Feb 22, 2012
Changed the temp dir from /tmp to $HOME/tmp so everyone has write and execute perms in it. Added more cleanups including removal of the temp dir unless the user already had it and was using it.


Features:
  • Embedding binary data in a shell script.
  • Writing a program with a program.
  • Various useful snippets even if the app doesn't turn you on.

Requires:
  • base64 (encoder in core utils)
  • tar (core utils)
  • xz (lzma stuff, real old linux
...
Member
Posted in Uncategorized
Views 1791 Comments 0 rainbowsally is offline

  



All times are GMT -5. The time now is 02:11 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration