A tiny parser in C++

The land of algorithms

Just before the end of the year, I would like to post here one small programming project on which I have been working over last month in my (more or less) free time. It is a Tiny Parser (TIPA) written in C++11 and here is the first version, still in alpha:


I designed this parser borrowing some of the concepts of the Boost::Spirit parser. However, unlike Spirit, my parser is simpler and almost entirely template-free. This means that it is easier to use, but also much less powerful than Spirit.

One thing I did not like about Spirit is its steep learning curve. Sometimes I was making a stupid mistake in declaring an object, but crawling through the many lines of the error messages provided by g++ was frustrating. Sometime my parser did not work but I couldn’t understand where was the problem. Maybe one of those BOOST_ADAPT macros?…

View original post 744 more words


Blitz–Summertime Dream

Theresa Stillwagon

summertimedream-300x400Summertime Dream
Babette James


The Fourth of July is over, but for these summer lovers the fireworks have just begun.

An unexpected inheritance brings business consultant Christopher Gordon from Los Angeles to quaint Falk’s Bend. He’s carved a week from his demanding schedule to list his great-grandparents’ house for sale and explore his roots. However, disturbing family secrets and the sweet temptation of writer Margie Olsson derail his plans, challenging him to seize the elusive dream missing from his hectic life— love.

A recent brush with death shook Margie’s life, but not her dreams and she’s ready to move forward. Only, standing up to her loving, over-protective family isn’t easy. Helping Christopher explore the derelict mansion and unravel his grandmother’s mysterious past should be a harmless fun taste of independence. But when her experimental summer fling ignites into unexpected love, how can her small town dreams work with his…

View original post 464 more words

First Birthdays – Dec. 26, 2013


[ooyala code=”lwM2U1ajqn-9G4KEWrPx3U-xjRb0zVpc” player_id=”c660b791c3704ff69d4162d7adb7c4a1″]

(KTVI) – Happy Birthday to our little viewers turning 1 today. Each of our birthday boys and girls gets a coupon for a discount on an ice cream cake from Dairy Queen.

Want to get your child’s picture on the air? Click here for the details.

View original post

Trust me, I’m a doctor and a patient, and I’m not for sale-even though Obamacare says I am!


The patient–physician relationship is based on complete, unadulterated trust and faith. When I plunge a scalpel into the only eye of my patient to remove a cataract and place a new lens and when my surgeon plunges a scalpel into my chest to remove my cancer and reconstruct me, we-the patient and doctor-have an intimate, unspoken bond like no other. We start with morality, virtue, intelligence, wisdom, skill, experience, compassion, and common sense and end with honesty, transparency, and informed consent, all of which are foreign to big government. Enter Obamacare-the biggest fraud ever perpetrated on a free people in the history of the world.

Obamacare empowers a few political elites, their operatives, and cronies to do whatever they want to the American people on the false promise of access to “free”, “quality” “medical care”, AKA tyranny-through-medicine. They write and rewrite the deceitfully-passed law for political expediency, power, and money…

View original post 1,028 more words

Five methods of data consolidation for single source reporting tool


As the name indicates, the single source reporting tools refer to tools only support the report based on a single data set, for example, iReport, Birt, and Crystal. However, we often need to use the single source reporting tool to present the data from multiple sources in reporting tool, for example, the data from MySQL and Oracle or MSSQL and Excel. In that case, the multiple source data must be converted to a single source data before use. Then, how to convert? Based on my years of practices and experiences, I’ve figured out five methods of data consolidation for single source reporting tool.

Sub report: Most mainstream reporting tools support the sub report by having the sub report built in the subheading or detail area of a parent report, and allowing sub report to receive the parameters from the parent report.

This method is clear in…

View original post 932 more words

Encrypting your page using htaccess password (htpasswd) – with CLI as well ;)

Share the open word!

The website that are on development phase, mockup sites and other public pages hosted in apache with data needs to be protected from public access . The protection will help to:
-prevent from being indexed
-prevent from unauthorized users
-prevent the mockup sites from spammers

First of all we need a password file (.passwd) which has the username and the password in encrypted form e.g.:


This can be created using many online tools like this one .

Or, we can always turn to our command line for this 🙂

#htpasswd -c /path/to/.htpaswd admin

New password:
Re-type new password:
Adding password for user admin

If you already have the .htpasswd file and would like to append a new user, repeat the command with the “-c”

#htpasswd c /path/to/.htpaswd admin2

After we are done with the .htpasswd,  we can create .htaccess file with following content in the document root of the…

View original post 42 more words