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

Notices

Old

Incremental backup using diff for BIG projects

Posted 06-09-2013 at 01:46 AM by rainbowsally
Updated 06-09-2013 at 05:52 AM by rainbowsally

Note: This blog entry will to go away soon. Another version is in the works.

Note also that having the entire files rather than just a code snippet like a patch makes it easy see as much context as you need in order to recreate a change log by looking at ONLY the files that were changed from one build to another.

KDE's 'kompare' is an excellent utility for viewing changes.

So for now, since this is a little buggy (not serious but needs tweeking), consider...
Member
Posted in Uncategorized
Views 400 Comments 0 rainbowsally is offline
Old

Simple C - mix pixel data, integer math (fixed point), data clamping...

Posted 06-06-2013 at 06:15 PM by rainbowsally

Simple C to mix pixel data, integer math (fixed point), data clamping

Today's Features
  • Simple program to add two pixels clamping each byte to 0xFF, but adding all four bytes in parallel for speed. There are no branches in the algorithm.
  • Another simple program to mix two colors defining a gradient using a fraction from 0 to 1. We compare floating point to fixed point math versions.


Surprisingly, the long version compiles about the same code as the short one with...
Member
Posted in Uncategorized
Views 449 Comments 0 rainbowsally is offline
Old

Computer Mad Science Continues To Baffle The Experts...

Posted 06-01-2013 at 08:24 AM by rainbowsally
Updated 09-04-2013 at 12:10 PM by rainbowsally (new dl site)

[UPDATE: (2013-06-10) The uitool link has been updated below. Better version, tested, has no mc2 lib deps.]

Been busy elsewhere for a while, but now I'm back, I think.

Today's Features:
  • A ui tool for creating code skeletons.
  • A cool Sudoku puzzle solver (with save/restore file funcs).
  • A qt graphics lib with mc2-generated makefiles (qwt).
  • Notes about why mc2 kicks &ss.
  • Notes about kregeditor.
  • And the make-based installer fixups for root system installations.
...
Member
Posted in Uncategorized
Views 380 Comments 0 rainbowsally is offline
Old

qt4 - sudoku solver and closable toolbar examples

Posted 05-25-2013 at 10:54 AM by rainbowsally
Tags mc2, qt4, simple c

Qt4 examples.

SudokuResolver (qt4, only 180K)

screenshot http://rainbowsally.net/pub/sudoku.png

I got this at http://setup.weeb.ch, I believe. I reworked the make system using mc2 and made a few very minor changes, such as centering the window on showEvent() and addding save/restore to/from files.

There are several interesting features in the code from grid setup to BigList STL templates
and multi core processing code.
...
Member
Posted in Uncategorized
Views 412 Comments 0 rainbowsally is offline
Old

Sockets -- A Chat Server with a non-blocking 'select' (i.e., GUI ready)

Posted 01-27-2013 at 06:47 AM by rainbowsally
Updated 09-04-2013 at 08:50 PM by rainbowsally (fix bad edit)

Sockets -- A Chat Server with a non-blocking 'select' (i.e., GUI ready)

[GUI-ready but no GUI in this version. Terminal only.]

Today's feature is
  • A chat server.
  • Non blocking 'select' (which we need for importing into an lqMiniTerm).
  • A web link to more generic sockets code that I wish I had found earlier.
  • Tarred up example code with makefile for all the code examples at bgnet.

Here's a chat-server you can use to communicate between folks on your computer...
Member
Posted in Uncategorized
Views 611 Comments 0 rainbowsally is offline

  



All times are GMT -5. The time now is 04:54 PM.

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