Changes the symlink `python3` to point to `python3.9`:
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1
Projects and thoughts of a CS grad student at UFCG (Brazil).
Changes the symlink `python3` to point to `python3.9`:
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1
Parcel's hot module replacement (HMR) either doesn't detect or only detects the first time a static file changes when using the Geany text editor.
Geany uses by default a feature called "safe write" in the Parcel documentation and "atomic file saving" in the Geany documentation. When this is enabled, instead of simply overwriting the file being saved, Geany writes to a separate temporary file and then subsequently renames this temporary file to the existing file name. In this manner, it aims to avoid data loss if the writing is interrupted for some reason.
Now Parcel will detect changes properly.
https://wiki.geany.org/config/all_you_never_wanted_to_know_about_file_saving
C | C++ (>=11) |
---|---|
#define | const X |
malloc, calloc, free | new/delete |
Raw pointers | RAII and smart pointers |
Procedural | Procedural, modular, object-oriented and generic |
Return large resources by pointers | Return large resources by value (rely on RVO and move semantics) |
Raw array | std::vector, array |
char* strings | std::string |
stdio.h | iostream |
void* | templates |
setjmp/longjmp/goto | Exceptions |
. . . | . . . |