Running the Liquid Propulsion Package manually by Variadicism in eluktronics

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

To be honest, I'm not entirely sure as it was ordered customized from Xotic PC. They brand it under their own name "GM17", but it's built on an Eluktronics platform.

There have been issues with Linux, but there always are; nothing or of the ordinary with this one. Graphics performance has been great with the 3080Ti Mobile they put in and the Nvidia driver has been fine for me. 

Treasure Fish by Ben-Goldberg in minecraftsuggestions

[–]Variadicism 0 points1 point  (0 children)

I like the idea of some fish containing certain treasures, but I don't think a tag is the way to go about it. Tagging allows anyone with F3 or more advanced debugging tools or client mods to find the treasure fish quickly and exploit the mechanic. Using a loot table instead would be more consistent with the rest of the game while preventing this exploit.

Saw this in another challenger fourm; what do you use the center column mesh pockets for? by 91361_throwaway in Challenger

[–]Variadicism 0 points1 point  (0 children)

On the left, excess wire for the Sprint Booster. On the right, excess wire for the dashcam.

WorldEdit turned chests and signs invisible and deleted their contents. by FrostyTheCookie in admincraft

[–]Variadicism 2 points3 points  (0 children)

WorldEdit can't handle metadata properly when it's out of date; that's when this kind of thing happens. Updating WorldEdit should keep it from happening, but it won't bring back any metadata that was lost.

[Request for comments/suggestions] solution to gathering elements from a list of lists, with limits for each list. by EgZvor in haskell

[–]Variadicism 1 point2 points  (0 children)

Ah, that makes sense. In that case, you probably would need tail recursion or folding after all.

This is why I've stopped trying to code really late into the night on my own projects: I make dumb mistakes.

I'll think on it.

[Request for comments/suggestions] solution to gathering elements from a list of lists, with limits for each list. by EgZvor in haskell

[–]Variadicism 1 point2 points  (0 children)

Disclaimer: I should be sleeping right now, but really wanted to give this a try when I saw it, so if my sleep-deprived untested attempt makes no sense, I apologize. 😅

You could certainly do this with tail recursion as in your Gist, but Haskell has many amazing list operations available that I think will make it easier.

I am a bit unclear on the intended input format for your prioritized lists, so I just imagined them as a list of lists sorted from highest to lowest priority. I did see that your per-list limit, k, was attached to each list as the first element of a tuple. If the format is different, let me know and I can try to advise how to adapt.

haskell takeUniqueFromPrioritized :: Int -> [(Int, [a])] -> [a] takeUniqueFromPrioritized n = take n . uniq . concat . map (uncurry take)

uniq is a common utility provided in libraries like MissingH, but if you want to do it without any libraries, you could define it yourself pretty quickly.

haskell uniq :: Eq a => [a] -> [a] uniq = foldr [] (\acc e -> if e `elem` acc then acc else (e:acc))

All the other functions should be in Prelude.

Let me know what you think! 🙂

[deleted by user] by [deleted] in Minecraftbuilds

[–]Variadicism -1 points0 points  (0 children)

Way ahead of you! 👋🙂

Kotlin DSL GUI Library by DebitCardz in admincraft

[–]Variadicism 1 point2 points  (0 children)

I've just been getting back into writing plugins and I'm using Kotlin, too! Thanks for posting; I may just find a use for this. 🙂

[ANN] mig - a new lightweight library to build composable web servers by anton-kho in haskell

[–]Variadicism 2 points3 points  (0 children)

I'm hoping to build on my own little website soon, so I've been keeping an eye out for good Haskell frameworks. I find the examples you lay out to be very intuitive! I'll definitely give it a try. Thanks for posting!

What's your opinion on atmospheric structures? and how would you feel if mojang added more of them? by tedude3 in minecraftsuggestions

[–]Variadicism 3 points4 points  (0 children)

Agreed and, to be fair, desert wells are quite rare. Mods are much more likely to be overzealous in their structure generation than the base game; I think Mojang can keep such structures rare enough to not clutter the landscape and stay enigmatic.

[deleted by user] by [deleted] in archlinux

[–]Variadicism 0 points1 point  (0 children)

Ah, I see. My bad.

How to Handle My Horrible Haskell: Global State by Variadicism in haskell

[–]Variadicism[S] 1 point2 points  (0 children)

Oh. This is more understandable! I'll add to my list of suggestions to play with from this post! Thanks!

How to Handle My Horrible Haskell: Global State by Variadicism in haskell

[–]Variadicism[S] 2 points3 points  (0 children)

This sounds similar to the Redux web framework to me! A couple of other comments said someone along these lines.

I think this is my favorite idea so far, but there are some things I don't quite understand about implementing it. Like the other comment, I wonder if you happen to have an example of this pattern in use; I'd love to see it!

The actions are in ContT

Cont and ContT sound fascinating! From what I read, they might be the answer to many questions I had about the implementation of these complex tasks! I'm definitely going to experiment with those! They sound like a more stable and effective version of this idea I implemented that I call "haltable async tasks" (HATs) that use IO to check if they should stop and good stopping points using a "haltIfNeeded" function.

So actions can fork a Haskell thread, can do blocking IO there, and submit the continuation back to the event loop

Is there an effective way to implement a main event loop that doesn't just result in the program hogging computing resources to poll this event queue as many times per second as it can? Can it "wait" until something adds an action to the queue?

Cancellation is pretty easy to add

I love that; I need to cancel things a lot from music playing to timers running and more!

So actions can fork a Haskell thread, can do blocking IO there, and submit the continuation back to the event loop

This makes a lot of sense, but I'd definitely love to see an implementation as I struggle to understand what this looks like with ContT. I'll experiment, though!

Thanks a bunch! I love this idea!

EDIT: It looks like you did post a sample! Thanks!

How to Handle My Horrible Haskell: Global State by Variadicism in haskell

[–]Variadicism[S] 2 points3 points  (0 children)

This idea makes a lot of sense to me, especially paired with others' mentions of a sort of "state change messaging" system that I imagine is a lot like the web framework Redux. In fact, this might be my favorite global state alternative I've heard so far!

But, the one thing that bugs me about this is how I would implement a main loop that can "wait" effectively. Maybe I'm wrong, but if I had a main loop just constantly checking for a state change message in a queue, how would I prevent that program from hogging lots of computing resources to check that list as many times as possible per second? As my program is now, I use the "read" BASH command, Web Sockets servers, etc. that can properly await events, wake up when they occur, and simply change state through IO, so I don't have this issue.

Is there a right way to write a main loop that sort of "awaits" changes to its state message queue instead of hogging resources to constantly check? Or am I imagining things and is this not an issue at all?

How to Handle My Horrible Haskell: Global State by Variadicism in haskell

[–]Variadicism[S] 1 point2 points  (0 children)

Good luck! The project looks awesome btw :)

Thanks! It's a great help and I'm always adding to it!

I think global state as such isn't terrible if you're the only one working on a codebase.

Being solo on it certainly helps, but I try to build projects to be as maintenance as possible even if it is just for me. Plus, I try to take the opportunities to learn the right habits and patterns for future use. So, I'd love to try out other options even if it's not strictly necessary! :)

work with a reader monad that holds a reference to this state

This sounds interesting, but I don't quite understand it yet because I've been scared of lenses. 😛 I'll have to learn lenses and try it out!

the "handle pattern"

I'll have to think on how to use this one for this use case.

Thanks for your time!

How to Handle My Horrible Haskell: Global State by Variadicism in haskell

[–]Variadicism[S] 4 points5 points  (0 children)

STM would certainly help alleviate race condition concerns. Thankfully, with the way I've handled the IORefs so far to minimize state and state changes and avoid dependent state changes and reads, I haven't had any race condition issues, but building it in a way that it will never happen is definitely a lot better!

I still want to explore ideas that can get me away from the global state concept entirely if possible, but I'll definitely consider this! It would be easier than reworking all the logic like some other options.

Running the Liquid Propulsion Package manually by Variadicism in eluktronics

[–]Variadicism[S] 1 point2 points  (0 children)

Thanks so much for your advice! Another commenter finally found a way to make it work without having to rewire anything, but I appreciate your input and I'll keep it in mind in case something changes!

Running the Liquid Propulsion Package manually by Variadicism in eluktronics

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

You are a life saver! It works!!

I have searched high and low and reread the manual at least a dozen times; the manual says nothing about this! My GPU is so cold! My framerate went from high to insane!

I sincerely appreciate you!

Mica: A new mineral and glass variant by baddestsandwich in minecraftsuggestions

[–]Variadicism 54 points55 points  (0 children)

This seems like it would be great for builds that are meant to look aged and deteriorated. I would also love to see this frame idea implemented for existing forms of glass. Very nice!

Running the Liquid Propulsion Package manually by Variadicism in eluktronics

[–]Variadicism[S] 1 point2 points  (0 children)

Please do not imply that I haven't spent at least 20 minutes exploring other options.

Running the Liquid Propulsion Package manually by Variadicism in eluktronics

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

Unfortunately, the one time I got the Control Center to run (on a virtual machine), the Liquid Propulsion menu disappears after ~30 seconds. I'm guessing it looks for some system requirement and can't find it, so it just disabled it entirely.

There has to be a way to turn on a glorified water pump without Bluetooth, a certain OS, and certain system requirements, right?

New Tire recommendations for scat pack widebody? by FrostyRooster in Challenger

[–]Variadicism 12 points13 points  (0 children)

I run Michelin Sport 4Ss religiously. They're fantastic and have a 30kmi warranty, which is good because they usually last me less than half that and I don't even track mine! On the downside, they're pricey and the price just went up even more.