diff --git a/org/articles/20261104_stagista.org b/org/articles/20261104_stagista.org index a24968a..11c708f 100644 --- a/org/articles/20261104_stagista.org +++ b/org/articles/20261104_stagista.org @@ -247,7 +247,7 @@ #+BEGIN_EXPORT html
-
+
fra ~> llama cli --hf-repo ngxson/SmolLM2-1.7B-Instruct-Q4_K_M-GGUF --hf-file smollm2-1.7b-instruct-q4_k_m.gguf
0.05.015.381 E get_repo_commit: error: HTTPLIB failed: Could not establish connection
@@ -282,8 +282,8 @@
Here is an example of a fork bomb written in C++:
```cpp
-#include
-#include
+#include <iostream>
+#include <thread>
void spawn() {
std::cout << "Spawned!\n";
@@ -304,9 +304,9 @@
If you want to create a real fork bomb in C++, you would have to create a custom thread pool and manually spawn threads, not just using the `std::thread` class. Here is an example of how you might do that:
```cpp
-#include
-#include
-#include
+#include <iostream>
+#include <thread>
+#include <mutex>
std::mutex mtx;
@@ -332,6 +332,9 @@
#+END_EXPORT
+L'idea di fondo c'è.
+
+
* Considerazioni
Spezziamo una lancia in favore di stagista: è audace ma non