Category

Computers & Programming

Computers & Programming

Cam Lobe Design Experiment

Although I do a bit of rock climbing now and then, this post is about cam lobes like those in car engines, not those used for rock climbing protection. Finding End Circle Location I was discussing this with my dad because he is building a model engine. He’s…

Continue reading
AutoResponder

Auto Responder SMS Test Messaging Works!

Last night, I finished work on the SMS text message handling in the Auto Responder. Twilio makes a web service request using my web server using a PHP script that I created for this purpose. It was simple to configure my Twilio account to use my server and…

Continue reading
AutoResponder

Regular Expressions for Humans

The changes to the Auto Responder to support SMS change a few things in my program that affect the users. One of those things is the registration process. With email, the user is expected to send the word “team” followed by their team number to register@mucow.net. The code…

Continue reading
AutoResponder

Auto Responder Architecture

It turns out that some mobile phone services don’t send SMS messages to email addresses quickly enough. My demo Windows Phone from T-Mobile will not sent to email addresses at all and I have no idea why. To deal with this during the puzzle race, I am going…

Continue reading
AutoResponder

IMAP is Easy

The IMAP protocol, like SMTP and POP3, is a text based protocol. This kind of protocol can be processed by hand using a telnet client or other similar interactive terminal. I just modified the Auto Responder to use IMAP instead of POP3 as its mail retrieval protocol. The…

Continue reading
Computers & Programming

Done with the Crossword Puzzles

I got the puzzle generator working well enough to generate the puzzle I needed. I’m done with this project. It was interesting when I decided to add clumped words to the algorithm. Four words can all come together  in a four-letter clump. It’s a situation that the normal…

Continue reading
Computers & Programming

Close to Having Clumps

Clump of Letters After looking at this for a while, I figured out how to write the code to handle it. I also figured out another type of clump that I could try to handle as a special case but only if I had some three-letter words. To…

Continue reading
Computers & Programming

Saving a Bitmap File

I added code to save my crossword puzzle and solution to two bitmap files. It is interesting how many people write code to do things of this sort that don’t write it correctly. Puzzle Bitmap void CChildView::SaveImageToFile( const char *pFilename, bool bSolution ) { CSize GridSize = GetGridCellSize();…

Continue reading
Computers & Programming

Crossword Generator

Crossword puzzles are supposed to be designed with a lot of white squares in clumps and with some sort of symmetry. There are different style traditions in the U.S., the U.K, and Japan. Sweden has a very strange looking puzzle style that is a bit different but having…

Continue reading
Linkage Program

Menus With Icons in CMfcRibbonBar

I searched high and low for information about icons in menus. The only thing I found was a lot of people discussing how to use SetMenuItemBitmaps(). Unfortunately, SetMenuItemBitmaps() is for setting the check mark bitmaps, the checked and unchecked image, of the menu item. I tried this in…

Continue reading