Have some time?

This single list of link has fueled a lot of reading for me over the past few months … The most counterintuitive facts in all of mathematics, computer science, and physics:

It is possible to compute over encrypted data without access to the secret key: https://en.wikipedia.org/wiki/Homomorphic_encryption It is possible to prove that you know a value x, without conveying any information apart from the fact that you know the value x: https://en.wikipedia.org/wiki/Zero-knowledge_proof It is possible to play poker by telephone in a trusted way which prevents cheating: http://math.stonybrook.edu/~scott/blair/How_play_poker.html If customers take on average 10 minutes to serve and they arrive randomly at a rate of 5.8 per hour then the waiting time for one teller is five hours while the waiting time for two tellers is 3 minutes: https://www.johndcook.com/blog/2008/10/21/what-happens-when-you-add-a-new-teller/ There exists a set of three dice, A, B, and C, with the property that A rolls higher than B more than half the time, and B rolls higher than C more than half the time, but it is not true that A rolls higher than C more than half the time: https://en.wikipedia.org/wiki/Nontransitive_dice Causation does not imply correlation: https://arxiv.org/abs/1505.03118 The Earth makes 366.25 rotations around its axis per year. (Related: 0% selected the right answer on this SAT question: Circle A has 1/3 the radius of circle B, and circle A rolls one trip around circle B. How many times will circle A revolve in total? youtube.com/watch?v=kN3AOMrnEUs) There is a surface that has only one side: https://en.wikipedia.org/wiki/Mobius_strip It is possible to travel downwind faster than the wind: 

youtube.com/watch?v=jyQwgBAaBag read more

The SAP Community

Reminiscing and looking back on this, its strange to think that I have had a SAP Community or Forum account since my late teens … Multiple TechEd events, talks, blogs, being a SAP Mentor, a job at SAP, friends, colleagues, and most recently a part of the SAP Champion program has been a personally rewarding commitment over the last 20 odd years … #timeflies

https://people.sap.com/paul.aschmann

Scripting in Think Or Swim #ToS

Implementing EMA Clouds in ThinkScript

#Multiple EMA Cloud input ema1low = 5; input ema1high = 13; input ema2low = 34; input ema2high = 50; input ema3low = 72; input ema3high = 89; def ema5 = ExpAverage(close, ema1low); def ema13 = ExpAverage(close, ema1high); AddCloud(ema5, ema13, Color.DARK_GREEN, Color.RED); def ema34 = ExpAverage(close, ema2low); def ema50 = ExpAverage(close, ema2high); AddCloud(ema34, ema50, Color.green, Color.light_gray); def ema72 = ExpAverage(close, ema3low); def ema89 = ExpAverage(close, ema3high); AddCloud(ema72, ema89, Color.blue, Color.yellow); def buycross = (ema5 > ema13) and (ema34 crosses above ema50); def buycrossAdditional = (ema72 crosses above ema89); AddOrder(OrderType.BUY_TO_OPEN, buycross, tickColor = GetColor(1), arrowColor = GetColor(1), name = "Buy", tradeSize = floor(10000 / close)); def sellcross = ema5 crosses below ema13 and (ema34 < ema50); AddOrder(OrderType.SELL_TO_CLOSE, sellcross, tickColor = GetColor(0), arrowColor = GetColor(0), name = "Sell"); AddLabel(yes, "EMA5 & EMA13 = Dark Green & Red", Color.DARK_GREEN); AddLabel(yes, "EMA34 & EMA50 = Green & Light Grey", Color.GREEN); AddLabel(yes, "EMA72 & EMA89 = Blue & Yellow", Color.BLUE); read more

My Grocery Shopping List

FOODSTUFFSHOUSEHOLD
Fresh vegetablesBaked goodsSnacksDairyPersonal careMonday
· Carrots· Bagels / Croissants· Cookies· Butter / Margarine· Antiperspirant / Deodorant
· Cauliflower· Buns / Rolls· Crackers· Milk· Bath soap / Hand soap
· Corn· Fresh bread· Dried fruit· Sour cream· Cotton swabs / Balls
· Cucumbers· Pita bread· Granola bars / Mix· Yogurt· Facial cleanser
· Lettuce / Greens· Muffins· Nuts / Seeds· Drinking Yoghurt· Facial tissue
· Mushrooms· Wraps· Oatmeal· Eggs· Feminine productsTuesday
· Onions· Popcorn· Orange Juice· Floss
· Peppers· · Apple Juice· Lip balm
· Potatoes· · English muffins· Moisturizing lotion
· SpinachSeafood· Heavy Cream· Mouthwash
· Squash· SalmonBakingkombucha · Razors / Shaving creamWednesday
· Zucchini· Shrimp· Baking powder / Soda· Shampoo / Conditioner
· Tomatoes· Tuna· Bread crumbs· Toilet paper
· Butternut· · Cake / Brownie mix· Toothpaste
· · · Flour· Vitamins / Supplements
· Sugar· 
· Yeast· Thursday
Fresh fruitsCondiments / Sauces· Cheese
· Apples· BBQ sauce· · Cheddar
· Avocados· Honey· Cottage cheeseKitchen
· Bananas· Jam / Jelly / PreservesMeat· Cream cheese· Aluminum foil
· Berries· Ketchup / Mustard· Bacon / Sausage· Feta· Napkins
· Cherries· Mayonnaise· Beef· Mozzarella· Non-stick sprayFriday
· Grapefruit· Pasta sauce· Chicken· Parmesan· Paper towels
· Grapes· Salad dressing· Ground beef / Turkey· Provolone· Plastic wrap
· Kiwis· Syrup· · Swiss· Sandwich / Freezer bags
· Lemons / Limes· · · · Wax paper
· Melon· · 
· Nectarines· Saturday
· OrangesDry FoodPets
· Peaches· CerealBeverages· Cat food / TreatsCleaning products
· Pears· Mac & cheese· Beer· Cat litter· Air freshener
· Strawberries· Pancake / Waffle mix· Bathroom cleaner
· Blackberries· Pasta· Bleach / Detergent
· Mango· Peanut butter· Dish / Dishwasher soapSunday
· Rice· Garbage bags
DeliVarious groceries· Glass cleaner
· Ham· Tea· Mop head / Vacuum bags
· HotdogsCanned foodsFrozen· Vegetable oil· Sponges / Scrubbers
· Lunchmeat· Baked beans· Fries / Tater tots· Vinegar· 
· Turkey· Tuna / Chicken· Ice cream / Sorbet·  Taco Kit· 
· Rotisserie Chicken· Soup / Chili· Vegetables· 
· Tomatoes· Garlic BreadWhen you go…
· Veggies· Pancakes· Take reusable bags!
· · Pies· Plastic bags to recycle?
· Waffles· Coupons
· Use customer reward card?
· Need to return anything?

Should we support fiscal stimulus?

Whenever the topic of stimulus comes up — fiscal or monetary — there are people who argue that it’s pointless because you can’t create wealth simply by printing money out of thin air. This is an understandable intuition for people to have, since one use of money is just to “keep score” of things. If you went to a basketball game for kids, and made each basket count for 10 points instead of two, the scoreboard would be higher, but it wouldn’t mean that the kids were any better at shooting baskets. We’ve all seen currencies of countries (e.g. Venezuela) that added a bunch of zeros to their currency, and those countries are not rich. So from this perspective, no, printing money cannot make a society wealthier.  read more

The bus ticket theory of genius

Source: http://paulgraham.com/genius.html

Everyone knows that to do great work you need both natural ability and determination. But there’s a third ingredient that’s not as well understood: an obsessive interest in a particular topic.

To explain this point I need to burn my reputation with some group of people, and I’m going to choose bus ticket collectors. There are people who collect old bus tickets. Like many collectors, they have an obsessive interest in the minutiae of what they collect. They can keep track of distinctions between different types of bus tickets that would be hard for the rest of us to remember. Because we don’t care enough. What’s the point of spending so much time thinking about old bus tickets? read more