You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
369 lines
15 KiB
369 lines
15 KiB
<!DOCTYPE html> |
|
<html lang="en"> |
|
<head> |
|
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
|
<meta http-equiv="content-type" content="text/html; charset=utf-8"> |
|
|
|
<!-- Enable responsiveness on mobile devices--> |
|
<!-- viewport-fit=cover is to support iPhone X rounded corners and notch in landscape--> |
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, viewport-fit=cover"> |
|
|
|
<title>Julio Biason .Me 4.3</title> |
|
|
|
<!-- CSS --> |
|
<link rel="stylesheet" href="https://blog.juliobiason.me/print.css" media="print"> |
|
<link rel="stylesheet" href="https://blog.juliobiason.me/poole.css"> |
|
<link rel="stylesheet" href="https://blog.juliobiason.me/hyde.css"> |
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface"> |
|
|
|
|
|
|
|
|
|
|
|
</head> |
|
|
|
<body class=" "> |
|
|
|
<div class="sidebar"> |
|
<div class="container sidebar-sticky"> |
|
<div class="sidebar-about"> |
|
|
|
<a href="https://blog.juliobiason.me"><h1>Julio Biason .Me 4.3</h1></a> |
|
|
|
<p class="lead">Old school dev living in a 2.0 dev world</p> |
|
|
|
|
|
</div> |
|
|
|
<ul class="sidebar-nav"> |
|
|
|
|
|
<li class="sidebar-nav-item"><a href="/">English</a></li> |
|
|
|
<li class="sidebar-nav-item"><a href="/pt">Português</a></li> |
|
|
|
<li class="sidebar-nav-item"><a href="/tags">Tags (EN)</a></li> |
|
|
|
<li class="sidebar-nav-item"><a href="/pt/tags">Tags (PT)</a></li> |
|
|
|
|
|
</ul> |
|
</div> |
|
</div> |
|
|
|
|
|
<div class="content container"> |
|
|
|
<div class="posts"> |
|
<div class="post"> |
|
<h1 class="post-title"> |
|
<a href="https://blog.juliobiason.me/code/command-test/"> |
|
Running a Command and Saving Its Output to File in Rust |
|
</a> |
|
</h1> |
|
|
|
<div class="post-meta"> |
|
<span class="post-date"> |
|
2023-09-01 |
|
|
|
<a href="https://blog.juliobiason.me/tags/random/">#random</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/rust/">#rust</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/command/">#command</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/log/">#log</a> |
|
|
|
</span> |
|
</div> |
|
<div class="post-summary"> |
|
<p>I had an issue: I needed to run a command inside Rust, but I needed that all |
|
its output should go to a file, and I needed to check if there were certain |
|
phrases in it.</p> |
|
|
|
</div> |
|
<a href="https://blog.juliobiason.me/code/command-test/"> |
|
Read more... |
|
</a> |
|
</div> |
|
|
|
<div class="post"> |
|
<h1 class="post-title"> |
|
<a href="https://blog.juliobiason.me/code/tokio-command-timeout-test/"> |
|
Timeout With Command in Tokio |
|
</a> |
|
</h1> |
|
|
|
<div class="post-meta"> |
|
<span class="post-date"> |
|
2023-08-31 |
|
|
|
<a href="https://blog.juliobiason.me/tags/random/">#random</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/rust/">#rust</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/tokio/">#tokio</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/spawn/">#spawn</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/process/">#process</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/command/">#command</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/timeout/">#timeout</a> |
|
|
|
</span> |
|
</div> |
|
<div class="post-summary"> |
|
<p>How to spawn an external command and give it a timeout in Rust, with Tokio</p> |
|
|
|
</div> |
|
<a href="https://blog.juliobiason.me/code/tokio-command-timeout-test/"> |
|
Read more... |
|
</a> |
|
</div> |
|
|
|
<div class="post"> |
|
<h1 class="post-title"> |
|
<a href="https://blog.juliobiason.me/code/thinking-about-rust-actors/"> |
|
Thinking About Rust Actors |
|
</a> |
|
</h1> |
|
|
|
<div class="post-meta"> |
|
<span class="post-date"> |
|
2023-08-11 |
|
|
|
<a href="https://blog.juliobiason.me/tags/rust/">#rust</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/actor-model/">#actor model</a> |
|
|
|
</span> |
|
</div> |
|
<div class="post-summary"> |
|
<p>I recently wrote an application for work (so, sorry, can't show you the code) |
|
that, 'cause it was heavily I/O based, I decided to write it using |
|
<a href="https://tokio.rs/">Tokio</a> and the idea of <a href="https://ryhl.io/blog/actors-with-tokio/">Actor Model with |
|
it</a>.</p> |
|
<p>... which gave me some things to think about.</p> |
|
|
|
</div> |
|
<a href="https://blog.juliobiason.me/code/thinking-about-rust-actors/"> |
|
Read more... |
|
</a> |
|
</div> |
|
|
|
<div class="post"> |
|
<h1 class="post-title"> |
|
<a href="https://blog.juliobiason.me/code/seek-test/"> |
|
Seek Test |
|
</a> |
|
</h1> |
|
|
|
<div class="post-meta"> |
|
<span class="post-date"> |
|
2023-08-07 |
|
|
|
<a href="https://blog.juliobiason.me/tags/random/">#random</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/example/">#example</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/rust/">#rust</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/seek/">#seek</a> |
|
|
|
</span> |
|
</div> |
|
<div class="post-summary"> |
|
<p>How to use <code>.seek()</code> in Tokio <code>BufReader</code>s.</p> |
|
|
|
</div> |
|
<a href="https://blog.juliobiason.me/code/seek-test/"> |
|
Read more... |
|
</a> |
|
</div> |
|
|
|
<div class="post"> |
|
<h1 class="post-title"> |
|
<a href="https://blog.juliobiason.me/code/overthinking-rust-iterators/"> |
|
Overthinking Rust Iterators |
|
</a> |
|
</h1> |
|
|
|
<div class="post-meta"> |
|
<span class="post-date"> |
|
2023-07-06 |
|
|
|
<a href="https://blog.juliobiason.me/tags/rust/">#rust</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/iterators/">#iterators</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/request/">#request</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/stream/">#stream</a> |
|
|
|
</span> |
|
</div> |
|
<div class="post-summary"> |
|
<p>I had some issue recently with Rust iterators, and that led me to think <em>a lot</em> |
|
about iterators in Rust.</p> |
|
|
|
</div> |
|
<a href="https://blog.juliobiason.me/code/overthinking-rust-iterators/"> |
|
Read more... |
|
</a> |
|
</div> |
|
|
|
<div class="post"> |
|
<h1 class="post-title"> |
|
<a href="https://blog.juliobiason.me/projects/tin/"> |
|
Degenerated Brief Tin |
|
</a> |
|
</h1> |
|
|
|
<div class="post-meta"> |
|
<span class="post-date"> |
|
2023-01-04 |
|
|
|
<a href="https://blog.juliobiason.me/tags/projects/">#projects</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/personal/">#personal</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/mastodon/">#mastodon</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/activitypub/">#activitypub</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/download/">#download</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/bookmarks/">#bookmarks</a> |
|
|
|
</span> |
|
</div></div> |
|
|
|
<div class="post"> |
|
<h1 class="post-title"> |
|
<a href="https://blog.juliobiason.me/projects/astatine/"> |
|
Nice Troubled Astatine |
|
</a> |
|
</h1> |
|
|
|
<div class="post-meta"> |
|
<span class="post-date"> |
|
2022-08-03 |
|
|
|
<a href="https://blog.juliobiason.me/tags/projects/">#projects</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/personal/">#personal</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/notes/">#notes</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/note-taking/">#note taking</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/microblog/">#microblog</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/twitter/">#twitter</a> |
|
|
|
</span> |
|
</div> |
|
<div class="post-summary"> |
|
<p>Note Taking Application</p> |
|
|
|
</div> |
|
<a href="https://blog.juliobiason.me/projects/astatine/"> |
|
Read more... |
|
</a> |
|
</div> |
|
|
|
<div class="post"> |
|
<h1 class="post-title"> |
|
<a href="https://blog.juliobiason.me/thoughts/real-life-rust/"> |
|
Rust in Real Life |
|
</a> |
|
</h1> |
|
|
|
<div class="post-meta"> |
|
<span class="post-date"> |
|
2022-07-26 |
|
|
|
<a href="https://blog.juliobiason.me/tags/rust/">#rust</a> |
|
|
|
</span> |
|
</div> |
|
<div class="post-summary"> |
|
<p>For a while, I've been talking about Rust, making presentations, going to |
|
meetups...</p> |
|
<p>But a few months back I had the opportunity to finally work in a real |
|
project in Rust.</p> |
|
<p>So, how was it?</p> |
|
|
|
</div> |
|
<a href="https://blog.juliobiason.me/thoughts/real-life-rust/"> |
|
Read more... |
|
</a> |
|
</div> |
|
|
|
<div class="post"> |
|
<h1 class="post-title"> |
|
<a href="https://blog.juliobiason.me/code/multiple-distros-with-toolbox/"> |
|
Multiple Distros with Toolbx |
|
</a> |
|
</h1> |
|
|
|
<div class="post-meta"> |
|
<span class="post-date"> |
|
2022-06-24 |
|
|
|
<a href="https://blog.juliobiason.me/tags/linux/">#linux</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/podman/">#podman</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/containers/">#containers</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/toolbox/">#toolbox</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/toolbx/">#toolbx</a> |
|
|
|
</span> |
|
</div> |
|
<div class="post-summary"> |
|
<p>When I switched from Fedora to |
|
<a href="https://silverblue.fedoraproject.org/">Silverblue</a>, I got used to use |
|
<code>toolbox</code> to check for packages and whatnot. But when I needed to test a |
|
project in multiple distributions, I decided it was time to explore Toolbx a |
|
little deeper.</p> |
|
|
|
</div> |
|
<a href="https://blog.juliobiason.me/code/multiple-distros-with-toolbox/"> |
|
Read more... |
|
</a> |
|
</div> |
|
|
|
<div class="post"> |
|
<h1 class="post-title"> |
|
<a href="https://blog.juliobiason.me/projects/rubidium/"> |
|
Thrifty Rubidium |
|
</a> |
|
</h1> |
|
|
|
<div class="post-meta"> |
|
<span class="post-date"> |
|
2022-06-14 |
|
|
|
<a href="https://blog.juliobiason.me/tags/projects/">#projects</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/personal/">#personal</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/make/">#make</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/runner/">#runner</a> |
|
|
|
</span> |
|
</div></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</body> |
|
|
|
</html>
|
|
|