• 0 Posts
  • 23 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle

  • Yes and no. They serve roughly the same purpose.

    I actually hated Powershell until I was forced to work on some automation scripts with it and realized that it’s actually pretty cool.

    Bash is good for quickly doing something in the terminal but for longer script files I prefer PS now. It feels much more modern and has a less janky syntax.

    Funnily enough the reason I had to use it was to make my scripts cross platform between osx, linux and windows.



  • Not necessarily, depending on your situation you can type the JS code yourself.

    If the team making the JS code were using jsdoc then the Typescript compiler can recognize the comments and use it for type checking.

    In some instances the compiler can infer types from JS code to do some basic validation.

    Even if the external JS code is recognized as any, your own code that’s using it still has types, so it’s better than nothing.


  • Typescript is a language, Node is a platform and framework. You can use Typescript in your Node project, they’re not mutually exclusive.

    The way I see it Typescript is more popular than ever, almost all (popular) libraries come with types and every job offer I get they use Typescript.

    And with good reason, our team recently took over a small Javascript app and there are tons of bugs that would never have existed if they were using Typescript. Things like they refactored something but missed to update a reference, or misspelled a variable name, failed to provide a required parameter to a funcrion, referenced a field that existed in another config object etc.










  • As far as I’ve experienced you need really good quality headphones in order to enjoy Tidal. Mine is on the high end of mid tier and I couldn’t tell the difference in quality when I asked my wife to test me. I use Youtube Music because it’s pretty much the same as Spotify plus no ads on regular Youtube.






  • I tried SwiftKey for about a week or so a month ago but I’m too used to GBoard to make the switch.

    What I like about GB that SK doesn’t have or is too different:

    • speech to text integrated into the keyboard. The Bing app is probably the best at this, especially for my non-native English accent, too bad SK doesn’t have its own implementation
    • I can set up the keys to show their long press symbols
    • the colon character is at an awkward place for my finger to reach
    • GB’s swipe function can figure out much more easily what language I wanted to type in
    • SK shows every possible accented version of the character that I long pressed on, and the one that I wanted was usually at an awkward place to reach. GB on the other hand sorts those of my native language right next to the original character, and only offers a few that I never use.