Troubleshooting generic file encodings

Some notes on troubleshooting different encodings for sent/received files. Table Encoding å ä ö Å Ä Ö UTF-8 \c3\a5 \c3\a4 \c3\b6 \c3\85 \c3\84 \c3\96 latin1 \e5 \e4 \f6 \c5 \c4 \d6 CP437 \86 \84 \94 \8f \8e \99 CP850 \86 \84 \94 \8f \8e \99 Notes WINDOWS-1252 / CP-1252 is a superset of latin1 All encodings are supersets of ASCII, so \20=SPACE and \0a=NEWLINE Sometimes you will encounter the “ANSI”-encoding. That name is a lie, and means that the creator is stupid in the head. There is no way of knowing what the creator intends, so you will have to try one encoding at a time and hope for the best. Vim commands If you hover over a character and type ga, you will see the VIM interpretation of the encoding. Note that this will NOT necessarily be the FILE-encoding, but instead the VIM-encoding. ...

Thoughts on collation in an international database in MySQL

When you have an international database, how do you make sure that the collation is correct for all locales? Here are some thoughts. Note that you have to be careful when mixing collations in queries or SQL will complain. Table with virtual, generated columns CREATE TABLE `note` ( `id` bigint NOT NULL AUTO_INCREMENT, `text` varchar(256) DEFAULT NULL, `text_swedish` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_swedish_ci GENERATED ALWAYS AS (`text`) VIRTUAL, `text_danish` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_danish_ci GENERATED ALWAYS AS (`text`) VIRTUAL, ... PRIMARY KEY (`id`), KEY `text` (`text`), KEY `text_swedish` (`text_swedish`), KEY `text_danish` (`text_danish`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci There is support for generating columns from another column. I’m unsure how this affects memory usage. ...

October 6, 2021  | 

Grayling on Thomism as a dogma

[Thomas Aquinas’] teachings constitute a complete system, which is why, as ‘Thomism’, they provide the Roman Catholic Church with its philosophy, whose official status was further confirmed by Pope Pius X in Doctoris Angelici (June 1914): ‘The capital theses in the philosophy of St Thomas are not to be placed in the category of opinions capable of being debated one way or another, but are to be considered as the foundations upon which the whole science of natural and divine things is based; if such principles are once removed or in any way impaired, it must necessarily follow that students of the sacred sciences will ultimately fail to perceive so much as the meaning of the words in which the dogmas of divine revelation are proposed by the magistracy of the Church.’ This places Thomistic philosophy and theology above all debate, which – at least in the case of philosophy – is precisely contrary to what philosophy should be. ...

Philosophy in the Autumn of 2021

When the autumn comes with its gloom and rain, I get this feeling of melancholy and the need to write down my thoughts on paper. This time I will ramble in the form of a blog post. Please don’t read this as me preaching with a “holier than thou”-attitude. It’s meant by me and for me. Maybe I can read this condescendingly in ten years and think of my then primitive philosophy. ...

Watch Renovation: Altus

Some notes on a watch which I’m renovating Text on dial: Altus - Incabloc Text on case back: 4452 512 199797 Data Measurements are done by me, and might not be the official numbers. Width: ? Length: ? Height: ? Lug-to-lug: ? Movement: Felsa 391? Swiss lever Case: Chrome plated brass Crystal: Acrylic Problems Keyless works very rusted Mainspring is broken Crown needs some locktite, can get loose Watch hands has rust Dial needs some cleaning Troubleshooting steps Opened up, cleaned and oiled all parts. Cleaned the keyless works several times, and it seems to work fine now Media

lsof Cheatsheet

Nice things you can do with lsof # Show all active internet connections lsof -i # Show all active TCP connections lsof -iTCP lsof -iTCP:57123 # Show active TCP connection on port 57123 # Show all active IPv4 connections lsof -i4 lsof -i4:57123 # Show active IPv4 connection on port 57123 # Show all file descriptors for a user lsof -u $USER

August 27, 2021  |  🏷️Lsof

Watch Renovation: Rouan

Some notes on a watch which I’m renovating Text on dial: Rouan - De Luxe - 17 Rubis - Unbreakable mainspring - Shockproof Text on case back: Antimagnetic - Stainless steel caseback Data Measurements are done by me, and might not be the official numbers. Width: ? Length: ? Height: ? Lug-to-lug: ? Movement: Eppler 7 - or a variant thereof Pin lever escapement Metal rocker bar Case: Looks like gold plated nickle. Crystal: Acrylic Problems Doesn’t run despite being fully wound Slightly cracked glass Troubleshooting steps Opened up and cleaned all parts. Media

Watch Renovation: Brac

Some notes on a watch which I’m renovating Text on dial: Shock proof lever - Swiss made Text on case back: Data Measurements are done by me, and might not be the official numbers. Width: ? Length: ? Height: ? Lug-to-lug: ? Movement: The BR-logo stands for Brac-Werke AS according to this page. Very similar to a Lapanouse. Pin lever escapement Case: Looks like brass. Crystal: Acrylic Problems Doesn’t run despite being fully wound Crown doesn’t want to move between winding mode and setting mode. Troubleshooting steps Opened up and cleaned all parts. Very dirty movement. Media

Watch Renovation: Festiva

Some notes on a watch which I’m renovating Text on dial: Festiva - 17 Rubis - Waterproof - Shockproof - Swiss made Text on case back: Antimagnetic - Stainless steel back - Swiss made - Waterproof - Antimagnetic Data Measurements are done by me, and might not be the official numbers. Width: ? Length: ? Height: ? Lug-to-lug: ? Movement: EB 1553 Pin lever escapement Case: Seems to be gold plated. Crystal: Acrylic Problems Doesn’t run despite being fully wound One jewel for the balance wheel is missing Mainspring is broken. Troubleshooting steps Opened up and cleaned all parts. One jewel for the balance wheel is missing The arbor was stuck to one or both bridges. After thorough cleaning the watch began running. However the mainspring catch immediately broke, making it impossible to wind. Media

Watch Renovation: Ruhla

Some notes on a watch which I’m renovating Text on dial: Ruhla - Antimagnetic - Made in GDR Text on case back: Electronically timed - Stainless steel back Data Measurements are done by me, and might not be the official numbers. Width: ? Length: ? Height: ? Lug-to-lug: ? Movement: Unknown movement, most likely Eppler Pin pallet escapement Case: Stainless steel Crystal: Acrylic Problems Crystal is cracked Only runs when shaking Crown is damaged Troubleshooting Opened up and cleaned all parts. Wound and let run for 24 hours. It’s hard to time because the power reserve seems to be less than 24 hours. Crown is damaged and needs replacing Media

Watch Renovation: Audix

Some notes on a watch which I’m renovating Text on dial: Audix - Antimagnetic Text on case back: Automatic - Waterproof - Non Magnetic - Shock Protected - 704144 Data Measurements are done by me, and might not be the official numbers. Width: 34mm Length: 43mm Height: ? Lug-to-lug: 17mm Movement: Unknown movement, most likely Eppler Date complication Pin pallet escapement Case: Stainless steel Crystal: Acrylic Problems Crystal has deep scratches Only runs when shaking Troubleshooting Opened up and cleaned all parts. Wound and let run for 24 hours. It times around +200s/d, but seems to have a healthy power reserve. It seems that the watch does not have a seconds hand, and there is no wheel that drives the seconds hand. Unsure if this is by design or the wheel is simply missing. Media

Watch Renovation: Eklora

Some notes on a watch which I’m renovating Text on dial: Eklora - Incabloc - Swiss Made Text on case back: Swiss Made - Waterprotected - Incabloc - Stainless Steel Back Data Measurements are done by me, and might not be the official numbers. Width: ? Length: ? Height: ? Lug-to-lug: ? Movement: FHF 974 Date complication Case: Stainless steel Crystal: Acrylic Problems Crystal has cracked Only runs when winding, stops shortly afterward, even when fully wound Rusty date wheel Troubleshooting Rust Opened up and cleaned all parts. Some screws have rusted off, but all parts seem to work I lost the date spring somewhere Rust is limited to the date complication. Other areas untouched. Only runs when winding During deconstruction, the mainspring was stuck to the barrel bridge. Barrel arbor very rusty. Cleaned and oiled, but is still not working as it should. After reconstruction, the mainspring gets charged, but will not apply the power to the train of wheels. It’s possible to unwind the mainspring. Possibly problem with the pivot on the other side of the mainspring getting stuck? Media

Mystery Watch: Javil

Some notes on a watch I have been given, which I’m trying to identify. Text on dial: Javil - 21 Jewels - Incabloc - Antimagnetic - Waterprotected - Swiss made Text on case back: Stainless steel back - Waterproof Antimagnetic - Incabloc swiss made - 4852 - 71 Data Measurements are done by me, and might not be the official numbers. Width: 33mm Length: 42mm Lug-to-lug: 18mm Movement: Likely AS 1188. See image below and compare. It’s very similar to AS 1188 Note that it has 21 jewels, but in the image below you can see that it has jewels jammed into useless locations. Case seems to be made of nickle plated brass Crystal: Acrylic Notes A local watchmaker said they would need to open it up to give a service cost estimate (which would cost 300 SEK), but to expect the service cost to be 3500 SEK or more. Media

Timex Marlin 1977 Dark Purple

I was given a watch by my father-in-law, and created this page to document all I could find about it. Because of the numbers on the dial I was able to find the full information about the watch. Text on Dial Timex - Water Resistant - Taiwan - 2615102477 Data Measurements are done by me, and might not be the official numbers. See e.g. Width. Model: 2615102477 Width: 34mm (35mm according to most online listings) Length: 36mm Lug-to-lug: 18mm Movement: Calibre M24 (According to forum posts) Pin-lever escapement Crystal: Acrylic Year of manifacture: 1977 (Since all search results seem to have 1977 in its name, I guess it was only made that year) Media Images from Bålsta Auktionshall ...

Wostok 441267

I created this page when trying to identify a watch I was given by my father-in-law. After finding multiple pages refering to it as the 441267, I will treat it as solved. Text on dial Wostok - 18 jewels - Made in USSR Note: Since it’s named Wostok instead of ‘Boctok’, it’s made for export and not the internal market. Fully russian versions of the same model also exist. Some quick googling told me that Wostoks changed the export name to Vostok in the 90s. ...