Compiler vs Interpreter vs Transpiler

Compiler – compiles code to a lower level code. Example: “Developer code” -> “Machine code” PHP -> C Java -> bytecode Transpiler – compiles code to same level of code/abstraction. Example: “Developer code” -> “Another developer code or version” JavaScript ES2015+ -> JavaScript ES5 Interpreter – interprets code, not really in the same class/league/context with … Read more

Why does GitHub call foreign submissions, a “Pull Request”?

The term “pull requests” comes from the distributed nature of how many open source projects organize themselves. Instead of just pushing your changes into the repository (like you would do with a centralized repository, e.g. with Subversion), you are publishing your changes separately and ask the maintainer to pull in your changes. The maintainer then … Read more

What constitutes a fold for types other than list?

A Fold for Every Occasion We can actually come up with a generic notion of folding which can apply to a whole bunch of different types. That is, we can systematically define a fold function for lists, trees and more. This generic notion of fold corresponds to the catamorphisms @pelotom mentioned in his comment. Recursive … Read more

VimScript or VimL?

After grepping through official documentation, it seems that “Vim script” is the “most” official name since nowhere is “VimScript” mentioned in regular sentences. GetLatestVimScripts is often mentioned, but this is a script name where no underlines are allowed. I’d guess VimL is just an abbreviation for Vim Language (Vim script). It was probably coined some … Read more

Perfect forwarding – what’s it all about? [duplicate]

http://www.justsoftwaresolutions.co.uk/cplusplus/rvalue_references_and_perfect_forwarding.html Why is this useful? Well, it means that a function template can pass its arguments through to another function whilst retaining the lvalue/rvalue nature of the function arguments by using std::forward. This is called “perfect forwarding”, avoids excessive copying, and avoids the template author having to write multiple overloads for lvalue and rvalue references.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)