-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.xml
131 lines (131 loc) · 20.9 KB
/
index.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Welcome! on Maxi Redigonda's Website</title>
<link>https://mredigonda.github.io/</link>
<description>Recent content in Welcome! on Maxi Redigonda's Website</description>
<generator>Hugo</generator>
<language>en-us</language>
<lastBuildDate>Wed, 15 Jan 2025 21:21:21 -0300</lastBuildDate>
<atom:link href="https://mredigonda.github.io/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Ask ChatGPT</title>
<link>https://mredigonda.github.io/blog/ask-chatgpt/</link>
<pubDate>Wed, 15 Jan 2025 21:21:21 -0300</pubDate>
<guid>https://mredigonda.github.io/blog/ask-chatgpt/</guid>
<description><p>To say &ldquo;Ask ChatGPT&rdquo; should not be insulting as saying &ldquo;Google it&rdquo;, it&rsquo;s just surprising the number of tasks it can perform decently well, beyond what a normal person would expect.</p>
<p>Now that <a href="https://mredigonda.github.io/blog/the-lesser-known-openai-gem/">the lesser-known OpenAI gem</a> is trivially available on their app, you can just talk (yes, to the microphone) about the specific work you need to do, sharing tons and tons of context, and the <a href="https://openai.com/o1/">o1 model</a> can consume it all and end up with quite reasonable advice, in 2 minutes at most.</p></description>
</item>
<item>
<title>Toolbelt</title>
<link>https://mredigonda.github.io/toolbelt/</link>
<pubDate>Sat, 14 Sep 2024 08:56:53 -0300</pubDate>
<guid>https://mredigonda.github.io/toolbelt/</guid>
<description><p><img src="https://user-images.githubusercontent.com/25920622/188285345-b1c2cb79-02bf-445f-b150-d82564fadf0e.png#center" alt="01170-tools&ndash;extremely-detailed&ndash;in-the-style-of-cyberpunk-(-steampunk-)&ndash;day-light&ndash;realistic-shaded"></p>
<p>This is my hardware and software setup, along with my review of the tools I currently use.</p>
<h2 id="hardware-setup">Hardware Setup</h2>
<p>My main laptop:</p>
<ul>
<li><strong>Operating System</strong>: Mac Sonoma 14.3</li>
<li><strong>Processor</strong>: Apple M3 Max</li>
<li><strong>RAM Memory</strong>: 64GB</li>
<li><strong>Headphones</strong>: HyperX Cloud 2</li>
<li><strong>Monitor</strong>: LG 24&quot; IPS VGA HDMI Full HD FreeSync 24MK430H-B</li>
</ul>
<h2 id="software-setup">Software Setup</h2>
<ul>
<li><strong>Knowledge Base</strong>: <a href="https://notion.so/">Notion</a></li>
<li><strong>Code Editor</strong>: <a href="https://code.visualstudio.com/">Visual Studio Code</a></li>
<li><strong>Tasks Management</strong>: <a href="https://ticktick.com/">TickTick</a></li>
<li><strong>Web Browser</strong>: <a href="https://brave.com/">Brave</a></li>
<li><strong>Raycast</strong>: <a href="https://www.raycast.com/">Raycast</a></li>
</ul>
<h2 id="my-software-review">My Software Review</h2>
<h3 id="knowledge-base---notion">Knowledge Base - Notion</h3>
<p>In the past, I&rsquo;ve optimized for writing and &lsquo;durability&rsquo; of my notes, by writing stuff in plain markdown files, which can be read by any text processor.</p></description>
</item>
<item>
<title>The Lesser-Known OpenAI Gem</title>
<link>https://mredigonda.github.io/blog/the-lesser-known-openai-gem/</link>
<pubDate>Wed, 04 Oct 2023 05:07:15 -0300</pubDate>
<guid>https://mredigonda.github.io/blog/the-lesser-known-openai-gem/</guid>
<description><p>It&rsquo;s called Whisper, a speech-to-text tool.</p>
<p>In Desktop, I know of no other way to try it out than to go to <a href="https://platform.openai.com/playground?mode=complete">OpenAI&rsquo;s playground</a>, in &ldquo;complete&rdquo; mode (which as of now is &ldquo;legacy&rdquo;). Once there, you will see a green microphone icon in the top right corner, and you will be able to test it.</p>
<figure><img src="https://github-production-user-asset-6210df.s3.amazonaws.com/25920622/273420616-6cc8bb68-6c8b-4ad8-b9f2-743464754e27.png"
 alt="OpenAI&#39;s modal to start recording audio" width="100%">
</figure>

<p>Three months ago, I stumbled upon this speech-to-text tool, and I&rsquo;m really surprised by the quality of the results. It picks up what I say <em>even if I switch languages</em> in the middle of the sentence,</p></description>
</item>
<item>
<title>VSCode Snippets for ChatGPT 4</title>
<link>https://mredigonda.github.io/blog/vs-code-snippets-for-chatgpt-4/</link>
<pubDate>Sat, 03 Jun 2023 17:05:32 -0300</pubDate>
<guid>https://mredigonda.github.io/blog/vs-code-snippets-for-chatgpt-4/</guid>
<description><p>It seems we&rsquo;ve forgotten how much AI needs context to produce great results. Lots of people I see using ChatGPT do it with a single line of text.</p>
<p>If we compare it with image generation like stable diffusion, we know that adding more context can make it generate much better images.</p>
<figure><img src="https://github.com/mushanshitiancai/vscode-paste-image/assets/25920622/d5768d84-2911-4567-84eb-67f8a10461f9"
 alt="Image alt text" width="100%">
</figure>

<p>In this example, we see that specific chunks of text generate specific-looking images.</p>
<p>We can do the same thing for ChatGPT4 as well.</p></description>
</item>
<item>
<title>Make It Easy for People to Share Feedback With You</title>
<link>https://mredigonda.github.io/blog/make-it-easy-for-people-to-share-feedback-with-you/</link>
<pubDate>Fri, 21 Apr 2023 13:20:13 -0300</pubDate>
<guid>https://mredigonda.github.io/blog/make-it-easy-for-people-to-share-feedback-with-you/</guid>
<description><p>Every website should have some part at the (bottom|top) (left|right) corner, with a &ldquo;Send feedback&rdquo; button. It takes text and if you want to get fancy maybe some screenshot.</p>
<p>You can definitely afford that, <strong>it&rsquo;s just text in a database</strong>. And you don&rsquo;t need a support team for that, it&rsquo;s just feedback, an advice of what would be useful for this user. That&rsquo;s it, simply an advice, you can take it or ignore it, no need for any customer support*.</p></description>
</item>
<item>
<title>Block Explorer for Local Network in Hardhat</title>
<link>https://mredigonda.github.io/blog/block-explorer-for-local-network-in-hardhat/</link>
<pubDate>Fri, 11 Nov 2022 13:37:43 -0300</pubDate>
<guid>https://mredigonda.github.io/blog/block-explorer-for-local-network-in-hardhat/</guid>
<description><p>Hardhat, by default, uses a per-process built-in local Ethereum network to run your scripts, tests, deploys, etc.</p>
<p>It creates the network when you run a script, and destroys it afterwards. You can get <a href="https://hardhat.org/hardhat-network/docs/overview">more info here</a>.</p>
<p>As an alternative, you can run it in stand-alone mode, to support external wallets (MetaMask et al). For this, you need to run: <code>npx hardhat node</code>.</p>
<p>Then, to connect your scripts to this stand-alone network, you need to specify the localhost network. As an example, to run a script called <code>deploy.ts</code>, you would run something like: <code>npx hardhat run scripts/deploy.ts --network localhost</code>.</p></description>
</item>
<item>
<title>Principle of Reversibility</title>
<link>https://mredigonda.github.io/blog/principle-of-reversibility/</link>
<pubDate>Thu, 20 Oct 2022 14:09:09 -0300</pubDate>
<guid>https://mredigonda.github.io/blog/principle-of-reversibility/</guid>
<description><p>Some time ago, I completed a course called <a href="https://www.coursera.org/learn/science-exercise">&ldquo;Science of Exercise&rdquo;</a>.</p>
<p>One of the very first thing they teach, is the &ldquo;principle of reversibility&rdquo;, that explains that after a period of not using the muscles you&rsquo;ve trained, those muscles <strong>go back to baseline level</strong>.</p>
<p>I claim that this principle is also applicable to learning in general, and more specific, to mathematics.</p>
<p>If you don&rsquo;t use the mathematics muscles you&rsquo;ve developed for some time, you eventually lose your progress and you go back to some baseline level.</p></description>
</item>
<item>
<title>Save Unrelated Files in Git Projects Without Modifying Gitignore</title>
<link>https://mredigonda.github.io/blog/save-unrelated-files-in-git-projects-without-modifying-gitignore/</link>
<pubDate>Wed, 01 Jun 2022 06:02:49 -0300</pubDate>
<guid>https://mredigonda.github.io/blog/save-unrelated-files-in-git-projects-without-modifying-gitignore/</guid>
<description><p><img src="https://user-images.githubusercontent.com/25920622/188285010-2fc74403-b1dd-4d9e-a663-480e95952eff.png#center" alt="01164-a-treasure-coffer&ndash;extremely-detailed&ndash;in-the-style-of-cyberpunk-(-steampunk-)&ndash;day-light&ndash;realistic"></p>
<p>Sometimes you have files related to the project, but you don&rsquo;t want to commit them to the Git repo itself.</p>
<p>Project logo of various sizes, sample files to upload to test different behaviors, screen recordings of bugs, etc.</p>
<p>But you still want to have them in your repo, since they are project-related.</p>
<p>Modifying <code>.gitignore</code> is an option. Since each person could have their own personal files in there, adding a line <code>local</code> to <code>.gitignore</code> to skip tracking the <code>local</code> folder, is an idea. The only minor disadvantage is that people might think that the local folder is generated by the code, when it&rsquo;s not.</p></description>
</item>
<item>
<title>Run Script After MySQL Docker Initialization</title>
<link>https://mredigonda.github.io/blog/run-script-after-mysql-docker-initialization/</link>
<pubDate>Tue, 31 May 2022 14:18:38 -0300</pubDate>
<guid>https://mredigonda.github.io/blog/run-script-after-mysql-docker-initialization/</guid>
<description><p><img src="https://user-images.githubusercontent.com/25920622/188284203-886e03a4-6917-4a5c-bdb5-b023ce0c006e.png#center" alt="01021-container&ndash;extremely-detailed-cyberpunk-(-steampunk-)&ndash;day-light&ndash;realistic-shaded"></p>
<h2 id="the-problem">The Problem</h2>
<p>I wanted to setup automated tests for <a href="https://github.com/opensupports/opensupports/">OpenSupports</a>.</p>
<p>I made them run after each commit with Github Actions, but they failed. <strong>Sometimes</strong>.</p>
<p>Inside the Ubuntu given by Github Actions, I ran all steps inside Docker containers.</p>
<p>The steps looked like this:</p>
<pre tabindex="0"><code> steps:
 - uses: actions/checkout@v3
 - run: make build
 - run: make run
 - run: make install
 - run: make test
</code></pre><p>And all those <code>make</code> commands interact with Docker containers.</p></description>
</item>
<item>
<title>When Reinventing the Wheel Makes Sense</title>
<link>https://mredigonda.github.io/blog/when-reinventing-the-wheel-makes-sense/</link>
<pubDate>Wed, 18 May 2022 10:42:17 -0300</pubDate>
<guid>https://mredigonda.github.io/blog/when-reinventing-the-wheel-makes-sense/</guid>
<description><p><img src="https://user-images.githubusercontent.com/25920622/188283771-59e9560a-fa48-44cb-ad5a-9a930a37648a.png#center" alt="01108-a-wheel&ndash;extremely-detailed&ndash;in-the-style-of-cyberpunk-(-steampunk-)&ndash;day-light&ndash;realistic-shaded"></p>
<ol>
<li></li>
</ol>
<p>I have a close friend of mine with whom I share (or shared) many projects and activities.</p>
<p>One of those activities was <strong>mathematical olympiads</strong>.</p>
<p>In those competitions, once you enter the room, you are left alone with what you already know, the problem statements, and what you can derive from those.</p>
<p>He&rsquo;s told me that in one of those competitions he was able to discover the <a href="https://en.wikipedia.org/wiki/Quadratic_equation">quadratic equation</a>, because he needed it to solve the problem. He didn&rsquo;t know about it before that.</p></description>
</item>
<item>
<title>Proper Form in Competitive Programming</title>
<link>https://mredigonda.github.io/blog/proper-form-in-competitive-programming/</link>
<pubDate>Thu, 28 Oct 2021 08:28:00 -0300</pubDate>
<guid>https://mredigonda.github.io/blog/proper-form-in-competitive-programming/</guid>
<description><p><img src="https://user-images.githubusercontent.com/25920622/188284469-c5b4f85d-9b4f-4547-9ec2-e013d624884e.png#center" alt="01142-a-gym-dumbbell&ndash;extremely-detailed&ndash;in-the-style-of-cyberpunk-(-steampunk-)&ndash;day-light&ndash;realistic-sh"></p>
<ol>
<li></li>
</ol>
<p>I recently started lifting weights and exercising more, I wish I would&rsquo;ve done that while I was practicing for <a href="https://stats.ioinformatics.org/">IOI</a> / <a href="https://icpc.global/">ICPC</a>.</p>
<p>My mind kept telling me that an hour in the gym was an hour I could&rsquo;ve spent practicing for competitions, and while that was technically correct, that didn&rsquo;t took into account all of the benefits from exercising, not only to my health but also directly to my performance in competitions.</p></description>
</item>
<item>
<title>Will everything be faster when Moore's law is over?</title>
<link>https://mredigonda.github.io/blog/will-everything-be-faster-when-moores-law-is-over/</link>
<pubDate>Fri, 15 Oct 2021 08:49:40 -0300</pubDate>
<guid>https://mredigonda.github.io/blog/will-everything-be-faster-when-moores-law-is-over/</guid>
<description><p><img src="https://user-images.githubusercontent.com/25920622/188283907-5c36807c-d019-4b94-8d8c-d72e988bdf93.png#center" alt="01019-racing-car&ndash;extremely-detailed-cyberpunk-(-steampunk-)&ndash;day-light&ndash;realistic-shaded"></p>
<p><a href="https://en.wikipedia.org/wiki/Moore's_law">Moore&rsquo;s law</a> is not really a law, it&rsquo;s just the observation that the number of transistors in computers doubles every two years.</p>
<p>The power of computers has been increasing exponentially for a long time, but we know that due to physical constraints, there&rsquo;s a limit to how much it can grow, at least in the traditional way of adding more transistors*.</p>
<p>Another law, the <a href="https://en.wikipedia.org/wiki/Parkinson%27s_law">Parkinson&rsquo;s law</a>, is an adage that says: &ldquo;work expands so as to fill the time available for its completion&rdquo;. It turns out this law is applicable in many other situations too.</p></description>
</item>
<item>
<title>Ubuntu Tips</title>
<link>https://mredigonda.github.io/blog/ubuntu-tips/</link>
<pubDate>Tue, 22 Jun 2021 19:44:33 -0300</pubDate>
<guid>https://mredigonda.github.io/blog/ubuntu-tips/</guid>
<description><p><img src="https://user-images.githubusercontent.com/25920622/188284353-84853ebb-5557-42d9-81c3-6fd9ecd39eed.png#center" alt="01140-a-pair-of-glasses&ndash;extremely-detailed&ndash;in-the-style-of-cyberpunk-(-steampunk-)&ndash;day-light&ndash;realistic"></p>
<p><strong>Disable animations</strong>, it makes the experience much much faster.</p>
<p>Once you disable animations, using the <strong>apps grid</strong> (shortcut <code>SUPER + A</code> by default) is lighting fast, and works as an application launcher (it covers the most basic functionality of applications like <a href="https://ulauncher.io/">ulauncher</a>).</p>
<p>Finally, try to <strong>set up a script to install your common programs</strong>, and also track every configuration change that you do. A git repo with a markdown file will do.</p></description>
</item>
<item>
<title>2-Minutes Rule</title>
<link>https://mredigonda.github.io/blog/how-to-complete-the-many-tasks-in-your-backlog/</link>
<pubDate>Sun, 23 May 2021 11:03:01 -0300</pubDate>
<guid>https://mredigonda.github.io/blog/how-to-complete-the-many-tasks-in-your-backlog/</guid>
<description><p><img src="https://user-images.githubusercontent.com/25920622/188284098-db3732b0-2d03-4b36-8b4b-420763d506a6.png#center" alt="01040-sandwatch&ndash;extremely-detailed-cyberpunk-(-steampunk-)&ndash;day-light&ndash;realistic-shaded"></p>
<!-- raw HTML omitted -->
<p>We add all tasks that we have to or wish to do to our favorite to do list app. After some time, there are too many of them, and many of them are not even written <em>correctly</em>, or even if they are, they don&rsquo;t get any of our time.</p>
<!-- raw HTML omitted -->
<h2 id="2-minutes-rule">2-Minutes Rule</h2>
<p>The stuppidest thing I did that incredibly worked out outstandingly well was to force myself to spend 2 minutes on each task, sorted from top to bottom in priority (if any), no skipping at all, every day.</p></description>
</item>
<item>
<title>Brazilian ICPC Summer School 2018</title>
<link>https://mredigonda.github.io/blog/brazilian-icpc-summer-school/</link>
<pubDate>Tue, 06 Feb 2018 00:00:00 +0000</pubDate>
<guid>https://mredigonda.github.io/blog/brazilian-icpc-summer-school/</guid>
<description><p><img src="https://user-images.githubusercontent.com/25920622/188284803-e112e5ab-647e-4368-99d7-8011422417e0.png#center" alt="01159-a-sun&ndash;extremely-detailed&ndash;in-the-style-of-cyberpunk-(-steampunk-)&ndash;day-light&ndash;realistic-shaded"></p>
<p>This is a two weeks long event, with theoretic lectures from outstanding instructors in the mornings, and competitive programming contests in the afternoons. It was held from January 22nd to February 3rd in the city of Campinas, São Paulo.</p></description>
</item>
<item>
<title>Cell Game</title>
<link>https://mredigonda.github.io/cell-game/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://mredigonda.github.io/cell-game/</guid>
<description><p>Are you my developer? If yes, well, all the content for this page is in the corresponding layout. I know I know, I must learn how it works, but Hugo sometimes is not so trivial to get right.</p></description>
</item>
<item>
<title>Turing Machine</title>
<link>https://mredigonda.github.io/turing-machine/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://mredigonda.github.io/turing-machine/</guid>
<description><p>Are you my developer? If yes, well, all the content for this page is in the corresponding layout. I know I know, I must learn how it works, but Hugo sometimes is not so trivial to get right.</p></description>
</item>
</channel>
</rss>