Skip Navigation
Jump
Easy choice
  • 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>>

    77
  • Jump
    C++
  • 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.

    13
  • Jump
    Of course
  • Int3 is a special single-byte (CC, if I recall correctly) form of the INT instruction (which is CD imm8, I think) to raise an interrupt. Interrupt #3 is the debugging interrupt, so by overwriting any instruction with CC, you place a breakpoint there.

    3
  • Jump
    gut pull
  • 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

    10
  • Jump
    He revealed the secrets !
  • It's not as easy as it sounds, sometimes the screens are all wrong!! https://xkcd.com/722/

    31
  • Jump
    Your Average IT Department Budget
  • In a bank we work for, there is a mandatory security training for employees, mandated by the parent supranational. The bank tried to correct the mistakes in the training or at least make the training optional, as the bank provides its own, more correct program. Rejected by the mother company, mandatory training is mandatory, even if it is wrong.

    4
  • Jump
    DateTime
  • When you're saying Unix time does not include leap seconds, you are making exactly the wrong conclusion. Unix time is not a monotonically increasing number of seconds since the Epoch, because it excludes those seconds which are marked as leap seconds in UTC. I.e. the time between now and the Epoch was larger than the current Unix time shows (by exactly the number of leap seconds in between). See e.g. https://en.wikipedia.org/wiki/Unix_time#Leap_seconds

    1
  • Jump
    DateTime
  • Well... unless you measure the number of [milli]seconds using something like time_t, which lies because of leap seconds. I.e. even such a seemingly simple interface, in fact, includes a calendar.

    6
  • Jump
    isEven API
  • That's against the terms of math :-)

    3
  • Jump
    The future is now
  • Yeah, it's working now for me as well, probably just some temporary problem.

    1
  • Jump
    The future is now
  • Yeah, that's why unlocalize.com exists (or... existed? Dunno, seems down from here!) Or you can have used the official Microsoft Language Portal... until they removed it and replaced it with the worse https://learn.microsoft.com/en-us/globalization/reference/microsoft-language-resources (but it's still usable, I guess...)

    13
  • Jump
    I mean it could be right
  • It will not "overflow". Signed integer overflow is undefined behavior. The compiler could remove the whole loop or do anything else imaginable (or not).

    4
  • Jump
    What non-FOSS software are you using that you wish you could replace?
  • 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?

    3
  • Jump
    What non-FOSS software are you using that you wish you could replace?
  • Access Teams? Do you need anything more than opening the Teams web app in a browser?

    4
  • 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”.

    2
    Jump
    Writing C++ is easy.
  • 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>>

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

    9
  • Jump
    ways to close vim
  • There's a whole repo of possible methods: https://github.com/hakluke/how-to-exit-vim

    4
  • Jump
    In your opinion, which FOSS software is by many considered "old" or "obsolete", but are in fact, in your opinion, in many ways better than the newer alternatives?
  • 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.

    1