April 15 2017, 18:27

— Daddy, there’s no need to buy a band-aid, you can just ask for one!

I explain to her that it’s not nice to do that, and besides, the waiters don’t have any.

— They definitely have them! You’ll see!

Returns a minute later with a band-aid.

I just didn’t notice, and caught Masha in the museum with a band-aid she got from the reception. She also had a sore foot and was suffering.

In New York, a restaurant gave me a band-aid for a cut finger in literally a second.

I think it must be part of some essential kit almost everywhere in public places. I don’t know what else, but in case of blisters, like Masha and I had, it can help.)

April 15 2017, 11:05

This boring intersection is the most dangerous in our town. I know of five to seven major accidents that have occurred here, with burning trees and cars on the pedestrian paths. The collisions are always the same: a car coming from the right doesn’t see another approaching from the hill. The problem is that there’s a pit beyond the hill, completely hiding the car.

April 14 2017, 14:50

In the states, they economize heavily on people if they can be replaced by smart systems. I came up with the idea of a vehicle access control system for secured sites, I’ll leave it here so I don’t forget.

Entry/exit. Two barriers, a button, the driver approaches, presses the button. At that moment: the vehicle is weighed, the driver’s face is captured (attempt), the vehicle’s number is recorded (attempt), the make of the vehicle is identified (attempt), attempts are made to connect with the driver’s card, if he has one. All this information is checked in a database, and then either the left barrier opens, or – the right one. The right leads to a check/document issuance/registration etc., if something goes wrong. For instance, if the weight doesn’t match the recorded weight, or the driver is not the one photographed, or the vehicle is too dirty to read the number. A similar check is conducted upon exit. A database is formed based on successful entries, influencing the success of subsequent checks.

April 14 2017, 14:34

I came up with a rather educational little task with an impressive result: install a video camera and 2 laser distance sensors at the front of a car. With the help of these simple devices, the car “hooks onto” the one in front and keeps pace. It’s simple. Furthermore, when the car ahead turns, one edge becomes slightly closer than the other, which signals the following car to plan a turn at the same place in the same way. If the system is well-tuned, you can create a train of cars that increases in speed;) why hasn’t anyone done this yet?!

April 12 2017, 09:43

The Fallback language function is designed to display content in language X if language Y is not available. If there is no explicit localization for a certain locale, SAP Hybris Commerce relies on locales defined as fallback locales for that locale.

However, this approach has two major flaws:

• The fallback mechanism is not compatible with the Java Resource Bundle.

SAP admits that there is a flaw in the fallback mechanism. According to the documentation, “the fallback mechanism for de_DE is always de, [javaVMLocale] regardless of what has been specified within the Hybris system.”

• SAP Hybris does not support separate fallback rules for different countries/websites.

The article explains how to overcome these issues.

https://hybrismart.com/2017/04/12/overcoming-flaws-of-fallback-language-mechanism/