<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Levon Tumanyan on Medium]]></title>
        <description><![CDATA[Stories by Levon Tumanyan on Medium]]></description>
        <link>https://medium.com/@levon.tumanyan?source=rss-a727a21de63b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*sm0Y8xGm4CMtZxaWFRdsVQ.jpeg</url>
            <title>Stories by Levon Tumanyan on Medium</title>
            <link>https://medium.com/@levon.tumanyan?source=rss-a727a21de63b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 19:04:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@levon.tumanyan/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[If Programming Languages were Named in Spanish]]></title>
            <link>https://levelup.gitconnected.com/if-programming-languages-were-named-in-spanish-2d26271cb748?source=rss-a727a21de63b------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d26271cb748</guid>
            <category><![CDATA[spanish]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[command-line]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[language]]></category>
            <dc:creator><![CDATA[Levon Tumanyan]]></dc:creator>
            <pubDate>Sun, 01 Jun 2025 21:28:55 GMT</pubDate>
            <atom:updated>2025-06-04T14:11:46.451Z</atom:updated>
            <content:encoded><![CDATA[<h4>Plus Some Linux Commands in Spanish</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GswFC-jwLBBGl8l7fbZYWw.png" /></figure><p>I have been learning Spanish for the last 6 months or so, and been enjoying the process. It is similar to learning a new programming language, but harder. There are some fundamentals across languages but they are not as shared as in programming languages. Let’s see what would be the names of programming languages if they were in Spanish vs English.</p><p>I am going to look at the <a href="https://www.tiobe.com/tiobe-index/">tiobe index</a> and translate them based on popularity. Obviously names such as C or C++ would be the same.</p><ol><li>Python — pitón</li><li>Java — Java or Café</li><li>Go — Ir</li><li>Visual Basic — Visual Basico</li><li>Structured Query Language (SQL) — Estructurada Consulta Lenguaje (ECL)</li><li>FORmula TRANslation (Fortran) — Fórmula Traducción (Fórtrad)</li><li>Scratch — Rascar</li><li>Personal Home Page (PHP) — Personal Hogar Página (PHP)</li><li>Assembly Language — Lenguaje Ensamblador</li><li>Rust — Óxido</li><li>Ruby — Rubí</li><li>Swift — Rápido</li><li>Lisp — Ceceo</li><li>Dart — Dardo</li><li>Bourne again shell — Consola Bourne de nuevo (CBDN)</li><li>Typescript — Tipoguion</li><li>Power Shell — Consola Potente</li></ol><h4>Hello World in Spanish</h4><p>I am also curious how code would look like in Spanish. Here is a hello world C code snippet in Spanish.</p><pre>#incluir &lt;stdio.h&gt;<br><br>entero principal() {<br>    imprimirf(&quot;Hola, Mundo!\n&quot;);<br>    regresa 0;<br>}</pre><p><strong>Some Linux Commands in Spanish</strong></p><p>kill — matar</p><p>sleep — dormir</p><p>make — hacer</p><p>cd — cambiar directorio — cd</p><p>mkdir — crear directorio — crdir</p><p>touch — tocar</p><p>find — encontrar</p><p>sort — ordenar</p><p>uniq — unic</p><p>top — arriba</p><p>free — gratis</p><p>traceroute — trazarruta</p><p>Maybe it’s time to create some aliases to force myself to practice Spanish more.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d26271cb748" width="1" height="1" alt=""><hr><p><a href="https://levelup.gitconnected.com/if-programming-languages-were-named-in-spanish-2d26271cb748">If Programming Languages were Named in Spanish</a> was originally published in <a href="https://levelup.gitconnected.com/">Level Up Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unix/Linux rm Command Horror Story]]></title>
            <link>https://levelup.gitconnected.com/a-unix-linux-horror-story-dealing-with-rm-command-27f800033617?source=rss-a727a21de63b------2</link>
            <guid isPermaLink="false">https://medium.com/p/27f800033617</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[command-line]]></category>
            <category><![CDATA[unix]]></category>
            <category><![CDATA[shell]]></category>
            <category><![CDATA[sysadmin]]></category>
            <dc:creator><![CDATA[Levon Tumanyan]]></dc:creator>
            <pubDate>Thu, 24 Apr 2025 03:44:05 GMT</pubDate>
            <atom:updated>2025-05-20T03:02:00.489Z</atom:updated>
            <content:encoded><![CDATA[<h4>Bonus: How to do an rm dry run</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*dLJsFAnQ4Az3-4AVy3TmQw.jpeg" /><figcaption>AI generated</figcaption></figure><p>Somehow I stumbled upon <a href="https://www-uxsup.csx.cam.ac.uk/misc/horror.txt">this</a> old email chain from October, 1992. It contains sysadmin horror stories that users sent in and Anatoly Ivasyuk compiled them. The content is gold and I decided to delve into it. In this post I discuss the following entry from “Barrie” who allegedly worked at an Air Force Base in Oklahoma. Cool!</p><pre>From: robjohn@ocdis01.UUCP (Contractor Bob Johnson)<br>Organization: Tinker Air Force Base, Oklahoma<br>My mistake on SunOS (with OpenWindows) was to try and clean up all the<br>&#39;.*&#39; directories in /tmp. Obviously &quot;rm -rf /tmp/*&quot; missed these, so I<br>was very careful and made sure I was in /tmp and then executed<br>&quot;rm -rf ./.*&quot;.<br>I will never do this again. If I am in any doubt as to how a wildcard<br>will expand I will echo it first.<br>Barrie</pre><h4><strong>Breakdown</strong></h4><p>Since .* wilcard pattern expands to all hidden files as well as .and .., the command that Barrie ran in /tmp/ would have deleted the whole system. Since .. or parent directory for /tmp/ is / (root directory), Barrie got himself into real bad trouble.</p><h4><strong>Modern Safeguards</strong></h4><p>Good news is that, this problem is not as relevant anymore. In bash, globskipdots shell option is enabled by default since <a href="https://lists.gnu.org/archive/html/bug-bash/2022-09/msg00056.html">version 5.2 </a>(2022). This means, filename expansion will never match the filenames . and .., even if the pattern begins with a .</p><p>zsh, like the Forsyth shell and its descendants (pdksh, mksh, OpenBSD sh…) or the fish shell have fixed that and never include . nor .. in the result of filename generation[<a href="https://unix.stackexchange.com/a/600863">zsh globbing</a>].globskipdots bash option documentation can be found <a href="https://www.gnu.org/software/bash/manual/html_node/The-Shopt-Builtin.html">here</a>. Below we can observe the behaviour of the globskipdots option.</p><pre>ubuntu@fibonacci:~$ echo .*<br>.bash_history .bash_logout .bashrc .cache .profile .ssh<br><br>ubuntu@fibonacci:~$ shopt globskipdots<br>globskipdots    on<br><br>ubuntu@fibonacci:~$ shopt -u globskipdots<br><br>ubuntu@fibonacci:~$ shopt globskipdots<br>globskipdots    off<br><br>ubuntu@fibonacci:~$ echo .*<br>. .. .bash_history .bash_logout .bashrc .cache .profile .ssh</pre><h3><strong>Simulate what rm will delete (dry run)</strong></h3><p>How can we simulate and see what rm will delete without deleting. Can try echo .*, since it is the shell expanding wildcard patterns (globbing), not rm. However, that won’t help simulate recursive rm -r. We can try using find . -depth -name “.*” -print but find explicitly ignores .. while pattern matching.</p><pre>ubuntu@fibonacci:~$ find . -depth -name &quot;.*&quot; -print<br><br>./.bash_history<br>./.profile<br>./.bash_logout<br>./.cache<br>./.bashrc<br>./.ssh<br>.</pre><p>I asked ChatGPT how to do a dry run of the rm command. The answer was absolutely wrong and dangerous. It suggests using -v option with rm. In reality, that option will print what is being deleted and delete as well. Not quite a dry run as GPT claims. The irony is that I blindly ran this command on my Oracle VM, and it deleted my ssh configs as well as other hidden files in my home directory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZgMNvIc4968f7eaBfFo4gw.png" /><figcaption>GPT dangerous advice</figcaption></figure><p>Yet another option to explore is using rm -i, which runs the command in interactive mode. That will prompt for a yes or no, before deleting each file. This is the solution for doing a dry run, but it can be dangerous if you accidentally hit y. Also for a large amount of files it won’t be practical. Instead we can do yes n | rm -i .</p><p>Interesting note when running yes n | rm -rif .* the safeguards of rm kick in and refuse to delete the current and parent directories.</p><pre>ubuntu@fibonacci:~/random/new$ yes n | rm -rif .*<br>rm: refusing to remove &#39;.&#39; or &#39;..&#39; directory: skipping &#39;.&#39;<br>rm: refusing to remove &#39;.&#39; or &#39;..&#39; directory: skipping &#39;..&#39;</pre><p>With the `-f` option the interactive mode is ignored and it silently deletes all the hidden files in the current directory. For example in AIX, which is a proprietary UNIX system from IBM, it is stated that: “If both the -f and -i flags are specified, the last one specified takes affect”. [AIX rm](https://www.ibm.com/docs/en/aix/7.3?topic=r-rm-command).</p><h4><strong>Do this instead</strong></h4><p>.[^.]* — match a dot, then any character other than a dot and zero or more characters after that. This will match all hidden files and won’t match . or .. .</p><h4><strong>Conclusion</strong></h4><p>In 1992, the system that Barrie was using did not have any of the safeguards that are present now in most Linux distributions. As we observed there were several points where the system prevented us from removing the parent directory. One was the bash shell option globskipdots, and in zsh this is default behaviour without setting an option. However there is a way in zsh to expand the pattern .* to include current and parent directories. Another checkpoint was rm executable itself won’t allow us to delete the parent directory even after disabling globskipdots.</p><p><strong>Update</strong>: It is evident but should be mentioned that * not including hidden files is also a protection method. Technically it should include hidden files since . is a character, but it has been rightly established to work this way to avoid confusions and dire mistakes.</p><h4><strong>Additional References</strong></h4><p>1. [rm dry run](https://unix.stackexchange.com/questions/7056/how-do-you-do-a-dry-run-of-rm-to-see-what-files-will-be-deleted)</p><p>2. [posix mode globskipdots bug](https://mail.gnu.org/archive/html/bug-bash/2022-08/msg00024.html) — not sure if this has been fixed or not.</p><p>3. [glob tutorial](https://mywiki.wooledge.org/glob)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=27f800033617" width="1" height="1" alt=""><hr><p><a href="https://levelup.gitconnected.com/a-unix-linux-horror-story-dealing-with-rm-command-27f800033617">Unix/Linux rm Command Horror Story</a> was originally published in <a href="https://levelup.gitconnected.com/">Level Up Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reveal If Employers Viewed Your Linkedin Easy Apply Application]]></title>
            <link>https://medium.com/@levon.tumanyan/reveal-if-employers-viewed-your-linkedin-easy-apply-application-5bb68fe4c8ec?source=rss-a727a21de63b------2</link>
            <guid isPermaLink="false">https://medium.com/p/5bb68fe4c8ec</guid>
            <category><![CDATA[job-hunting]]></category>
            <category><![CDATA[job-search]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[linkedin]]></category>
            <category><![CDATA[script]]></category>
            <dc:creator><![CDATA[Levon Tumanyan]]></dc:creator>
            <pubDate>Thu, 17 Apr 2025 02:23:48 GMT</pubDate>
            <atom:updated>2025-04-18T14:05:38.935Z</atom:updated>
            <content:encoded><![CDATA[<h4>Easy Apply is a waste of time mostly</h4><p>Today, I was going through this link: <a href="https://www.linkedin.com/my-items/saved-jobs/?cardType=APPLIED,">https://www.linkedin.com/my-items/saved-jobs/?cardType=APPLIED,</a> which shows all the jobs I have applied to, through Linkedin. I didn’t know this but Linkedin shows the ones that employers have viewed and when they viewed your application. It also shows when they download your resume.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hxLgtNPVghYcS0G6s9izMg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5PTr45e1vCVXU5ls06HkHg.png" /><figcaption>Application viewed vs resume downloaded</figcaption></figure><p>I got curious and wanted to find out how many jobs I have applied to on Linkedin and how many have been viewed. So I fired up a google colab notebook and started scripting a solution with Python.</p><h3><strong>Prerequisites</strong></h3><p>In order to authenticate the script into Linkedin, I chose to reuse a cookie from my regular browser session. This was the simplest way in my opinion.</p><p>If you want to use this script: open up a browser, login to Linkedin, then grab the cookie with the name li_at. Paste the cookie’s value into the linkedin_cookie global variable. In order to find the cookie, go to developer tools -&gt; Application -&gt; Cookies -&gt; <a href="https://www.linkedin.com/">https://www.linkedin.com</a> -&gt; li_at. Copy the value of the cookie, and paste it into the script.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*638PE9mF7S62TsLVcJOn0Q.png" /><figcaption>Find your Linkedin cookie in developer tools</figcaption></figure><h3><strong>How to Get the Data</strong></h3><p>If you are running this as a notebook, run all the cells until you reach this cell all_applied_jobs = populate_all_jobs(). Run this as well, but it will take some time, because it is sending requests to Linkedin and populating an array of json objects. Next cell — print(json.dumps(all_applied_jobs, indent=2))— can be used to print all the jobs you have applied to in a concise way. Run this and copy paste to your favourite editor to play with the data.</p><h3><strong>Results</strong></h3><p>I made a function that allows me to pass number of days and discover stats about my applications within that timeline. The function definition is in the last cell, and to use it run: compute_stats(all_applied_jobs, &lt;days&gt;). Days is optional, and if not specified, the function will return stats about all jobs. So for me here is the result:</p><pre>compute_stats(all_applied_jobs)<br><br>You have applied to: 365 jobs in total.<br>12 job(s) applied on the company website - 3.29%.<br>Linkedin EasyApply count: 353 jobs.<br>Of these, 29 job(s) have been viewed - 8.22%.<br>1 resume download(s) or 0.28%.</pre><p>Or for the last 30 days:</p><pre>compute_stats(all_applied_jobs, 30)<br><br>You have applied to: 77 jobs in the last 30 days.<br>8 job(s) applied on the company website - 10.39%.<br>Linkedin EasyApply count: 69 jobs.<br>Of these, 2 job(s) have been viewed - 2.90%.<br>1 resume download(s) or 1.45%.</pre><p>You can find the notebook code here: <a href="https://gist.github.com/levontumanyan/2ec2ebde8593e1938874c675ede00b8a">https://gist.github.com/levontumanyan/75923c4f72e0f71b8ed5c2e54aa2843c</a></p><p><strong>P.S.</strong> I’m aware that some companies review applications through their own Applicant Tracking Systems (ATS), so LinkedIn may not always reflect every view.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5bb68fe4c8ec" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using the Power of AWK to Gain Insights into Crime Data]]></title>
            <link>https://medium.com/@levon.tumanyan/using-the-power-of-awk-to-gain-insights-into-crime-data-a5ac312bb046?source=rss-a727a21de63b------2</link>
            <guid isPermaLink="false">https://medium.com/p/a5ac312bb046</guid>
            <category><![CDATA[command-line]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[awk]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[bash]]></category>
            <dc:creator><![CDATA[Levon Tumanyan]]></dc:creator>
            <pubDate>Mon, 14 Apr 2025 21:42:04 GMT</pubDate>
            <atom:updated>2025-05-03T00:09:22.101Z</atom:updated>
            <content:encoded><![CDATA[<h4>After failing an interview due to my lack of AWK skills I decided to finally learn it!</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/276/1*2nFnJt5hSml5-5LLN1Sf5Q.png" /><figcaption>A handsome GNU head</figcaption></figure><h3><strong>Download the dataset</strong></h3><p>Download the &quot;Crime Data from 2020 to Present&quot; dataset in csv format from: <a href="https://catalog.data.gov/dataset/crime-data-from-2020-to-present">https://catalog.data.gov/dataset/crime-data-from-2020-to-present</a></p><h3><strong>AWK basics</strong></h3><p>I won’t go into too much detail about the fundamentals of AWK. There are many great tutorials out there. Here is two - first one is AWK basics and the second is official docs on AWK functions:</p><ul><li>https://linuxhandbook.com/awk-command-tutorial/</li><li>https://www.gnu.org/software/gawk/manual/html_node/Built_002din.html</li></ul><p>Main idea is that AWK follows the convention: pattern {action}. Pattern is a boolean expression that gets evaluated on each record(line), and action is what will be executed if pattern is truthy for the current record.</p><h3><strong>Insights into the Data</strong></h3><p>Let’s breakdown the dataset and see what are the different fields(columns) we have access to. This information is in the header. But since we are working with AWK it will be easier to enumerate each field. Redirect the result to a file in order to have this always accessible to us. I will give 2 different solutions to this problem, one purely with AWK and another approach which is easier to understand.</p><pre>awk -F, &#39;NR == 1 {for (i = 1; i &lt;= NF; i++) printf(&quot;%d: %s\n&quot;, i, $i) }&#39; \<br> Crime_Data_from_2020_to_Present.csv &gt;&gt; columns</pre><p>We instruct AWK to only look at record number 1, NR == 1. Next, we create a loop using special variable NF which contains the number of fields for a particular record, and for each field we print the field number and the name of the field. This is very inefficient since AWK will look at every record and but only the first one will be printed.</p><pre>head -1 Crime_Data_from_2020_to_Present.csv \<br> | awk -F, &#39;{for (i = 1; i &lt;= NF; i++) printf(&quot;%d: %s\n&quot;, i, $i) }&#39; &gt;&gt; columns</pre><p>Slight modification so that AWK does not look at every record and therefore we no longer need the NR == 1.</p><pre>head -1 Crime_Data_from_2020_to_Present.csv | tr &quot;,&quot; &quot;\n&quot; | nl &gt;&gt; columns</pre><p>Grab the header, replace all the commas with newline using tr. Then nl to enumerate each line. The result is:</p><pre>1: DR_NO<br>2: Date Rptd<br>3: DATE OCC<br>4: TIME OCC<br>5: AREA<br>6: AREA NAME<br>7: Rpt Dist No<br>8: Part 1-2<br>9: Crm Cd<br>10: Crm Cd Desc<br>11: Mocodes<br>12: Vict Age<br>13: Vict Sex<br>14: Vict Descent<br>15: Premis Cd<br>16: Premis Desc<br>17: Weapon Used Cd<br>18: Weapon Desc<br>19: Status<br>20: Status Desc<br>21: Crm Cd 1<br>22: Crm Cd 2<br>23: Crm Cd 3<br>24: Crm Cd 4<br>25: LOCATION<br>26: Cross Street<br>27: LAT<br>28: LON</pre><p>Now every time we want to manipulate the dataset we don’t need to rerun an awk command to figure out which column a particular field is in.</p><h3><strong>Crime Frequency by Area</strong></h3><pre>awk -F, &#39;NR &gt; 1 {areas[$6]++} \<br> END {for (area in areas) printf(&quot;%s:%s\n&quot;, area, areas[area])}&#39; \<br> Crime_Data_from_2020_to_Present.csv | sort -t: -nr -k2</pre><p>We use associative arrays here. It acts as a dictionary. As keys we will use the area name, and for each record we will increment that area’s count(value). After completing the count for each record, inside an END block we will go over each key and print the key (area name) and the value (count of crimes).</p><p>Now you know which neighbourhood to relocate to in Los Angeles.</p><h3><strong>Victim’s Sex</strong></h3><p>My goal here is to analyze the gender of crime victims. When trying to do this, it is not always the case that the 13-th field is the victim’s sex in terms of using comma as the separator, due to the fact that some records include fields that have quoted strings which contain commas. For those records AWK interprets more than the real number of fields.</p><p>One way around this problem is to use negative indexing, but the field I was looking for has the same issue from the other way around.</p><p>We can check the records for which there is exactly 28 fields. First I am going to check what is the number of records that from the perspective of AWK have 28 fields vs total number of records. By the way, if you have a solution for this please let me know.</p><pre>awk -F, &#39;NR &gt; 1 &amp;&amp; NF == 28&#39; Crime_Data_from_2020_to_Present.csv | wc -l<br>571893<br><br>wc -l Crime_Data_from_2020_to_Present.csv<br>1005199</pre><p>The difference is big, unfortunately, but for now I am going to ignore those records.</p><pre>awk -F, &#39;NR &gt; 1 &amp;&amp; NF == 28 {sex_frequency[$13]++} \<br> END {for (sex in sex_frequency) \<br> printf(&quot;%s:%d\n&quot;, sex, sex_frequency[sex])}&#39; \<br> Crime_Data_from_2020_to_Present.csv</pre><p>This is pretty good, but we get a lot of records that have an empty field for victim’s sex or H as the sex 🤷. For this reason I am only going to count when the sex field is either m, f, or x. I will use regex for this.</p><pre>awk -F, &#39;NR &gt; 1 &amp;&amp; NF == 28 &amp;&amp; $13 ~ /^[MXF]$/ {sex_frequency[$13]++} \<br> END {for (sex in sex_frequency) \<br> printf(&quot;%s:%d\n&quot;, sex, sex_frequency[sex])}&#39; \<br> Crime_Data_from_2020_to_Present.csv<br><br>F:157171<br>M:209479<br>X:66224</pre><p>Better. $13 ~ /^[MXF]$/instructs AWK to only consider records where the 13-th field is M, X or F. Now let’s see how we can do percentages.</p><pre>awk -F, &#39;NR &gt; 1 &amp;&amp; NF == 28 &amp;&amp; $13 ~ /^[MXF]$/ {sex_frequency[$13]++; total++} \<br> END {for (sex in sex_frequency) \<br> printf(&quot;%s:%d:%.2f%%\n&quot;, sex, sex_frequency[sex], (sex_frequency[sex]/total)*100)}&#39; \<br> Crime_Data_from_2020_to_Present.csv<br><br>F:157171:36.31%<br>M:209479:48.39%<br>X:66224:15.30%</pre><p>Final version. But since this command is getting out of hand, I will save it into an awk file and run it using the `-f` option.</p><pre>BEGIN { FS = &quot;,&quot; }<br><br>NR &gt; 1 &amp;&amp; NF == 28 &amp;&amp; $13 ~ /^[MXF]$/ {<br> sex_frequency[$13]++; total++<br>}<br><br>END {<br> for (sex in sex_frequency)<br>  printf(&quot;%s:%d:%.2f%%\n&quot;, sex, sex_frequency[sex], (sex_frequency[sex]/total)*100)<br>}</pre><p>After saving the above into a file, run:</p><pre>awk -f awk_crime_sex_percent.awk Crime_Data_from_2020_to_Present.csv</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a5ac312bb046" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Never Pay for Roaming Again: The Ultimate Guide to eSIM and Wi-Fi Calling]]></title>
            <link>https://medium.com/@levon.tumanyan/never-pay-for-roaming-again-the-ultimate-guide-to-esim-and-wi-fi-calling-3d3308c630a1?source=rss-a727a21de63b------2</link>
            <guid isPermaLink="false">https://medium.com/p/3d3308c630a1</guid>
            <category><![CDATA[travel]]></category>
            <category><![CDATA[esim]]></category>
            <category><![CDATA[save-money]]></category>
            <category><![CDATA[wifi-calling]]></category>
            <category><![CDATA[roaming]]></category>
            <dc:creator><![CDATA[Levon Tumanyan]]></dc:creator>
            <pubDate>Sat, 01 Feb 2025 16:41:09 GMT</pubDate>
            <atom:updated>2025-02-01T16:41:09.404Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QNcAymPxZ4xMTeE6CTFa2g.png" /><figcaption>No idea why DALL·E made the left hand so big</figcaption></figure><p>There is no reason to use your provider’s roaming plans when traveling abroad. By utilizing the power of eSIM technology, along with Wi-Fi calling, you can save hundreds of dollars while having an unlimited connectivity as if you were back home. This guide can be useful even if you are not planning to travel in the near future, since enabling Wi-Fi calling can improve connectivity in some scenarios.</p><h3>✅ Requirements</h3><p>- The phone supports Wi-Fi calling.</p><p>- Provider has enabled access to Wi-Fi calling.</p><h3>Wi-Fi Calling</h3><p>Enabling this feature can significantly improve call quality, especially if you are using your phone in places with bad connection (subway, basement, etc.). Most newer models support Wi-Fi calling (Google your model to check). Sometimes a provider might require some details for emergency calls and such, don’t be surprised if that is the case. Fill out the forms, and enable the feature.</p><h3>🍏 iPhone</h3><p>- Go to Settings -&gt; Cellular.</p><p>- Under SIMs select your primary phone line, the name will likely be “Primary”, click on it.</p><p>- Scroll down and you will see the option to enable Wi-Fi calling.</p><h3>🤖 Android</h3><p>- Open the Phone app 📞.</p><p>- Tap more ⋮ (top right).</p><p>- Tap Wi-Fi calling to toggle it on.</p><h3>Alter Network Selection Settings</h3><p>The reason for this step is to switch from automatic network selection to a manual one, so when traveling the phone doesn’t pick up a local network over your provider’s one.</p><h3>🍏 iPhone</h3><p>- Go to Settings -&gt; Cellular.</p><p>- Under SIMs select your primary phone line, the name will likely be “Primary”.</p><p>- Tap on Network Selection.</p><p>- Switch to manual, and choose your carrier.</p><h3>🤖 Android</h3><p>- Open Settings -&gt; Connections -&gt; Mobile Networks -&gt; Network Operators.</p><p>- Deactivate the select automatically option and manually choose your provider’s network.</p><p>After updating this setting, it is recommended not go back to it after you start traveling, in case it accidentally switches back to automatic selection.</p><h3>🚫 Disable Roaming</h3><p>Go through this step as a precaution. Contact your provider and tell them to disable roaming. Ask them for a confirmation email. Additionally, disable data roaming from the settings of your primary SIM. Follow the directions in the previous section and toggle data roaming off.</p><p>At this point you can travel to another country, and use your phone to make regular calls/text messages with your local contacts as you would back home. Make sure to not call foreign numbers since this will likely result in a charge. However, you can only do so at places where you are connected to a Wi-Fi network. If you would like to have connection even where being connected to a Wi-Fi is not possible, continue reading the guide.</p><h3>🌐 eSIM</h3><p>To have your home network work seamlessly while you are abroad and not connected to a Wi-Fi network, you will need to purchase an eSIM plan. Through the eSIM’s data, not only you will have internet, you will also get access to your carrier’s network, as if you are back home.</p><p>Nowadays, there are many options like Airalo, Gigago, Yesim, etc. Spend time to research which eSIM operator to use, since certain ones have cheaper rates in specific countries or regions. For example, a 30 day Gigago package with a limit of 5Gb/day goes for $19.90 USD in Vietnam. That means for only $20 you can “roam like home”, while even the cheapest roaming plan would cost hundreds of dollars.</p><p>After purchasing the eSIM plan and enabling it by following the instructions from the eSIM provider you are set to go.</p><h3>💡 Recommendations/Considerations</h3><p>- Consult Your Carrier: Before traveling, contact your mobile service provider to understand their specific policies on Wi-Fi Calling usage abroad and any associated charges. (Most providers do not have any additional fees).</p><p>- Emergency calls might not work over Wi-Fi in some areas, or they could be routed differently than over cellular networks.</p><p>- Instructions vary by Android manufacturer (e.g., Samsung, Google, OnePlus). A generic guide may not work for all users the exact steps may differ depending on the phone model and Android version.</p><p>For more travel tech insights, follow #TravelHacks #Roaming #StayConnected #DigitalNomad #eSIM #eSIM</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d3308c630a1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>