-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path2021-05-04-tipsrundan-34.html
More file actions
90 lines (88 loc) · 11.4 KB
/
Copy path2021-05-04-tipsrundan-34.html
File metadata and controls
90 lines (88 loc) · 11.4 KB
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
---
layout: splash
title: "Tipsrundan 34"
excerpt: "Kompetenslunches, git supertools and how many times does someone actually copy a snippet out of Stack Overflow? That's just a few of the items in todays Tipsrundan. I hope you enjoy it!"
---
<table border="0" cellspacing="0" width="100%">
<tr>
<td></td>
<td width="800"><html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body style="background: #fff;color: #000;font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;line-height: 150%;margin: 0 auto;overflow-x: hidden;padding: 0.5rem 0.25rem;max-width: 800px;">
<div class="section" style="width: 100%;justify-content: center;">
<div class="header" style="margin: 0 auto;max-width: 800px;padding: 0.5rem 0.25rem;width: 100%;text-align: center;color: #edf2f4;background-color: #2b2d42;padding-top: 0;">
<p style="margin: 0.75rem 0;padding: 0;color: #8d99ae;">2021-05-04 - Issue #34 - <a href="https://afry-south.github.io/" style="color: #920de9;font-weight: bold;text-decoration: none;">Blog ✍️</a></p>
<h1 style="margin: 0;text-align: center;line-height: 150%;"><a href="https://afry-south.github.io/" target="blank" style="color: #920de9;font-weight: bold;text-decoration: none;"><img src="https://raw.githubusercontent.com/afry-south/afry-south.github.io/master/afry.png"></a> Tipsrundan</h1>
<p style="margin: 0.75rem 0;padding: 0;color: #8d99ae;">Your biweekly newsletter of 'Tips' from <b>IT South@AFRY</b> with ❤️ <br><small style="color: #999;">(🗳️ Tipsboxen (<a href="mailto:it.south.competence@afconsult.com?subject=Tipsbox&body=Title%0D%0ASummary%0D%0ALink" style="color: #920de9;font-weight: bold;text-decoration: none;">Email</a>, <a href="https://github.com/afry-south/afry-south.github.io/issues/1" target="_blank" style="color: #920de9;font-weight: bold;text-decoration: none;">GitHub</a> & <a href="https://buitsouth.slack.com/archives/CPK80KX0W" target="_blank" style="color: #920de9;font-weight: bold;text-decoration: none;">Slack</a>) - All tips are appreciated! 🙏)</small></p>
</div>
</div>
<div class="section" style="width: 100%;justify-content: center;">
<div class="aside" style="justify-content: center;text-align: start;padding: 0.5rem;">
<p style="text-align: center;width: 75%;margin: 0.75rem auto;padding: 0;">👋<i> Welcome to Tipsrundan! <br>Kompetenslunches, git supertools and how many times does someone actually copy a snippet out of Stack Overflow? That's just a few of the items in todays Tipsrundan. I hope you enjoy it!</i></p>
<a href="https://afry-south.github.io/tipsrundan/2021-05-04-tipsrundan-34" style="margin: 0.5rem auto;color: #920de9;font-weight: bold;text-decoration: none;"><button style="border-radius: 5px;font-size: medium;display: block;font-weight: bold;margin: 0.5rem auto;padding: 1rem 2rem;background-color: #2b2d42;border: 2px solid #d99ae;color: #fff;">Take me to pretty version!</button></a></div>
</div>
<hr style="background-color: #e9e9e9;border: none;height: 1.5px;width: 50%;margin: 0.5rem auto;">
<h1 style="margin: 0;text-align: center;line-height: 150%;">Supertipset 💡</h1>
<div class="section" style="width: 100%;justify-content: center;">
<div class="aside" style="justify-content: center;text-align: start;padding: 0.5rem;">
<h3 style="margin: 0;text-align: center;line-height: 150%;">git diff main...branch</h3>
<p style="margin: 0.75rem 0;padding: 0;">Martin Furmanski recommends <code style="background-color: #118bee0b;border-radius: 5px;color: #000;display: inline-block;margin: 0 0.1rem;padding: 0rem 0.5rem;text-align: left;">git diff main...branch</code> which not only diffs main but actually diffs from the <em>latest common commit</em>, just like if you had rebased on top of <code style="background-color: #118bee0b;border-radius: 5px;color: #000;display: inline-block;margin: 0 0.1rem;padding: 0rem 0.5rem;text-align: left;">main</code>.<br>
I've already used this one multiple times and love it! Read more on Matthew Bretts short explanation <a href="https://matthew-brett.github.io/pydagogue/git_diff_dots.html" style="color: #920de9;font-weight: bold;text-decoration: none;">here</a>.</p> </div>
</div>
<main style="margin: 0 auto;max-width: 800px;padding: 0.5rem 0.25rem;">
<hr style="background-color: #e9e9e9;border: none;height: 1.5px;width: 50%;margin: 0.5rem auto;">
<h1 style="margin: 0;text-align: center;line-height: 150%;">Godisboxen 🍭</h1>
<div class="section" style="width: 100%;justify-content: center;">
<div class="aside" style="justify-content: center;text-align: start;padding: 0.5rem;">
<h3 style="margin: 0;text-align: center;line-height: 150%;">[AFRY] Kompetenslunch: Seam Carving (Image Algorithms)</h3>
<p style="margin: 0.75rem 0;padding: 0;"><strong>Seam Carving</strong> is a way to resize an image by removing "empty space".<br>
In this Kompetenslunch we'll go through an algorithm doing exactly that.</p><p style="margin: 0.75rem 0;padding: 0;">The algorithm itself is very simple and clean, yet powerful and efficient enough for usage.</p><p style="margin: 0.75rem 0;padding: 0;"><strong>How:</strong> ~25 minute presentation & a QA afterwards<br>
<strong>When:</strong> Wednesday 12th of May<br>
<strong>Where:</strong> <a href="https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZThkYTU4YjQtMDAzNC00NzczLTg0MDgtMTdiYmU3NzY2Mzkw%40thread.v2/0?context=%7b%22Tid%22%3a%2258af3eba-510e-4544-8cfd-85f5e0206382%22%2c%22Oid%22%3a%223c8ac053-b79d-4591-b946-b109a8a53bc0%22%7d" style="color: #920de9;font-weight: bold;text-decoration: none;">MS Teams Link</a><br>
<sub><sup style="color: #999;">P.S. This is a competence activity 🎉 </sup></sub><br>
<img src="https://inst.eecs.berkeley.edu/~cs194-26/sp20/upload/files/projFinalAssigned/cs194-26-aea/left_death.gif" alt="seamcarvinggif" style="max-width: 100%;"></p> <hr style="width: 10%;background-color: #e9e9e9;border: none;height: 1.5px;margin: 0.5rem auto;">
</div>
<div class="aside" style="justify-content: center;text-align: start;padding: 0.5rem;">
<h3 style="margin: 0;text-align: center;line-height: 150%;">🔀 Don't know your bash commands? Linux Shell Powered By OpenAI (GPT-3)?</h3>
<p style="margin: 0.75rem 0;padding: 0;">David Everlöf recommends:<br>
Ask and you shall receive! Not sure about the terminal command? Let this little fella help you out.</p><a href="https://riveducha.onfabrica.com/openai-powered-linux-shell" target="blank" style="width: 100%;color: #920de9;font-weight: bold;text-decoration: none;"><small style="color: #999;">riveducha.onfabrica.com↗</small></a>
<hr style="width: 10%;background-color: #e9e9e9;border: none;height: 1.5px;margin: 0.5rem auto;">
</div>
<div class="aside" style="justify-content: center;text-align: start;padding: 0.5rem;">
<h3 style="margin: 0;text-align: center;line-height: 150%;">🔀 How often do someone actually copy something on Stack Overflow?</h3>
<p style="margin: 0.75rem 0;padding: 0;">40 million times in 2 weeks. Yes that's right. And more unanswered posts are copied than ones with answered questions. Without going in depth on how creepy this tracking is the statistics are really cool and is for sure worth looking at!</p><a href="https://stackoverflow.blog/2021/04/19/how-often-do-people-actually-copy-and-paste-from-stack-overflow-now-we-know/" target="blank" style="width: 100%;color: #920de9;font-weight: bold;text-decoration: none;"><small style="color: #999;">stackoverflow.blog↗</small></a>
<hr style="width: 10%;background-color: #e9e9e9;border: none;height: 1.5px;margin: 0.5rem auto;">
</div>
<div class="aside" style="justify-content: center;text-align: start;padding: 0.5rem;">
<h3 style="margin: 0;text-align: center;line-height: 150%;">🎒 Java for Everything</h3>
<p style="margin: 0.75rem 0;padding: 0;">Let's start with an excerpt, because I feel like it might be necessary:</p><blockquote style="display: block;font-style: italic;line-height: 150%;max-width: 460px;text-align: center;"><p style="margin: 0.75rem 0;padding: 0;">.. About a year ago, though, I started to form a strange idea: That Java is the right language for all jobs. (I pause here while you vomit in your mouth.)</p></blockquote><p style="margin: 0.75rem 0;padding: 0;">With this in mind I think the author brings forward some good arguments, especially on the good and bad parts. Personally I would trade Java for something like Kotlin or Java, but the argument would stay the same. Even inserting Go or something else.<br>
A language with a solid foundation and good typing is always a good start.</p><a href="https://www.teamten.com/lawrence/writings/java-for-everything.html" target="blank" style="width: 100%;color: #920de9;font-weight: bold;text-decoration: none;"><small style="color: #999;">teamten.com↗</small></a>
<hr style="width: 10%;background-color: #e9e9e9;border: none;height: 1.5px;margin: 0.5rem auto;">
</div>
<div class="aside" style="justify-content: center;text-align: start;padding: 0.5rem;">
<h3 style="margin: 0;text-align: center;line-height: 150%;">🎒 Docker without Docker</h3>
<p style="margin: 0.75rem 0;padding: 0;">Huh? This actually is a huge use-case of <a href="https://firecracker-microvm.github.io/" style="color: #920de9;font-weight: bold;text-decoration: none;">firecracker-VM</a> (or as they call it 'microVMs') which we included in Tipsrundan a while back.</p><a href="https://fly.io/blog/docker-without-docker/" target="blank" style="width: 100%;color: #920de9;font-weight: bold;text-decoration: none;"><small style="color: #999;">fly.io↗</small></a>
<hr style="width: 10%;background-color: #e9e9e9;border: none;height: 1.5px;margin: 0.5rem auto;">
</div>
<div class="aside" style="justify-content: center;text-align: start;padding: 0.5rem;">
<h3 style="margin: 0;text-align: center;line-height: 150%;">🔀 Kotlin "REPL" with autocomplete - yes please! Introducing KI</h3>
<p style="margin: 0.75rem 0;padding: 0;">Who doesn't enjoy working in a REPL? I for sure do! But sometimes it's hard because you really really long for that autocomplete you get in a IDE. The Jetbrains team now introduces KI which is a interactive REPL, <strong>including autocomplete</strong>.<br>
<img src="https://blog.jetbrains.com/wp-content/uploads/2021/03/filter.gif" alt="image" style="max-width: 100%;"></p><a href="https://blog.jetbrains.com/kotlin/2021/04/ki-the-next-interactive-shell-for-kotlin/" target="blank" style="width: 100%;color: #920de9;font-weight: bold;text-decoration: none;"><small style="color: #999;">blog.jetbrains.com↗</small></a>
<hr style="width: 10%;background-color: #e9e9e9;border: none;height: 1.5px;margin: 0.5rem auto;">
</div>
</div>
</main>
<div class="footer" style="margin: 0 auto;max-width: 800px;padding: 0.5rem 0.25rem;width: 100%;text-align: center;color: #edf2f4;background-color: #2b2d42;">
<div class="section" style="width: 100%;justify-content: center;">
<p style="margin: 0.75rem 0;padding: 0;color: #8d99ae;"><b style="color: #8d99ae;">Thank you for this time see you in two weeks</b><br>- Hampus Londögård @ IT South</p>
</div>
</div>
</body>
</html>
</td>
<td></td>
</tr>
</table>