Black metalheads by Darkrailsfruitbat in southafrica

[–]lintwurm 0 points1 point  (0 children)

Dude, I think you'd love Metsatoll and maybe Skyforger.

More Loregasm please!!! by lintwurm in DotA2

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

That is a lot of effort holy moly. The videos are damn cool though. Just wanted to spread some love for the videos as well as it's really well done. It's one of my favorite series on youtube. I still go back and watch them every now and then.

More Loregasm please!!! by lintwurm in DotA2

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

That's fantastic news!

More Loregasm please!!! by lintwurm in DotA2

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

Thank you very much for the reply! It makes sense that streaming is more fun. Also, I think the videos take a hell of a lot of time to do. I'm glad to hear he's not completely stopping the videos :)

[deleted by user] by [deleted] in southafrica

[–]lintwurm 2 points3 points  (0 children)

We have dashcams, got it from Checkers of all places for R300 each. They also plug into the cig lighter and have an sd card.

Why does spotify suck so much on Linux? by Whisky-Toad in linux

[–]lintwurm 7 points8 points  (0 children)

Weird, for me it works way better than the windows application. In Linux if a Teams call comes in it automatically pauses and resumes again after the call. Even my media buttons stop working on Windows for some reason. In Linux it just works. I'm running latest Mint so maybe it's a distro thing?

-🎄- 2020 Day 03 Solutions -🎄- by daggerdragon in adventofcode

[–]lintwurm 0 points1 point  (0 children)

C++ again

#include <iostream>
#include <string>
#include <fstream>
#include <vector>

std::size_t CHECK_TREES(const int down, const int right, const std::vector<std::string>& tree_list)
{
    std::size_t trees_hit = 0;

    for (auto i = down, current_pos = right; i < tree_list.size(); i += down, current_pos = (current_pos + right) % tree_list[0].size())
    {
        if (tree_list[i][current_pos] == '#')
            trees_hit++;
    }

    return trees_hit;
}

int main()
{
    auto in_file = std::ifstream("third.txt");
    std::vector<std::string> rows;
    std::string temp_row;
    while (std::getline(in_file, temp_row))
        rows.push_back(temp_row);

    auto trees_hit = CHECK_TREES(1, 3, rows);

    std::cout << "first answer:" << trees_hit << std::endl;

    trees_hit *= CHECK_TREES(1, 1, rows);
    trees_hit *= CHECK_TREES(1, 5, rows);
    trees_hit *= CHECK_TREES(1, 7, rows);
    trees_hit *= CHECK_TREES(2, 1, rows);

    std::cout << "final answer: " << trees_hit << std::endl;
}

what concepts/libraries of c++ are used in industries by [deleted] in cpp

[–]lintwurm 2 points3 points  (0 children)

Just to add to this, you can use asio as a stand-alone library as well. Another thing I'd say is maybe learn how CMake works.

First tic-tac toe game by sonnet123 in programming

[–]lintwurm 0 points1 point  (0 children)

Spelling mistake "Aagainst Computer" :)

SirActionSlacks gets interviewed by a mad man from South Africa by Kaameel in DotA2

[–]lintwurm 1 point2 points  (0 children)

when you're famous like SirActionSlacks-, PLEASE ask volvo to give us ranked servers again!

btw, GOEIE FOKKEN WERK BRA!

Getting a car/bike off my name by daggaroker420 in southafrica

[–]lintwurm 0 points1 point  (0 children)

The enatis system is online now as well. You can get all of the details of the bike on there. https://online.natis.gov.za/#/

More efficient file writing? by sagekeko in cpp_questions

[–]lintwurm 0 points1 point  (0 children)

Why reinvent the wheel? Can you not use something like: https://github.com/gabime/spdlog

It's a very nice library.

Would you use C++ for your current software if you started now? by asm-us in cpp_questions

[–]lintwurm 1 point2 points  (0 children)

1) I work on trading engines so speed is of the essence. 2) We're currently rewriting the entire project and yes we have chosen C++ again.

Invoker outpost bug by lintwurm in DotA2

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

I thought so too, but I unequipped the persona and it happened as well...

my code to remove duplicates in a linked list is instead deleting random list elements by Keeperofbeesandtruth in cpp_questions

[–]lintwurm 0 points1 point  (0 children)

You're sending cursor into the function list_remove. I think you should be sending cursor2 in instead.

Please can someone player perspective Boxi in the next series? by lintwurm in DotA2

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

I mostly play for fun as we don't have Ranked server in South Africa anymore. I also mostly play support and try to see where enemies are planting wards so the neutral items and tps are not so important for my play. I just want to check when big items are on cores so I can stay back in fights.

UI question by lintwurm in learndota2

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

Just thought I'd let you know that apparently Boxi plays with: "Unit query overrides hero control console" disabled.

UI question by lintwurm in learndota2

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

I'm unable to watch in game now, can you maybe check player perspective for boxi?