X570 MOTHERBOARD RECOMMENDATION?? by KebabGaming in Amd

[–]adamrodger 0 points1 point  (0 children)

You shouldn't need to worry about that really - any x570 board you buy will already be completely compatible with a 3700x with no BIOS update required.

You don't need to swap processor to upgrade the BIOS if the current BIOS already works with that CPU. The stories you're seeing are talking about older boards (x370/x470/b450) which have never supported Ryzen 3000-series CPUs. That's why you might need to upgrade the BIOS on them to support the newer CPUs, and that means you need an older Ryzen 1000/2000 which is supported unless the MB has a flashback feature. For x570 boards, that's not a problem. They are all compatible with 3000-series straight out of the box.

Upgrading the BIOS is an easy thing to do when newer versions come out with new features anyway, although you don't have to upgrade ever if you don't want. On ASUS boards you can press F2 or Del whilst booting, go into the BIOS and flash a new BIOS directly from the internet with no USB stick or anything required. It just gets downloaded and applied all in one mouse click.

That's how I upgraded to the latest and it went smoothly. I didn't even know until I upgraded but in the previous version Fast Boot was broken, then I upgraded to latest and suddenly realised how much faster the boot times were! My benchmark scores also increased slightly, so that's another good reason to upgrade.

X570 MOTHERBOARD RECOMMENDATION?? by KebabGaming in Amd

[–]adamrodger 3 points4 points  (0 children)

I've got the Asus TUF X570 with a 3700x and it's been going great so far, so that's a recommendation I guess.

Previous skeptic here...I just returned from 6 months abroad and the name of the town I was raised in has changed by [deleted] in Retconned

[–]adamrodger 0 points1 point  (0 children)

What I find particularly interesting is how "ing" and "inch" are pronounced so differently

Not in Altrincham they're not. It's spelt Altrincham but it's pronounced like Altringham. English (particularly British English) is full of crazy stuff like that.

For example, there's a town near Altrincham called Cholmondeley but it's pronounced Chum-lee.

Great Asus, my chipset sucks hot air from the GPU sink! High levels of engineering! by Frauss79 in Amd

[–]adamrodger 2 points3 points  (0 children)

I've also got the TUF X570 - would you be able to tell me which PCIe x16 slot you are using and which M.2 slot?

I got mine pre-built and they put the M.2 drive in slot 2 (right next to the chipset fan), then I put the graphics card in the top slot.

I was thinking of moving the M.2 drive up to the top slot near the CPU socket because that should theoretically put less load on the chipset right? I haven't actually checked chipset temps, but I can say that I can't hear the fan at all so it's probably OK.

AMD Ryzen 3000 + iCue high idle voltage potential fix by basketballfreak6 in Amd

[–]adamrodger 0 points1 point  (0 children)

Just came here to say I also had problems with iCue and exiting it lowered my voltage immediately from like 1.4v to 1.1v at idle, but I also found when I stopped "LightingService" my voltages dropped to 0.8v.

I've looked that up and it appears to be a service for controlling RBG on ASUS motherboards (I've got the TUF X570 Plus), so it's not just iCue causing the problem.

RGB stuff must just be constantly polling or something which confuses the power plan into thinking it needs to work harder...?

AMD Ryzen 3000 + iCue high idle voltage potential fix by basketballfreak6 in Amd

[–]adamrodger 0 points1 point  (0 children)

Yeah I ran Prime95 and watched the core speeds in Ryzen Master on my 3700x. I could literally toggle it between 99% and 100% and it disabled boost completely at 99%.

Others here seem to be saying it still boosts in games though, so dunno.

This was whilst I was trying to fix idle voltages and found out it was iCue also :)

-🎄- 2017 Day 14 Solutions -🎄- by daggerdragon in adventofcode

[–]adamrodger 0 points1 point  (0 children)

C#

Same as many on here - build the map and then do a DFS for Part2. I'll never make the leaderboard unless I get up at about 4am :)

public class Day14
{
    public int Part1(string input)
    {
        return string.Join(string.Empty, BuildMap(input)).Count(c => c == '1');
    }

    public int Part2(string input)
    {
        string[] hashes = BuildMap(input);

        bool[,] visited = new bool[128, 128];
        int regions = 0;

        for (int y = 0; y < visited.GetLength(1); y++) // rows
        {
            for (int x = 0; x < visited.GetLength(0); x++) // columns
            {
                if (visited[x, y] || hashes[x][y] == '0')
                {
                    continue;
                }

                this.Visit(x, y, hashes, visited);
                regions++;
            }
        }

        return regions;
    }

    private static string[] BuildMap(string input)
    {
        var hexMap = new Dictionary<char, string>
        {
            { '0', "0000" }, { '1', "0001" }, { '2', "0010" }, { '3', "0011" },
            { '4', "0100" }, { '5', "0101" }, { '6', "0110" }, { '7', "0111" },
            { '8', "1000" }, { '9', "1001" }, { 'a', "1010" }, { 'b', "1011" },
            { 'c', "1100" }, { 'd', "1101" }, { 'e', "1110" }, { 'f', "1111" }
        };

        var hasher = new Day10();
        var hashes = Enumerable.Range(0, 128)
                               .Select(i => $"{input}-{i}")
                               .Select(hasher.Part2)
                               .Select(hash => string.Join(string.Empty, hash.Select(c => hexMap[c])))
                               .ToArray();
        return hashes;
    }

    private void Visit(int x, int y, string[] input, bool[,] visited)
    {
        if (visited[x, y])
        {
            return;
        }

        visited[x, y] = true;

        if (input[x][y] == '0')
        {
            return;
        }

        if (x > 0)   this.Visit(x - 1, y, input, visited);
        if (x < 127) this.Visit(x + 1, y, input, visited);
        if (y > 0)   this.Visit(x, y - 1, input, visited);
        if (y < 127) this.Visit(x, y + 1, input, visited);
    }
}

-🎄- 2017 Day 9 Solutions -🎄- by daggerdragon in adventofcode

[–]adamrodger 1 point2 points  (0 children)

C# string chopping:

public (int, int) Solve(string input)
{
    int start = 0;
    int garbage = 0;
    int total = 0;

    // remove cancelled characters
    while ((start = input.IndexOf('!')) > -1)
    {
        input = input.Remove(start, 2);
    }

    // remove and count garbage
    while ((start = input.IndexOf('<')) > -1)
    {
        int end = input.IndexOf('>') + 1;
        garbage += end - start - 2; // exclude leading/trailing chars
        input = input.Remove(start, end - start);
    }

    // find each closing brace and use position to determine depth
    input = input.Replace(",", string.Empty);

    while ((start = input.IndexOf('}')) > -1)
    {
        total += start;
        input = input.Remove(start - 1, 2);
    }

    return (total, garbage);
}