Dilemmas in modern math

Modern math is plagued by societal problems. One problem is the opinion that math is racist and the answer to 2 + 2 is only a biased opinion. But racism isn’t the only issue affecting modern math. Consider the following problems.

Problem:  There are only 5 books on the study table, but you have 14 books. How many books are missing from the study table?

Answer. Not enough information to answer the question. How many of the 14 books you have did you take from the study table? How many other people also took books from the study table?

Problem: There were 90 kites in a shop, and the shopkeeper was left with only 5 kites. How many kites does the shopkeeper sell?

Answer: Not enough information to answer the question. What is the shoplifting rate at this store?

Problem: A magician was invited to perform at a birthday party. The magician arrived at the party with 18 balloons. On the way, 7 balloons got blown away. So how many balloons did the magician have in the beginning?

Answer: Again, not enough information. How many balloons did the magician leave behind when the shooting started?

Problem: William had a few chocolates with him. Jack came along and took away five of his chocolates, intending to leave seven for William. What can we assume from this information?

Answer: William has twelve chocolates and Jack has a bloody nose. If Jack had only asked, things may have turned out differently.

Life used to be so simple.

Naming the Mars rovers

According to NASA the next Mars rover, the Mars 2020, is looking for a name.

The names under consideration are:
Endurance, Tenacity, Promise, Perseverance, Vision, Clarity, Ingenuity, Fortitude and Courage.

Previous rovers have been named Spirit, Opportunity, and Curiousity.

ALL of those are nice words, but all of them speak to human traits.  These rovers are machines, not humans. They aren’t even supporting humans. The nearest humans are over 30 million miles away. None of these fine words convey any sense of character or meaning to these marvelous machines. Why not give them names that provides some descriptive character?

My name proposal for the Mars 2020 rover? How about:
Whee! -ler?

Christmas song answers

Here are the answers to the Christmas song quiz:

1. HYAMLC
–HAVE YOURSELF A MERRY LITTLE CHRISTMAS
2. TFNTADS
–THE FIRST NOEL THE ANGLES DID SAY
3. GRYMGLNYD
–GOD REST YE MERRY GENTLEMEN LET NOTHING YOU DISMAY
4. ICUAMC
–IT CAME UPON A MIDNIGHT CLEAR
5. SNHNAICAIB
–SILENT NIGHT HOLY NIGHT ALL IS CALM ALL IS BRIGHT
6. OTFDOCMTLGTME
–ON THE FIRST DAY OF CHRISTMAS MY TRUE LOVE GAVE TO ME
7. DTHWBOHFLLLLLLLL
–DECK THE HALLS WITH BAWLS OF HOLLY FA LA LA LA LA LA LA LA LA
8. YBWOYBNC
–YOU BETTER WATCH OUT YOU BETTER NOT CRY
9. JTTWTLHC
–JOY TO THE WORLD THE LORD HAS COME
10. YKDADAPAVCACADAB
–YOU KNOW DASHER AND DANCER AND PRANCER AND VIXEN COMET ND CUPID AND DONDER AND BLITZEN
11. ISMKSCUTMLN
–I SAW MOMMY KISSIN’ SANTA CLAUS UNDERNEATH THE MISSLETOE LAST NIGHT
12. CSBSDIHS
–CITY SIDEWALKS BUSY SIDEWALKS DRESSED IN HOLIDAY STYLE
13. HTHASGTTNK
–HARK THE HEARLD ANGLES SING GLORY TO THE NEWBORN KING
14. GGROBAR
-GRANDMA GOT RAN OVER BY A REINDEER
15. OHNTSABS
–O HOLY NIGHT THE STARS ARE BRIGHTLY SHINING
16. AIWFCIMTFT
–ALL I WANT FOR CHRISTMAS IS MY TWO FRONT TEETH
17. DTTSIAOHOS
–DASHING THROUGH THE SNOW IN A ONE HORSE OPEN SLEIGH
18. WTKOOA
–WE THREE KINGS OF ORIENT ARE
19. IDOAWCJLTOIUTK
–I’M DREAMING OF A WHITE CHRISTMAS JUST LIKE THE ONES I USED TO KNOW
20. CROAOFJFNAYN
–CHESTNUTS ROASTING ON AN OPEN FIRE JACK FROST NIPPING AT YOUR NOSE
21. IBTLALLC
–IT’S BEGINNING TO LOOK A LOT LIKE CHRISTMAS
22. OLTOBHSWSTL
–O LITTLE TOWN OF BETHLEHAM HOW STILL WE SEE THEE LIE
23. SBRAYLITLSIG
–SLEIGH BELLS RING ARE YOU LISTENING IN THE LANE SNOW IS GLISTENING
24. IBHFC
–I’LL BE HOME FOR CHRISTMAS
25. WWYAMCWWYAMC
–WE WISH YOU A MERRY CHRISTMAS WE WISH YOU A MERRY CHRISTMAS
26. IHTBOCD
–I HEARD THE BELLS ON CHRISTMAS DAY
27. FTSWAJHS
–FROSTY THE SNOWMAN WAS A JOLLY HAPPY SOUL
28. JOSNLYETW
–JOLLY OLD ST. NICHOLAS LEAN YOUR EAR THIS WAY
29. GKWLOOTFOS
–GOOD KING WENCESLUS LOOKED OUT ON THE FEAST OF STEPHEN
30. UOTRRPOJGOSC
–UP ON THE ROOFTOP REINDEER PAUSE OUT JUMPS GOOD OLD SANTA CLAUS
31. JBJBJBR
–JINLGE BELL JINGLE BELL JINGLE BELL ROCK
32. IHABCWY
–I’LL HAVE A BLUE CHRISTMAS WITHOUT YOU
33. WUNWTAGC
–WAY UP NORTH WHERE THE AIR GETS COLD
34. JHTSBRTTTT
–JUST HERE THOSE SLEIGH BELLS RINGING TING TING TING TINGLING TOO
35. CTTMPRPPP
–COME THEY TOLD ME PA RUM PUM PUM PUM
36. AWHHOH
–ANGELS WE HAVE HEARD ON HIGH
37. HAHJC
–HAVE A HOLLY JOLLY CHRISTMAS
38. AIAMNCFAB
–AWAY IN A MANGER NO CRIB FOR A BED
39. DYHWIH
-DO YOU HEAR WHAT I HEAR
40. GTIOTM
–GO TELL IT ON THE MOUNTAIN
41. CCTIHTFTATFC
-CHRISTMAS CHRISTMAS TIME IS HERE TIME FOR TOYS AND AND TIME FOR CHEERS
42. RATCT
–ROCKIN AROUND THE CHRISTMAS TREE
43. OTRATTWTGHWG
–OVER THE RIVER AND THROUGH THE WOODS TO GRANDMOTHERS HOUSE WE GO
44. OCTOCTHLATB
–O CHRISTMAS TREE O CHRISTMAS TREE HOW LOVELY ARE THY BRANCHES
45. ISTSCSIOCDOCD
–I SAW THREE SHIPS COME SAILING IN ON CHRISTMAS DAY ON CHRISTMAS DAY

Christmas song quiz

How many of the following Christmas songs can you identify by the initials of the words of the first line of the song ? ( For Example: OCAYF = O Come All Ye Faithful).

1. HYAMLC
2. TFNTADS
3. GRYMGLNYD
4. ICUAMC
5. SNHNAICAIB
6. OTFDOCMTLGTME
7. DTHWBOHFLLLLLLLL
8. YBWOYBNC
9. JTTWTLHC
10. YKDADAPAVCACADAB
11. ISMKSCUTMLN
12. CSBSDIHS
13. HTHASGTTNK
14. GGROBAR
15. OHNTSABS
16. AIWFCIMTFT
17. DTTSIAOHOS
18. WTKOOA
19. IDOAWCJLTOIUTK
20. CROAOFJFNAYN
21. IBTLALLC
22. OLTOBHSWSTL
23. SBRAYLITLSIG
24. IBHFC
25. WWYAMCWWYAMC
26. IHTBOCD
27. FTSWAJHS
28. JOSNLYETW
29. GKWLOOTFOS
30. UOTRRPOJGOSC
31. JBJBJBR
32. IHABCWY
33. WUNWTAGC
34. JHTSBRTTTT
35. CTTMPRPPP
36. AWHHOH
37. HAHJC
38. AIAMNCFAB
39. DYHWIH
40. GTIOTM
41. CCTIHTFTATFC
42. RATCT
43. OTRATTWTGHWG
44. OCTOCTHLATB
45. ISTSCSIOCDOCD

(Answers in January.)

You can run me, you can starve me, you can beat me, you can kill me and you can blackmail me. Just don’t bore me.

I get something like this in my (spam) email folder ever week or so. In fact, I’ve been getting them off and on for the last year or so… haven’t really kept track. I’ve gotten two in the last 24 hours… different bitcoin address each time.

Well, I never have paid a single cent. Really don’t have much use for bitcoin. I am STILL waiting for whoever is sending me these to just hurry up and expose me! I’m really getting bored sitting here waiting for that other shoe to drop! I REALLY want all my friends and contacts watch those same cat videos I find so funny! But videos of me…? MAN, ARE YOU GOOD! You got videos of me and my desktop doesn’t even have a camera!

Oh… all those passcodes you have… could you send them to me? Seems I’ve forgotten most of them…

… and would you PLEASE clean up your grammar? How do you expect to be taken seriously when your sentence structure is so poor?

Sphider – PDO vs MySQLi

There are TWO editions of Sphider… the classic edition using MySQLi and the PDO edition.

Why are there two versions? The classic edition uses MySQLi and prepared statements. While MySQLi, by itself, does support prepared statements, there are a couple functions used in Sphider that require MySQLnd (the “nd” stands for “native driver”). These functions are used because they are the most efficient way of doing things.

MySQLnd has been the default driver since PHP 5.4. If you install a modern version of PHP and want MySQLi, you are going to get MySQLnd. Yet SOME hosting companies DISABLE MySQLnd for those using shared hosting. (I suppose they want people to shell out a few more bucks to get VPS or Dedicated hosting.) In those situations, the classic edition just ain’t gonna work! So, there is the PDO edition.

There are those who will tell you that PDO is what you should be using anyway. They will tout how versatile PDO is, how it can do anything MySQLi can do, only better. It is true the PDO IS versatile. It can work with many different databases, not just MySQL. But there ARE some things PDO just can’t do, at least not efficiently. And there is overhead. And memory requirements.

With PDO:              PHP <==> PDO <==> Your data
With MySQLi:       PHP <==> Your data

The classic version of Sphider is the better, more capable edition! The PDO edition is capable enough PROVIDED you aren’t trying to build your personal version of an internet search engine. It IS possible to tax the PDO edition to the point it chokes. (It is probably possible to choke the classic edition as well, but it takes more effort.)

Remember, the intent of Sphider was/is to index a web site for the benefit of that site’s visitors. In can be used to index a number of related sites for the same purpose. An individual may stretch Sphider for personal use to index MANY sites… but it is STILL just a small indexing tool and not a Google replacement!

NOW… the final point. If you REALLY need Sphider to stretch its capabilities to the absolute limit, maybe you should be using the classic edition and not PDO. If that is the case, shell out a couple extra bucks to your host so you can get access to MySQLnd. Don’t try to pull a 20′ travel trailer with a Honda Civic.

The customer service rep…

Sometime back, I was talking on the phone to a customer service representative about some product or another. He needed to snail mail me some information.

Now the conversation went something like this (names changed but not the concept):
Customer Rep: Can I get your name, please.
Me: James Piper.
Rep: Diaper?
Me: No, PIPER!
Rep: Diaper?
Me: NO! PIPER! P as in Paul, i-p-e-r!
Rep: OH! Okay. Thank you.

A few days later I got the information in the mail. It was addressed to Paul Iper.

!!!!!!!!!!!!!!!!!!!!!!!

A family tradition

It is Thanksgiving Day here in the United States. Many families have traditions for Thanksgiving. My family when I was growing up was no different. This is the story of one of those traditions.

It began about 1955 or 1956 when we got our first television set. It was on the first Thanksgiving after getting the television that my father discovered the Macy’s Thanksgiving Day parade. He would turn on the television, set the channel for the parade… and leave the room to do other things, never to return. But God help the soul who, in his absence, attempted to change to another channel! That was strictly forbidden! So every Thanksgiving, we would turn on the television, tune in the Macy’s Thanksgiving Day parade, … and leave the room to find other things to do. Nobody had any real interest in watching the thing… but it just HAD to be on.

After I had left home and had my own family, the tradition died, at least in my house. If we went to visit the folks on Thanksgiving, the parade was on… with nobody watching. My father didn’t miss a Thanksgiving Day parade (which he never watched) a single time until he died in the early 1980’s.

Why I hate Microsoft

I have a number of computers. My main desktop machine runs Ubuntu (currently 18.04), but I have another desktop running Windows 7. I also have a newer laptop (which I don’t use much) with Windows 10. I also have an older laptop, which rarely even gets powered on anymore, with Linux Mint.

Well, I have always had nightmares with Windows update. It seems always to need to do something right when it is least convenient, and is problem prone. As a result, I just disable the service and update ONLY when it’s a) been awhile since the last time, and b) it’s a good time for me.

Today, both conditions were met. I re-enabled the Windows Update service and checked for updates. It took nearly half an hour and discovered there were 6 “needed” updates. One was the totally useless Malicious Software Removel Tool, which runs a long time and does nothing. I deep sixed that one that one and proceeded with the other 5. Another half hour went by as the system downloaded 5 updates. Time to install. It worked, and worked, and worked… said it needed to restart. Okay, fine. “Configuring updates”. “Configuring updates”. … You know how that goes. Finally, it’s been “configuring for another half hour and it has reached 98% complete. Then, the very thing I just KNEW was going to happen, did. “Windows was unable to configure updates. Reverting changes”. CRAP! But not the first time I’ve ever seen that happen!

Anyway, while all that was going on, I was over on my Ubuntu box. I use that one every day, so it is pretty up to date. I figured I would check anyway, so I did an “apt-get update”, and there was one for Linux firmware. I installed it… no reboot needed. I went online and made a few tweaks to another one of my web sites, did some surfing, worked a bit in Libre Office…. Meanwhile, back at the Windows ranch, the “reverting changes” was getting underway. I had to go to the bank, which I did. I was hungry, so I went to get something to eat. Got back home and decided to boot up the old Linux Mint laptop. It had been AT LEAST six months, so you can imagine. It needed a gazillion updates, which I proceed to do. It definitely took awhile (no idea how many updates were actually done), but they all completed without any issues. No reboots were needed. I found some outdated apps and updated them. My Libre Office was still at version 5, so I upgraded it. Took a phone call, went back on my Ubuntu machine and did a bit more work. Then I played with the cat for a bit. After three hours of “reverting changes”, Windows was ready.

So Microsoft Windows took between four and four and a half hours…. accomplishing ABSOLUTELY NOTHING!!!

I updated the Windows 10 laptop a couple nights ago, and that took a couple hours. Surprisingly, this time it actually worked.

After years of experience with Microsoft, beginning with DOS 2.11 up to now (I avoided 95/98/ME like the plague and was more into NT 3.51, 4.0, etc. – except Vista/8/8.1), and years with UNIX SYSTEM V, into Red Hat, and finally Ubuntu, I have learned this moral:

The quality of an operating system is inversely proportional to its cost.

Note that Ubuntu is free.

I compose this rant on Ubuntu.

Boiled Shrimp

When I was a young man, I discovered shrimp… specifically, fried shrimp. Whenever we went to a restaurant, if fried shrimp was on the menu, I ordered it.

After I had left home and was on my own, fried shrimp was always one of my favorite options. But then one day, sitting at the bar in Al’s Bar in a town in Nebraska, I noticed a sign above the bar: “Plate of 12 boiled shrimp, $1”. Well, I was hungry and I did like fried shrimp, so I figure shrimp is shrimp and ordered a plate.

As I am sitting there, watching TV, sipping my beer, and eating my boiled shrimp, I notice a stranger to my left sort of watching me. I say nothing and continue watching TV, sipping beer, and eating boiled shrimp.

Finally the stranger to my left speaks: “Excuse me. Do you ALWAYS eat your shrimp with the shells on?”
I reply: “Yes. Yes I do. Why?”
Stranger: “Well, it’s just that I never saw anybody do that before. They always shell them first.”
Me: “I like the crunch!”

I guess I decided that day, after finishing the plate of shrimp I had in front of me, that I just maybe might try shelling them in the future. Since that time, whenever I have eaten boiled shrimp, I have shelled them first… provided there is no sign of that same stranger nearby.

Hey! At least I have ALWAYS shelled my hard boiled eggs before eating them!