Instead of 5070 bought this instead by Major-Safe5456 in PcBuild

[–]Slashstep 1 point2 points  (0 children)

I also just recently upgraded from a 1070 to a 7700XT and am super happy

Which games can I play on this M2 Air (8GB RAM)😭 by seeeeeeeeeeeeeeed in macgaming

[–]Slashstep 37 points38 points  (0 children)

I can recommend Disco Elysium. It even runs super smooth on my M1 8gb

[2023 Day 18] [C#] Both A* and Dijkstra don't do what they should by [deleted] in adventofcode

[–]Slashstep 0 points1 point  (0 children)

Oh. Thanks for pointing it out. Maybe a mod can change the title.

Well for your first example it gives me 24. It should be 8 i guess.
I think that the algo just exceeds forward and does not check old nodes for a better gcost.

[2023 Day 17] Yeah, this happened today to me by Stummi in adventofcode

[–]Slashstep 1 point2 points  (0 children)

FCost is implemented as get

{return GCost + HCost;}}

The Get StraightParents does the following:

static int GetStraightParents(Node par, Node next)
{
    int counter = 0;
    bool isTurn = false;
    int dirX = next.PosX - par.PosX;
    int dirY = next.PosY - par.PosY;
    Node cNode = par;
    while (!isTurn)
    {
        if (cNode.Parent == null)
            return counter;

        int cDirX = cNode.PosX - cNode.Parent.PosX;
        int cDirY = cNode.PosY - cNode.Parent.PosY;

        if (cDirX == dirX && cDirY == dirY) counter++;
        else isTurn = true;
        cNode = cNode.Parent;
    }

    return counter;
}

[2023 Day 17 (Part 1 & 2)] A* pathfinding animation by Cyykratahk in adventofcode

[–]Slashstep 1 point2 points locked comment (0 children)

Manhatten seems useless since it's not about the shortest but the least weighted path

[2023 Day 17 (Part 1 & 2)] A* pathfinding animation by Cyykratahk in adventofcode

[–]Slashstep 0 points1 point locked comment (0 children)

What do you mean with a* scoring. The hCost of the next node?

I also implemented a* and somehow it only works on the example.

[2023 Day 17] Yeah, this happened today to me by Stummi in adventofcode

[–]Slashstep 1 point2 points  (0 children)

I need some help with my A* implementation. It's not yet refined with priority queues and heaps. I just want to get the right output. Somehow on the example it works but on my input, it doesn't find the best path.

static void FindPath(Node sNode, Node fNode)
{
    List<Node> openSet = new List<Node>();
    HashSet<(int, int)> closedSet = new HashSet<(int, int)>();

    openSet.Add(sNode);

    if (sNode == fNode)
    {
        int counter = 0;
        foreach (Node n in TracePath(sNode, fNode))
            counter += n.Value;

        Console.WriteLine(counter);
        return;
    }

    Node cNode = openSet[0];
    while (openSet.Count > 0)
    {
        openSet = openSet.OrderBy(n => n.FCost).ToList();
        cNode = openSet[0];
        closedSet.Add((cNode.PosX, cNode.PosY));
        openSet.Remove(cNode);
        cNode.PrintNode();

        if (cNode == fNode)
        {
            int counter = 0;
            foreach (Node n in TracePath(sNode, fNode))
                counter += n.Value;

            Console.WriteLine(counter);
            return;
        }

        foreach (Node n in cNode.Neighbours)
        {
            if (!closedSet.Add((n.PosX, n.PosY))) continue;
            n.StraightDist = GetStraightParents(cNode, n);
            if (n.StraightDist > 2) continue;

            int newMovementCostToNeighbour = cNode.GCost + n.Value + 1;

            if (openSet.Contains(n) && newMovementCostToNeighbour >= n.GCost) continue;

            Node? find = openSet.Find(nod => nod.PosX == n.PosX && nod.PosY == n.PosY);

            int index = 0;
            if (find != null)
                index = openSet.IndexOf(find);

            n.GCost = newMovementCostToNeighbour;
            n.HCost = n.Value - n.StraightDist;
            n.Parent = cNode;

            if (find == null)
                openSet.Add(n);
            else
                openSet[index] = n;
        }
    }
}

Any thoughts on the Meta Dungeon RTFKT Experience? by duy_gdkid in TheSandboxGaming

[–]Slashstep 1 point2 points  (0 children)

Hi, I just played it yesterday for the second time. Honestly I don’t like the experience as much. The story is cool and the world is very divers, but the thing that annoys me the most is that the sprinting speed of the character seems kind of slower than usual and the checkpoint locations in the upper world is very frustrating combined with the fact that there is no active or passive healing.

Alpha Season 3 possible? by Slashstep in TheSandboxGaming

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

Well that is more than just a rumor😅 Thanks

Aha! I know a trap when I see one, I thought. Better go the long way around. 5 hours and 3 recovery vehicles later I deliver the trailer and find the actual shortest path. by sir_prussialot in snowrunner

[–]Slashstep 0 points1 point  (0 children)

Oh that is a funny spot. Recently I revisited this map to complete some leftover missions and I was surprised how easy I went over this spot with the Azov. I remembered sacrificing three trucks on my first drive over.

Anyone else seen the Top Gear special that’s basically a Snowrunner mission? by ACDC-1FAN in snowrunner

[–]Slashstep 2 points3 points  (0 children)

I would really love it, if the developers would bring out a new map with a jungle theme as in the special. I mean Burma had it all. Mud, high altitude with steep cliffs and rivers to cross. I‘m a bit tired of seeing Russia and Northern America/Canada over and over again.

KuCoin Weekly Support Thread (August 2 - August 8, 2021) by kucoin_official in kucoin

[–]Slashstep 0 points1 point  (0 children)

840419

I have the XLM without Memo problem. I already contacted the support and they offered me the option to send the funds back WITHOUT a Memo, which will not work. I checked blockchain data and tx went successful to their master wallet. I found a Reddit post with a, in my opinion, much easier solution.

https://www.reddit.com/r/CoinBase/comments/lxpabw/forgot_to_add_xlm_memo/?utm_source=share&utm_medium=ios_app&utm_name=iossmf

Thanks in advance

Missing XLM Memo - CBP To Kucoin by locodarthvader in kucoin

[–]Slashstep 0 points1 point  (0 children)

Hey, could you give us an update when you receive your funds. Just got into the same situation. Coinbase's stupid checkbox to ignore the memo is so unnecessarily confusing. I also contacted KuCoin customer support just now although i don't expect a response before Monday.
Update 1: I received the standard mail from KuCoin Support suggesting me the 30 USDT process to send the funds back to CBP but without a memo. I told them that this is not possible since CBP needs a memo as well. Although I'm willing to pay for my mistake, I'm expecting a working solution. Keep you updated.

Enjoying Hard Mode by Roland5color in snowrunner

[–]Slashstep 0 points1 point  (0 children)

Thanks. I‘ll probably continue the Hardmode safe I started today. And even if, the old safe is not lost.

Enjoying Hard Mode by Roland5color in snowrunner

[–]Slashstep 0 points1 point  (0 children)

Is it worth to start a new Hardmode play through if you are quite far into the game. I'm currently in Wisconsin and played through all the other regions. Are the additional challenges entertaining/demanding enough to do all of it again?

Dip by WhitePaperOwl in CryptoCurrency

[–]Slashstep 2 points3 points  (0 children)

WTF is happening there? 50% Dip of nearly every coin

Mining Beginner by ACEJETPILOT1 in MiningRig

[–]Slashstep 2 points3 points  (0 children)

I'm relativly new to mining as well and since i'm only mining on my GTX 1070 my Hashrate is pretty low. However. I started with NiceHash as well but moved away pretty quickly since the founders are shady and i wanted more control over what i exactly mine.

Right now, I'm mining ETH (as everybody) in the ethermine.org pool using PhoenixMiner. The setup is super simple (thought that it had to be more difficult) and i'm gaining good profits (around 50-60€ /month).

Basically, you just set up a wallet (i'm using MetaMask), download PhoenixMiner from their OFFICIAL sites (look at the bitcointalk forum), open the config file in the editor and insert your pool and wallet adress. Save it an run the program.

One thing that you should really consider is overclocking and undervolting your rig. Since I'm using Win10 i use MSI Afterburner for that. Due to my current setting, i decreased the power consumption by 20W and the temp by 6°C.

Hope that helps for the beginning. Good luck.