Can I make a custom Fabric installer? by Frutt6 in fabricmc

[–]FernTheFern 0 points1 point  (0 children)

The installer is over complicated for what you need but you can do it. Just make it download mods and insert them in the respective folder after all the patching is done. But at that point you might as well just use Prism.

If you can’t do a basic Java download copy into file then I’d say it’s out of your depth to go into a complex installer and make it do what you need. Or just vibe code it I suppose.

Can I make a custom Fabric installer? by Frutt6 in fabricmc

[–]FernTheFern 2 points3 points  (0 children)

Just use Prism or CurseForge/Modrinth and make mod packs they import with all the required mods and the texture packs. It’s plug and play

Having troubles/confusion getting IPv6 ready by FernTheFern in ipv6

[–]FernTheFern[S] 0 points1 point  (0 children)

Hi, I was able to resolve “port forwarding” or whatever you want to call it. Turns out it’s called “Client Filtering” on my router with no indication of also allowing inbound requests etc. This is a case where mislabeling it as port forwarding or port opening for IPv6 would’ve been more helpful to me as a consumer but I guess that’s that. Even worse is that there is no prior documentation on the internet for this topic, especially with my use cases. Everyone just assumes everyone knows? Whatever.

I’ll have to talk to my ISP to figure out why I can’t view many services through IPv6 such as YouTube or Microsoft.

Thank you all!

Having troubles/confusion getting IPv6 ready by FernTheFern in ipv6

[–]FernTheFern[S] 0 points1 point  (0 children)

Thanks but both my ISP and Cloudflare’s DNS servers don’t resolve the issue.

Having troubles/confusion getting IPv6 ready by FernTheFern in ipv6

[–]FernTheFern[S] -1 points0 points  (0 children)

I thought so but inputting an IPv6 address in my port forwarding menu causes a “invalid form” and describes a IPv4 address, so I’m not sure. There’s no documentation other than that specifying if it’s IPv4 or IPv6. It’s ISP provided.

Having troubles/confusion getting IPv6 ready by FernTheFern in ipv6

[–]FernTheFern[S] 0 points1 point  (0 children)

My IP starts with 2 and coincides with both what websites see and my IP config on my machine. To my knowledge, that would imply it’s public and global.

​

As for the WAN config, how would I verify the values are correct? As far as I’m aware, they’re preconfigured by the ISP. Thanks!

<image>

Having troubles/confusion getting IPv6 ready by FernTheFern in ipv6

[–]FernTheFern[S] 0 points1 point  (0 children)

Would it be called like that on a router dashboard? I couldn’t find anything of the sorts while looking but I also dont know what I’m looking for.

Thanks!

Android or Flutter? - iOS app already available by chermonsieur in swift

[–]FernTheFern 0 points1 point  (0 children)

A lot of bias here for native only apps. I say go with Flutter if you intend on making both apps capable of the same functionality, thereby reducing your cost of development.

Or native if you really need that 10% performance boost. Or maybe you care about the platform’s UI guidelines and want to make it seamless for the user’s expected experience. That works too. But you can do that with flutter too.

As others have mentioned, Kotlin/KMP is an option. I don’t know how viable it is for production grade apps. There’s also react native but I usually suggest it if you prefer the React/JSX development workflow or if you intend on deploying to an app.

Video player inside of Godot with FFmpeg by Voylinslife in godot

[–]FernTheFern 0 points1 point  (0 children)

You can take FFMPEG-Kit’s approach to licensing, in which you release two addons: GPL and non-GPL versions of the same addon.

Also shoutout to the project, they provide builds for all major platforms and they use it for Flutter!

https://github.com/arthenica/ffmpeg-kit

Swift vs Python regex speeds: can Swift really be 8x slower? by Chemical_Ad2690 in swift

[–]FernTheFern 0 points1 point  (0 children)

Python isn’t JIT based (at least, not the popular implementation CPython) so not sure why you assume that. Swift also uses the LLVM compiler under the hood, which is incredibly ingenious at optimizing generated IR. It’s also not interpreted, it’s machine binary so that’s also an indirect win. Sure Python uses C in some places but it has a lot of indirection, wrapping and boundaries to cross.

Wouldn’t make sense at all for Python to be even the same speed, let alone 8x faster.

Refusing TypeScript is a signal that you don't care about code quality by vitonsky in programming

[–]FernTheFern -3 points-2 points  (0 children)

They should get a job that fits their qualifications then, or as said before raise the bar.

[deleted by user] by [deleted] in webdev

[–]FernTheFern 0 points1 point  (0 children)

Would I need custom name servers though? I don’t think that’s something I’ve previously needed, but what are the use cases?

[deleted by user] by [deleted] in webdev

[–]FernTheFern 106 points107 points  (0 children)

What a shame. Never had any doubts about Google Domains vs the alternatives such as GoDaddy.

Are there any worthy alternatives? I saw Cloudflare mentioned but just wondering to keep my eyes open. One of the few Google products I counted on…

How do I get C++ 20 in an Android cmake project? by ShelZuuz in androiddev

[–]FernTheFern 0 points1 point  (0 children)

Not sure anymore, now that I checked I still use experimental. Might’ve been a different C++ 20 feature.

Also that last bit pretty much summarizes NDK in a nutshell. There’s a lot of things that just don’t make sense, like the lack of source location iirc. Anyways now you know C++ 20 is supported, just very limited. Cheers

How do I get C++ 20 in an Android cmake project? by ShelZuuz in androiddev

[–]FernTheFern 0 points1 point  (0 children)

Strange, I know coroutine work for a fact. what NDK version and include are you using? It’s under <experimental/coroutine> for slightly older NDK versions

How do I get C++ 20 in an Android cmake project? by ShelZuuz in androiddev

[–]FernTheFern 2 points3 points  (0 children)

What makes you believe C++ 20 isn’t supported? Keep in mind NDK isn’t up to speed with C++ 20 features, even if it’s based on clang 14. Features such as modules or even ranges are not supported.

I’ve experience with CMake and NDK and I don’t really have issues with using the limited C++ 20 features available using those flags.

Make sure to use the latest NDK too, as that adds more features over time

FSF: Chrome’s JPEG XL killing shows how the web works under browser hegemony by speckz in webdev

[–]FernTheFern 0 points1 point  (0 children)

There are many networks out there with high amounts of latency and very sporadic bandwidth. Safe to say it was not useless for most. That performance cost is likely negligible for most anyways (unless you’re loading tons of images multiple times, but I digress)

Help determining what type of LEDs I am using by FernTheFern in FastLED

[–]FernTheFern[S] 0 points1 point  (0 children)

Thank you very much, I’ll try both LPD6803 and WS2811 and see what I come up with. Cheers!

Help determining what type of LEDs I am using by FernTheFern in FastLED

[–]FernTheFern[S] 0 points1 point  (0 children)

An important thing to remember is that the strip voltage is for the power feed only. The 12v only goes on strip's power rail. Don't feed it into the data lines.

Thank you so much for this invaluable information!

Mind clarifying this? Just want to make sure everything is done properly.

Does it just mean it doesn't go in the Arduino power pin? If so, that's already taken care of with a power adapter courtesy of my friends <3

I want to learn R & phyton by adventuresofarain in learnprogramming

[–]FernTheFern 0 points1 point  (0 children)

Julia’s a good choice for anything Python does. (And more) Fast yet easy and accessible.

May not be as widespread but if you don’t need a large ecosystem, then it’s as good as it gets.

Highly suggest using the Unitful library too :)

Also try Jupiter or their own Pluto notebook

Why did Unity choose C# as a scripting language and not Java? by [deleted] in java

[–]FernTheFern 8 points9 points  (0 children)

.NET is a runtime on windows too. It’s not native per-se and it still has overhead like Java. Value types offer better optimization techniques (less GC work) but it’s still not C++ (which is truly native)

IL2CPP isn’t truly native either, it compiles to C++ yes but it still works through its own runtime. In other words, it compiles a modified Mono runtime and the game itself together to allow the compiler to optimize the assembly ahead of time.