LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

An STL Template Experiment

Posted 12-18-2012 at 05:05 PM by rainbowsally

Today's features:
  • Getting an address of an iterator from stl.
  • Creating a foreach() macro.
  • A couple of ways to work around unwanted C++ compiler warnings.

STL is a freaking nighmare to trace in a debugger so it's not too easy to tell what goes on in them but one thing became quite clear and that is that iterators are generic pointer types internally, which makes sense since STL needs to deal with so many different types.

Here's a little test to play with to show how...
Member
Posted in Uncategorized
Views 1180 Comments 0 rainbowsally is offline
Old

A new approach

Posted 12-18-2012 at 04:58 PM by rocket357 (Musings on technology, philosophy, and life in the corporate world)

"There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - Tony Hoare.

Spend enough time reading security advisories and you can't help but wonder if anyone out there is actually taking Tony's first approach seriously (I'll hold off on the OpenBSD preaching for now).
...
Member
Posted in Uncategorized
Views 5179 Comments 1 rocket357 is offline
Old

Tooling Up. ui-tool (QT4 ui file utilites)

Posted 12-15-2012 at 10:16 AM by rainbowsally
Updated 06-10-2013 at 04:17 PM by rainbowsally (bullet list not showing correctly + typo fix + parag alignment)

UPDATE: (2013-06-10) There's a stand-alone version of the uitool here.
http://www.linuxquestions.org/questi...3-06-10-35568/

It's part of the next libLQ-qt/mc2 project but that lib is not ready to fly yet.

--------
Note: This is now part of the libLQ-qt download, but it's been renamed lq-uitool. It builds in the tools folder and should install automatically if all goes well.

But...
Member
Posted in Uncategorized
Views 1265 Comments 0 rainbowsally is offline
Old

ui-tools implementation (ui-tools.cpp)

Posted 12-15-2012 at 09:57 AM by rainbowsally
Updated 12-15-2012 at 08:29 PM by rainbowsally (linkage to first part + parag alignment fixed)

ui-tools implementation (ui-tools.cpp)

The following changes are in the code below, but are listed in case you already have the file and want to fix it yourself (and see the context of the problem).

Changelog Dec 15 2012 (second prob)
"Unknown error" msg issued when it's not an error.

Here's the fix. Whenever we call
Code:
  ok = find_slots(...);
we need to return 'true' without acting on the return values but not return 'false'...
Member
Posted in Uncategorized
Views 1169 Comments 0 rainbowsally is offline
Old

LTSP-Setting Up from Scratch

Posted 12-15-2012 at 05:47 AM by beachboy2
Updated 10-30-2020 at 02:59 PM by beachboy2 (updated url)

What is LTSP?
LTSP stands for Linux Terminal Server Project. It is a free and open source system where a Linux server is connected to several terminals, thus allowing a group of people to simultaneously use the same computer. Applications are run on the server, and the terminals or thin clients, handle the input and output. Generally, the terminals are low-powered, have no hard drives and are quieter and more reliable than standard desktop computers or laptops because they have fewer moving...
Attached Images
File Type: jpg LTSP-2 NICs.jpg (56.2 KB, 5 views)
Senior Member
Posted in Uncategorized
Views 13706 Comments 0 beachboy2 is offline

  



All times are GMT -5. The time now is 11:37 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
Open Source Consulting | Domain Registration