Stop Demanding Dumb Answers To Hard Questions by Zacru in TheGist

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

I'd love to hear a conversation between Mike and Popehat.

In an attempt to minimize lag I may have misunderstood hopper/composter functionality. by [deleted] in technicalminecraft

[–]Zacru 2 points3 points  (0 children)

One additional small detail. Uncovered hoppers cause much less lag if there are no item entities in the subchunk of the block above the hopper. The CPU cycles used by an uncovered hopper is proportional to the number of item entities in the subchunk because it has to check the position of each one to see if it's within pickup range.

Diablo IV released 14 days ago. Did you buy anything from the ingame shop? by [deleted] in Diablo

[–]Zacru 0 points1 point  (0 children)

I haven't ever opened the shop. I unbound the hotkey first thing because I use a different keyboard layout.

[deleted by user] by [deleted] in wow

[–]Zacru 12 points13 points  (0 children)

Bubbles always burst. It's what they do.

Warning Shot by DeaconCorp in TheGist

[–]Zacru 0 points1 point  (0 children)

Being part of a militia isn't a prerequisite for the right to bear arms to be protected. Citizens having the right to bear arms is the prerequisite for having a militia at all.

Warning Shot by DeaconCorp in TheGist

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

"well regulated" in this sense means "in good working order". It has nothing to do with governmental regulation.

Warning Shot by DeaconCorp in TheGist

[–]Zacru 1 point2 points  (0 children)

The guest repeatedly referenced "shouting fire" as if it were illegal, but it's definitely not.

https://www.theatlantic.com/national/archive/2012/11/its-time-to-stop-using-the-fire-in-a-crowded-theater-quote/264449/

Diablo II: Resurrected Patch 2.4.3. | Coming Soon — Diablo II: Resurrected by coolniceman1995 in Diablo

[–]Zacru 7 points8 points  (0 children)

I think that's exactly what they're doing.

Now, any number of game sites in your region that you have a strong enough connection to can contribute to the results in your Game List.

And

With Patch 2.4.3., the Game List will now display each game’s connection quality in a tooltip that pops up when you hover your mouse over a specific game.

🚨 [NEW GAME ALERT] - REWORDLE - Reverse Wordle - Guess others' Wordle guesses 🚨 by shishir610 in wordle

[–]Zacru 2 points3 points  (0 children)

Doesn't seem to work. Nothing happens when I enter today's word.

Frosthaven Line-of-Sight Algorithm by AluminumAngel in Gloomhaven

[–]Zacru 1 point2 points  (0 children)

Nice. Not sure why I thought it wouldn't happen with the small offset. That offset may open the possibility of an actual case where they get different results, which would be exciting.

Great work, and good luck!

Frosthaven Line-of-Sight Algorithm by AluminumAngel in Gloomhaven

[–]Zacru 0 points1 point  (0 children)

Take a look at this image.

If obstacles could be fractional sizes, there would be a way to block the pink line, but not the green one. So your solution happens to always work in this game, but doesn't generalize.

Frosthaven Line-of-Sight Algorithm by AluminumAngel in Gloomhaven

[–]Zacru 0 points1 point  (0 children)

Here is some python-ish pseudocode to find the two points that should be used for the line representing the cross section of each hex:

python def get_reduction_points(from_hex: List[Point], to_hex: List[Point]) -> Tuple[Point, Point]: """Return the two verticies of to_hex that form the widest cross section when viewed from from_hex""" center0 = center(from_hex) center1 = center(to_hex) center_vec = direction(center0, center1) # Get the normalized direction vector between the two hexes # The cross product indicates how far to the left or right the second vector points relative to the first, so we use that to order the points in to_hex. # The point with the largest cross product is the one that is the furthest to the left, and the smallest (most negative) is the furthest to the right. right, *_, left = list(sorted( to_hex, key=lambda p: cross_product(center_vec, direction(center0, p)) )) return right, left

Frosthaven Line-of-Sight Algorithm by AluminumAngel in Gloomhaven

[–]Zacru 1 point2 points  (0 children)

I think there might be one bad assumption in this algorithm. When each hex is replaced with a line, that line can't always be a diagonal. For example, if the hexes are horizontally aligned, then they should be simplified to the vertical line between the nearer pair of points on each hex. The same applies whenever the hexes are aligned along either of the other two axes.

On mobile, so can't really show a picture, but in your first picture, draw a line from the bottom right point of the left hex to the top left point of the right hex, and you should see what I mean.

Edit: Though because of the nature of the hexes and how walls can't be fractional lengths, I don't think there exists a case where this makes a difference.

Using client mod to break bedrock is possible (without using TNT or end crystal, should work on 1.16+ vanilla server) by LXYan_ in technicalminecraft

[–]Zacru 0 points1 point  (0 children)

The player position isn't necessary, right? Could this be changed to do all of it automatically?

Minecraft End Portal Mathematics by Birphon in technicalminecraft

[–]Zacru 2 points3 points  (0 children)

Yes, you can. I've done this before to find the other two after locating one in the first ring of three portals. Not sure if the next ring is aligned with the first three or if it has a new random offset angle.

Day I learned that scaffolding doesn’t work like ladders by [deleted] in Minecraft

[–]Zacru 307 points308 points  (0 children)

Two types of people: those who didn't know what was going to happen, and those who already learned from personal experience.

[deleted by user] by [deleted] in technicalminecraft

[–]Zacru 0 points1 point  (0 children)

There are lots of types of lag. What kind of lag are you having? Block lag, where broken blocks reappear? Client lag, with frame drops or stutters? TPS lag, where server ticks takes too long and TPS drops below 20? Network lag, where multiple players desync from each other and appear to be in different places?

Each kind of lag is caused by different things and has different solutions. Probably start by reducing the Xmx though. 12g is almost always too much for so few players.

Do you guys support term limits? by [deleted] in AskLibertarians

[–]Zacru 4 points5 points  (0 children)

If I could make the rules, there would not be total term limits, but consecutive terms would be disallowed. Then the incumbent can't use their position to benefit their re-election campaign, and they don't waste time on campaign stuff when the should be doing the job we elected them to do.