The Vodafone VPA Compact GPS is a Personal Digital Assistant (PDA) with the operating system Windows Phone. It was released in late 2006 and it was the first smartphone I have ever owned. Just recently I rediscovered the phone, which was lost without trace for a couple of years. This post is about sharing some impressions of an era where the first iPhone was not even on the market yet. Continue reading VPA Compact GPS Impressions
Cubic spline interpolation is a mathematical method commonly used to construct new points within the boundaries of a set of known points. These new points are function values of an interpolation function (referred to as spline), which itself consists of multiple cubic piecewise polynomials. This article explains how the computation works mathematically.
After an introduction, it defines the properties of a cubic spline, then it lists different boundary conditions (including visualizations), and provides a sample calculation. Furthermore, it acts as a reference for the mathematical background of the cubic spline interpolation tool on tools.timodenk.com which is introduced at the end of the article. Continue reading Cubic Spline Interpolation
According to the U.S. Census Bureau the average commute time for U.S. citizens who are neither working at home, nor walking or biking to work, is 25.9 minutes. My commute time from Karlsruhe to SAP is usually about 38 minutes one-way; often protracted by traffic jams. However, these can be avoided by departing at times where rush-hour traffic has not fully built up yet. But which departure time works best? Is it 07:00 or rather 09:00? When departing at 07:40 how much time could one save by departing just ten minutes earlier? In addition to the traffic conditions on the outbound trip, the delay on the way back has to be taken into account likewise. With about 9 hours and 20 minutes spent at work, the traffic at 16:20 matters for a departure at 07:00. For a 09:00 departure it would be 18:20. Continue reading Commute Time Tracking
The International Space Station is orbiting our planet since 1998. One orbit takes only approximately 92 minutes and the ISS is sometimes visible at the night-sky. To the naked eye it looks like a bright star crossing the night sky in just a few minutes.
In April 2017 I was visiting my uncle in Almeria, Spain. He has a nice telescope and we were wondering, whether it would be possible to recognize the International Space Station’s shape through the telescope. As it turned out it is possible but not easy: The primary difficulty was to keep the rapidly moving ISS within the telescope’s field of view. Additionally, the video output was very shaky, which made comprehensive post-processing necessary. Continue reading Observing the ISS from Earth
The widely used Arduino IDE offers many easy-to-use functions, one of them is
void digitalWrite(uint8_t pin, uint8_t val) . It sets one of the microcontroller’s pins to either high or low and serves well in many cases. However, it has a really poor performance, i.e. execution time. This post analyses both, speed and interior of the digitalWrite function, and proposes alternative, high performance solutions for setting output pins.
Continue reading Port Manipulation and Arduino’s digitalWrite Performance
This post is a tutorial on how to get started on programming your Arduino in Assembly or C/C++. In order to follow you need a Windows machine and a microcontroller programmer like the Atmel-ICE.
Continue reading Program Arduino in Assembly or C/C++
This post summarises what I’ve been coding during the last week. That’s two new web tools for my Online-Tools webpage called Typing Speed and Point Set Creator, and in addition to that a mobile-first Poker Hands website. Continue reading Typing Speed, Point Set Creator, and Poker Hands
This is a selection of entries from the Wikipedia article Glossary of poker terms.
- bet The opening bet of a betting round.
- fold To discard one’s hand and forfeit interest in the current pot.
- walk A walk is a situation where all players fold to the big blind.
- laydown The choice to fold a strong hand in anticipation of superior opposition
- raise To raise is to increase the size of an existing bet in the same betting round.
- reraise, coming over the top Raise after one has been raised.
backraise A reraise from a player that previously called in the same betting round.
- check-raise Deceptive play whereby a player initially checks with the intention of raising should another player bet.
- check To bet nothing.
- call To match a bet or raise.
- overcall To call a bet after others have called.
- hero call Calling when a player has a relatively weak hand but suspects their opponent may be bluffing.
- cold call To call an amount that represents a sum of bets or raises by more than one player.
- flat call, smooth call A call, in a situation where one might be expected to raise.
- all in When a player bets all of their chips in the current hand.
- coin flip A situation where two players have invested all their money in the pot and have a roughly even chance of winning.
- heads up Playing against a single opponent.