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

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

https://habr.com/ru/articles/971448/

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

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

Всем привет! Эта статья была написана из-за отсутствия адекватных русскоязычных руководств по моддингу, особенно для новых версий Minecraft. То, что я опишу ниже, будет применимо для таких загрузчиков...

Хабр
margins-paddings-sass-mixin
The mix-in revolution

How an ice cream innovator in Somerville influenced Lisp pioneers at the MIT AI Lab­—and made a lasting mark on programming.

MIT Technology Review
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.

Honestly, I find it kind of weird to buy music with the intention to resell it?

But maybe that is the deejay in me?

I do buy music, some of it rare and expensive, but the intention is to *play* it for people!

Share the wealth!

Even "producer" deejays who profit off of such things, I think have a similar mindset?

But they like, buy expensive albums with the intention of sampling some pieces and then making money off of how the sample is reused in some new track.

I could never wrap my head around the music "biz" and sample "clearance" stuff, that is like way beyond the kinds of attorneys I have ever met.

But still, even THOSE deejays, are still spending lots of money on rare vinyl with the intention to *share* dope beats.

e.g. Kid Capri talking about spending $10k on some records, but how even a $1 record he might sample from (he has a nice sampler collection too he shows off in this Crate Diggers: https://www.youtube.com/watch?v=ATgpU8nAmhk) and he might make back the $10k from just one hit song with a good sample.

You'll also note: he still has his vinyl, old, with price stickers and whatnot still on them.

The people who buy things, just to turn around and sell them at higher prices I can't wrap my head around.

Maybe this is why I am impoverished? But I sincerely don't want to participate in those kinds of economics.

Ironically as I dug out an old phone to operate as an untrusted device for that Zoom class, it's got about 70GB of ALACs on it. Including some mixes I made circa 2018-2019. Some of them are raw, not the kind of stuff to share, but still fun for me to hear my progression of mixing. I sampled some of that Kid Capri and other Crate Diggers episodes too. While re-listening to them, I got some other ideas for how to improve those mixes, but I would probably throw most of it away and start in a multi track; even if it was more fun to make those mixes the way I made them with 2 turntables and a battle mixer.;)

#deejayin #vinyl #mixin #mixers #DJ

Kid Capri | Crate Diggers | Fuse

YouTube

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: https://codepen.io/thebabydino/pen/mEgzxd

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

Polygon mixin (Sass) with `clip-path` (heavily commented)

Demo created soon after Firefox ([47+ with a flag](https://twitter.com/anatudor/status/698177005431357440), 54 by default, [no flag needed](https://twi...

Re https://x.com/meodai/status/1800098657020289330

If you ever want to create a regular/ star-shaped #polygon, I made a #Sass #mixin that generates them years ago
https://codepen.io/thebabydino/pen/PRMxwj/?editors=0100

A heavily commented & more modern version of the regular poly mixin https://codepen.io/thebabydino/pen/mEgzxd?editors=0100

Bonus: chubby stars mixin https://codepen.io/thebabydino/pen/KLyjBx

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

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

David Aerne (@meodai) on X

took me longer than I like to admit to create this center hexagon using CSS. I wish I had @anatudor's brain in these moments.

X (formerly Twitter)

#Development #Techniques
Mixins three ways · “The web community isn’t done with mixins yet.” https://ilo.im/15yjsi

_____
#ReusableCode #Mixin #Sass #LESS #Maintenance #WebDev #Frontend #CSS

Mixins three ways

Three ways to create a mixin in CSS only.

Mixin Network Suffers $200 Million Cryptocurrency Heist in Database Hack https://www.cyberkendra.com/2023/09/mixin-network-suffers-200-million.html

#security #hack #cryptocurrency #mixin

Mixin Network Suffers $200 Million Cryptocurrency Heist in Database Hack

The database of Mixin Network's cloud service provider was attacked by hackers, resulting in the loss of some assets on the mainnet.

Cyber Kendra

#Mixin Network、2億ドルの #ハッキング を受けて業務を一時停止」: BLEEPINGCOMPUTER

「この事件は香港時間の9月23日早朝に発生し、攻撃はMixinのクラウドサービスプロバイダーのデータベースを標的にしたと伝えられている。

Mixin 事件は今年最も重大な暗号通貨強盗の 1 つとなり、 #Lazarus グループが攻撃の責任者であるという疑いが直ちに生じました。

暗号通貨強盗の専門家である #北朝鮮 のハッカーは、アトミックウォレット 、 アルファポ 、 ステークドットコム 、 コインズペイド を侵害し、今年総額2億4000万ドル相当の暗号通貨を盗んだとされている 。 」

またまた、北朝鮮疑惑ですか。仮想通貨は北朝鮮の糧になっています。

https://www.bleepingcomputer.com/news/security/mixin-network-suspends-operations-following-200-million-hack/

#prattohome
#BLEEPINGCOMPUTER

Mixin Network suspends operations following $200 million hack

Mixin Network, an open-source, peer-to-peer transactional network for digital assets, has announced today on Twitter that deposits and withdrawals are suspended effective immediately due to a $200 million hack the platform suffered on Saturday.

BleepingComputer