it_a_me

joined 1 year ago
[–] it_a_me 8 points 1 month ago (1 children)

The most battletested way is via bindings to other languages. Ex. mlua with luau sandboxing Or Javascript via v8 or deno_core

There are also a few languages implemented in rust like rhai

There is also the option of compiling the user code to wasm and using wasmtime to run it

[–] it_a_me 6 points 1 month ago (1 children)
  1. Due to the failings of the electoral college system, my state was almost guarenteed to vote the same way as it has for the last 30 years
  2. I did not strongly agree with either party/candidate
  3. I dispise the current two party system that both major parties are incentivized to maintain
  4. Voting for a third party who is incentivised to push for change via ranked voting and other methods does aid them even if they don't win

If my state was likely to be contested, I may have voted differently. Voting for a third party in my case however had a greater impact than fighting or joining the tide of my state

[–] it_a_me 2 points 4 months ago

Custom license that doesn't meet the FSF's definition. Tldr restrictions on redistribution and minor restrictions on modification. It isn't on fdroid's main, but they host a fdroid compatible one with a out of date version of Grayjay

[–] it_a_me 1 points 4 months ago* (last edited 4 months ago)

I'd look into the git-maintenance's prefetch task. From what I understand, that is more or less what you are looking for. Then just run any old http(s) server and clone them from that https://git-scm.com/docs/git-maintenance

[–] it_a_me 5 points 5 months ago (1 children)

A general sounds cool. If it isn't difficult, maybe also switch #meta to a local only community unless there is a reason I'm not thinking of to keep it federated.

[–] it_a_me 3 points 7 months ago (1 children)

There is also writefreely. It is fairly basic, but says it supports "publish[ing] to multiple blogs from one account". Haven't really used it, but it looks kinda cool imo

https://github.com/writefreely/writefreely

[–] it_a_me 6 points 8 months ago (1 children)

I'm not an expert on btrfs, but I assume the inconsistencies come from deduplication, metadata, and maybe compression. I think some of them just count raw block storage, and some include the cost of metadata.

Traditional du assumes that each file takes up it's full space on disk which isn't always the case on btrfs. When using btrfs backed oci images, storage can easily appear multiple times higher.

I use btrfs filesystem usage /. I'm not sure that it is the "correct" way, but it works fairly well.

[–] it_a_me 5 points 9 months ago

Standard forgejo shoutout. It is a fork of gitea with more features following the foss philosophy. It is codeberg's backend https://forgejo.org/2024-02-monthly-update/

[–] it_a_me 8 points 9 months ago

You can still compile infinity from source with your own api key

[–] it_a_me 3 points 10 months ago

I run stable diffusion in a docker container. Most kernels ships the required drivers, and you can install the rocm libraries inside a docker container to keep them from poluting the host.

Here's my docker image, feel free to take a look. I won't guarantee it'll work for you, but hopefully it will give you some hints in the right direction. https://codeberg.org/it-a-me/auto1111-webui_rocm

[–] it_a_me 7 points 11 months ago

"real" bedrock modding is still in its infancy, but there is progress. LeviLamina is a framework that allows for a lot of server features that were previously more or less impossible. https://github.com/LiteLDev/LeviLamina

Bedrock modding at the moment is focused more on serverside software because, unlike java, the core game code runs natively rather than in a java virtual machine. That means client modifications are a lot harder and require duplicated effort for each platform. That's without mentioning that the linux version of the bedrock server comes with debug symbols that aid decompilation.

Some client mods do exist though. We have onix, a dll injector that adds a lot of useful features. Unfortunatly it is not open source and it doesn't support linux so I can't speak for the quality or legality. People have also prematurely figured out shaders for render dragon(minecraft's new universal rendering engine). Useless shaders adds redstone level indicators and better chunk borders. https://github.com/OEOTYAN/useless-shaders/releases

Some missing plugins people often want for bedrock are carpetmod and litimatica. Trapdoor tries to act similar to carpetmod and Sructura can also can more or less replace litimatica for simple usecases.
https://github.com/bedrock-dev/trapdoor-ll https://github.com/RavinMaddHatter/Structura/releases

For world modification and analysis, the most complete solution is rbedrock. It is very useful for world trimming, village cleanup, and creating fake structures, and other things https://github.com/reedacartwright/rbedrock

Finally, redstone and mob farms. For redstone, the biggest problems people have are missunderstanding the differences from java. The main one being that redstone processing happens in two distinct parts(producer tick and consumer tick). Pticks happen every game tick but cticks only happen on odd game ticks(like javas redstone ticks). During a ptick, redstone consumers are just added to an unsorted list to get powered on the next ctick. That leads to the random result that is often complained about.

Mob farms are limited primarily by our miniscule 24 mob cap(8 surface 16 cave). Recent advancements have allowed the use of split density(abusing the fact that bedrock mob caps only check 4 chunks in each direction) to help reduce the issue. The other two weird quirks are that structure spawning is screwy(I can go to more detail if desired) and mobs spawn on the northwest corder of the spawnable block.

Technical bedrock does exist, it is just a less developed field than java. Lmk if you have any questions, I can try to answer them or link to some discords that I've lurked in to learn this stuff

[–] it_a_me 2 points 1 year ago

Slint has fairly decent docs and has worked fairly well for my small projects

16
submitted 1 year ago by it_a_me to c/meta
 

Kbin.social has been having some issues lately and I have found a a fair amount of spam in my home feed from it. What's been you guys' experience with it lately? Would we be want to defederate from it until it sorts itself out?

view more: next ›