diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-10-31 13:48:54 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-10-31 13:48:54 +0100 |
| commit | fd3a6a3730d4078f6be4239a9c24c9747ef9d555 (patch) | |
| tree | 074768d86f2d00c4c84410c61e71f5c55e08dc4c /public/index.xml | |
| parent | 7155ee3591cf1e610ec5e0f3de1c75be86cf0993 (diff) | |
| download | mitjafelicijan.com-fd3a6a3730d4078f6be4239a9c24c9747ef9d555.tar.gz | |
Theme update
Diffstat (limited to 'public/index.xml')
| -rwxr-xr-x | public/index.xml | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/public/index.xml b/public/index.xml index e116c7f..5ab7594 100755 --- a/public/index.xml +++ b/public/index.xml | |||
| @@ -1027,11 +1027,6 @@ but at the end of the day, I truly believe it’s worth it.</p> | |||
| 1027 | <p>I still reject calling <a href="https://www.typescriptlang.org/">Typescript</a> to | 1027 | <p>I still reject calling <a href="https://www.typescriptlang.org/">Typescript</a> to |
| 1028 | <a href="https://www.javascript.com/">JavaScript</a> conversion a &quot;compilation process&quot;. I | 1028 | <a href="https://www.javascript.com/">JavaScript</a> conversion a &quot;compilation process&quot;. I |
| 1029 | call them <a href="https://devopedia.org/transpiler">transpilers</a>, and I don’t care! 😈</p> | 1029 | call them <a href="https://devopedia.org/transpiler">transpilers</a>, and I don’t care! 😈</p> |
| 1030 | <p>And if you want to fight this, take a look at this little chart and be mad at | ||
| 1031 | it!</p> | ||
| 1032 | <figure> | ||
| 1033 | <img src="/posts/state-of-web/compiling-vs-transpiling.png" alt="Compiling vs Transpiling" /> | ||
| 1034 | </figure> | ||
| 1035 | <p>The first one that I ever used was <a href="https://webpack.js.org/">webpack</a>, and it | 1030 | <p>The first one that I ever used was <a href="https://webpack.js.org/">webpack</a>, and it |
| 1036 | was an absolute horrific experience. Saying this, it is an absolutely fantastic | 1031 | was an absolute horrific experience. Saying this, it is an absolutely fantastic |
| 1037 | tool. I felt more like a config editor than actually a programmer. To be fair, | 1032 | tool. I felt more like a config editor than actually a programmer. To be fair, |
| @@ -1148,9 +1143,6 @@ written, Stack Overflow questions are asked and answered, and then a newer | |||
| 1148 | (and even more revolutionary) framework pops up to usurp the throne. | 1143 | (and even more revolutionary) framework pops up to usurp the throne. |
| 1149 | — Ian Allen</p> | 1144 | — Ian Allen</p> |
| 1150 | </blockquote> | 1145 | </blockquote> |
| 1151 | <figure> | ||
| 1152 | <img src="/posts/state-of-web/2008-vs-2020.png" alt="To many options" /> | ||
| 1153 | </figure> | ||
| 1154 | <p>And this jab at these libraries and cloud providers is not done out of malice. | 1146 | <p>And this jab at these libraries and cloud providers is not done out of malice. |
| 1155 | It is a real concern that I have about them. In my life, I have seen | 1147 | It is a real concern that I have about them. In my life, I have seen |
| 1156 | technologies come and go, but the basics always stick around. So surrendering | 1148 | technologies come and go, but the basics always stick around. So surrendering |
| @@ -1838,7 +1830,7 @@ Really worth a read.</p> | |||
| 1838 | <p>If we compare a normal operating system to a unikernel side by side, they would | 1830 | <p>If we compare a normal operating system to a unikernel side by side, they would |
| 1839 | look something like this.</p> | 1831 | look something like this.</p> |
| 1840 | <figure> | 1832 | <figure> |
| 1841 | <img src="/posts/pid1/unikernels.png" alt="Virtual machines vs Containers vs Unikernels" /> | 1833 | <img src="/posts/pid1/unikernels.webp" alt="Virtual machines vs Containers vs Unikernels" /> |
| 1842 | </figure> | 1834 | </figure> |
| 1843 | <p>From this image, we can see how the complexity significantly decreases with | 1835 | <p>From this image, we can see how the complexity significantly decreases with |
| 1844 | the use of Unikernels. This comes with a price, of course. Unikernels are hard | 1836 | the use of Unikernels. This comes with a price, of course. Unikernels are hard |
| @@ -4491,10 +4483,10 @@ like</a>.</p> | |||
| 4491 | </span></span></code></pre><h2 id="benchmarks">Benchmarks</h2> | 4483 | </span></span></code></pre><h2 id="benchmarks">Benchmarks</h2> |
| 4492 | <p>First we generate some binary sample data with dd.</p> | 4484 | <p>First we generate some binary sample data with dd.</p> |
| 4493 | <pre tabindex="0" style="background-color:#fff;"><code><span style="display:flex;"><span>dd <span style="color:#00f">if</span>=&lt;(openssl enc -aes-256-ctr -pass pass:<span style="color:#a31515">&#34;</span><span style="color:#00f">$(</span>dd <span style="color:#00f">if</span>=/dev/urandom bs=128 count=1 2&gt;/dev/null | base64<span style="color:#00f">)</span><span style="color:#a31515">&#34;</span> -nosalt &lt; /dev/zero) of=1KB.bin bs=1KB count=1 iflag=fullblock | 4485 | <pre tabindex="0" style="background-color:#fff;"><code><span style="display:flex;"><span>dd <span style="color:#00f">if</span>=&lt;(openssl enc -aes-256-ctr -pass pass:<span style="color:#a31515">&#34;</span><span style="color:#00f">$(</span>dd <span style="color:#00f">if</span>=/dev/urandom bs=128 count=1 2&gt;/dev/null | base64<span style="color:#00f">)</span><span style="color:#a31515">&#34;</span> -nosalt &lt; /dev/zero) of=1KB.bin bs=1KB count=1 iflag=fullblock |
| 4494 | </span></span></code></pre><p>Our freshly generated 1KB file looks something like this (its full of garbage | 4486 | </span></span></code></pre><figure> |
| 4495 | data as intended).</p> | ||
| 4496 | <figure> | ||
| 4497 | <img src="/posts/dna-sequence/sample-binary-file.png" alt="Sample binary file 1KB" /> | 4487 | <img src="/posts/dna-sequence/sample-binary-file.png" alt="Sample binary file 1KB" /> |
| 4488 | <figcaption><p>Our freshly generated 1KB file looks something like this (its full of | ||
| 4489 | garbage data as intended).</p></figcaption> | ||
| 4498 | </figure> | 4490 | </figure> |
| 4499 | <p>We create following binary files:</p> | 4491 | <p>We create following binary files:</p> |
| 4500 | <ul> | 4492 | <ul> |
