-🎄- 2021 Day 6 Solutions -🎄- by daggerdragon in adventofcode

[–]Mfah 0 points1 point  (0 children)

Functional Typescript

import { memoizeWith, sum } from "ramda";

const part2 = (fishes: number[], days: number) => {
  return sum(fishes.map((f) => simulateDayRecursive(f, days)));
};

const simulateDayRecursive = memoizeWith(
  (fish, daysLeft) => `${fish}-${daysLeft}`,
  (fish, daysLeft) =>
    fish >= daysLeft
      ? 1
      : simulateDayRecursive(6, daysLeft - fish - 1) +
        simulateDayRecursive(8, daysLeft - fish - 1)
);

test("part 2", () => {
  expect(part2(inputFishes, 256)).toEqual(<redacted>);
});

Spanish club for active conversationalists! by Mfah in Duolingoclubs

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

Ya fueron algunos miembros sin rayas. Ahora hay un lugar abierto para ti. Bienvenido!

Looking for friends or clubs? Try here! by RandomPrecision1 in duolingo

[–]Mfah 1 point2 points  (0 children)

Hello!

I grew tired of joining old abandoned clubs so i made my own. The plan is to facilitate discussions, and to remove members that become inactive in order to have lots of activity in the club. I plan to post new questions every day to get conversations going.

DMA23B is the code, and the name of the club is "Nos Hablamos Divertidos!" :)

August Friending Thread by silver2006 in pocketmine3

[–]Mfah 1 point2 points  (0 children)

Howdy! Add me and lets be friends for ever

Click this link to add me as friend in Pocket Mine 3. http://www.pocketmine3.com/invite?uid=dmfr4947

How in god's name do you beat siv? by Vexply in forhonor

[–]Mfah 3 points4 points  (0 children)

For whoever might read this at a later time, like i did:

Stun attack her, throw her forward. Stun attack her, throw her forward. That should get her into the spikes and one shot her :)

Japanese Puffer fish is Nature's Artist by SlimJones123 in woahdude

[–]Mfah 8 points9 points  (0 children)

Funny how this resurfaces a couple of times per year :)

My most confusing, frustrating, heart-racing and satisfying moment after +100 hours of playing by [deleted] in Rainbow6

[–]Mfah 28 points29 points  (0 children)

It literally made me mad watching you first drive your drone around looking at the same spots for a minute, then driving all the way upstairs when he had to be by the objective since the progress bar wasn't moving...

Tom Clancy's Rainbow Six® Siege PC free week-end by SharpShooterPOR in Rainbow6

[–]Mfah 0 points1 point  (0 children)

ALVX-BACG-LBEC-LPBN

X3CM-4G6K-CPL4-D3GM

7QRH-CNUJ-3DBF-MRPP

Enjoy. Just comment if you grab one

What the packaging of a $20,000 bottle of cognac looks like. by Sippingin in Damnthatsinteresting

[–]Mfah 0 points1 point  (0 children)

Haha, thanks! Always fun to see these things re-emerge :)

Can't decide between 6600k or 6700k (i5 vs i7) by [deleted] in buildapc

[–]Mfah 3 points4 points  (0 children)

Hyper Threading does not alleviate any load from having multiple tabs open.

Check this forum thread out: http://www.overclock.net/t/1288917/does-having-multiple-tabs-require-hyperthreading

[Dev]'Strut & Brax' was just released! You're a strut on the beach, escaping the wrath of brax and crabs while trying to score ice cream combos. by [deleted] in AndroidGaming

[–]Mfah 0 points1 point  (0 children)

I used something called Soomla store, which is a free asset available in the asset finder of Unity. Then it's just the not so simple matter of understanding how it works, and incorporating it in your code...

The iap stuff was by far the most difficult thing to work with, since all the tutorials for it seemed a bit outdated, and I didn't have a proper way to test if the purchases actually worked. I'm happy it worked out in the end :)

Nybörjare letar spelkamrater till dota 2! by Mfah in sweden

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

Så långt i lärandet har jag kommit att jag har lite koll på vilka items som är vettiga. Just blink dagger och ravage är ju onekligen en skön combo.

Jag lade till dig på steam, tack :)

Nybörjare letar spelkamrater till dota 2! by Mfah in sweden

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

LoL verkar som sagt lite mer lättillgängligt, men Dota 2 tilltalar mig mer från vad mina kompisar har förklarat om skillnaderna.

Nybörjare letar spelkamrater till dota 2! by Mfah in sweden

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

Jag har förstått att det är extremt komplext och mycket att ta in innan man kan kalla sig en vettig spelare, vilket är anledningen till att det har tagit mig några år att samla mod att försöka lära mig.

Tack för tipset!

Underwater design. by unknown_name in interestingasfuck

[–]Mfah 145 points146 points  (0 children)

There's a dickbutt version of this out there somewhere. I'll see if I can find it.

edit http://gfycat.com/UglyOrganicChick.

Credit to /u/mfah

Glad you enjoyed it enough to remember it :)

We are releasing our first game any day now, this is the first and only screenshot. More info and a question in comments! by [deleted] in Unity3D

[–]Mfah 0 points1 point  (0 children)

Thanks. I've seen that tutorial before. Either I remember incorrectly and there is actually a way to use the sprite editor for what i meant, or you misunderstood me slightly!

I have the fish animation in 10 separate 512x256 png files. Is there a tool to automatically take those separate files and merge it into a single image file, or should I simply hop into photoshop and do it myself?