while (true) {

ShuggyCoUk

Ars Tribunus Angusticlavius
9,975
Subscriptor++
20 quid says that within 6 months you’ll call your 14’’ the best computer you ever owned.
I’m still struggling with the keyboard. It’s tge layout and muscle memory fighting me constantly. Learning a new language and IDE at the same time likely not helping
 

ramases

Ars Tribunus Angusticlavius
7,569
Subscriptor++
Is AutoMapper in C#-land basically like the POCO equivalent of XSLT? I never had to use the latter, and I view the former as an anti pattern.

Edit, this is what Llama said:

AutoMapper and XSLT share some similarities, but they serve different purposes and have different design centers.
Similarities:
  1. Both AutoMapper and XSLT are used for transformation: AutoMapper transforms objects, while XSLT transforms XML documents.
  2. Both provide a way to map source data to a target structure.
  3. Both support conditional logic and manipulation of data during transformation.

Differences:
  1. Purpose: AutoMapper is primarily used for object-to-object mapping, typically for domain model mapping, while XSLT is designed for transforming XML documents.
  2. Data format: AutoMapper works with .NET objects, while XSLT operates on XML.
  3. Transformation approach: AutoMapper uses a convention-based mapping approach, while XSLT uses a declarative, template-based approach.
  4. Complexity: XSLT is generally more complex and powerful than AutoMapper, due to its ability to handle complex XML transformations and conditional logic.
In summary, while AutoMapper and XSLT share some conceptual similarities, they are designed for different purposes and have different design centers.

The big difference not covered by that is that XSLT is often used, and was originally designed (see XSL-FO), to transform XML documents into other formats. It is as much formatting and markup as it is data projection.

To this day many document generation pipelines are a templating engine outputting a XSL-FO document that is then fed into a FO producer that generates the target PDF, Word or whatever. As a matter of fact XSLT was initially invented for this.

Using it to transform from XML to XML was more of a side benefit of it.
 

QuadDamaged

Ars Praefectus
3,955
Subscriptor++
I’m still struggling with the keyboard. It’s tge layout and muscle memory fighting me constantly. Learning a new language and IDE at the same time likely not helping
There are IntelliJ / rider bindings for most IDEs - I have used the same layout on an IDEA / vs / rider / Xcode for a decade now.

You can also remap modifier keys in the os and swap Apple keys with CTRL if needed : https://support.apple.com/en-gb/guide/mac-help/mchlp1011/mac

And if you can, get BetterTouchTool and setup your scripts / tiling hotkeys.

Even after two decades of Mac usage, I still find the arrow shortcuts lacking. But you can use the emacs bindings on most cocoa apps to control cursor position IIRC.
 
Last edited:

Ananke

Ars Tribunus Militum
1,792
Subscriptor
I’m still struggling with the keyboard. It’s tge layout and muscle memory fighting me constantly. Learning a new language and IDE at the same time likely not helping
I wish you better luck than I have had. A little over 2 years in, I still find myself fumbling and cursing at MacOS all too often for not doing it the way my muscles remember how to.
 

ShuggyCoUk

Ars Tribunus Angusticlavius
9,975
Subscriptor++
There are IntelliJ / rider bindings for most IDEs - I have used the same layout on an IDEA / vs / rider / Xcode for a decade now.
I’m debating that, but then people coming to my machine get confused. Especially if I remap the keyboard!
I am going to trial two keyboards (three if you count on device) and see if I can easily switch over by passing the normal one. (Possibly also hitting a shortcut key to toggle remapping off)
You can also remap modifier keys in the os and swap Apple keys with CTRL if needed : https://support.apple.com/en-gb/guide/mac-help/mchlp1011/mac

And if you can, get BetterTouchTool and setup your scripts / tiling hotkeys.
That’s the second recommendation for that, think I will look into it.
Even after two decades of Mac usage, I still find the arrow shortcuts lacking. But you can use the emacs bindings on most cocoa apps to control cursor position IIRC.
Firepan-> 🔥 😜
 

Lt_Storm

Ars Praefectus
16,294
Subscriptor++
I’m still struggling with the keyboard. It’s tge layout and muscle memory fighting me constantly. Learning a new language and IDE at the same time likely not helping
I've always found that it makes sense to remap most of the functions of any sufficiently complicated piece of software. After all, then I don't have to remember keybindings, instead, I can just guess what the keybind should be, and, because I made it in the first place, my guess is almost always right. When it isn't, well, time for two keybinds...
 
  • Like
Reactions: von Chaps