The source content for blog.juliobiason.me
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.

271 lines
17 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:&#x2F;&#x2F;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="&#x2F;">English</a></li>
<li class="sidebar-nav-item"><a href="&#x2F;pt">Português</a></li>
<li class="sidebar-nav-item"><a href="&#x2F;tags">Tags (EN)</a></li>
<li class="sidebar-nav-item"><a href="&#x2F;pt&#x2F;tags">Tags (PT)</a></li>
</ul>
</div>
</div>
<div class="content container">
<div class="post">
<h1 class="post-title">Links for 2020-05-24</h1>
<span class="post-date">
2020-05-24
<a href="https://blog.juliobiason.me/tags/links/">#links</a>
<a href="https://blog.juliobiason.me/tags/rust/">#rust</a>
<a href="https://blog.juliobiason.me/tags/zuckerberg/">#zuckerberg</a>
<a href="https://blog.juliobiason.me/tags/facebook/">#facebook</a>
<a href="https://blog.juliobiason.me/tags/work-from-home/">#work from home</a>
<a href="https://blog.juliobiason.me/tags/open-source/">#open source</a>
<a href="https://blog.juliobiason.me/tags/europe/">#europe</a>
<a href="https://blog.juliobiason.me/tags/universities/">#universities</a>
<a href="https://blog.juliobiason.me/tags/documentation/">#documentation</a>
<a href="https://blog.juliobiason.me/tags/culture-war/">#culture war</a>
<a href="https://blog.juliobiason.me/tags/pull-requests/">#pull requests</a>
<a href="https://blog.juliobiason.me/tags/dokuwiki/">#dokuwiki</a>
<a href="https://blog.juliobiason.me/tags/licenses/">#licenses</a>
<a href="https://blog.juliobiason.me/tags/apis/">#apis</a>
<a href="https://blog.juliobiason.me/tags/dark-patterns/">#dark patterns</a>
<a href="https://blog.juliobiason.me/tags/zshell/">#zshell</a>
<a href="https://blog.juliobiason.me/tags/zsh/">#zsh</a>
<a href="https://blog.juliobiason.me/tags/git/">#git</a>
<a href="https://blog.juliobiason.me/tags/git-ignore/">#git ignore</a>
<a href="https://blog.juliobiason.me/tags/monologues/">#monologues</a>
<a href="https://blog.juliobiason.me/tags/devops/">#devops</a>
<a href="https://blog.juliobiason.me/tags/mocking/">#mocking</a>
<a href="https://blog.juliobiason.me/tags/testing/">#testing</a>
</span>
<p>Rust Unix Commands, Learning Rust (yes, again), Zuckerberg, Facebook and
Working Remotely, Open Source in European University, Open Source Your Shitty
Library, Writing Documentation, Open Source Culture War, Building Applications
With No Invalid State, Show How You Solve Problems, Pull Requests, Dokuwiki,
Things Wrong With Rust, Unofficial APIs, Selling Yourself, Dark Patterns,
Picking Licenses, ZShell Tricks, Global Git Ignore, Internal Monologues,
DevOps Lessons, Mocking in Rust.</p>
<span id="continue-reading"></span><h2 id="common-nix-commands-written-in-rust"><a href="https://gcollazo.com/common-nix-commands-written-in-rust/">Common *nix commands written in Rust</a></h2>
<p>I know I posted something like this recently, but I feel this list is a bit
more complete.</p>
<h2 id="getting-started-with-rust-by-building-a-tiny-markdown-compiler"><a href="https://jesselawson.org/rust/getting-started-with-rust-by-building-a-tiny-markdown-compiler/">Getting Started with Rust by Building a Tiny Markdown Compiler</a></h2>
<p>A good introduction to Rust. I really like how things that are interesting but
could get in the way of learning the language are collapsed and just if you
really want to know what they are talking about, you can expand it.</p>
<h2 id="mark-zuckerberg-and-priscilla-chan-s-800-000-donation-to-their-8-favorite-restaurants-is-like-the-median-us-family-giving-13-cents-to-each"><a href="https://www.businessinsider.com/mark-zuckerberg-priscilla-chan-800000-donation-restaurants-us-family-equivalent-2020-5">Mark Zuckerberg and Priscilla Chan's $800,000 donation to their 8 favorite restaurants is like the median US family giving 13 cents to each</a></h2>
<p>Let's rant a bit, shall we?</p>
<p>There are a lot of news about billionaires helping small business or people,
sharing some expressive amount of money.</p>
<p>But then, when you check how much they are &quot;helping&quot;, it is just some really
small drop of everything they had.</p>
<p>On the other hand, it's not like Zuckerberg had $76.3 billion on his bank
account (or pocket). It's based on the value of Facebook (the company) and the
Zuckerberg stock.</p>
<p>So, saying &quot;Rich person shared a huge load of money&quot; is wrong, as is &quot;it's
just peanuts&quot; is also wrong -- although I must reckon the first is more wrong
than the second.</p>
<h2 id="facebook-employees-may-face-pay-cut-if-they-move-to-cheaper-areas-to-work-from-home"><a href="https://www.marketwatch.com/story/facebook-employees-may-face-pay-cut-if-they-move-to-cheaper-areas-to-work-from-home-2020-05-21">Facebook employees may face pay cut if they move to cheaper areas to work from home</a></h2>
<p>And just to put some more perspective into what Zuckerberg does, here is
another facet: Due COVID, Facebook allowed workers to work from home, but now
comes the warning: Just because you're working from home, you can't just take
your salary to a cheaper place. You must suffer, SUFFER!</p>
<p>Ok, I may have gotten over my head on that.</p>
<p>But there are a bunch of things you can take from this: You're not allowed to
improve your life while not taking more from the company; cheaper places
should mean cheaper payment; and on, and on.</p>
<p>Dunno what Zuckerberg idea is behind this (except maybe make more money).</p>
<h2 id="why-european-universities-are-choosing-open-source-software"><a href="https://opensource.com/article/20/5/open-source-higher-education">Why European universities are choosing open source software</a></h2>
<p>This is actually good news. When I was on Uni, one of the problems I faced was
the incongruent idea that you need some specific software to do your
homework, but those were paid, closed source options and, thus, the only
option was to either stay at uni (something really hard when you have to work
to pay for it) or pirate it.</p>
<p>Now, honestly, that's the &quot;free as in beer&quot; part of the &quot;free software&quot; (which
is not actually true, but it happens), but in the long run, I guess people
learning to code can also gather more accustomed to having the source around,
and maybe even used to see how things works.</p>
<h2 id="it-s-ok-for-your-open-source-library-to-be-a-bit-shitty"><a href="https://www.drmaciver.com/2015/04/its-ok-for-your-open-source-library-to-be-a-bit-shitty/">It’s OK for your open source library to be a bit shitty</a></h2>
<p>That's one of the things most developers still are afraid of: You're working
on an open source license, but you fear into making it available everywhere
'cause &quot;it's not perfect&quot;.</p>
<p>There are reasons to keep an open source content not available yet: You're
working through licenses and copyrights. Apart from that, you can really
released a version that is not up to scratch, 'cause showing what it is -- and
update as necessary -- is way more impressive than releasing a perfect version
in the first shot.</p>
<h2 id="rfcs-and-asynchronous-first-culture"><a href="https://notes.eatonphil.com/rfcs-and-asynchronous-first-culture.html">RFCs and asynchronous-first culture</a></h2>
<p>One of the things that really caught my eye here is the idea that, when doing
some graphical design, people go to sketches and mockups instead of jumping
directly into the final design. And doing documentation (and emails, for that
matter) we need some sort of &quot;sketches&quot; for it.</p>
<h2 id="the-culture-war-in-open-source-is-on"><a href="https://modelviewculture.com/pieces/the-culture-war-in-open-source-is-on">The Culture War in Open Source is On</a></h2>
<p>Oh boy, here we go again...</p>
<p>Yes yes, there is something going inside the open source culture: Stallman was
forced out of the FSF and Eric Raymond was kicked out of OSI maillist.</p>
<p>But here is the thing: Even if Stallman started the GNU project and kick
started the whole free software movement, he also saw no problem in underage
girls with older men, only changing position days before being kicked out of
the FSF board; Eric Raymond may have written &quot;The Cathedral and the Bazaar&quot;,
but also became a gun nut, claimed gay men are, basically, paedophiles and
that a cop shooting a suspicious black man is not racism, but self defense --
and nobody found it weird when he mentioned &quot;black man&quot; and not simply &quot;man&quot;?</p>
<p>Open source and free software won. There is a lot more people coming in the
movement than before, and showing that people are welcomed here is the point.
When people are actually damaging the image of the movement, they are not
helping.</p>
<p>On another note, I remember that in early 2000s, we were already discussing
how Raymond's attitudes and opinions were actually harmful to the ecosystem.
That was more than 20 years ago, and it seems he didn't change a bit. Good
riddance.</p>
<p>Honestly, the &quot;war&quot; we have is simply &quot;You may be a cool, technical person,
but your shitty attitude won't be allowed here anymore.&quot;</p>
<h2 id="constructive-vs-predicative-data"><a href="https://www.hillelwayne.com/post/constructive/">Constructive vs Predicative Data</a></h2>
<p>I really like this kind of posts, which explores how information could be
accidentally wrong, while a different approach can prevent a wrong state.</p>
<h2 id="to-get-a-better-programming-job-explain-your-problem-solving-skills"><a href="https://codewithoutrules.com/2020/05/18/job-search-skills/">To get a better programming job, explain your problem-solving skills</a></h2>
<p>You know, there is something deeper here than it seems.</p>
<p>The interviews I did on bigger companies, I didn't feel they were trying to
find the way I solved problems; they were looking if I knew the answer right
away.</p>
<p>So, one can see the title in two ways: Either you can get a better programming
job by showing your problem solving skills OR better jobs want to see your
problem solving skills (poor jobs do not).</p>
<h2 id="on-writing-a-great-pull-request"><a href="https://blog.codeminer42.com/on-writing-a-great-pull-request-37c60ce6f31d/">On Writing a Great Pull Request</a></h2>
<p>More people should read posts like this. I had to deal a lot with pull
requests with no information whatsoever about what was being done. Worse,
sometimes, the title of the pull requests was actually the branch name.</p>
<h2 id="argon-dokuwiki-template"><a href="https://github.com/IceWreck/Argon-Dokuwiki-Template#argon-dokuwiki-template">Argon Dokuwiki Template</a></h2>
<p>I used Dokuwiki a long time ago, and even then the interface felt a bit
outdated. Now there is some pretty theme for it -- although I'm not sure I'm
in need to Dokuwiki at this point.</p>
<h2 id="things-i-hate-about-rust"><a href="https://blog.yossarian.net/2020/05/20/Things-I-hate-about-rust">Things I hate about Rust</a></h2>
<p>Sure, no language is perfect and ranting about the wrong things is a way to
improve it, but some points are actually without merit.</p>
<p>For example, complaining about Rust multiple string types: I understand the
problem with <code>&amp;str</code> and <code>String</code>, but <code>OsString</code> has a reason to exist --
operating systems that are UTF-8 while their filesystem is not. So how do you
deal with it? You make everything UTF-8 and let the filesystem create stupidly
named files?</p>
<h2 id="unofficial-apis"><a href="https://github.com/Rolstenhouse/unofficial-apis">Unofficial APIs</a></h2>
<p>A list of services APIs that are not official. Just in case you want to play
with something that doesn't offer a real API.</p>
<h2 id="sell-yourself-sell-your-work"><a href="https://www.solipsys.co.uk/new/SellYourselfSellYourWork.html?te20hn">Sell yourself, Sell Your Work...</a></h2>
<p>That's one thing I do really bad: I don't know how to sell myself. I just hope
this blog -- and opinions, and technical posts and even stupid ideas -- can
serve as a way to do it so.</p>
<h2 id="dark-patterns-past-present-and-future"><a href="https://queue.acm.org/detail.cfm?id=3400901">Dark Patterns: Past, Present, and Future</a></h2>
<p>I've been seeing a lot of those patterns recently. There is one missing bit,
though: How do we get rid of them?</p>
<h2 id="choose-a-license"><a href="https://choosealicense.com/appendix/">Choose A License</a></h2>
<p>Want to check what each license allow you to do? Here is a neat table with
several licenses and what you need to do and what you <em>can</em> do with them.</p>
<h2 id="some-zshrc-tricks"><a href="https://www.arp242.net/zshrc.html">Some zshrc tricks</a></h2>
<p>I may have switched to ZShell recently, so this kind of post is actually
pretty damn useful.</p>
<p>... but the thing that caught my eye was the way to put aliases for
directories, which helps a lot in getting to the right place, but I'm using
<a href="https://github.com/wdullaer/scotty">Scotty</a> and that makes something like
that somewhat useless.</p>
<h2 id="global-gitignore-files-are-cool-and-so-are-you"><a href="https://www.viget.com/articles/global-gitignore-files-are-cool-and-so-are-you-1/">Global Gitignore Files Are Cool and So Are You</a></h2>
<p>Ah, that's one thing I have been missing: Global ignores. That would allow me
to ignore VIM swap files on every project at once.</p>
<h2 id="today-i-learned-that-not-everyone-has-an-internal-monologue-and-it-has-ruined-my-day"><a href="https://insidemymind.me/2020/01/28/today-i-learned-that-not-everyone-has-an-internal-monologue-and-it-has-ruined-my-day/">Today I Learned That Not Everyone Has An Internal Monologue And It Has Ruined My Day.</a></h2>
<p>Far from ruining my day, but I also found this really... curious, to put
mildly.</p>
<p>But lacking a internal monologue may also explain why some people don't
like books -- the dialogues may be a bit missing, and it may be hard to follow
the story.</p>
<h2 id="a-few-ops-lessons-we-all-learn-the-hard-way"><a href="https://www.netmeister.org/blog/ops-lessons.html">(A few) Ops Lessons We All Learn The Hard Way</a></h2>
<p>Ah, some awesome things we think it always true with devops but aren't.</p>
<h2 id="introducing-faux"><a href="https://nrxus.github.io/faux/#--introducing-faux--">Introducing faux</a></h2>
<p>A nice looking Mocking library for Rust.</p>
<hr />
<p>This post was built with the help of</p>
<ul>
<li><a href="https://social.privacytools.io/@freddyym">Freddy</a></li>
<li><a href="https://mastodon.social/@hntooter">HN Tooter</a></li>
<li><a href="https://octodon.social/@mjog">Michael J. Gratton</a></li>
<li><a href="https://mastodon.social/@newsbot">newsbot</a></li>
<li><a href="https://social.linux.pizza/@redstarfish">Starfish</a></li>
<li><a href="https://sungo.space/sungo">sungo</a></li>
</ul>
</div>
</div>
</body>
</html>