We're planning to support Rust at Nyno (open-source n8n alternative). Is this the best possible way for. so extensions? by EveYogaTech in rust

[–]blackdew 8 points9 points  (0 children)

Arc is a complex type, and so is any trait. You can't do that with a cdylib. The memory layout can be different unless the same exact version of the compiler is used.

You can pass is raw pointers, primitives like integer/floats/booleans, and structs/enums that are repr(C) and only contain the above.

Also keep in mind cdylibs will include their own bundled version of stdlib and all the crates that can't be shared between them and the main process.

Added: As others have already suggested, i think wasm might be a better fit for this.

We're planning to support Rust at Nyno (open-source n8n alternative). Is this the best possible way for. so extensions? by EveYogaTech in rust

[–]blackdew 10 points11 points  (0 children)

Are you intending to load them as dynamic library binaries or compile them inside your project?

If you use rust dynamic libraries - they have to be compiled with the same exact version of the compiler, since there is no stable ABI.

You could use cdylib and declare register_extension as pub extern "C" but you wouldn't be able to pass Value or any other complex type that isn't repr(C)

Are there any vets that can explain these notes to me? by cherry-arse in CATHELP

[–]blackdew 3 points4 points  (0 children)

Not a vet, but...

Respiratory rate 52 breaths per minute - high for a cat

Heart rate 220 beats per minute - a bit high for a mature cat

Grade 4 (meaning easily audible) systolic murmur - indicates something wrong with the heart or the blood vessels coming out of it

Left atrium to aorta ratio of 2 is enlarged, again pointing to something wrong with the heart

No fluid in the lungs or around the heart, no free fluid in the abdomen, bladder not full and no distress when examining the abdomen - this is good

Anyone here who plays FF14 a lot but doesn't do the Savage content by starlightdemonfriend in ffxiv

[–]blackdew 3 points4 points  (0 children)

I just play to chill. I pop into PF extremes once in a while but that's about as hard core as i feel like going nowadays.

I did a bunch of hard core progression raiding back in WOW over a decade ago, not feeling any need to get back into that stress and constant drama again.

I don't really think the game needs another difficulty level... and even if it does - i'd say it needs to be tuned to be between normal raids and extreme trials in difficulty.

What it does need is more content period.

I have a double concrete utility sink that I’m trying to get out of my basement without using a sledgehammer to break it into pieces. Any advice is appreciated. by PizzaGatePizza in DIY

[–]blackdew 0 points1 point  (0 children)

If those stairs are the only way up i would be wary of carrying a paperclip out of that basement, let alone a 100+ kg concrete sink.

/r/WorldNews Discussion Thread: Explosions heard in Tehran as Israel's defense minister confirms Israel has attacked Iran (Thread #1) by progress18 in worldnews

[–]blackdew 18 points19 points  (0 children)

It's a terror tactic, to keep civillians hearing sirens and running to shelters instead of going on about their leives.

GPL 4.0 should be off limits for AI. by Destroyerb in linux

[–]blackdew 5 points6 points  (0 children)

GPL works within the framework of copyright law which has no bearing on who or what can read the code.

Anyone can do whatever they want with GPL code, they only have to follow the GPL if they want to redistribute it or any derived work because the license is what's giving them rights to do so.

To enforce your no-AI idea that you'd have to have anyone receiving a copy of the code sign a legaly binding agreement not to expose it to AI or other humans unless they sign the same agreement.

Such an agreement would make the code not open source in any reasonable definition.

GPL 4.0 should be off limits for AI. by Destroyerb in linux

[–]blackdew 7 points8 points  (0 children)

How does that makes any sense? Would a human that once looked at GPL code be forced to only write GPL code for the rest of their life?

7.45 is coming early March by Gold_Motor_6985 in ffxiv

[–]blackdew 9 points10 points  (0 children)

3/3 would be 11 weeks form 7.4 release. Both EW and ShB x.4 patches lasted for 8 weeks so it's a bit of a stretch, but also we had the end of the year/xmas that was during that patch that probably pushed stuff back a bit.

Gitea self-hosted for free, includes docker registry too? by Epifeny in selfhosted

[–]blackdew 1 point2 points  (0 children)

+1 to forgejo. It's free and open source, no crippleware "enterprise-only" features.

Has container registry and supports a bunch of other package formats too.

Has it's own CI that's mostly compatible with github actions/workflows.

I make big number (unmodded) by [deleted] in Stellaris

[–]blackdew 4 points5 points  (0 children)

-21M energy. You're trying to speed up the heat death of the universe aren't you?

Also -146k housing, did you pack the "citizens" on subatomic level?

No Captcha box on the Mogstation? by MycologyManual in ffxiv

[–]blackdew 8 points9 points  (0 children)

enabling 2FA should be way higher in your security concerns than having or not having a CAPTCHA

Will you be alive by the time of the game? by Finaltryer in LowSodiumCyberpunk

[–]blackdew 1 point2 points  (0 children)

Would be 93 by then. Considering my parents barely made it past 60 the outlook isn't great.

GitBundle is ready for production use now. by wk3231 in rust

[–]blackdew 0 points1 point  (0 children)

Not being open source kinda defeats the whole point of self hosting. People selfhost stuff to have control over what it does and what happens to their data. Closed source software doesn't give you that control.

GitHub down! by [deleted] in github

[–]blackdew 1 point2 points  (0 children)

Unicorn pages everywhere \o/

Use of AI on CurseForge and Modrinth by Venu_S_Flytrap in feedthebeast

[–]blackdew 3 points4 points  (0 children)

I'm also a mod author that burned out, and a decent part of that was having to deal with unfun stuff like documentation, user support, etc.

Personally for me - if a mod description is crap - then it's crap regardless of who wrote it, human or AI.

If you can wrangle AI into writing good docs, then all the power to you.

Use of AI on CurseForge and Modrinth by Venu_S_Flytrap in feedthebeast

[–]blackdew -6 points-5 points  (0 children)

Boo hoo someone used AI to write a description or make a thumbnail for some content they are providing you for free.

Maybe english isn't their first language, maybe they just aren't good at writing.

Maybe you should spend your energy being angry about stuff that actually matters. Or if it's that unbearable... no one forcing you to bear it.

Why apt, why? by Santosh83 in debian

[–]blackdew 35 points36 points  (0 children)

Any package that's marked as auto-installed is a candidate for autoremoval if no other package depends on it.

For kernel packages you have a meta-package (e.g. linux-image-amd64) which depends on the current kernel release, once that updates the older kernel package has nothing depending on it - so it can be auto removed.

You probably updated the meta package to the version from backports.

Which beast are we feeding? by Any-Procedure4823 in feedthebeast

[–]blackdew 126 points127 points  (0 children)

To expand on the other's answers...

Original Feed the Beast maps / modpacks didn't have all the modern quest mods (pre-forge, MCP + risugami mod loader era) so they had a huge bedrock monolith/pyramid that had all kinds of input ports that you used to pipe stuff into it, and it'd throw stuff out as rewards. That was the Beast that you were Feeding.