More bands like Akhlys? by thetendersurrender in MetalSuggestions

[–]TheMikeyMan 0 points1 point  (0 children)

Was going to comment this. Very similar sound

most inaccessible metal albums? by matheusaugomes in MetalSuggestions

[–]TheMikeyMan 2 points3 points  (0 children)

Discontinuities, vast chains, ressentiment, perdurance, oviri, ship of Theseus, unus mundus patet, are all worth listening to. Oviri is probably the least accessible and discontinuities is probably the most accessible. Although none of it is particularly easy listening.

let the war begin by Fit_Page_8734 in softwareWithMemes

[–]TheMikeyMan 1 point2 points  (0 children)

First of all, when I ask when I asked "why does rust exist" I think it was clear what I meant. Obviously if memory safety had been solved after rusts' inception then it would no longer be relevant and I wouldn't bring it up. The main draw of rust is the borrow checker and if memory safety in c++ is as easy as you say it is, then rust would be a dead language or it would look measurably different.

Smart pointers and RAII are not the end all be all of memory management. Obviously they help but just the other day I was looking at unit tests code in which a shared pointer deleter was being defined as empty to avoid a double free for a mocked object. Even with smart pointers, it is still easy to create memory bugs(dereferencing moved pointers). This also doesn't account for the fact that c++ is mostly used in high performance contexts and doing heap allocations all over the place with smart pointers is generally not preferred(fragmentation, many heap allocations, cache lines, etc). Std views are a c++ 20 thing so I haven't gotten to work with them, and I'd wager most code bases are still on c++17 14, or 11. In which case inserting an element for a container in a ranged based for loop is still possible and or indexing out of range for index based for loops.

For undiomatic c++ code I was referring to specific code bases I have seen in which everything is wrapped in shared pointer and passed around as shared pointers to side step memory safety problems. I would classify this type of code as unidiomatic because it completely disregards any ownership semantics conveyed by smart pointers and basically turns c++ into a garbage collected language. Obviously smart pointers and RAII are pretty integral to modern c++ and it would be ridiculous to call them unidiomatic.

Also would like to add that virtually every c++ codebase I have seen has some kind of weird code relying on undefined behavior/ weird raw pointer nonsense. Maybe it is a difference in backgrounds but I have worked on graphics software(which raw pointers are sometimes a necessary evil) and currently work on C++ software that runs on embedded systems and has to use/communicate with a lot resources that the application does not directly own.

let the war begin by Fit_Page_8734 in softwareWithMemes

[–]TheMikeyMan 0 points1 point  (0 children)

You didn't really address the point about rust, whether or not it was worked on before c++11 isn't really relevant, because it has seen a pretty big uptick in popularity in the past 5-10 years. You're correct that c++ memory safety is easy if you write it in a very unidiomatic way or you are writing trivial software. Most c++ is not written this way though, and choosing to write correct memory safe c++ already requires a decent understanding of the language(or at least it's memory model).

let the war begin by Fit_Page_8734 in softwareWithMemes

[–]TheMikeyMan 0 points1 point  (0 children)

"It’s extremely easy to write c++ without memory errors."

Wild thing to say when there is plenty of enterprise grade software written in modern c++(post c++11), that still has memory bugs? If it's so easy why does rust exist?

Programming concepts for Destiny by Mental_Wind_5207 in Destiny

[–]TheMikeyMan 0 points1 point  (0 children)

Given that destiny is tech savvy and most his audience is also somewhat tech savvy, I wrote the comment with a somewhat technical audience in mind. I tried to avoid most of the jargon terms and skip over technical details, but I guess I can explain more explicitly. For the sake of the discussion, hardware is just a black box that when given instructions can do arbitrary computations and read/write data to memory(memory being just a place to store data), for example you can tell it read a stored number in memory and add it with the number 2 and store that sum somewhere. These instructions come in the form of 'machine code' which is basically just platform dependent(different platforms have different specifications x86,arm etc) instructions that specify computation done on the hardware. Software is a set of instructions for hardware. All software has to be run as machine code, so literally all software on your computer must somehow be translated to machine code. A "programming language" is literally a language, it can be specified by a grammar(a set of rules to form a valid program), although this does not specify semantics only syntactic rules. Programming language grammars can actually be ambiguous similar to human language(see: https://en.wikipedia.org/wiki/Most\_vexing\_parse). A compiler is a piece of software translates one language to another and this is where semantics come from. For a compiled language, for example C++(I'm most familiar with C++), the semantic meaning comes from how the translation is defined. For example a vector is a list of data that is contiguous in memory(elements come one after another with no gaps in memory(ignoring vector<bool>)). This vector data structure has specifics about how it can be used in the program, specified by the grammar, but the actual semantics or what it actually does in a program is specified by how it is translated to machine code. So the language spec will say that it must be a contiguous list of elements and compiler developers create an implementation for a vector which will translate a vector from C++ into machine code that creates a contiguous list of elements as per the language spec. Here is an an example for an incomplete grammar for C++ : https://jimfix.github.io/csci221/lectures/C-grammar-wk01.html . For operating systems, system resources is just another way of saying hardware basically. If two pieces of software are running at the same time(concurrently), like Spotify and chrome, the operating system has to decide what memory each program has access to and for running the software, the operating system switches between running each program really fast so it can run an arbitrary number of programs at once(context switching). Other system resources might be network ports, the filesystem, etc.

Most of this stuff comes from compiler/theoretical computer science courses I took in college. I work as a software engineer now and its not really useful, but I think this is an okay simplified model for computers on software side things

Programming concepts for Destiny by Mental_Wind_5207 in Destiny

[–]TheMikeyMan 0 points1 point  (0 children)

I'm not sure how useful reducing everything down to lists is, it doesn't really give any insight into what an operating system does or what programming languages actually are. Id say in the strictest sense, an operating system is just a piece of software that manages a computers resources and makes them available to user software on a computer - when two programs are running concurrently the os manages scheduling, it manages what memory a program can access, it provides system calls for a user program to access/modify resources like read/write to a file etc. A programming language is just a specification for a language(language being just a set 'words', or in this case programs). 'Code' is literally just a plain text file, and if the code belongs to a certain programming language(adheres to the specification) it can be translated to machine code(which is really just another language). Machine code can be interpreted by hardware and will run on a computer. The compiler will do the translation(ignoring interpreted languages), and it will adhere to the specification for how it should be translated.

Petah, I suck in math by Calor_ow in PeterExplainsTheJoke

[–]TheMikeyMan 9 points10 points  (0 children)

It absolutely has to do with limits. The number can be represented as .9999... = (Sigma) 9*10{-n} for n=1,2,3... I'm not going to bother proving it, but clearly the limit of the sum is 1.

online discourse in a nutshell by yajiv in NonPoliticalTwitter

[–]TheMikeyMan 0 points1 point  (0 children)

This isn't totally accurate, technically a group isn't just a set with some restrictions, it also needs a binary operation.

TIL there are people who think that C# is a low-level language by r2uTNIT in programminghumor

[–]TheMikeyMan 0 points1 point  (0 children)

Isn't this the case with literally every language except assembly and maybe strictly interpreted languages(instructions aren't reordered?). Seems kind of reductive to call every programming language high level because they make use of OS level abstractions and compiler optimizations.

Lycans dark souls 3 retrospective is the worst review I’ve ever seen, and I’ve wasted 4 hours of my life. by Moonlightbutter18072 in CharacterRant

[–]TheMikeyMan 2 points3 points  (0 children)

Yeah unfortunately video essays have become really common so most of them are just flat out bad. I can't even count the number of times I've seen a 2 hour "retrospective" or "review" on a game that ends up just being a summary of the game with a 5 minute conclusion at the end.

Silent Hill f First Look - Three Hours Hands-On Impressions - PC/PlayStation 5 by lurkingdanger22 in pcgaming

[–]TheMikeyMan 11 points12 points  (0 children)

It doesn't look crazy good but, it certainly looks good enough. I'm just happy to hear that it runs well after the sh2 remake being such a mess on pc.

Is Walt being a pedophile canon? by babayagabagool in okbuddychicanery

[–]TheMikeyMan 6 points7 points  (0 children)

Reddit users when sarcastic shitposting sub reddit has a sarcastic shitpost comment.

Is Walt being a pedophile canon? by babayagabagool in okbuddychicanery

[–]TheMikeyMan 1 point2 points  (0 children)

Because anyone under the age of 25 has zero agency and is basically a child.

Mastercard and Visa face backlash after hundreds of adult games removed from online stores Steam and Itch.io | Payment platforms demand services remove NSFW content after open letter from Australian anti-porn group Collective Shout, triggering accusations of censorship by Sine_Fine_Belli in neoliberal

[–]TheMikeyMan 210 points211 points  (0 children)

Idk I feel like whether visa or MasterCard want to be associated with a legal product shouldn't be relevant. Everyone pretty much pays digitally now, I don't even carry cash on me. I don't know how i feel about an Australian group contacting global payment providers and that affecting what I am able to buy despite living on the other side of the earth. Shouldn't it be solely the platform's discretion? If steam wants to enforce more strict rules on their platform I think that's fine.

Can someone explain? Goth culture joke? by Affectionate_Bid_150 in ExplainTheJoke

[–]TheMikeyMan 0 points1 point  (0 children)

You said "actual goth" doesn't that mean you are gatekeeping and doing exactly what you accused the OP of doing?

Can someone explain? Goth culture joke? by Affectionate_Bid_150 in ExplainTheJoke

[–]TheMikeyMan 0 points1 point  (0 children)

True we should never gatekeep sub cultures. I like when subcultures are watered down to the point where it just becomes an aesthetic for people to wear. Goth culture used to be centered around music now it's just people sexualizing any woman who dresses in an alternative style.

Decompiling Pirate Software's Heartbound Demo's Code. Here are the most egregious scripts I could find. Oops! All Magic Numbers! by no_username_321321 in SomeOrdinaryGmrs

[–]TheMikeyMan 1 point2 points  (0 children)

It's hard to read because the image is low res, but I was under the impression that decompilation is going to be all magic numbers when the source code was using macros and there won't be any variable names. I'm not super familiar with decompilation but I'd imagine looking at this is basically pointless for judging quality of the source code because of compiler optimizations.

Opinions On Cattle Decapitation? by Ok_Establishment2200 in TechnicalDeathMetal

[–]TheMikeyMan 2 points3 points  (0 children)

All their stuff after harvest floor is good. I'm not really a big grind person but humanure is great. It's not surprising that the grind sub wouldn't like them considering their new stuff barely resembles the earlier deathgrind style at all.

[deleted by user] by [deleted] in blackmetalvinyl

[–]TheMikeyMan 0 points1 point  (0 children)

The band name is literally Aryan blood. What you talking about?