Here is a nice example how to use profile guided optimization for Go languange.
TLDR: use main language of the project to write scripts.
+1
+2
:)
Additional couple of remarks:
- at some moment you can think about writing tests;
- at some moment you need to reuse something else from the project (also it’s possible to duplicate\reimplement something from the project using scripting language);
- at some moment you can think about integrating functionality implemented inside the script to the main project (admin endpoint\UI\background job\etc).
That’s why it’s better to write additional logic not using a script but using the main language from the very beginning.
MIT course
If you face this issue working with WSL, the root cause of the problem is invalid current directory.
How to fix it:
- open powershell
- select home directory
wsl -d DISTRO --cd ~
where DISTRO is the name of the distribution, that can be obtained
wsl -l
Nice article about the topic.
A couple of notes about static and dynamic types
Here you can read about
- an excellent example of how to use git refs in practice.
- a nice way to track the experiments (ML related for example).
Interesting reading about link imbalance:
Here is a nice instruction how to migrate wsl to another drive.
A couple of nuances:
- When you export the image there is no need to define the version of WSL. But for the import you should do it (if you use version 2 for example), by using the version parameter, otherwise, you will get a confusing error about an incorrect parameter.
- To define the default user you should use the command that may vary depending on the os version. For example, for Ubuntu 20.04 the command looks like ubuntu 2004, not ubuntu.
Here is the list of general/algo/system design questions:
- coding-interview-university
- build-your-own-x
- tech-interview-handbook
- how-to-secure-anything
- javascript-algorithms
- how-web-works
- algorithms-javascript
- system-design-primer
- awesome-interview-questions
- olshansk-interview
Golang 11. learngo
Javascript 12. clean-code-javascript 13. javascript-questions