mormegil

joined 2 years ago
[–] [email protected] 53 points 2 weeks ago (1 children)
[–] [email protected] 78 points 9 months ago (9 children)

Tells you exactly what and at which line the problem is?

Syntax error: unmatched thing in thing from std::nonstd::__map<_Cyrillic, _$$$dollars>const basic_string<epic_mystery,mongoose_traits<char>, __default_alloc_<casual_Fridays = maybe>>

[–] [email protected] 13 points 9 months ago* (last edited 9 months ago) (1 children)

Sure, strtok is a terrible misfeature, a relic of ancient times, but it's plainly the heritage of C, not C++ (just like e.g. strcpy). The C++ problems are things like braced initialization list having different meaning depending on the set of available constructors, or the significantly non-zero cost of various abstractions, caused by strange backward-compatible limitations of the standard/ABI definitions, or the distinctness of vector<bool> etc.

[–] [email protected] 10 points 10 months ago

Beware the DWIM!

In one notorious incident, Warren added a DWIM feature to the command interpreter used at Xerox PARC. One day another hacker there typed delete *$ to free up some disk space. (The editor there named backup files by appending $ to the original file name, so he was trying to delete any backup files left over from old editing sessions.) It happened that there weren't any editor backup files, so DWIM helpfully reported *$ not found, assuming you meant 'delete *'. It then started to delete all the files on the disk!

http://www.catb.org/jargon/html/D/DWIM.html

[–] [email protected] 31 points 11 months ago

It's not as easy as it sounds, sometimes the screens are all wrong!! https://xkcd.com/722/

[–] [email protected] 3 points 1 year ago

That's against the terms of math :-)

[–] [email protected] 3 points 1 year ago (2 children)

It will not "overflow". Signed integer overflow is undefined behavior. The compiler could remove the whole loop or do anything else imaginable (or not).

[–] [email protected] 3 points 2 years ago

Oh, and you can do that even in the official application? I thought it was impossible to be logged into multiple Teams accounts at the same time! (That was one of the reasons I was using Teas in a browser, being able to open another instance in a private window.) Or did they finally fix that, at least?

[–] [email protected] 4 points 2 years ago (4 children)

Access Teams? Do you need anything more than opening the Teams web app in a browser?

 

After choosing what I wanted to do in the first step of the developer satisfaction survey, I have to check that I did complete the task successfully (presumably thanks to their great support website), otherwise, I cannot continue, “This question requires an answer”.

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago)

Syntax error: unmatched thing in thing from std::nonstd::__map&lt;_Cyrillic, _$$$dollars>const basic_string&lt; epic_mystery,mongoose_traits, __default_alloc_>

(from James Mickens' The Night Watch, highly recommended with his other essays: https://mickens.seas.harvard.edu/wisdom-james-mickens)

[–] [email protected] 4 points 2 years ago* (last edited 2 years ago) (2 children)

uMatrix browser extension. It has been marked archived by Gorhill, last release is two years old, you are supposed to just use uBlock [Origin]. However, it still (luckily) works fine and is exactly what I want. (Sure, I won't install this for my parents.) The GUI to simply choose what you want the site to be allowed to do is perfect.

view more: next ›