-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
363 lines (333 loc) · 18.8 KB
/
index.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
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
<!DOCTYPE html>
<html lang="en">
<head>
<!-- 2022-07-23 Sat 05:11 -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>index</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-2020 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="index.html">Ivanaf</a>
</p>
</div>
<menu>
<ul class="org-ul">
<li><a href="index.html">Home</a></li>
<li><a href="journal.html">Journal</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="projects_ideas.html">Messy Ideas</a></li>
</ul>
</menu>
</div>
<p>
</p><h1>
index
</h1><p>
</p>
<p>
<span class=page-date> <small>
2018-09-09, updated 2020-09-18 —   <a href="journal.html">⇦Journal</a> – <a href="code.html">Code⇨</a>
</small> </span>
</p>
<style>
#table-of-contents {
display: none;
}
</style>
<p>
Hi, I'm Ivan! <br>
This is my personal website, written in <a href="https://orgmode.org/">org-mode</a> using a <a href="https://github.com/itf/org-export-head">static website generator</a> I've built.<br>
A list of my posts follow below! You can also check my <a href="journal.html">Journal</a>, with (more frequent) posts with no overarching theme besides what I wanted to write at the moment; my <a href="portfolio.html">Portfolio</a>, with information about my projects; or my self explanatory <a href="about.html">About</a>, and <a href="contact.html">Contact</a> pages! <br>
</p>
<div class="index">
<p>
Filter by tags:<br>
<a href='#code' class='tagbutton tagindex code'>code</a> <a href='#emacs' class='tagbutton tagindex emacs'>emacs</a> <a href='#math' class='tagbutton tagindex math'>math</a> <a href='#personal' class='tagbutton tagindex personal'>personal</a> <a href='#photography' class='tagbutton tagindex photography'>photography</a> <a href='#projects' class='tagbutton tagindex projects'>projects</a> <a href='#story' class='tagbutton tagindex story'>story</a> <a href='#tech' class='tagbutton tagindex tech'>tech</a>
</p>
<ul class="org-ul">
<li><div class="math blog post"> <b><a href="winding_number_in_geometric_algebra.html">Winding number in geometric algebra</a></b><span class="page-date"> (2021-01-08, updated 2021-01-08)</span> <a href='#math' class='math tagbutton'>math</a> <a href='#blog' class='blog tagbutton'>blog</a></div></li>
<li><div class="tech blog 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> <a href='#blog' class='blog tagbutton'>blog</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 blog 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 2022-07-23)</span> <a href='#personal' class='personal tagbutton'>personal</a> <a href='#blog' class='blog tagbutton'>blog</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 blog 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> <a href='#blog' class='blog tagbutton'>blog</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 blog 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> <a href='#blog' class='blog tagbutton'>blog</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 blog 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> <a href='#blog' class='blog tagbutton'>blog</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 blog 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> <a href='#blog' class='blog tagbutton'>blog</a> <br>Taking care of a baby deer. College app essay, partially erased and adapted to protect personal information.</div></li>
<li><div class="emacs tech blog 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> <a href='#blog' class='blog tagbutton'>blog</a> <br>Automatic toggle latex fragments in orgmode when point is in them.</div></li>
<li><div class="emacs tech blog 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> <a href='#blog' class='blog tagbutton'>blog</a> <br>Makes gif animated in orgmode.</div></li>
<li><div class="tech blog 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> <a href='#blog' class='blog tagbutton'>blog</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="emacs tech blog 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 2022-07-23)</span> <a href='#emacs' class='emacs tagbutton'>emacs</a> <a href='#tech' class='tech tagbutton'>tech</a> <a href='#blog' class='blog tagbutton'>blog</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 blog 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> <a href='#blog' class='blog tagbutton'>blog</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 blog 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> <a href='#blog' class='blog tagbutton'>blog</a> <br>This IAP others 6.006 TAs and I organized 6.s092!</div></li>
<li><div class="tech blog 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> <a href='#blog' class='blog tagbutton'>blog</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 blog 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> <a href='#blog' class='blog tagbutton'>blog</a></div></li>
<li><div class="projects emacs tech blog 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> <a href='#blog' class='blog tagbutton'>blog</a></div></li>
<li><div class="tech blog 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> <a href='#blog' class='blog tagbutton'>blog</a></div></li>
<li><div class="projects emacs tech blog 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> <a href='#blog' class='blog tagbutton'>blog</a></div></li>
<li><div class="tech blog 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 2022-07-23)</span> <a href='#tech' class='tech tagbutton'>tech</a> <a href='#blog' class='blog tagbutton'>blog</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="projects tech blog 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> <a href='#blog' class='blog tagbutton'>blog</a></div></li>
<li><div class="projects photography tech blog 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> <a href='#blog' class='blog tagbutton'>blog</a></div></li>
<li><div class="personal blog 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> <a href='#blog' class='blog tagbutton'>blog</a></div></li>
<li><div class="tech code blog post"> <b><a href="code.html">Code</a></b><span class="page-date"> (2019-05-24, updated 2022-07-23)</span> <a href='#tech' class='tech tagbutton'>tech</a> <a href='#code' class='code tagbutton'>code</a> <a href='#blog' class='blog tagbutton'>blog</a> <br>This is the code that runs this blog! I might as well have it here as well!</div></li>
</ul>
</div>
<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>
<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 => {
event.preventDefault();
return 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 setUrlTags() {
const tags = getActiveTags();
if (tags.length > 0) {
history.replaceState(undefined, undefined, '#' + Array.prototype.join.call(tags, ','))
}
else
history.replaceState(undefined, undefined, '#')
}
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>
<style>
.outline-2 h2{
font-size:1.6em;
margin-top:0.67em;
margin-bottom:0.67em;
margin-left:0;
margin-right:0;
font-weight:bold
}
.outline-text-2 ul li {
border-top:dotted 2px rgba(160,160,160,0.3);
margin:1.5em 0 0 0
}
.outline-text-2 ul {
margin-left:0px;
list-style:none;
padding-left: 1em;
}
.outline-text-2 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
}
.outline-2 {
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
}
</style>
</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: 2022-07-23 Sat 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.1 (<a href="https://orgmode.org">Org</a> mode 9.3) and <a href="https://github.com/itf/org-export-head">Org export head</a> </p>
</div>
</body>
</html>