Show more

TIL how to tell TypeScript about event parameters for events implemented in a class inheriting from Node.js core EventEmitter: "declare interface MyClass".
stackoverflow.com/a/39145058/6

In my next 🎥LoopBack screencast, I am showing how to leverage the concept of Repository Base Class to share bits of data-access functionality between models. Enjoy!

youtu.be/s2yDaKiNYCg

Dnes jsem poprvé poslal balík přes @Zasilkovna (služba Mezi Námi). Až mě úplně zaskočilo, jak rychlé bylo podání zásilky - podstatné rychlejší než na poště. 💪

zasilkovna.cz/mezi-nami/

Today I added Arkener as Coder co-maintainer! Please give him a warm welcome 👋 . Also periodic reminder to make your prolific contributors co-maintainers to ensure continuity of your Open Source project 🤝 drupal.org/project/coder/issue cc @pfrenssen

RT QualityFrog: Q: When I was 4, my sister was 2. I am now 44. How old is my sister?

Programmer: 44 - (4 - 2) = 42

Tester:

Twitter Sync 1.4.0 released! Syncing of retweets and reblogs can be disabled now to only sync your own status updates ♻️❌ . Big thanks to @bajtos for contributing that. github.com/klausi/mastodon-twi

Our journey from a hacky monorepo setup to vanilla TypeScript Project References is coming to completion.
github.com/strongloop/loopback
Next step: ensure all files linted by eslint are part of a TS project and get rid of `parserOptions.createDefaultProgram`

My ISP has finally enabled IPv6 support, yay 🎉But I have no idea how to configure IPv6 in my local network, my learning got stuck deep in IPv4 times.

Can you recommend me any good IPv6 tutorial for newbie network administrators?

I wrote an open/free guide for to help other developers.

Can't wait to share it with you! 😁

ES6 class mixins in TypeScript: tsc cannot handle protected/ members when exporting declaration for an anonymous class. When you add a mapped type to strip non-public members, methods are changed to properties and thus cannot be overridden by the mixin 🤦‍♂️
github.com/microsoft/TypeScrip

I spent most of the day writing another part of our migration guide for LoopBack component authors. I'm looking forward to get the migration guide finished so that I can again put my coding hat on. Writing is fun, but only for so long.
github.com/strongloop/loopback

We are discussing how to add HTTP/2 support to LoopBack. Thankfully the HTTP/1 compatibility API provided by Node.js removes most of the concerns about different communication model. Unfortunately TypeScript and `@types/node` makes it quite difficult to get everything right 😒

My first LoopBack screencast 🎥 shows how to upgrade datasource files in your LB4 project from the old JSON-based configuration to the new pure-TypeScript style. Enjoy! 👀

youtu.be/S3BKXh7wDYE

Recoding screencasts on MacBookPro:
- The screen has 16:10 format (1800p)
- FaceTime camera has 16:9 format (720p)
- iMovies supports only 16:9 (720p or 1080p)
- Downscaling screen recording to 720p makes text blurry
- 16:10 screen gets a black border when added to 16:9 video
🤔

Any recommendations on how to fine-tune @OBSProject video encoding options to get best results for screencasts showing source code? I am recording on a MacBookPro with a retina display. /cc @alesroubicek

Looks like my setup for reposting all Twitter statuses to Mastodon and all Mastodon posts to Twitter is finally done and working 😅

TIL how to use native ssl.exe from git-bash: just add the following line to your ~/.bash_profile.

export PATH=/c/Windows/System32/OpenSSH:$PATH

In theory, Rust is a great way how to write low-level platform-independent apps in a high-level language with a growing universe of packages to use. In practice, many packages depend on C-based libraries like OpenSSL that are difficult to build on Windows and MUSL, thus you end up fiddling with legacy build tools anyways 🤦‍♂️

Windows has a long way until it provides developer experience I am used to from MacOS. WSL is great for getting Unix-like experience but VSCode remote dev is a bit slow. Then you realize it's all worthless because Docker for Windows cannot mount your src directory in WSL 🤦‍♂️

Show more
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!