May 14, 2020

Fast I/O and day to day work

I waited a long time to upgrade my beloved mid 2012 11" MacBook Air, since Apple just didn't offer anything compelling with a working keyboard. Until the 2020 MacBook Air, which i just got a little while ago.

This MacBook might not have the fastest processor on the market (i got the fastest you could order), but man - this thing is plenty fast to get my work done. One thing i specifically noticed is how fast the I/O is and how important fast I/O is to my daily work. I realised this, when i wanted to clean up some code for work:

We have a strings.json file containing many strings, which use throughout an application (localisation etc.). Each string has a "name" whereby it is referred to throughout the application. I wanted to clean up the json file and delete strings, we no longer use in the application. Do to this, i had to search all the source files of the application for an occurrence of a strings "name". If i'd not find an occurrence, i'd know, the string is no longer being used used (and i can delete it from strings.json).

Since this is not the last and only time, i'll have to do this work, i started automating the task and wrote an AppleScript which will of course use BBedit (which never has and still doesn't suck!) to go through a text file - which contains the "name" of all of our strings, one per line - line by line and search the application source files for an occurrence of the string, recording the number of matches it found and inserting that number right at the beginning of the current line (in the text file). There were 509 source files it had to search in every go. And now look how unbelievably fast this was when i had the application source files stored on the internal SSD of the Air:

Isn't this crazy fast?

Posted in: , , by seiz | Comments (0)
September 16, 2019

Parallels – keyDown event not registering in Browser on Guest-OS

Should you wonder why keyDown-Events don't fire in a Webbrowser, when that Browser runs in a VM in Parallels, don't look any further than this forum post.

The Workaround ist to edit the config.pvs file and set OptimizeModifiers to 1 instead of 0. To edit the File on a Mac, find the File for your VM, right click it and "show package contents", then edit the file.

Posted in: , by seiz | Comments (0)
September 02, 2019

Anrufe vom Vodafone(fake)-Kundenservice

Immer wieder erhalte ich Anrufe, angeblich vom Vodafone-Kundenservice. Das sind allerdings Betrüger, die sich z.B. mit Hinweis auf eine Gutschrift, das Kundenkennwort erschleichen möchten. Ich veröffentliche hier mal die mir bereits bekannten Nummern, dann könnt Ihr die gleich blocken:

Nummer (Datum letzter Anruf)
+49 172 148572 (30.8.2019)
+49 172 1486375 (2.9.2019)
+49 69 3339902211 (13.9.2019).

Posted in: by seiz | Comments (0)
January 25, 2018

Hello World

This is just a test-entry i need while getting setup. Sorry for the noise.
Posted in: by seiz | Comments (0)

Older Posts: When did i last log in to my mac?