-
Notifications
You must be signed in to change notification settings - Fork 0
/
blog.html
320 lines (290 loc) · 20.2 KB
/
blog.html
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
<!DOCTYPE html>
<html lang="en">
<head>
<!-- 2020-09-10 Thu 05:11 -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Blog</title>
<meta name="generator" content="Org mode">
<meta name="author" content="ivanaf">
<link rel="stylesheet" type="text/css" href="css/org.css"/>
<link rel="icon" href="ico/favicon.ico" type="image/x- icon">
<script type="text/javascript">
/*
@licstart The following is the entire license notice for the
JavaScript code in this tag.
Copyright (C) 2012-2019 Free Software Foundation, Inc.
The JavaScript code in this tag is free software: you can
redistribute it and/or modify it under the terms of the GNU
General Public License (GNU GPL) as published by the Free Software
Foundation, either version 3 of the License, or (at your option)
any later version. The code is distributed WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
As additional permission under GNU GPL version 3 section 7, you
may distribute non-source (e.g., minimized or compacted) forms of
that code without the copy of the GNU GPL normally required by
section 4, provided you include this license notice and a URL
through which recipients can access the Corresponding Source.
@licend The above is the entire license notice
for the JavaScript code in this tag.
*/
<!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id)
{
var target = document.getElementById(id);
if(null != target) {
elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className;
target.className = "code-highlighted";
elem.className = "code-highlighted";
}
}
function CodeHighlightOff(elem, id)
{
var target = document.getElementById(id);
if(elem.cacheClassElem)
elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget;
}
/*]]>*///-->
</script>
</head>
<body>
<div id="content">
<div class="head">
<div class="title">
<p>
<a href="blog.html">Ivanaf</a>
</p>
</div>
<menu>
<ul class="org-ul">
<li><a href="index.html">Home</a></li>
<li><a href="blog.html">Blog</a></li>
<li><a href="about.html">About</a></li>
<li><a href="resume.html">Resume</a></li>
<li><a href="portfolio.html">Portfolio</a></li>
<li><a href="contact.html">Contact</a></li>
<li><a href="tags.html">Tags</a></li>
<li><a href="projects_ideas.html">Messy Ideas</a></li>
</ul>
</menu>
</div>
<p>
</p><h1>
Blog
</h1><p>
</p>
<p>
<span class=page-date> <small>
2020-07-23, updated 2020-09-10 —   <a href="about.html">⇦About</a> – <a href="index.html">index⇨</a>
</small> </span>
</p>
<style>
.index h2{
font-size:1.6em;
margin-top:0.67em;
margin-bottom:0.67em;
margin-left:0;
margin-right:0;
font-weight:bold
}
.index ul li {
/*! border-top:dotted 2px rgba(160,160,160,0.3); */
margin:1.5em 0 0 0;
}
.index ul {
margin-left:0px;
list-style:none;
padding-left: 1em;
}
.index ul li b a {
text-align:left;
display:block;
font-size:1.3em;
margin-top:0.83em;
margin-left:0;
margin-right:0;
font-weight:bold
}
.index {
box-shadow:0px 0px 1px rgba(0,0,0,0.5);
padding:10px;
margin-top:20px
}
.rss-item-auth {
text-align:left;
font-size:14px;
color:#828282
}
.rss-date {
text-align:left;
display:block;
font-size:14px;
font-weight:800;
color:#828282
}
.post{
border-top: dotted 2px rgba(160,160,160,0.3);
}
</style>
<div class="index">
<p>
Filter by tags:<br>
<a href='#tech' class='tagbutton tagindex tech'>tech</a> <a href='#code' class='tagbutton tagindex code'>code</a> <a href='#personal' class='tagbutton tagindex personal'>personal</a> <a href='#projects' class='tagbutton tagindex projects'>projects</a> <a href='#photography' class='tagbutton tagindex photography'>photography</a> <a href='#emacs' class='tagbutton tagindex emacs'>emacs</a> <a href='#story' class='tagbutton tagindex story'>story</a> <a href='#portuguese' class='tagbutton tagindex portuguese'>portuguese</a>
</p>
<ul class="org-ul">
<li><div class="personal portuguese post"> <b><a href="revista_contigo.html">Revista Contigo</a></b><span class="page-date"> (2020-07-28, updated 2020-09-07)</span> <a href='#personal' class='personal tagbutton'>personal</a> <a href='#portuguese' class='portuguese tagbutton'>portuguese</a> <br>In Portuguese, 2012 article in a celebrity magazine about me.</div></li>
<li><div class="tech post"> <b><a href="make_cheap_headphones_sound_better_on_linux_-_ubuntu.html">Make cheap headphones sound better on linux / ubuntu</a></b><span class="page-date"> (2020-07-23, updated 2020-07-23)</span> <a href='#tech' class='tech tagbutton'>tech</a> <br>Cheap headphones sound bad because their frequency response is all messed up. You can considerably improve this by using an equalizer.</div></li>
<li><div class="personal post"> <b><a href="trying_mobile_static_blog_generator.html">Trying mobile static blog generator</a></b><span class="page-date"> (2020-06-29, updated 2020-06-29)</span> <a href='#personal' class='personal tagbutton'>personal</a> <br>Testing if my blog generator can run from my phone</div></li>
<li><div class="personal post"> <b><a href="a_game_from_the_past.html">A game from the past</a></b><span class="page-date"> (2019-11-28, updated 2020-03-01)</span> <a href='#personal' class='personal tagbutton'>personal</a> <br>I've ported an old game I made in inform7 to javascript. It is filled with teenager angst, because I made the game in order to deal with some problems I was having back them.</div></li>
<li><div class="personal post"> <b><a href="me_and_animals.html">Me and animals</a></b><span class="page-date"> (2019-11-27, updated 2020-06-29)</span> <a href='#personal' class='personal tagbutton'>personal</a> <br>Pictures of me with animals! Usually in open spaces! Each of them with a story behind them! From recent to old.</div></li>
<li><div class="personal story post"> <b><a href="the_first_of_many_brazilian-science-olympiads-guide_websites.html">The first of many Brazilian-Science-Olympiads-guide websites</a></b><span class="page-date"> (2019-11-24, updated 2019-11-27)</span> <a href='#personal' class='personal tagbutton'>personal</a> <a href='#story' class='story tagbutton'>story</a> <br>Until 2010 there were no website in Brazil one could access to learn about what <a href="https://en.wikipedia.org/wiki/International_Science_Olympiad">science olympiads</a> existed nor how to study for them. T</div></li>
<li><div class="personal post"> <b><a href="college_essays_reblog.html">College essays reblog</a></b><span class="page-date"> (2013-03-29, updated 2019-11-17)</span> <a href='#personal' class='personal tagbutton'>personal</a> <br>This is a reblog from my <a href="http://olimpiadascientificas.org/vida-de-olimpico/ivan.olimpiadascientificas.com/2013/03/29/i-was-admitted-in-harvard-mit-yale-and-princeton/index.html">old blog</a>. The miss</div></li>
<li><div class="personal post"> <b><a href="10_things_to_smell_per_day.html">10 things to smell per day</a></b><span class="page-date"> (2019-11-06, updated 2020-07-23)</span> <a href='#personal' class='personal tagbutton'>personal</a> <br>Talking to a friend in San Francisco who is very attuned with her sense of smell made me realize that I mostly just ignore my sense of smell, to the point that I feel like I'm almost losing it. So I'l</div></li>
<li><div class="personal post"> <b><a href="-archive-.html">-ARCHIVE-</a></b><span class="page-date"> (2019-09-06, updated 2020-07-26)</span> <a href='#personal' class='personal tagbutton'>personal</a></div></li>
<li><div class="personal post"> <b><a href="long_name_problems.html">Long name problems</a></b><span class="page-date"> (2019-09-02, updated 2020-07-26)</span> <a href='#personal' class='personal tagbutton'>personal</a></div></li>
<li><div class="personal post"> <b><a href="baby_deer.html">Baby deer</a></b><span class="page-date"> (2019-11-06, updated 2019-11-06)</span> <a href='#personal' class='personal tagbutton'>personal</a> <br>Taking care of a baby deer. College app essay, partially erased and adapted to protect personal information.</div></li>
<li><div class="personal post"> <b><a href="blogging_past_and_not_blogging_rant.html">Blogging, past and not blogging rant</a></b><span class="page-date"> (2019-08-02, updated 2019-09-02)</span> <a href='#personal' class='personal tagbutton'>personal</a> <br>I used to blog a lot in high school.</div></li>
<li><div class="emacs tech post"> <b><a href="magically_setup_emacsclient.html">Magically setup emacsclient</a></b><span class="page-date"> (2019-05-25, updated 2019-08-02)</span> <a href='#emacs' class='emacs tagbutton'>emacs</a> <a href='#tech' class='tech tagbutton'>tech</a> <br>This is a magical way of automatically setting up emacsclient, by <a href="https://en.reddit.com/user/northrupthebandgeek">northrupthebandgeek</a>. If you start emacs for the first time, it will start a server</div></li>
<li><div class="emacs tech post"> <b><a href="automatic_latex_fragment_toggling_in_org-mode.html">Automatic Latex Fragment Toggling in org-mode</a></b><span class="page-date"> (2019-05-25, updated 2019-05-25)</span> <a href='#emacs' class='emacs tagbutton'>emacs</a> <a href='#tech' class='tech tagbutton'>tech</a> <br>Automatic toggle latex fragments in orgmode when point is in them.</div></li>
<li><div class="emacs tech post"> <b><a href="animating_gifs_in_orgmode.html">Animating gifs in orgmode</a></b><span class="page-date"> (2019-05-25, updated 2019-05-25)</span> <a href='#emacs' class='emacs tagbutton'>emacs</a> <a href='#tech' class='tech tagbutton'>tech</a> <br>Makes gif animated in orgmode.</div></li>
<li><div class="tech post"> <b><a href="i3wm_screencasting_gifs.html">i3wm screencasting gifs</a></b><span class="page-date"> (2019-05-24, updated 2019-05-25)</span> <a href='#tech' class='tech tagbutton'>tech</a> <br>I read an amazing <a href="https://en.reddit.com/r/i3wm/comments/65vis5/screenshot_commands_from_my_i3_config/dgnic66/">comment on reddit</a> about how to very easily record the screen into gifs and I'll repor</div></li>
<li><div class="tech post"> <b><a href="disqus_and_javascript_random_thoughts.html">Disqus and javascript random thoughts</a></b><span class="page-date"> (2019-05-23, updated 2019-05-23)</span> <a href='#tech' class='tech tagbutton'>tech</a> <br>I want this blog to be really light, so, if you've noticed, it doesn't load any javascript when you access it.</div></li>
<li><div class="emacs tech post"> <b><a href="emacs_tramp_asking_for_password.html">Emacs Tramp asking for password</a></b><span class="page-date"> (2019-05-21, updated 2019-05-23)</span> <a href='#emacs' class='emacs tagbutton'>emacs</a> <a href='#tech' class='tech tagbutton'>tech</a> <br>For about a week, every time I initialized emacs, Tramp would constantly ask for my password, both for <code>sudo</code> and for <code>ssh</code>.</div></li>
<li><div class="emacs tech post"> <b><a href="tikz_snippet_preview_in_orgmode.html">Tikz snippet preview in orgmode</a></b><span class="page-date"> (2019-05-09, updated 2019-05-18)</span> <a href='#emacs' class='emacs tagbutton'>emacs</a> <a href='#tech' class='tech tagbutton'>tech</a> <br>For some reason, in my installation, both dvipng, and imagemgick don't work when using tikz, with errors such as the following when using a latex src block,</div></li>
<li><div class="story personal post"> <b><a href="baby_white-woodpeckers_are_dumb.html">Baby white-woodpeckers are dumb</a></b><span class="page-date"> (2019-04-21, updated 2020-07-28)</span> <a href='#story' class='story tagbutton'>story</a> <a href='#personal' class='personal tagbutton'>personal</a> <br>So during my life I have helped take care of multiple birds (bem-te-vis, parrots, toucans, large hawks, tiny hawks, vultures, sparrows, doves, humming birds, canaries, woodpeckers, etc), usually baby</div></li>
<li><div class="story personal post"> <b><a href="organizing_an_iap_class.html">Organizing an IAP class</a></b><span class="page-date"> (2019-04-21, updated 2019-04-21)</span> <a href='#story' class='story tagbutton'>story</a> <a href='#personal' class='personal tagbutton'>personal</a> <br>This IAP others 6.006 TAs and I organized 6.s092!</div></li>
<li><div class="tech post"> <b><a href="scan_notes_with_webcam_online_incomplete.html">Scan notes with webcam online (incomplete)</a></b><span class="page-date"> (2019-02-28, updated 2019-04-21)</span> <a href='#tech' class='tech tagbutton'>tech</a> <br>In the same way that I can scan my notes when in emacs using the Webcam of my laptop, I want my students to do the same. So I decided to port my note scanner to javascript.</div></li>
<li><div class="tech post"> <b><a href="solving_a_problem_set_with_orgmode.html">Solving a problem set with orgmode</a></b><span class="page-date"> (2018-09-17, updated 2019-02-28)</span> <a href='#tech' class='tech tagbutton'>tech</a> <br>After I wrote my last two tiny projects, <a href="scan_notes_with_laptop_webcam.html">Scan with webcam</a>, and <a href="export_subtree_with_files.html">Export Subtree with files</a> I was ready to do one of my psets in org mo</div></li>
<li><div class="tech post"> <b><a href="scan_notes_with_laptop_webcam.html">Scan notes with laptop webcam</a></b><span class="page-date"> (2018-09-16, updated 2020-07-26)</span> <a href='#tech' class='tech tagbutton'>tech</a></div></li>
<li><div class="projects emacs tech post"> <b><a href="export_subtree_with_files.html">Export subtree with files</a></b><span class="page-date"> (2018-09-13, updated 2020-07-26)</span> <a href='#projects' class='projects tagbutton'>projects</a> <a href='#emacs' class='emacs tagbutton'>emacs</a> <a href='#tech' class='tech tagbutton'>tech</a></div></li>
<li><div class="tech post"> <b><a href="simple_proof_weak_master_theorem.html">Simple proof weak master theorem</a></b><span class="page-date"> (2018-09-12, updated 2020-07-26)</span> <a href='#tech' class='tech tagbutton'>tech</a></div></li>
<li><div class="projects emacs tech post"> <b><a href="emacs_drag-drop_pdfs_paste_html_custom_templates.html">Emacs drag-drop pdfs, paste html, custom templates</a></b><span class="page-date"> (2018-08-19, updated 2020-07-26)</span> <a href='#projects' class='projects tagbutton'>projects</a> <a href='#emacs' class='emacs tagbutton'>emacs</a> <a href='#tech' class='tech tagbutton'>tech</a></div></li>
<li><div class="tech post"> <b><a href="transfer_functions_in_python.html">Transfer Functions in python</a></b><span class="page-date"> (2018-02-27, updated 2020-07-26)</span> <a href='#tech' class='tech tagbutton'>tech</a></div></li>
<li><div class="tech post"> <b><a href="groebner_basis_for_linear_network_coding_in_sage.html">Groebner Basis for Linear Network Coding in Sage</a></b><span class="page-date"> (2018-02-08, updated 2020-06-21)</span> <a href='#tech' class='tech tagbutton'>tech</a> <br>Backup of <a href="./html/Groebner_Basis.html">./html/Groebner_Basis.html</a> Here is the pdf with better formatting: <a href="./pdf/GroebnerBasis--Sage.pdf">GroebnerBasis–Sage</a></div></li>
<li><div class="tech post"> <b><a href="multi-audio_in_development.html">Multi-audio (In development)</a></b><span class="page-date"> (2018-01-21, updated 2020-07-26)</span> <a href='#tech' class='tech tagbutton'>tech</a></div></li>
<li><div class="tech post"> <b><a href="mit_entrepreneurship_resources.html">MIT entrepreneurship resources</a></b><span class="page-date"> (2018-01-21, updated 2020-07-26)</span> <a href='#tech' class='tech tagbutton'>tech</a></div></li>
<li><div class="projects tech post"> <b><a href="led_panel.html">Led Panel</a></b><span class="page-date"> (2016-03-16, updated 2020-07-26)</span> <a href='#projects' class='projects tagbutton'>projects</a> <a href='#tech' class='tech tagbutton'>tech</a></div></li>
<li><div class="projects photography tech post"> <b><a href="linear_panorama.html">Linear Panorama</a></b><span class="page-date"> (2015-12-13, updated 2020-07-26)</span> <a href='#projects' class='projects tagbutton'>projects</a> <a href='#photography' class='photography tagbutton'>photography</a> <a href='#tech' class='tech tagbutton'>tech</a></div></li>
<li><div class="personal post"> <b><a href="hello_world.html">Hello world!</a></b><span class="page-date"> (2018-09-09, updated 2020-07-26)</span> <a href='#personal' class='personal tagbutton'>personal</a></div></li>
<li><div class="tech code post"> <b><a href="code.html">Code</a></b><span class="page-date"> (2019-05-24, updated 2020-09-10)</span> <a href='#tech' class='tech tagbutton'>tech</a> <a href='#code' class='code tagbutton'>code</a> <br>This is the code that runs this blog! I might as well have it here as well!</div></li>
</ul>
</div>
<script type="text/javascript">
function getAllByTag(tag){
return Array.from(document.querySelectorAll("."+tag));
}
function getAllPosts(){
return getAllByTag('post');
}
function getAllButtons(){
return getAllByTag('tagbutton');
}
function getButtonsByTag(tag){
return Array.from(document.querySelectorAll('.'+tag +'.tagbutton'));
}
function getAllFilterItems() {
return getAllByTag('tagindex');
}
function getAllTags(){
return getAllFilterItems().map(x=>x.text);
}
function getActiveTags(){
const filterItems = getAllFilterItems();
return filterItems.map(
x=> {
if (x.classList.contains('active'))
return x.text
}
).filter(x => x!== undefined)
}
function getAllClasses(){
const allTags = getAllTags();
return allTags.map(x => "."+x);
}
function getActiveClasses () {
const activeTags = getActiveTags();
if (activeTags.length == 0)
return getAllClasses();
else
return activeTags.map(x=>"." + x);
}
function getAllActivePosts(){
const activeSelector = getActiveClasses().map(x=>".post"+x).join(",");
return Array.from(document.querySelectorAll(activeSelector));
}
function setVisibilityPosts(){
const allPosts = getAllPosts();
allPosts.forEach(x=> x.style.display = "none")
const activePosts = getAllActivePosts();
activePosts.forEach(x=> x.style.display = "")
}
function addEventListeners(){
const buttons = getAllButtons();
buttons.forEach(x => x.addEventListener("click", event => toggleTag(event.target.text)))
}
function toggleTag(tag){
const buttons = getButtonsByTag(tag);
buttons.forEach(x=>x.classList.toggle('active'));
setUrlTags();
setVisibilityPosts();
}
function addTag(tag){
const buttons = getButtonsByTag(tag);
buttons.forEach(x=>x.classList.add('active'));
}
function updateTagsOnLoad(){
}
function setUrlTags() {
const tags = getActiveTags();
if (tags.length > 0) {
document.location.hash = '#' + Array.prototype.join.call(tags, ',')
}
}
function getUrlTags() {
const hash = document.location.hash.substr(1)
if (hash === '') {
return []
} else{
return hash.split(',')
}
}
function enableTags(tags) {
tags.forEach(tag=>addTag(tag));
setVisibilityPosts();
}
enableTags(getUrlTags());
addEventListeners();
</script>
</div></div>
<br>
<div class="comments">
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'ivanaf'; // Required - Replace '<example>' with your forum shortname
/* * * DON'T EDIT BELOW THIS LINE * * */
var showComments = function() {
var button = document.getElementById('comment-button')
button.style.display = 'none'
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
};
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<button id="comment-button" onclick="showComments()">Show comments</button>
</div>
<div><div>
</div>
<div id="postamble" class="status">
<p class="author">Author: Ivan Tadeu Ferreira Antunes Filho</p>
<p class="date">Date: 2020-09-10 Thu 05:11</p>
<p class="author">Github: <a href="https://github.com/itf/">github.com/itf</a></p>
<p class="creator">Made with <a href="https://www.gnu.org/software/emacs/">Emacs</a> 27.0.50 (<a href="https://orgmode.org">Org</a> mode 9.1.9) and <a href="https://github.com/itf/org-export-head">Org export head</a> </p>
</div>
</body>
</html>