LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

Run C/C++ Code As Script

Posted 09-04-2013 at 11:36 AM by rainbowsally
Updated 09-27-2013 at 03:55 PM by rainbowsally (new version)

runc update Sept 27, 2013

http://rainbowsally.net/rainbowsally...-rs-1.2.tar.gz

Changes slist_count() to standard objlist syntax and removes slist_getCount()
Removes destructor functions from objlist so that each class explicitly free anything memory they allocate.
Added atexit() function to tmpmem/tmpstr functions.
Most of these changes address memory leaks and/or memory that remains accessible after the apps close.

--------------...
Member
Posted in Uncategorized
Views 331 Comments 0 rainbowsally is offline
Old

QT, fast!! pixel (color) mixing

Posted 06-21-2013 at 08:22 AM by rainbowsally
Updated 06-21-2013 at 08:32 AM by rainbowsally

Today's feature
  • super fast color mixing ('lerp') for QT4
  • PRINT_AND_DO macro to show function and execute it.
  • 8 bit fixed point math.
  • A snippet of working code from the next lq-qt/mc2 lib.

Behind the scenes we are working on getting qwt lib to play nice with Designer. We're apparently over the hump with dials, which were very tricky!!

And so it's break time.

Let's talk a bit about fast color mixing, which isn't always an issue but can be when you are...
Member
Posted in Uncategorized
Views 520 Comments 0 rainbowsally is offline
Old

Life In The Computer Mad Science Zone

Posted 06-20-2013 at 10:08 AM by rainbowsally
Updated 09-04-2013 at 12:12 PM by rainbowsally (bum code)

[Update: June 20, 2013 - corrected name in lqToPixel.]

Progress report.

We found a bug in the incremental backup program uploaded recently.

[Update June 24, 2013, see Gazi's bug fix below and here's a version that uses C/C++ to do it from a compiled executable.
http://rainbowsally.net/rainbowsally...staller.tar.gz. It has an uninstaller if you can find where it installs. :-) ~/bin/src/LQ_Projects Original post...
Member
Posted in Uncategorized
Views 3283 Comments 3 rainbowsally is offline
Old

lqMiniTerm (version 2)

Posted 06-15-2013 at 09:07 AM by rainbowsally
Updated 09-04-2013 at 12:13 PM by rainbowsally

Today's Feature
  • A new version of the lqMiniTerm (introduced in the horrible sockets experiments). :-) (If you missed those, count yourself lucky. ;-) )

Unfortunately, for the GUI stuff the file sets are getting rather large. It's only 12K as a gzipped tar but uncompressed it's big enough to make the blog choke, even as an sfxz compressed self extractor.

But it's worth taking a peek at this because there are a few features in it that work (that's important... that it works,...
Member
Posted in Uncategorized
Views 319 Comments 0 rainbowsally is offline
Old

More simple C and color mixing tests

Posted 06-11-2013 at 12:30 AM by rainbowsally

Today's Feature
  • Here's another pixel (color) mixing toy. The best yet.

Back a couple of blog pages
http://www.linuxquestions.org/questi...lamping-35557/
we were playing with color mixing and data clamping and all kinds of junk including comparing routines to mix colors by a floating point ratio.

This is mixcolors.c - named the same as the other version we were playing with and...
Member
Posted in Uncategorized
Views 384 Comments 0 rainbowsally is offline

  



All times are GMT -5. The time now is 02:14 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration