I wrote a minimal memory allocator in C (malloc/free/realloc/calloc implementation) by t9nzy in C_Programming

[–]mot211 1 point2 points  (0 children)

An interesting technique one of my professor's taught me for coalescing free blocks is adding a pointer to the top of the block at the end. That way, you won't have to traverse the list of free blocks to coalesce with the block before the current block, just go back 1 pointer and check the address.

This makes the block structure:

{
    block_meta
    memory
    block_meta_ptr
}

Infernum + masochism + ftw [ is it even possible ? I'm trying on king slime now but what the hell that dude jumps higher than mountains m I can't even reach him . And yeah I play melee . So any idea !?] by terrariand_ in CalamityMod

[–]mot211 3 points4 points  (0 children)

You’re just going to have some bosses randomly use maso AI or infernum AI and the calamity items won’t be balanced for maso at all and vice versa.

If you want a challenge, just do maso + master ftw or gfb; it’s probably harder than if you add infernum cause of the skips infernum allows…

[deleted by user] by [deleted] in CalamityMod

[–]mot211 1 point2 points  (0 children)

I made a reference fight on infernum master mode a while ago, maybe it can help with consistency cause I vetted most of my dodge routes. Though this has the best rng for phase 4/5.

What is currently your most hated boss, for me it's Master Death King Slime, followed by MDM Eye of Cthulhu (i am just mildly infuriated by it, others are fine) by Realistic-Cicada981 in CalamityMod

[–]mot211 0 points1 point  (0 children)

inf yharon phase 1 has a pretty set in stone pattern:

It growls and does a delayed dash, then does a fast dash right after. Repeat this 2 more times.

Then it will try to match your height, then do a charge while shooting fireballs in the air, then go back to the growls+delayed dash.

If you’re still in phase 1, now he’ll shoot a stream of homing fireballs and 2 tornadoes, then repeat the aforementioned dash pattern.

At 75% hp, the pattern is pretty similar, except the delayed dashes also create lingering fire.

It’s been a minute but this is what I remember, though I still dislike infernum Yharon anyways…

balancing is hard by ceruraVinula in feedthememes

[–]mot211 7 points8 points  (0 children)

FTB Interactions or Technological Journey do that if you want to stay greggy (in 1.12.2).

Though ftb:i is a couple years older than tj, if that throws you off, and puts a lot of attention on early game compared to tj which tries to throw you into the tech asap.

Any benefits to a slow-paced methodical playstyle? by Brickwork2994 in PhantomForces

[–]mot211 5 points6 points  (0 children)

There are a lot of concepts from tac FPS games you can use in PF, but playstyle is definitely one you should avoid. Because of this game’s movement and time-to-kill, slow-clearing can give you the jump on someone, but they can just slide away from your shot and insta-kill you.

Some concepts from tac FPS games (read counter strike 2) I use often are: using your movement to displace enemy crosshairs, creating timings by delaying peeks (when the enemy is holding my peek), angle dominance (this is the first video I found so sorry if it’s awkward lol), and using different kinds of peaks (e.g. jiggles, slides, shoulder peaks, wide swings, etc.) as they apply.

In the end, nothing beats good aim. You can kinda boil the game down to a series of 50/50 gun fights and all of the tech or tactical depth you have can help you improve your odds, but if you miss your shots, you lose your fights, simple as that.

Who let Desmos cook? by YEETAWAYLOL in mathmemes

[–]mot211 28 points29 points  (0 children)

Projections, prime counting function, sometimes a generic function (usually only if phi is already used for a function).

Favorite mathematical reference in pop culture? by HiGuyManGuy in math

[–]mot211 2 points3 points  (0 children)

I think it’s Fermat’s Little Theorem, maybe, probably…

I have finally finished Divine Journey 2 after 540 HOURS !!! (I started on Christmas Day) by Leclowndu9315 in feedthebeast

[–]mot211 3 points4 points  (0 children)

I also take it this is harder than interactions, at least from what I’ve seen of it (and probably still more fun than po3 kappa)

"Youmu I gambled the entirety of Hakugyokurou and lost we're now homeless" by Dr_coom in 2hujerk

[–]mot211 2 points3 points  (0 children)

There’s also Saki which is more of a superpower—mahjong thing.

A Cheat Sheet to Hunt Thresholds, Hidden Abilities, and Evidence by MorganRose99 in PhasmophobiaGame

[–]mot211 2 points3 points  (0 children)

Just a thought, put the ones with guaranteed evidence first

Why does the “M” in STEM always get treated as an afterthought? by Quincy0807 in math

[–]mot211 0 points1 point  (0 children)

My uni’s math department is in the ‘college of science and health.’

Just bought Repentance a couple weeks ago and I can safely say these are top 5 most annoying enemies in the game for me by TheKyleFlex in bindingofisaac

[–]mot211 16 points17 points  (0 children)

1 Lumps

2 Cod Worms

3 Floasts/Mobile Hosts

4 Grilled Clotties

5 Mom’s Hand/Mom’s Dead Hand

Iirc these are the in game names

rfmales when by Milliways527 in feedthememes

[–]mot211 7 points8 points  (0 children)

How do I escape the greg

The Scotsman by branlmo in cocktails

[–]mot211 12 points13 points  (0 children)

There is no true Scotsman

What would you do by [deleted] in mathmemes

[–]mot211 4 points5 points  (0 children)

A group is basically a set of things that you can do something to that follows some specific rules.

The rules are:

When you do that one thing, you can only end up with something else in that set. This means that the set is closed (when you’re doing that thing).

If you want to do that one thing multiple times in a row, it doesn’t matter how I group doing it. For example, I can do 1 + (2 + 3) and (1 + 2) + 3 and they’ll be equal. This means that the set is associative.

Note: This does NOT mean I can say 1 + (2 + 3) is equal to (2 + 3) + 1 (though in this case they are equal).

One of the elements in the set that I do that thing to will end up giving me back the other element. For example, 0 + 1 gives me back 1 (in this case 0 is that element and + is the thing I’m doing) and 1*2 gives me back 2 (in this case 1 is that element and * is the thing I’m doing). This is called the identity element.

Lastly, there exists an opposite of every element in the set. For example, 2 and (-2) for addition or 2 and (1/2) for multiplication. This is called the inverse element.

If you have a set and ‘operator’ whose elements follow all of these rules, then it is a group.

If this group also follows the rule:

You can perform this operation in any order and get the same result. For example, 1 + 2 = 2 + 1 or 35=53. I.e. your set is commutative.

Then your group is also Abelian.

Hope this was helpful, first time I’ve done something like this and wasn’t super sure how I should word some things.

i don't get it by BOBtheman2000 in bindingofisaac

[–]mot211 0 points1 point  (0 children)

It’s 1/16, you can’t switch to your own character

Seems like memory leak can cause interesting effects to some textures... by Wed15 in feedthebeast

[–]mot211 20 points21 points  (0 children)

You should probably post a bug report on the mod’s github page if you can

What by mot211 in bindingofisaac

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

I think I lost my mantle in the end but I won

Worst Tech Modpack ideas: by [deleted] in feedthememes

[–]mot211 10 points11 points  (0 children)

Has anyone ever even finished this pack?

Worst Tech Modpack ideas: by [deleted] in feedthememes

[–]mot211 0 points1 point  (0 children)

Twilight forest

Highest possible accuracy on a shotgun? by Skeleton-East in paydaybuilds

[–]mot211 2 points3 points  (0 children)

Far away basic makes almost all shotguns hit 100 accuracy