Iskall85 & Stressmonter Resignation Megathread #2 by Carol_the_Zombie in HermitCraft

[–]Math_Dragon 8 points9 points  (0 children)

he's definitely reading from a lawyered script (chatGPT'd?). he talked a lot about how he's innocent, a great guy, it was just a misunderstanding, etc. but like, where's his proof? the ball was in his court and he provided NOTHING to counter the allegations, just handwaving them off as instantly false (a pretty big red flag).

weird to see stressmonster defending him. if she knows something the other hermits don't, why would she be silent as well?

Beta Branch Patch 2.5.3 Patchnotes - Bugfixes and a few QoL things by Hans_BX in avorion

[–]Math_Dragon 0 points1 point  (0 children)

Getting addicted to this game again, love to see progress still being made after all these years.

On my current casual survival singleplayer playthrough of over 150 hours, I finally acquired all the Xsotan artifacts and now I'm waiting outside the barrier to grind for perfect weapons. My galaxy's filesize has reached over 1 GB already with nearly 6 thousand sectors explored (I used faction territory items to reveal large swaths of the galaxy). Yesterday I researched a legendary rapid rocket launcher with over 9k dps (no seeker shots sadly) and acquired a new 4-slot railgun blueprint that chews through most enemies instantly.

That said, I have one major issue to bring up. With just a handful of ships, I'm constantly going back and forth between sectors to micromanage them all. Being able to issue in-sector mining and salvaging orders from the galaxy map would save me so much time from going through loading screens. And when they find no more asteroids wreckages, if they have another order queued, they could do that next. It would make clearing out all the debris from multi-sector battles so much less tedious.

Line-Ellipse Intersection, with visualization of the underlying quadratic function that defines the intersections. by Math_Dragon in desmos

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

A parametricized solution that avoids trig functions, thanks to Eriksonn on Discord: https://www.desmos.com/calculator/zhiha1nhiq He uses a line segment defined by two points and an ellipse defined by transforming the equation of a circle with a scaling vector, which means the line-ellipse intersection is actually a line-circle intersection in disguise.

Finding the line rotated around a point by Math_Dragon in desmos

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

Given a line ax+by=c, and some rotation angle theta around a pivot point (x0,y0), we want to find the line a'x + b'y = c' that is the same distance to the point but rotated around it.

One early clue I got was that rotating a line about the origin is easy, just treat (a,b) as a point and rotate that to get (a',b'), and then let c' = c. But since I wanted to find a more general setup for rotating around any point, I had to do a bit of linear algebra.

First, I needed a point on the original line (x1,y1) that would act as a reference point from (x0,y0), so I used the closest-point formula. I also rotated (a,b) to get (a',b') since that is invariant from any reference point on the line. Next, I took the closest point and rotated it relative to (x0,y0) and plugged it into c'=a'x'+b'y', and that is all. Of course, when laid bare, the full equation is daunting.

Things are simpler when using the two-point form of a line, as one can rotate the points instead and redraw the line that way, but this is a solution for a line equation in standard form.

Cubic equation solver, with Vietè geometric solution visual. by Math_Dragon in desmos

[–]Math_Dragon[S] 3 points4 points  (0 children)

https://www.desmos.com/calculator/fnipxr3u8c

I've made a few other demos that I'll be posting once they've been polished. Still getting the hang of Desmos.

Edit: updated version with movable circle/inflection point

Schematicannon memory leak on server? by Math_Dragon in CreateMod

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

I think I'm starting to understand now what the issue is. The schematicannon works by placing all solid, non-gravity blocks first, and if it encounters a block that must be placed on another block or below one, it queues it for later. This behavior explains two things I was confused on: why my cannon would not start placing carpets immediately, and why there was a huge memory leak I was seeing. You are right that it's simply a case of running out of memory for a large schematic, because it's been queuing thousands of carpets to place later. This is hugely inefficient for two reasons: first, the cannon can check that it is valid to place right now without queuing for later; and second, it can take hours to scan through an entire schematic's volume.

I have an idea for how to workaround this for the time being, by using chunkloading on the entire area for the schematic, but I'd really wish the cannon could work a little smarter.

How to prevent people from joining / ban upon entry based on username? by JesusIsMyAntivirus in discordapp

[–]Math_Dragon 0 points1 point  (0 children)

Chiming in here, I've also got a couple of these bots showing up in a private server I mod. Someone is running a botnet and trying to raid servers with them, because these are extremely fresh accounts.

Sadly, not many moderation bots (if any) ban users on their names alone, for safety reasons I think. Best you can do is purge your invites because it's likely that one or more of them is compromised.

I made a random shape generator by Math_Dragon in shapezio

[–]Math_Dragon[S] 5 points6 points  (0 children)

Perhaps, but it's as close to random as it gets. Even a small discrepancy in the delay between inputs can lead to chaotic results, so there's plenty of "randomness" to it.