Skip to main content

Posts

Showing posts from May, 2023

How to Choose the Right Battery for Your Watch

If you have a Swatch wristwatch that needs a battery replacement, you might be wondering what kind of battery to use. There are different types of batteries for different watches, and using the wrong one could affect the performance or lifespan of your watch. One way to find out the correct battery for your watch is to look at the old battery that you removed from the watch. It should have a number on it, such as SR 936 SW or SR 927 SW. This number indicates the size and type of the battery.   The first two digits of the number represent the diameter of the battery in millimetres. For example, SR 9xx batteries have a diameter of 9.5 mm. The last two digits represent the height of the battery in tenths of a millimetre. For example, SR xx36 batteries have a height of 3.6 mm. The letter S stands for silver oxide, which is the material used in most watch batteries. The letter R stands for round shape. The letter W stands for high drain, which means the battery can handle more power cons

Introducing CSON serialization & data representation format

CSON (Concise Object Notation) is a data serialization format that is designed to be more concise than JSON (JavaScript Object Notation). CSON is a variation of JSON, which means that it shares some similarities with JSON but also has its own unique features and syntax. One of the main differences between CSON and JSON is that CSON allows for the use of multiple separator characters between key-value pairs in an object or elements in an array. In JSON, only a comma can be used as a separator. In CSON, however, a semicolon, comma, pipe, tilde or forward slash can be used as a separator. However, it’s important to note that once a separator character has been chosen, it must be used consistently throughout the data. Here’s a simple grammar that can be used for valide CSON serialization format:  cson = object | array object = '{' pair (separator pair)* '}' pair = key ':' value key = string value = string | number | object | array array = '[' element (