roka https://robert.katzki.de Kirby Mon, 14 Sep 2020 00:00:00 +0200 Randomly ordered chaos. Personal website of Robert Katzki. Hello Sublime Text, my old friend https://robert.katzki.de/posts/hello-sublime-text-my-old-friend posts/hello-sublime-text-my-old-friend Mon, 14 Sep 2020 00:00:00 +0200

It’s been a long time since I used Sublime Text. I’ve quit on version 2 and used Atom at first. Visual Studio Code followed soon after and I used it for some years. It was nice for some time, but those Electron Apps annoy me ever more. They are very memory hungry and my old Mac doesn’t provide endless amounts of it. Time to revisit Sublime!

What’s the current state of Sublime?

The current version of Sublime Text is 3 and there is an even faster version 4 in development right now. Great to see this project still making progress! So I purchased a license and started to try out version 4. That dev version is pretty stable already — just as I remember it! You can get version 4 from their Discord.

Code Intelligence

Coming from Visual Studio Code, I got used to the code intelligence a lot. I was very happy to find out that this is due to the Language Server Protocol (LSP) which is now also available for Sublime Text! Nice! Code completion, references and — most importantly — refactorings are possible, just like in VS Code.

LSP giving suggestions to autocomplete.
LSP providing information on the signature of a function.

Extensions I use

Sadly it’s not as pretty and usable right after installing it — you have to get some extensions (called packages here) to add the functionality.

I do mostly web development in JavaScript / TypeScript, so these are the extensions I use:

  • A File Icon: file icons for the sidebar
  • ayu: my theme choice
  • Color Highlighter: underlay hex colors with their real color
  • DocBlockr: Simplify DocBlock writing
  • EditorConfig: respect .editorconfig files for a consistent coding style
  • FileManager: improved file handling
  • HTML-CSS-JS Prettify: prettify a lot of files
  • JavaScript Console: console snippets
  • JsPrettier: prettier formatting support
  • LSP: the Language Server Protocol that gives us code intelligence
  • LSP-typescript: extra TypeScript support for the LSP
  • MarkdownEditing: improved editing view for Markdown
  • Nodejs: Node.js snippets and bindings
  • Stylus: support for the stylus CSS preprocessor
  • SublimeLinter: adds linting to Sublime Text — linters need to be installed separately. I installed SublimeLinter-annotations, SublimeLinter-contrib-dockerfilelint, SublimeLinter-contrib-rustc, SublimeLinter-contrib-yaml-lint, SublimeLinter-csslint, SublimeLinter-eslint, SublimeLinter-json
  • SVG Preview: preview SVG files
  • SyncedSideBar: sync project sidebar with currently active file

Git integration

Since when I quit Sublime there is a new program called Sublime Merge. It’s a power Git client that can be opened out of Sublime Text. One click repo handling and it doesn’t even use resources when developing as it doesn’t need to hang around open all the time.

Sublime Merge showing a commit diff.

Click-to-go-to-definition

Create a SublimeText/User/Default (OSX).sublime-mousemap file and add this content:

[
    {
        "button": "button1",
        "count": 1,
        "modifiers": ["ctrl"],
        "press_command": "drag_select",
        "command": "lsp_symbol_definition",
        "context": [{"key": "setting.lsp_active"}]
    }
]

This allows ctrl-click a variable and go to it’s definition. Requires a working Language Server Protocol though. But that’s something you’ll want nonetheless.

Give it a try!

You can evaluate Sublime Text for an unlimited amount of time, so just download it and play around. It’s fast and has a minimalistic interface. I’m glad I came back.

]]>
Fischland https://robert.katzki.de/photos/2020/fischland photos/2020/fischland Sat, 12 Sep 2020 00:00:00 +0200

Spent the last weekend in Fischland-Darß-Zingst. What a beautiful place! Even though it was a bit stormy.

]]>
Bou(tique)* Pou(lailler) https://robert.katzki.de/projects/bou-tique-pou-lailler projects/bou-tique-pou-lailler Mon, 31 Aug 2020 00:00:00 +0200

My friend Marcel Große did an exhibition together with Tanja Hehmann in an old chicken barn in Volksdorf, Hamburg. They opened a popup store for a weekend with lots of curiosities to discover.

To showcase the opening and to discover what happend during that moment, I’ve build a site based on Kirby CMS to upload photos and texts directly after the event. You should definitely get something from the shop to support them. I can recommend the work Matches which decorates our flat now.

Make yourself an impression of this rare boutique on boutique-p.de.

]]>
Is this Summer in Denmark? https://robert.katzki.de/photos/2020/is-this-summer-in-denmark photos/2020/is-this-summer-in-denmark Sun, 26 Jul 2020 00:00:00 +0200

We’ve spent our summer holidays in Denmark. Scandinavia for the first time! The weather was very… nordic. Didn’t feel like summer. The cities and the landscape were beautiful though. Enjoyed it!

]]>
Outdoor of Hamburg https://robert.katzki.de/photos/2020/outdoor-of-hamburg photos/2020/outdoor-of-hamburg Mon, 20 Jul 2020 00:00:00 +0200
]]>
Browser diversity matters https://robert.katzki.de/posts/browser-diversity-matters posts/browser-diversity-matters Thu, 25 Jun 2020 00:00:00 +0200 I’m an avid Firefox user since years. There were no problems surfing the web for quite some time. In recent weeks though, I tripped on some problems. How come for some (large!) companies Firefox is something not worth to support anymore?

I’ve written about browsers before. But those incidents darken my mood a lot.

Trying to watch something on Sky

When the third season of Westworld came out I wanted to watch this. In Germany I can do so via Sky. Time to reactivate my account and book a ticket to watch some series!

After logging in I was greeted with this:

I tried various things but always ended up here. Time to contact support — maybe my account is somehow not able to do this? Tried it in the Google Play App after some time and could book a ticket there. Hurray, Westworld! 🍿

Support called me (plus points for that, I was surprised!). The only thing they could recommend me was to delete my browser history. Like … really? I just agreed to try this to end this call.

As it still tripped me that I couldn’t access the website with my account I stumbled upon this in the console:

Quellübergreifende (Cross-Origin) Anfrage blockiert: Die Gleiche-Quelle-Regel verbietet das Lesen der externen Ressource auf https://eu.api.atom.sky.com/adapter-atlas/v3/query/languages. (Grund: CORS-Anschlag schlug fehl).

I thought it may have to do with blocked trackers or similar. Nope, same when disabling all the tracking prevention and ublock. Is it really that broken? Checking in Chrome: the site loads. No problems at all.

This makes me sad. And angry.

Trying to book an airbnb

Just a few days ago I tried to book something on airbnb. I found a nice location to spend my holidays at and went on to book. It required me to provide a phone number and wanted to check for a verification code. Okay so far.

Except the phone number input didn’t allow more than 7 digits. I tried around and couldn’t proceed without this confirmation. Stuck at a number input. 🤦 Another try in Chrome and it went without problems. Interestingly the whole process looked a bit different.

Why are you doing this?

Firefox isn’t an old browser nor has it a lack in supporting things like inputs or loading files. It sucks to be treated like this.

It really sucks.

I’m not going to switch my browser permanently for you. I’m reconsidering spending any more money on your site instead.


Of course, not only browser diversity matters. Diversity matters everywhere. It’s whats makes us better and stronger. ✊🏿✊🏽✊🏻

]]>
Ostseefjord Schlei https://robert.katzki.de/photos/2020/ostseefjord-schlei photos/2020/ostseefjord-schlei Fri, 05 Jun 2020 00:00:00 +0200

Two weeks ago we’ve spent the long weekend near the Schlei, a Fjord from the Baltic Sea in northern Germany. Lovely landscape and villages!

Our house was very old with an original thatched roof, a huge garden with wild meadows and a few small lakes. Even saw a deer near the house, twice!

]]>
I fell in love https://robert.katzki.de/posts/i-fell-in-love posts/i-fell-in-love Thu, 04 Jun 2020 00:00:00 +0200

Went to a board shop last week and immediately fell in love with this Hydroponic surfskate board. It’s so much fun to ride! Even though I already hit the ground while riding on a bad surface…

]]>
Dusk in Eilbek https://robert.katzki.de/photos/2020/dusk-in-eilbek photos/2020/dusk-in-eilbek Tue, 12 May 2020 00:00:00 +0200

To get some fresh air after a day in home office with taking care of the kids in between, I took my camera for some evening walks through my neighbourhood Eilbek in Hamburg. Nice to take a different look instead of just walking / cycling by most of the time.

]]>
What Happens Next? https://robert.katzki.de/posts/what-happens-next posts/what-happens-next Mon, 11 May 2020 00:00:00 +0200 ➭ Visit link

Nobody wants restrictions or being locked down. Why we had to do this, whats up next and what options we have to contain the corona virus are explained very nicely by Marcel Salathé (epidemiologist) & Nicky Case (art/code).

Honestly, we […] are worried. We bet you are, too! That's why we've channelled our fear into making these playable simulations, so that you can channel your fear into understanding.

This guide […] is meant to give you hope and fear. To beat COVID-19 in a way that also protects our mental & financial health, we need optimism to create plans, and pessimism to create backup plans. As Gladys Bronwyn Stern once said, “The optimist invents the airplane and the pessimist the parachute.”

]]>