Thursday, August 28, 2008

August 2008 update

As usual, I've been neglecting to update my Blog so have to catch up for last month. :)

I've since written 3 applications for the iPhone and submitted to Apple to publish to iTunes. They have passed review, but have been waiting in "Pending Contract" status for about 2 weeks or more now. To get Apple to sell your application, you have to set up a contract for the price tier you want to sell it at (in my case 0.99). This includes acknowledging a lot of mumbo jumbo and submitting your bank information for them to pay you, etc. And unfortunately you are left waiting for them to approve it with no status updates in between. Hopefully it won't take too much longer. Once that's done and I have the distribution channel down, I'm going to look into writing more full-featured applications. These first 3 were mainly to get my feet wet on the new platform.

I've started up two more classes at UNCC. This time it's "Operating Systems" and "Global Connections." From the first day of classes, it looks like it's going to be a lot of hassle (reading assignments, homework, and maintaining a reading journal). I much prefer just taking objective tests, but I'll suck it up and execute on what I need to for an 'A'.

Pool league starts up this week-end. I'm looking forward to it, although not playing this first night. We have a strong team and expect we'll make it to the finals. My team consists of some old buddies that work at Microsoft, their wives, and a friend I've known since childhood.

I haven't had much time to focus on number theory. But I did find an opportunity to use a little bit for a 1-off task at work. They needed a way to convert some arbitrary character strings into a unique string of 19-digits. Basically, one system used strings for their ID and another system only allowed 19-digits to represent the ID. So here's some C# code I came up with to do a mapping. It treats the character string as a huge number base 256 then calculates the result modulus a 14-digit and 5-digit prime respectively. The concatenation of those represent the 19-digit result (padded with zeros if needed). Fairly standard number theory, but looks like black magic to many...
----

// Hashes any string into a 19-digit string
string GetHashValue(string
input)
{
decimal hash14 = GetHashValue(input, 99999999999973M);
decimal
hash5 = GetHashValue(input, 99991M);
return hash5.ToString("0".PadRight(5,
'0')) + hash14.ToString("0".PadRight(14, '0'));
}
// Generic version with
arbitrary modulus (up to 10^14)
decimal GetHashValue(string input, decimal
m)
{
decimal result = 0.0M;
for (int i = 0; i < ch =" input[i];" chval =" (int)ch;" result =" a*b^e" result =" 0.0M;"> 1)
{
if (e %
2 == 0)
{
e /= 2;
b *= b;
b %= m;
}
else
{
a = (a * b) %
m;
e--;
}
}
if (e == 1)
{
result = (a * b) %
m;
}
else
{
result = a % m;
}
return result;
}



----
I picked up an XBox 360 game called 'BioShock'. Although it has some mature content / violence, I found it to be entertaining and recommend it. It's a first-person shooter, although also kind of a mystery that unfolds. I like all the tape recordings left around you can find and play to reveal something about the environment or history of the story.

Second wave of immunizations done, and now I have all I need for the Kilimanjaro trip. I'm looking forward to it (Jan 2009). I've been keeping up with my exercise program as well so feel prepared there. I still have some gear-purchasing to do though, but will probably focus on that sometime in December. We have a nice REI store near Pineville Carolina Place Mall I'll be hitting up.

Monday, July 21, 2008

July 2008 Update

Wow, I really need to keep my blog updated. A lot has happened this month which included:

- I got the new iPhone 3G!! This phone is awesome and I'm having a great time with it. Everything works well and the UI couldn't be easier. And since I was in for a penny with Apple, I might as well be in for a pound, I bought an iMac too. :) I'm going to investigate writing applications for the iPhone, as well as just learn more about the Mac platform.

- My first wave of immunizations are complete for the upcoming Kilimanjaro trip. No side effects or painful needle experience. I have a follow up next month to finish off some more.

-My concealed handgun permit came back sooner than expected (around ~30 days). So I can now legally carry a concealed handgun in 31 states (30 other states have reciprocal laws: if you're legal in one, you're legal in the other).

- I've started a new exercise program. It's not much, but consists of regular 30-minute sessions on an Elliptical machine, and varied muscle-group training. To supplement that, I've added some protein powder to my mornings and evenings, as well as keeping up with vitamins. Exercise really does make you feel better overall.

- You can find me now on Facebook. I got into that after I saw some friends were on there, and since there is an easy applet for the iPhone to use. It's really addictive. Plus, you never know who you might find on there that you used to know.

- I started playing FFXI again casually. My wife and I have a few characters we multi-box together. It's a lot of fun, but I'm not sure I'll be able to do as much after the pool league and school start back up.

- I signed up for UNCC Fall classes. I'll be taking 'Global Connections' and 'Operating Systems'.

- I'm preparing to take the new Microsoft certification tests as part of my training exercise this year. I may be able to squeak past them without studying, but it's good to review the 'academic' stuff which can trip you up in a test, and usually has nothing to do with practical real-life work exposure. I got my manager to pitch in for the Transcender study guide and practice tests.

- Pool league is starting back up. We're going to play 8-ball Express again. Most of the original crew is back together and I've taken up the captain reigns for this session. It should be a lot of fun; I'm looking forward to it after we took the session off.

Sunday, June 15, 2008

Mount Mitchell

We hiked Mount Mitchell this week-end. We didn't get a full up/down hike, but put in 6 miles (3 up, 3 down). I packed a little too much for the trip (twice as much water as I needed), but better safe than sorry :) It was some good exercise and part of our preparation for Kilimanjaro. There was a bit of rain and thunder for our trip too, but cooled things down so wasn't all bad.

There is construction on the Blue Ridge Parkway that can really bite you if you want to go to Mount Mitchell. Right where the park office is, the road is closed only allowing you to reach it from one direction. Unfortunately for us, we tried to get to it from the other side, and finding out way too late that we couldn't get there. It added about 1.5 hours to our journey having to drive around the mountain to eventually find a path into it.

The GPS we were using wasn't very helpful after we told it to Detour. It kept trying to find other ways to put us on the Blue Ridge Parkway on the wrong side (no option to disable a section of road available to it). We knew we were in trouble when it had us start going down this gravel road (toward "Craggy Gardens"). After that, we hit up a gas station for some advice along with talking to the wife on sporadic cell reception while she looked on google maps. Eventually we got close enough to the other side, that the GPS started figuring things out (but by then we could follow the signs).

Here are some pics from the excursion
http://picasaweb.google.com/CrumpPhotos/MountMitchell

And here is a geocache we hit up while there
http://www.geocaching.com/seek/cache_details.aspx?guid=efd970f9-4783-481d-995b-7f4f8ea6c1e4

A funny thing about this one, with all my recent experience on Geocaching, I've always found a box or canister. This one was a 'virtual cache' which I didn't know about at the time. We didn't find anything, and the coordinates were right in the middle of a construction area (and where the grave of Elisha Mitchell was). We figured something destroyed it and gave up. When I got back I was going to log the situation, but read this one was wanting you to find a plaque and prove you found it by making note of a word on it. Luckily when I explained this to my sister, she remembered the words on it verbatim and recited it to me. Way to go Bek!

Geocaching is a blast!

I've been meaning to start Geocaching but never got around to it. That changed this week-end. I bought a Garmin eTrex from Best Buy and psyched up the kids about what Geocaching was. Their eyes gleamed with the thought of a real life treasure hunt. After fiddling a bit with the GPS unit to make sure I understood how everything worked, and visiting the geocaching site (http://www.geocaching.com/) we were off. We quickly found two caches in our area in under an hour.

It was a lot of fun, and a very contageous sport. We then met up with family later this week-end, shared our geocaching experience, and took them along on some hunts in their areas. We've only started this week-end, and already have found 6, one on Mount Mitchell, 2 in Charlotte/Harrisburg NC, and 3 in High Point NC.

The idea is you use your GPS to find the cache, sign your name in the log inside, take an item, and place back an item you brought. There are trackable items as well and we participated by taking one of those from one cache, storing it in another some ~55 miles away, then logging our transaction on geocaching.com. These things can really travel.

One surprise to us was how big this sport is, and how many people participate. There are caches EVERYWHERE and when you find one hidden away, and look in the log book, it's not uncommon to find anywhere from 20-50 entries of people who were there before you. One of the items we found this week-end (a relatively new cache, just created 2 days prior), already had about 8 entries, 3 of which were on the same day as us! One of the harder ones we tracked down I noticed we were the only ones to find it in the last 6 months.

Passport arrived!

Wow, I recently went to get my passport renewed, and with all the horror stories of waiting months and months, I actually got mine back in under a week!!!

It may have something to do with the way I filed for renewal. I had lost mine about 2 years ago but haven't needed it so haven't gone through the trouble of renewing. In preparation for my Kilimanjaro trip, I went and filled out the 'I lost my passport' form along with filing out a new application with new photos. Perhaps the renewal in tandem with the lost passport was to credit for the speed.

Monday, June 9, 2008

Sole E55 Elliptical Trainer on the way!

In deciding how I want to stay fit, I did some research and opt'd on buying an Elliptical Trainer. The one I settled on was the E55 from Sole Fitness. Here is a link to the product details
http://www.soletreadmills.com/details.php?name=E55&product_type=ellipticals

The cost was $1500 but I think it will be worth it. I'll post my feedback about it after I get a chance to try it out.

In the mean-time, I wanted to get a head start (I'm impatient). I found a cheap little 'elliptical' unit at Wal-Mart while the kids were picking out some toys. It was the 'Stamina Instride Elliptical, and it was $75. Here is a link to it:
http://www.walmart.com/catalog/product.do?product_id=7680169

DO NOT BUY THIS PRODUCT. It is a piece of junk. After one day, one of the foot pedals came off. I tighted it back on only for it to find a way to wiggle itself back off. I tighted it back on again - this time with extreme force and it seemed to work for that session. The next day when trying again, one of the pedal legs started slipping off the roller. I put it back on, looked for loose connections and tried to tighten things up (both legs still felt a little 'loose' though). Shortly after that, the whole leg came off the wheel. I could not re-fasten the leg to the wheel and gave up. We disassembled it, put the pieces back in the box, and plan on returning it to Wal-Mart tomorrow. If you're considering this product and find this post, don't buy it!

Subway -- Did you know about the Sodium?

When I was diagnosed with "pre-hypertension", I started watching out for sodium in foods.

My first instinct instead of my usual fast food was to grab something I thought was healthy, and should at least be better than say McDonalds.

I got a Subway sub and while eating it was checking out the nutrition info guides they have lying around. Oh my God, the Sodium is through the roof!

A 6-inch turkey breast has 1000 mg of Sodium. If you get the foot long of course, that's 2000.

A large order of McDonald's fries only has 350 mg.

If your goal is a diet and watching calories, you're probably much better off with Subway (although you should still limit your portions). But, be careful if you have high blood pressure - it might not be as healthy as you think.

If you search the web on "subway sodium" you'll find a lot of similar reports.

Hiking Gear update

Here's the hiking gear I've bought so far this week. I'm preparing for a Mount Mitchel hike we're going to do as early practice for the eventual Kilimanjaro climb next year:
----------------------------------------------------------
$170 Hiking Boots (Asolo Fsn 95 GTX)
http://www.asolo.com/content.asp?L=3&idMen=432

$150 Backpack (Osprey Stratos 40)
http://www.ospreypacks.com/Packs/StratosSeries/Stratos40/

$20 Socks (SmartWool heavy)
http://www.theoutdoorsource.com/cgi-bin/commerce.cgi?preadd=action&key=ST-3153

$85 Wind breaker (Marmot Driclime Wind Shirt)
http://marmot.com/spring_2008/mens/outerwear/wind/original_driclime_windshirt

$30 Swiss Army Knife (Champion Plus edition)
----------------------------------------------------------

I tried to pick up some versatile stuff for future hikes, etc. I really liked the Stratos 24 backpack instead of the Stratos 40, but the 24 just seemed a tad small. The 40 didn't seem that much heavier or cost much more, so I opt'd for it. The Marmot shirt was something to put in my pack in case of temperature changes. I plan on starting out with very thin clothes on with the hot weather we've been having, but have something to stack over it if it gets chilly at high altitude.

I tried on a few different boots at REI (the guy there was extremely helpful), and none of them seemed to fit my feet as well as these Asolo boots. I don't know if it was the quality of the boot, or just that they fit my feet so well, but I fell in love with them. When I tried on the socks with the boots, it was even better. I stumbled on the socks just browsing around, then found it comforting to hear one of the guys there notice I had them while picking out backpacks. He said after trying SmartWool socks, that's the only kind of sock he uses now (even when not hiking).

I can't wait to see how they feel after a full day hike. Isn't shopping fun? No wonder my wife spends so much money. ^_^ Just kidding honey! If you're reading this... I love you!

Concealed Carry Update

I completed my required Concealed Carry Handgun Training course this Saturday. It was a LONG day. The class started at 9am and didn't let out until 8pm. It covered North Carolina laws on concealed carry and when you can use deadly force. The instructor was great (Tom Iradi) with Eagle Rock Training systems. This guy is hilarious, here's a link to Eagle Rock with a pic of Tom...
http://www.eaglerockts.com/aboutus.html

I actually had the same instructor when I took the class a little over 5 years ago. He did some of the same antics this time around as well, including some upside down firing of his 50-caliber pistol (LOL). His marksmanship is awesome too. He shared with us a lot of tips on marksmanship which I think really helped my performance on the firing range.

At the end of the day you get your certificate which you carry to your county Sheriff's department along with paying $90 cash (in addition to the $120 you paid for the training course). They make you fill out some paperwork (like asking you if you are crazy) then take your finger prints. You then leave and wait until they notify you when the permit is ready (which can take up to 90-days). I'm in Cabarrus County and have heard it can sometimes be sooner (like 30-days) for us here. We'll see. I turned in my certificate today.

LOL - Nutrigrain ad

This was hilarious. It's an ad for Nutrigrain bars. Gotta love it
http://www.youtube.com/watch?v=Y6rE0EakhG8

Nutri-grain bars

I was looking for a snack this afternoon since I missed lunch, and saw these Apple-cinnamon Nutrigrain bars. I just started a new exercise program last week (daily cycling + minor weight lighting) to prepare for some upcoming mountain hiking, so I was in the mood to try something healthy.

I'm a 'fast food' junkie and never eat health foods. I was amazed at how good it tasted. So I naturally started thinking, 'Hey, these taste so good, I could eat these all the time.' And of course, I then proceeded to do some web searches to see what others thought of them.

Doh! I should have known - they tasted too good to be 'healthy.' They are criticized over and over again for their sugar content and likened to a regular 'candy bar' rather than a health bar. Shoot!

I guess it's at least somewhat better than other snack foods you might choose though, so I might try them as a substitute for a regular candy bar when the snack-urge hits.

By the way, Nutri-grain itself isn't alone - it's breakfast bars in general. There are a lot of references on the web if you care to search, but here's one example link for you with more information:
http://news.bbc.co.uk/2/hi/health/1613141.stm

PS: One 'good' thing that came of this though, was that I found a lot of hikers recommend these. Since they tasted good to me, I think I'm going to shove a few of these in my hiking pack.

Cheddar's Restaurant Nutrition Information

I went out to eat this week-end at Cheddar's restaurant. When I got back I was curious how many calories were in the meal I had. Like most anyone else would do, I searched the web. To my surprise, you can not find it anywhere! There were numerous other posts and blogs that confirmed this. I was under the impression restaurants were required by law to provide this information. But I was wrong.

At the federal level, there is the 'Nutrition Labeling and Education Act' which gives the FDA authority to require labeling, but there were exceptions for restaurants that allowed them to avoid it. However if the company makes any nutritional claims (like 'low fat', 'low fiber', 'low sodium', etc), they are required to provide the information. A few states apparently have recently enacted laws within their boundaries to require nutritional information for chain restaurants (ones with 'standardized menus'), but North Carolina is not one of them.

I find it pretty disrespectful they don't provide this information, so I won't be visiting their establishment again even though both my wife and I enjoyed it.

Shame on you Cheddars! Step up and provide this information.

Monday, June 2, 2008

Tweetsie Railroad!

Tweetsie Railroad is a great place to take young kids, especially boys. And even more especially, if they like trains.

We went there this week-end. It was my wife and I, the two kids, my sister, her son and friend, my mom and grandmother.

They are having a 'Thomas the Train' special event where they turn their train into 'Thomas.'. I caught a nice picture of my son just to the left of the entrance. They have pretend horses the kids can get on. I put Nick on as the train was just passing by with smoke plumes going up. Here was the result:
http://www.immortaltheory.com/nick.jpg

He bought a little cowboy toy pack that included gun, mask, handcuffs, etc. He wore that mask most (if not all) of the day.

CCW permit in NC

I made the mistake of letting my CCW (Carrying Concealed Weapon) permit expire before submitting for renewal. When you do that, even if it's just 1 day late, you have to take the class again. *sigh* It costs $120 and takes up a whole day, not to mention extremely boring.

I signed up for that to go ahead and get it knocked out. I'm taking it at a place called FIREPOWER. They have a nice little shop and an indoor shooting range. That's where I took it 5 years ago. You pay $60 up front to save your spot, then show up at 9am on the scheduled day.

Thursday, May 29, 2008

Kilimanjaro

I'm going to climb Kilimanjaro early next year along with some family and friends. I've started preparing with exercise, scheduling immunization appointments, renewing passport, among other things. We're in the process of making the travel arrangements.

May update

I got A's on my two UNCC courses this Spring 2008 session and Wachovia has approved my education reimbursement (tuition + books). So I'm happy with the results all the way around.

I had English 1102 with Prof. Susan Thomas and LBST 2102 (Immigration history) with Prof. James Lowery. The English class went well, although was extremely tiresome (a lot of work). The LBST/History class went smoothly. Basically, if you attended and paid attention during the classes, it was pretty easy. The only concern I had with the LBST class was an essay portion on every test that counted for 40%. On the first test, I got points deducted when my essay was quote "not long enough to get the job done." But that was easy enough to correct in subsequent tests.

I felt out of place though, kind of like an adult attending a 3rd grade class, but oh well. :)

Tuesday, April 22, 2008

Lost Odyssey

There's a cool game out for the Xbox 360 I've just finished playing. It's called Lost Odyssey. If you like RPG games, especially the Final Fantasy series, you'll enjoy this game. It has the usual themes; story line, grow your character, find treasure, stock up on items/equipment, acquire friend characters that join party, etc. And in an unexpected turn, the game started out being pretty challenging! You had a feeling akin in other games like you've reached a boss fight without adequately preparing (meaning you had to use everything at your disposal and have the right strategy to win). This ends up tapering off later in the game as your characters get stronger and you put together a good party, but I enjoyed the extra difficulty.

Out of the RPG games for the XBox 360 so far that I've played, I like it the best.

One little thing btw that was cute, is that some equipment you wear ends up showing in the game cut-scenes on your character. The ending was particularly funny with one of my characters wearing this silly little crown.

On other news, our pool teams didn't make the play offs (in one team by only 1 point). I played really good at the close of those, taking out some 7s, but we ended up just missing the cut as a team. We'll get them next session! :)

My UNCC classes have been going well. Getting A-grade results on my tests and papers turned in, hope to continue these last few weeks. It has been a real exercise in patience (most of the information is not relevant to my job, family, or hobbies). Sometimes I'm wondering to myself why I'm even taking the courses.

The kids are doing great. I recently bought them seasons passes to Carowinds. To my surprise, Carowinds considers my 8-year-old daughter an "Adult" as far as tickets go. My 4-year old qualified for the 'Jr' pass, which shockingly (or not) is pretty much the same price as the Adult pass. Prices notwithstanding, it was a good time and we'll surely be back soon and week-ends here and there.

Tuesday, March 25, 2008

TTFAF finished!!!

I finally beat 'Through the Fire and Flames' (TTFAF) today on Expert, obtaining the 'Inhuman Achievement'. This is for Guitar Hero III (GH3) on the XBOX 360. I have a tip for anyone trying their first pass, but here's some background...

When I first got GH3 I played the solo tour, beating it on hard, then worked my way through Expert. I had tried TTFAF before but like most fail at the intro (developing a latent fear of it). I saw videos of people playing it, and although I felt confident I could learn how to play it, it looked like it would take a *LOT* of practice so I just avoided it as long as possible. :)

Well, after playing Rock Band and those fast solos in Green Grass and High Tides, I decided to give TTFAF another shot. I used the 2-hand 'tapping' method for the intro using my elbow to hit the first strum. Surprisingly this didn't take long at all and I was off and running. And like most people on their first pass of the intro, failed around 78%.

There are a group of solos pretty much back to back that are really tough. It was pretty easy to get full star power though and my plan was to make it as far into the solos as possible then activate to get through the rest. The goal is to get pass the 'Twin Solo' part, after that it is mostly smooth sailing to finish.

The problem though, is to save star power that long, you pretty much need to hold out until into section called 'What The...?'. And staying alive until then is really REALLY challenging. You basically have to have your hands blazingly around. I tried a few times and was getting closer and closer but kept falling short. I could activate star power and get into the 81+ percent range but would fail at the 'Twin Solo'. I felt I could keep practicing and get lucky but it was really frustrating.

In one of my runs, I messed up and had to use star power early. I figured I was doomed, but kept playing. I eventually failed but noticed something very important (at least for a first pass run). You can use star power at the start of the series of solos, and still have a chance to regain star power. This gets you deep into the solos with your rock meter in the Green, then if you can snag another star power before the Twin Solo, you can make it home.

That was my new plan. After failing the intro about 5 times (tough to consistently strum with your elbow and get the tapping started), I was off. I activated star power and the right time, got into the solos great, hit the next star power (awesome!) and now just needed to hit the other one. But (crap) I missed it. I was thinking I was doomed but then RIGHT before the twin solo triplets there is one last star power (a bunch of double notes). I nailed that to my amazement and quickly activated star power which got me into final sections of the song. Of course my heart was racing, who knows how much more practice it would take me to get back to this spot.

Fortunately they give you a couple of parts you can build your meter back to green though. I had walked through the ending in practice mode so at least knew what was coming, there was still a big finale that people have gotten stuck at (a lot of people fail at 98%, I feel for them). When that solo hit, I just strummed in rhythm and hit the notes as fast as I could. I could steadily see my meter going from green to yellow to red, but got passed it and combo'd the remaining notes for the win! I let out a 'YEAH!' even though I was the only one in the house at the time. It wasn't an impressive score (~270k) so I only got 3-stars with my first run, but I am completely content with that. If I do it again, I can be more liberal with star power and just practice the easy parts for good combos.

So my tip is, don't try to save your star power until the 'What The...?' section. Use it right at the end of the 'Climatic Build-up' (just before the 2 ascending strings of 4 notes that make a 'pacman' noise when you play them). A full star power meter will run out just in time to pick up another star power.

With the new playing confidence, I went back and 5-starred all the songs on Hard and got the 'Shredder' achievement. Raining Blood started to feel easy on Hard, I got a x4 in Mosh 1.

My XBox live ID is 'Skick'

Tuesday, March 18, 2008

Rock Band - Expert Solo Tour finished

I've had the Guitar Solo Expert tour on Rock Band at 60/61 finished for a while but kept dying on the solo in 'Green Grass and High Tides'. I finally committed myself to finishing that tonight and made it! What a relief! For anyone playing that song on Expert, you know what parts I'm talking about. There is a long solo sequence, most of which is straight forward to anyone who can play Expert in general, but there's a couple of long parts with nothing but super-fast triplets. If you get off just a bit, you're toast.

I was trying to use my GH3 guitar which I usually play better with. But for the solos in this song, I opt'd to use the Rock Band guitar (the one with the little buttons designed for these kind of solos). When the solos came at me, I switched to the little buttons which don't require strumming and used my right-hand to fire the triplet sequences. Worked like a charm.

Thursday, March 13, 2008

Final Destination

Another Crump movie review. This movie has been around a while but I never saw it. After hearing a co-worker make a reference to it, my curiosity was peaked enough to pick it up for a watch.

I think it's worth a watch - it was entertaining. It's a horror flick but has at least some kind of interesting plot, arousing thought about things supernatural. There's something about premonition too... It's about cheating death, somethings not successfully. And of course you can't help but laugh at the actor who plays Stiffler in American Pie (he's a semi-main character in the film).

Monday, March 10, 2008

March Update

I haven't been keeping up with my blog! A lot of things going on since my last post.

- UNCC classes are going well. Tedious as it can possibly be, but on track to get As in my English and History classes.

- Work has been pretty challenging recently. It seems like the goals keep changing daily for the project I'm working on, but I've just focused on tackling one thing at a time.

- The family has been having a blast. We recently got back from Walt Disney World in Florida. We went with my sister and her son, my brother and his friend. The wife and kids had a great time, and I think everyone else did also. I'm in the process of making a DVD with all the pictures and videos. The biggest hit was the "La Nouba" circus show. I highly, highly, recommend that one if you go.

- OMG: For the I-don't-know-how-many'eth-time, on the Delta flight there, I was struck in the knee by the drink-cart by a stewardess. It hurt like all get out. I had on my todo list to call Delta and complain, but never got around to it, Disney put me in a better mood. But I sware, any flight I take from here on out, that I sit in an aisle seat, I am wearing a KNEE PAD!!!

- Pool has been going good. I took a good break recently not being on the line-up plan, but played on our 8-ball-express line up last night. I matched up against a 7 for an even 4-4 race for a change (I'm usually giving up games!). I ended up with a 4-1 victory but things could have went either way - I think I caught a break on some uncharacteristic misses by my opponent but I was able to run out when needed. It was a nice revenge match since he beat me by probably the same score not too long ago when he was a 6. :) Our team ended up 2-3 for the night though, not sure we'll make the play-offs - will see...

- On my number theory problem: I've had a few machines running for a while now without finding a solution to 13^n = 36 (mod n). I haven't given up on it yet, but have less focus on that problem now. I'm still putting together a paper with Max Alekseyev on methods of solving such congruences, but we've been taking our time on that - both of us have been busy with other things. Also, I wrote down some probablistic arguments that support infinite solutions to b^n = c (mod n) for c not equal to 1. Max reviewed it and provided some improvements. It's enough to feel confident about the result, but relies on conjecture still (assumes Artin's primitive root conjecture for one, and on certain randomness of discrete logarithms). We might be able to polish that up enough to include in the paper too, but if not I'll post on an HTML page for posterity.

Tuesday, February 12, 2008

Pool Update

I've been on a 50/50 streak recently, with a bad record against 4s (5-2 race). However our teams our doing solid so we can still expect to make the play offs.

A conclusion has been reinforced in my mind from my recent losses, and watching some of my teammates games. That is -- when faced with a choice between a tough shot and a safety, err on the side of shooting the safety. :)

While I'm on the subject of pool tips, another one that has helped me this past year is the focus on "delivering a good shot." I compare this to bowling. In bowling you can deliver an otherwise perfect ball and not be rewarded with a strike (leave a 10 pin). Pros sometimes mumble after these occurrences "That's the best I can throw it" or "I threw it good." Once you release the ball, you can't do anything. The best you can do is focus on that delivery. In pool, the same thing can happen - you can get a bad reaction from a rail, cloth conditions can affect speed, and sometimes you hit a nice break-out shot only to be left in a bad position.

If you hit a bad shot because its a bad shot, so be it. You should reflect on it, try to improve, etc. But if you made a good delivery and get a bad result, don't dwell on it - accept the results and feel good about making a good shot. More often than not, having a solid delivery will give you results. And I've found it gives me an extra sense of calmness / confidence when I'm about to shoot knowing I'm going to deliver a good shot regardless of the outcome.

Sunday, January 27, 2008

Some old movies

I picked up a few movies recently including 'Capricorn One' and 'The Conversation'. I really enjoyed Capricorn One. If you haven't seen it or know anything about it, I would definitely watch it. The more you don't know about the movie, the better it will be. It's fairly old, so you don't have the production quality of today's movies, but the story line was great.

The Conversation had Gene Hackman and Harrison Ford. I had read somewhere it was a good movie, and decided to give it a watch. I was really disappointed. It had a lot of elements that were interesting but was really slow paced and hard to follow. And on top of that, I didn't like the ending - left you wanting much more. I don't recommend it at all, go get Enemy of the State instead.

Monday, January 21, 2008

13^n mod n = 36

No solution to this problem yet. It has turned out to be harder than 2^n mod n = 465. I'm still expecting to find a solution though so still have some processors dedicated to it. I told Max Alekseyev I was optimistic one would be found soon, he said "Will see ;)"

^_^

One fun thing about having a computational search like this, is checking on your computers after a few hours or in the mornings. After I get up and ready for work, I can't wait to see if the fishing nets caught anything. :)

Septoplasty results

Great news!

The surgery went better than expected. I had read a lot of horror stories with bad experiences / results, but none of those things occurred. Re-counting some of this on the blog, so other people considering or going through the surgery can use as a reference (of course each person's situation will be different, but good to have more information around). For those of you not interested in gory details, skip this post :)

My surgery was with Dr. LoveJoy through a Charlotte ENT office and the surgery was done at Carolina's Medical Center, University area.

I took the general aesthesia really fast - seemed like ~5 seconds. I woke up feeling groggy but no pain. They had gauze under my nose (taped horizontally to my cheeks), since it would be bleeding for the next 24-48 hours. Even though it was bleeding and there was swelling, I could already tell a difference in air-flow through the previously blocked nostril.

I had my wife pick me up and they gave me Hydrocodone pills for pain if needed. The nose and my upper lip were pretty sore and sensitive. The nose was expected but not the upper lip, it was kind of like numb from coming back from the dentist and I couldn't smile normally without discomfort. I could tell I would need to take it easy eating. Although there wasn't much in the way of pain/discomfort as long as you didn't touch it, the first day was the worst just from feeling lousy -- constant nose bleed, a bandage taped to your face, and breathing through your mouth.

Breathing through your mouth doesn't sound that bad, but it turned out to be pretty uncomfortable - your mouth gets really dry and especially after sleeping.

The 2nd day was like the first but I felt a lot better and the bleeding gradually stopped. By the end of the 2nd day, I could take off the bandage until I needed to sleep, and manage it here and ther with tissue if needed. I started to over-estimate myself though, and learned if you 'eat normal' it can start to sting a bit (inside the nose). I quickly went back to taking it easy.

By the 3rd day, I could appear normal to anyone and things were pretty settled. At this stage, it had stopped bleeding, and I could tell I had a lot of caked blood in there. I was able to clean out most of it in the immediate area, but was afraid to "dig inside" because it was still sore and healing, and I figured I'd wait until my first follow-up visit (scheduled 1 week after surgery).

At the follow-up visit, he examined me and said it looked good. There was a lot of caked blood so he put two things in my nose, one of which was a kind of suction (similar to at the dentist). It felt pretty weird, but right after he finished, wow could I breathe through that nostril. I was already content with the improvement I observed before hand, and now was even happier with the results.

He mentioned there was a lot of swelling still and that could take ~3-4 weeks to fully calm down, and I should notice even more improvement. Follow-up visit scheduled 6-weeks from now.

I'm happy with the results. Before the surgery, I couldn't breathe at all through one of my nostrils, and now it feels like I can fully breathe through both.

Saturday, January 12, 2008

APA Pool Update

Had a 5-2 race with a 4 in my last APA match. I started out great, but after a break-out shot that hit the 8 in out of turn, everything went to hell in a hurry :) Ended up 4-1 (hill-hill). I had an opportunity to seal the deal, but didn't get out. My opponent made an incredible long bank off the side rail passed the side pockets into the corner to win. Oh well, that's pool. :)

Our team did well though, ending up 3-2 for the night, so we're in great shape.

GenericPAL program

Here is one of my programs for finding solutions to b^n mod n = c.

http://www.immortaltheory.com/NumberTheory/GenericPAL.zip

Wednesday, January 9, 2008

Upcoming surgery

I have a deviated septum, which makes it hard to breathe through one of my nostrils. I've lived with it all my life, but finally decided to get the surgery done to correct it (septoplasty). I have it scheduled for this coming Monday. Some people say its a very uncomfortable recovery process, but others have had not-so-bad experiences. I'll be asleep for the operation (general anesthesia) while they cut things up inside of my nose (ouch!). I'll probably be 'unpresentable' a few days after, then up to my usual the next week (at least that's my expectation). I'll post some updates here.

First night back at UNCC

I decided to go back to UNCC to finish my computer science degree. I left college early to start work (most programmer jobs don't care about degrees, but about your skillset). The degree will probably be worthless to me from a career perspective since I have a solid background and resume (worked at Microsoft for 7 years, and stay up to date on MS products/technologies). But it's something I want to close out from a past chapter in life.

Tonight was English 1102 "Writing in the Academic Community." Only chosen since it was a requirement for the degree program. Looks like it will be a lot of reading, note taking, and in-class discussion. The instructor is going to center all the material around the U.S. presidential election. We'll see how it goes...

Sunday, January 6, 2008

Number Theory Update

I cleaned up my b^n mod n search applications and will be making them available soon (probably this week) in case others wants to use them. I just need to create some Readme.Txt files to go with them, as they may not be intuitive unless you're familiar with the algorithms already.

Home fun

I got a new camera over the week-end, and have been having fun taking pictures of the kids.

Here's the camera I got. It was about $200 at Best Buy. We're really happy with it
http://reviews.cnet.com/digital-cameras/canon-powershot-sd1000-digital/4505-6501_7-32314638.html

My kids have been re-enacting this parody of Harry Potter we saw on the web. It's called "The Mysterious Ticking Noise" If you search on "potter pals" on Google Videos you'll find it and others in the same theme. I got a good video of them singing that one.

Other than that, we've been playing Rock Band off and on (XBox 360 game). My 4 year old's favorite song now is "Mississippi Queen". He'll be the microphone, and my daughter on drums. My wife and I usually take the guitar parts. If you haven't seen or played Rock Band or Guitar Hero series, I highly recommend them!

8-ball Express and tourney result

Tonight was the first night of our 8-ball express league. We play out of Rack'em in Matthews NC. They run a small Sunday tournament starting a 5pm. I got there a little early to play in it.

They have me down as an "8" in the tournament, so when I played a 2 it was an 8-2 race (ouch!). She got a game on me after 4 racks, she needed only one more and I still needed 4 more. I stayed focused to eventually capture that match and continue on.

I ended up making it to the end on the winner's bracket. I got some breaks here and there - I wouldn't say I got lucky rolls, but didn't get unlucky is how I would describe it. It was late so I offered to split the pot on the final match with a $10 cut in my favor ($95 / $75). He agreed and we paid our tabs and headed home.

While waiting for the loser's bracket to finish, I played another 5 for my league match, a 5-3 race. I was "dialed in" from playing in the tournament and took another 5-0 victory.

Thursday, January 3, 2008

Number Theory Update

I haven't found a solution to 13^n (mod n) = 36 yet, but not without a good bit of searching. I've run the factorization method using ECM, and variants of the prime and line algorithm, including a two-prime version, all without success.

Sometimes that's the case with these equations though, like with 2^n (mod n) = 465. I think that took me about a week with focus on it to find n=164196324252985941533.

It's another open problem whether solutions exist to it. I'm pretty sure they do, but the reason I think some are much harder than others is because of the primes that cannot divide n for specific equations.

In 2^n (mod n) = 465, you can show that if p divides n, then p cannot be 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43. Only when you get to 47 is that a possible prime factor. Because of all these small primes being impossible, you have a huge range of n eliminated, and cause other primes to get eliminated -- when GCD(order2p, log2 of 465 mod p) contains a bad factor.

For 13^n (mod n) = 36, only the primes 23, 53, 79 below 107 are possible divisors of n. So it's not surprising a small solution does not exist (Max Alekseyev reported n must be > 10^17).

APA Pool League

Tonight (Thursday) was the first match of our APA 8-ball league team. We play out of the Green Room in Charlotte NC. I'm also in another league (8-ball Express) playing on Sunday nights.

I'm a skill level 7 and went up against a 5 named Mike. This meant I had to win 5 games to his 3. I ended up winning 5-0. Since I won the lag that means I also get a 'rackless patch' for that night. Although I won strong, I had at least two games where it was close (he got down to the 8 but missed).

Wednesday, January 2, 2008

Problem from Feb 2007

I was looking around for another computational challenge and remembered there was still one left from Feb 2007 in some email correspondence I had with Robert G. Wilson (Bob).

Find a solution to 13^k (mod k) = 36

Background:
Bob was collecting solutions b^k (mod k) and updating the OEIS (Online Encyclopedia of Integer Sequences). He sent an email to me, Alexander Adamchuk, David Wilson, Don Reble, Max Alekseyev, Ryan Propper, and Neil Sloane asking about finding some missing values.

Max and I quickly found values to all the equations except the above one. Max and Ryan followed up with searches to verify least solutions on some of them.

Reference:
http://www.research.att.com/~njas/sequences/A127821

I'm continuing a search for this with one of my machines. I'll make a version of the program I wrote for this (VC++/GMP) available for download soon as well.

Recent Number Theory Work

Late December 2007, I came across the following open problem

http://garden.irmacs.sfu.ca/?q=op/does_every_odd_number_coprime_to_its_euler_totient_divides_some_carmichael_number

I had done some earlier work on a related problem and adapted those methods to quickly find solutions to the computational challenge (finding Carmichael numbers that are multiples of 885, 2391, 2517, 2571, 2589, 2595, 2685, 2949).

This was to complete a list that Dr. Gerard P. Michon worked on. After sending those solutions in and corresponding with Gerard and Max Alekseyev through email, we extended the list from 3000-10000 in a short time.

http://home.att.net/~numericana/data/crump.htm

Gerard did the first pass through the list eliminating all the entries where no solution was found with 17 digits or less. I then followed up to fill in the gaps.

I used Visual C++ and the GMP arithmetic library for the programming. You can get one of the programs I wrote for this here:
http://immortaltheory.com/NumberTheory/gmp_michon.zip

It was used primarily for all the 3000-10000 multiples, with the exception of 8805 (it was found with a later program using a different method)

First Post

Happy New Year!

2008 New Year's resolution --- maintain a personal blog :)