Why is it always “Dads and Grads”? Mothers get the whole month of May to themselves — despite the fact that a lot of graduations take place in May — but June is always Dads and Grads. Granted, Moms and Grads doesn’t rhyme like Dads and Grads or Highways and Byways . . . but why not Moms and Proms? Flowers for everyone! Anyway, Happy Fathers Day, guys. Read more →
Author Archive: Paul Epps
Anthony Bourdain, 1956-2018
I think of Anthony Bourdain as the guy who started the whole “bad-boy chef” industry, which has been, in my view, bad for society. Or maybe it was Gordon Ramsay. Is Gordon Ramsay still alive? RIP Anthony Bourdain Read more →
I Feared That the Dam Might Break So I Loosed the River
I can never remake the thing I have destroyed; I brushed the golden dust from the moth’s bright wing, I called down wind to shatter the cherry-blossoms, I did a terrible thing. I feared that the cup might fall, so I flung it from me; I feared that the bird might fly, so I set it free; I feared that the dam might break, so I loosed the river: May its waters cover me. — Aline Murray Kilmer, “Shards” Read more →
Competitive Programming: POJ 2488 – A Knight’s Journey
Description Background The knight is getting bored of seeing the same black and white squares again and again and has decided to make a journey around the world. Whenever a knight moves, it is two squares in one direction and one square perpendicular to this. The world of a knight is the chessboard he is living on. Our knight lives on a chessboard that has a smaller area than a regular 8 * 8 board, but it is still rectangular. Can you help this adventurous knight to make travel plans? Problem Find a path such that the knight visits every square once. The knight can start and end on any square of the board. Input The input begins with a positive integer n in the first line. The following lines contain n test cases. Each test case consists of a single line with two positive integers p and q, such… Read more →
Those Weren’t Burglars, They Were “Confidential Informants”
F.B.I. Used Informant to Investigate Russia Ties to Campaign, Not to Spy, as Trump Claims — New York Times It’s too bad for Richard Nixon that he wasn’t able to come up with a similarly quick-witted explanation for Watergate. It reminded me of a joke: A man sees one of his neighbors scattering crumbs all around his house. “Why are you doing that?” he asked. “I’m keeping the tigers away.” “But there aren’t any tigers around here.” “That’s right. You see how well it works?” Read more →
Galactic Meetup Scheduled
Our nearest neighbor, the Andromeda galaxy, is speeding toward the Milky Way at 250,000 miles per hour and will crash into us in 3.75 billion years. The good news is that because of the vast distances between stars, it’s unlikely that any stars will actually collide. Before you mark this event on your calendar, however, remember that our sun is continually growing. About 3 billion years from now, the sun will be 40 percent larger than its current state and all life on Earth will probably cease to exist. Read more →
Amazon Devices Recording Private Conversations?
Is the woman’s name Alexa? No? It’s Danielle? Despite what we’re told, it’s impossible that these microphones aren’t listening until you say their name — Alexa, Siri, OK Google, etc. How do they hear their name if they’re not listening? I’m not listening until you say my name: Paul. Until then, I’m not hearing anything you say. Not listening, won’t repeat it to anyone. Your total privacy is assured. Read more →
When Bad Things Happen to Psychics
It’s fun when bad things happen to psychics because you can always say “She didn’t see that coming!” Read more →
I Was in the House When the House Burned Down
I may be old and I may be bent
But I had the money till it all got spent
I had the money till they made me pay
Then I had the sense to be on my way
I had to stay in the underground
I was in the house when the house burned down
Experts and Empty Suits
Our inability to predict in environments subjected to the Black Swan, coupled with a general lack of awareness of this state of affairs, means that certain professionals, while believing they are experts, are in fact not. Based on their empirical record, they do not know more about their subject than the general population, but they are much better at narrating — or, worse, at smoking you with complicated mathematical models. They are also more likely to wear a tie. — Nassim Nicholas Taleb, The Black Swan Read more →
Greatest Living American Authors
With the recent deaths of Philip Roth and Tom Wolfe, I’ve moved a couple more notches up the list of greatest living American authors. Why not celebrate by picking up a copy of my book? Read more →
Philip Roth, 1933-2018
The final question assigned to the class was “What is life?” Merry’s answer was something her father and mother chuckled over together that night. According to Merry, while the other students labored busily away with their phony deep thoughts, she — after an hour of thinking at her desk — wrote a single, unplatitudinous declarative sentence: “Life is just a short period of time in which you are alive.” “You know,” said the Swede, “it’s smarter then it sounds. She’s a kid — how has she figured out that life is short? She is somethin’, our precocious daughter. This girl is going to Harvard.” But once again the teacher didn’t agree, and she wrote beside Merry’s answer, “Is that all?” Yes, the Swede thought now, that is all. Thank God, that is all; even that is unendurable. — American Pastoral RIP Philip Roth Read more →
Making Better Decisions
I can’t decide which one to get . . . Read more →
Competitive Programming: POJ 1159 – Palindrome
Description A palindrome is a symmetrical string, that is, a string read identically from left to right as well as from right to left. You are to write a program which, given a string, determines the minimal number of characters to be inserted into the string in order to obtain a palindrome. As an example, by inserting 2 characters, the string “Ab3bd” can be transformed into a palindrome (“dAb3bAd” or “Adb3bdA”). However, inserting fewer than 2 characters does not produce a palindrome. Input Your program is to read from standard input. The first line contains one integer: the length of the input string N, 3 <= N <= 5000. The second line contains one string with length N. The string is formed from uppercase letters from ‘A’ to ‘Z’, lowercase letters from ‘a’ to ‘z’ and digits from ‘0’ to ‘9’. Uppercase and lowercase letters are to be considered distinct.… Read more →
EppsNet Writing Tips: How to Start
A reader asks: I was interested to find out how you center yourself and clear your thoughts before writing. I’ve had a difficult time clearing my mind in getting my thoughts out there. I do enjoy writing however it just seems like the first 10 to 15 minutes are usually lost simply just trying to figure out how to begin. Any recommendations or hints? Let’s start out assuming that you actually have something to say. If you don’t, that’s okay. Come back later when you do. The sticking point in starting to write is, in my opinion, trying to do two things at once, i.e., figuring out what you want to say and how you want to say it. Take it one step at a time. To start with, write it all down like you’re talking to someone. Don’t edit as you go, e.g., “Is this the best word choice?”,… Read more →
Household Hint of the Day
Turning it off and back on again also fixes washing machines. Read more →
The Last Four U.S. Presidents on Jerusalem
Jerusalem is still the capital of Israel and must remain an undivided city. — Bill Clinton As soon as I take office, I will begin the process of moving the United States ambassador to the city Israel has chosen as its capital. — George W. Bush Jerusalem will remain the capital, and I have said that before and I will say it again. — Barack Obama I have decided that it is time to officially recognize Jerusalem as the capital of Israel. — Donald Trump Today we officially open the United States embassy in Jerusalem. Congratulations, it’s been a long time coming. — Donald Trump Read more →
Topics
The top five problems you have with <topic> and how to solve them Why <topic> sucks and what we can do about it Mistakes I made in <topic> and what I learned The most frequently asked questions and brilliant answers about <topic> The truth about <topic> and how it can help you Smart shortcuts and clever tricks only experts know about <topic> The five reasons you win by giving me <topic> Why <topic> will change your life forever, for free, right now Read more →
Not every problem someone has with his girlfriend is necessarily due to the capitalist mode of production. — Herbert Marcuse
Competitive Programming: POJ 2663 – Tri Tiling
Description In how many ways can you tile a 3xn rectangle with 2×1 dominoes? Here is a sample tiling of a 3×12 rectangle. Input Input consists of several test cases followed by a line containing -1. Each test case is a line containing an integer 0 <= n <= 30. Output For each test case, output one integer number giving the number of possible tilings. Sample Input 2 8 12 -1 Sample Output 3 153 2131 Link to problem Solution below . . . Read more →