(there aren't many viruses for Linux around – there are a few, but they're still really rare – but Linux antiviruses normally recognise and tell you about Windows viruses too)
Anti-malware software is similar to anti-bacterials in a lot of ways, which makes malware a lot like harmful bacteria. the more a given antimalware/bacterial is used, the less effective it becomes as malware/bacteria adapt around it. Difference is we can update anti-malware, we can't so easily "update" penicillin.
@Challenger5 according to this (PDF, page 14), there was a worm which managed to get itself to match the EICAR test file signature, so that people thought it was harmless
I've had this issue in my own work, people saying "the language you're designing is too weird, why not just use C instead", and me having to counteract by pointing out that C is missing some features, and is very clunky for other things (e.g. function pointers)
because my job is to take programming techniques that have never worked before (typically because they've only just been invented), and try to make them work in at least a "small demonstration" sense
@Phoenix the basic idea of bounded intersection typing is that if something is only evaluated finitely many times, and this can be determined at compile time, you can make an explicit list of each type it's evaluated with
@Phoenix they can contain unfortunate amounts of filler because a) they tend to get nitpicked a lot, and b) different people have different ideas of what's mandatory in a thesis and you need to try to satisfy them all simultaneously
the way I personally get a working C compiler on Windows is to install Strawberry Perl; not only is it a working Perl implementation, it comes with a fully-set-up command-line C compiler
on Windows at the moment, there are three commonly used incompatible versions (MSVC-based, mingw-based, cygwin-based), together with lots of minor ones that nobody really cares about
Microsoft Visual C++ (often abbreviated to MSVC) is an integrated development environment (IDE) product from Microsoft for the C, C++, and C++/CLI programming languages. MSVC is proprietary software; it was originally a standalone product but later became a part of Visual Studio and made available in both trialware and freeware forms. It features tools for developing and debugging C++ code, especially code written for Windows API, DirectX and .NET Framework.
Many applications require redistributable Visual C++ packages to function correctly. These packages are often installed independently ...
anyway, the biggest problem in programming for Windows is that the system libraries – which any program needs to do anything, because they're the way you communicate with the OS – don't ship with Windows, like they do on any sane OS
so you're meant to ship them with your executable, and they have a license letting you do that, which means you need complex installer programs to make things work
Windows does have an intended-for-internal-use-only system library that's on every system, but it's somewhat buggy and unmaintained
@feersum is this commercial software? they normally subcontract their installer creation to a commercial installer creator company, and those have features for automatically bundling dependencies
you often see the installers run recursively, it's fairly amusing
I don't know what the word "compiler" even mean. I use codeblocks+MinGW, and have a file named sandbox.c, and I just open it and code and build and run.
Andrew is a chemist, interested in the acidity of solutions. After months of research (Google is not his friend), he came up with the following table* regarding the human-readable level of acidity in terms of the pH (potential of Hydrogen):
Denomination | pH range
...
Your challenge: Write a function that takes a string s, a character c, and finds the length of the longest run of c in s. The length of the run will be l.
Rules:
If s is of length 0 or c is empty, l should be 0.
If there are no instances of c in s, l should be 0.
Standard loopholes and Standar...
Whenever I visit any page here on PPCG meta, to the left of the "review" link, is a small brown rectangle with a white number 4 on it, and hovering it says "4 total posts awaiting review". The link goes to https://codegolf.meta.stackexchange.com/review, but there aren't any Meta reviews currently...