"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPR
Exploring the LZ77 Algorithm
blog.coderspirit.xyz

Learn how the grandfather of most major compression algorithms, LZ77, works!

9
0
Elon's Mastodon Vendetta Makes Us All Less Safe
  • castarco castarco Now 100%

    Also people who left Twitter or never were there. Fostering radicalization while censoring legit links to other much more peaceful communities is going to increase social conflicts, and this usually leads to real violence sooner or later.

    6
  • New Open Source Strategy for German State of Saxony
  • castarco castarco Now 100%

    Although plausible, and part of it, it's not just that. The second part is much more important (people unwilling to adapt), but one should think about why.

    • How sudden & drastic was the change?
    • How well trained were people?
    • How much support did they get when something went wrong?

    That's the kind of stuff where companies & public administrations usually suck, "change management".

    1
  • New Open Source Strategy for German State of Saxony
  • castarco castarco Now 100%

    I've seen Germany states jump into open source software strategies to later "regret" them and revert back to their previous state, many times... I hope this time they do it in a more thoughtful way, to avoid giving excuses to closed-source software lobbyists.

    8
  • NodeJS packages don't deserve your trust. (a proposal for building a capabilities-based sandbox to fix this)
  • castarco castarco Now 100%

    Very interesting :) , although I have the feeling we already have some features in place (and others on the way) trying to solve this same problem.

    • We already have "Shadow Realms", which doesn't really solve the capabilities problem, but at least provides a thin isolation layer (at least our globals are protected!). This is supposed to work in all JS environments, not just NodeJS.
    • On top of that, there's work in progress to implement a permissions system (with experimental code already in place, that can be tested): https://github.com/nodejs/security-wg/issues/791
    1
  • NodeJS packages don't deserve your trust. (a proposal for building a capabilities-based sandbox to fix this)
  • castarco castarco Now 100%

    I don't think talking in absolutes is the best way to tackling at problems. In this case, I would say there's a gradient, and we can surely shift our current position from "utterly broken" to something more benign, even if there are still flaws pending to be corrected.

    Starting from scratch would imply throwing away millions of hours of developer time. It's tempting, but not feasible, and even if it was, it would be a bad economical decision.

    1
  • https://blog.coderspirit.xyz/blog/2022/12/08/animated-gosper-curve-in-ts/

    cross-posted from: https://lemmy.ml/post/642690 > An introductory article on how to leverage some basic mathematical tricks and widely available browser APIs to generate beautiful animations. ![](https://lemmy.ml/pictrs/image/81457229-6b50-4244-918d-96f8cd33a56d.png)

    4
    2
    https://blog.coderspirit.xyz/blog/2022/12/08/animated-gosper-curve-in-ts/

    cross-posted from: https://lemmy.ml/post/642690 > An introductory article on how to leverage some basic mathematical tricks and widely available browser APIs to generate beautiful animations.

    2
    0
    https://blog.coderspirit.xyz/blog/2022/12/08/animated-gosper-curve-in-ts/

    An introductory article on how to leverage some basic mathematical tricks and widely available browser APIs to generate beautiful animations.

    5
    0
    How companies make millions on Open Source
  • castarco castarco Now 100%
    • Professional services usually refers to have consultants for contracting. The more the demand for your services, the more people you have to hire to content your clients. Because salaries are usually one of the biggest costs in any company, this kind of business can be a bit more risky when there are economic downfalls and you cannot fire workers quick enough (I'm talking from the perspective of the business owner, leaving ethical aspects aside).
    • Subscriptions don't imply having people personally interacting with the client, because what you offer is not expertise, but a product that can be served to big amounts of clients, independently of how big is your team (of course you end up having to hire more people, but this team growth is much slower).
    3
  • How companies make millions on Open Source
  • castarco castarco Now 100%

    Their product offers many more features (and more complex ones) than the other services you mentioned. And they also took the time to provide a commercial product, with paid support, integrations...

    This is key for companies, as it makes it easier to be productive, plus the SLAs give some peace of mind too.

    3
  • https://blog.coderspirit.xyz/blog/2022/12/04/fediverse-yesterweb/

    Twitter is not dead (yet), but we act like it was, while the old web wants to come back from its grave. [...]

    13
    0
    devblogs.microsoft.com

    Here’s a quick list of what’s new in TypeScript 4.9! - The satisfies Operator - Unlisted Property Narrowing with the in Operator - Auto-Accessors in Classes - Checks For Equality on NaN - File-Watching Now Uses File System Events - "Remove Unused Imports" and "Sort Imports" Commands for Editors - Go-to-Definition on return Keywords - Performance Improvements - Correctness Fixes and Breaking Changes

    1
    0
    https://blog.coderspirit.xyz/blog/2022/11/06/export-barrels-considered-harmful/

    My (probably controversial) take on why the barrel exports pattern can be harmful.

    2
    2
    Youtube-dl is now unavailable due to a DMCA takedown from RIAA
  • castarco castarco Now 100%

    Oh, that's a pity :( . I remember that my first open source program was precisely a wrapper around Youtube-dl circa 2007. I lost the code ^^U , but I had fun with it.

    As a side note: That's why we should keep mirrors of our open source projects. Consider Gitlab & Bitbucket as secondary mirrors... not sure about other alternatives. Ideas?

    5
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPR
    Jump
    Introducing Avatar-CLI: a "virtual env" for containerized cli apps
  • castarco castarco Now 100%

    It uses the docker's cli interface, so as far as I know, it should be compatible... with a two caveats:

    • Podman is not explicitly supported, and aliasing the podman comand to "docker" won't make it, because Avatar-CLi won't know that this alias exist.
    • In case you use a hard/soft link in the file system to overcome the first mentioned issue, must be noted that Avatar-CLI is not compatible with the rootless mode (yet), because it needs root access (just once in the whole process) to generate some special files that will be mounted inside containers (basically /etc/passwd).

    Having said that, I definitely want to improve it and officially extend its support to Podman. I just need some time...

    2
  • blog.coderspirit.xyz

    Hi guys, some months ago I started working on a new open source project called Avatar-CLI, developed in Rust. My goals were: - Speeding up bootstraping time for new contributors in development teams. - Making development environments more homogeneous to reduce the incidence of a whole class of problems, the typical "it works on my machine". - Reducing configuration drift. - Having zero dependencies, in order to make distribution very easy. For the ones who know about it, it's "kinda similar" to an older project called [Lando](https://lando.dev) . Since I wrote the linked blog post, many things have changed. I had to slow down the development for a while, but I'm back on track, and I also worked on a new website for the project: [https://avatar-cli.dev](https://avatar-cli.dev) I'm also looking for new testers, users

    2
    0
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPR
    Introducing Avatar-CLI: a "virtual env" for containerized cli apps
    blog.coderspirit.xyz

    Hi guys, some months ago I started working on a new open source project called Avatar-CLI, developed in Rust. My goals were: - Speeding up bootstraping time for new contributors in development teams. - Making development environments more homogeneous to reduce the incidence of a whole class of problems, the typical "it works on my machine". - Reducing configuration drift. - Having zero dependencies, in order to make distribution very easy. For the ones who know about it, it's "kinda similar" to an older project called [Lando](https://lando.dev) . Since I wrote the linked blog post, many things have changed. I had to slow down the development for a while, but I'm back on track, and I also worked on a new website for the project: [https://avatar-cli.dev](https://avatar-cli.dev) I'm also looking for new testers, users & contributors, in order to create a community around it. Thank you for your time!

    4
    2
    castarco Now
    9 11

    castarco

    lemmy.ml