home.social

#mixin — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #mixin, aggregated by home.social.

fetched live
  1. Создаём первый Minecraft мод и подробно разбираем Mixin. Просто и понятно

    Данная статья посвящена тому как создать первый мод для Minecraft, а так же очень подробно разбирает многие аспекты библиотеки Mixin. Понятно и просто. После данной статьи можно изменить хоть 80% кода игры.

    habr.com/ru/articles/971448/

    #Java #Minecraft #Mixin #First_mod #Fabric #Forge

  2. I can't quite convince myself yet that all inheritance/coupling is intrinsically bad, but I'm more and more recognising abstract base classes (ABCs) and classes as anti-patterns because they hinder , which to me is key to quality software; and mixins are by construction impossible to test on their own, and both patterns only make sense if a language supports inheritance, so it seems that the simplest option to avoid them is to get rid of inheritance altogether.

  3. I can't quite convince myself yet that all inheritance/coupling is intrinsically bad, but I'm more and more recognising abstract base classes (ABCs) and #mixin classes as anti-patterns because they hinder #testability, which to me is key to quality software; #ABCs and mixins are by construction impossible to test on their own, and both patterns only make sense if a language supports inheritance, so it seems that the simplest option to avoid them is to get rid of inheritance altogether.

  4. Ever want a pure CSS regular #polygon?

    Back in 2016, I first wrote this #Sass #mixin to generate one. I've had others before, but this is the one I've kept updating it ever since and it's heavily commented.

    You just need to pass it a number of vertices and an initial rotation.

    @codepen demo: codepen.io/thebabydino/pen/mEg

    #CSS #clipPath #geometry #2D #code #coding #frontend #web #dev #wbDev #webDevelopment

  5. Ever want a pure CSS regular #polygon?

    Back in 2016, I first wrote this #Sass #mixin to generate one. I've had others before, but this is the one I've kept updating it ever since and it's heavily commented.

    You just need to pass it a number of vertices and an initial rotation.

    @codepen demo: codepen.io/thebabydino/pen/mEg

    #CSS #clipPath #geometry #2D #code #coding #frontend #web #dev #wbDev #webDevelopment

  6. Re x.com/meodai/status/1800098657

    If you ever want to create a regular/ star-shaped #polygon, I made a #Sass #mixin that generates them years ago
    codepen.io/thebabydino/pen/PRM

    A heavily commented & more modern version of the regular poly mixin codepen.io/thebabydino/pen/mEg

    Bonus: chubby stars mixin codepen.io/thebabydino/pen/KLy

    Example of a @codepen demo using such a regular polygon mixin to create three rolling hexagons: codepen.io/thebabydino/pen/LYz

    #CSS #geometry #maths #trigonometry #code #coding #clipPath #frontend

  7. Re x.com/meodai/status/1800098657

    If you ever want to create a regular/ star-shaped #polygon, I made a #Sass #mixin that generates them years ago
    codepen.io/thebabydino/pen/PRM

    A heavily commented & more modern version of the regular poly mixin codepen.io/thebabydino/pen/mEg

    Bonus: chubby stars mixin codepen.io/thebabydino/pen/KLy

    Example of a @codepen demo using such a regular polygon mixin to create three rolling hexagons: codepen.io/thebabydino/pen/LYz

    #CSS #geometry #maths #trigonometry #code #coding #clipPath #frontend

  8. Mixin Network Proposes $20 Million Bug Bounty to Hacker in $200 Million Security Breach - Mixin Network, the Beleaguered cross-chain transactional network for digital assets, whic... - cryptonews.com/news/mixin-netw #blockchainnews #bounty #mixin #hack

  9. Mixin Network Proposes $20 Million Bug Bounty to Hacker in $200 Million Security Breach - Mixin Network, the Beleaguered cross-chain transactional network for digital assets, whic... - cryptonews.com/news/mixin-netw #blockchainnews #bounty #mixin #hack

  10. $200M Mixin Network hack draws controversy - Xiaodong Feng, Mixin's founder, immediately outlined a compensati... - cointelegraph.com/news/200-mil #cryptocurrencies #mixin

  11. $200M Mixin Network hack draws controversy - Xiaodong Feng, Mixin's founder, immediately outlined a compensati... - cointelegraph.com/news/200-mil #cryptocurrencies #mixin

  12. #Mixin hack looks like the death of #web3

    If you rely on a cloud service provider to handle the database - you're pitting every hacker in the World against a generic piece of software with a well understood API (and vulnerabilities)

    Looks like about $250m in #cryptocurrency has evaporated

    Latest in the "stoopid" crypto thefts

    Ronin Network in March 2022 ($624m)
    Poly Network in August 2021 ($611m)
    BNB Bridge in October 2022 ($586m)
    Wormhole in February 2022 ($326m)

  13. Mixin Network Founder Addresses $200 Million Hack, Says Only Half of User Assets are Safe - Mixin Network's founder Feng Xiaodong addressed the $200 million hack in a livestream say... - cryptonews.com/news/mixin-netw #altcoinnews #cryptohack #hongkong #mixin

  14. Mixin Network Founder Addresses $200 Million Hack, Says Only Half of User Assets are Safe - Mixin Network's founder Feng Xiaodong addressed the $200 million hack in a livestream say... - cryptonews.com/news/mixin-netw #altcoinnews #cryptohack #hongkong #mixin

  15. Breaking: Mixin Network's Cloud Service Provider Hacked, $200 Million in Funds Affected - Mixin Network has revealed that the database of its cloud service provider was attacked o... - cryptonews.com/news/breaking-m #altcoinnews #cryptohack #mixin #china #defi

  16. Breaking: Mixin Network's Cloud Service Provider Hacked, $200 Million in Funds Affected - Mixin Network has revealed that the database of its cloud service provider was attacked o... - cryptonews.com/news/breaking-m #altcoinnews #cryptohack #mixin #china #defi