<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Posts on Mark&#39;s Site</title>
    <link>https://markveres.ro/posts/</link>
    <description>Recent content in Posts on Mark&#39;s Site</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 14 Sep 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://markveres.ro/posts/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Agromalim 2025 - Observații și chestii interesante</title>
      <link>https://markveres.ro/posts/agromalim-2025/</link>
      <pubDate>Sun, 14 Sep 2025 00:00:00 +0000</pubDate>
      <guid>https://markveres.ro/posts/agromalim-2025/</guid>
      <description>Automatizare tractoare și precision farming Spre deosebire de anul trecut am observat prezența a cel puțin patru sau cinci firme ce ofereau mecanisme prin care se putea realiza automatizarea parțială a tractoarelor. Toate sistemele aveau cam aceleași componente, ele fiind: un receiver GPS, un volan electric, un &amp;ldquo;control terminal&amp;rdquo; (practic o tabletă), sensor de înclinație și o cameră FPV (întâlnită doar la un singur sistem).&#xA;Firmă Produs Precizie Viteză Sveaverken F100 Auto Steer System ±2.</description>
    </item>
    <item>
      <title>Attempt at a statistical prediction of the 2026 midterms</title>
      <link>https://markveres.ro/posts/midterm-predictions-2026/</link>
      <pubDate>Tue, 04 Mar 2025 00:00:00 +0000</pubDate>
      <guid>https://markveres.ro/posts/midterm-predictions-2026/</guid>
      <description>I am currently trying to dip my toes in the field of statistics. To test myself, I will try to take a shot at predicting (or guessing) the result of the 2026 US midterms, which will take place on November 3, 2026. So my prediction will be validated in 608 days.&#xA;TLDR: I predict a democrat controlled house and a republican controlled senate&#xA;The reasons I think this will happen are the following:</description>
    </item>
    <item>
      <title>Advent of Code 2024</title>
      <link>https://markveres.ro/posts/advent-of-code-2024/</link>
      <pubDate>Mon, 02 Dec 2024 00:00:00 +0000</pubDate>
      <guid>https://markveres.ro/posts/advent-of-code-2024/</guid>
      <description>Some of my solutions to this years advent of code.&#xA;December first 🇷🇴 Part 1 col1 = [3, 4, 2, 1, 3, 3] col2 = [4, 3, 9, 3, 5, 3] pairs = [] while len(col1) != 0: pairs.append([min(col1), min(col2)]) col1.pop(col1.index(min(col1))) col2.pop(col2.index(min(col2))) print(pairs) distances = list(map(lambda x: abs(x[0]-x[1]), pairs)) print(distances) Part 2 col1 = [3, 4, 2, 1, 3, 3] col2 = [4, 3, 5, 3, 9, 3] similarity = sum(map(lambda x: col2.</description>
    </item>
    <item>
      <title>Bookmarklet Collection</title>
      <link>https://markveres.ro/posts/bookmarklets/</link>
      <pubDate>Wed, 13 Nov 2024 00:00:00 +0000</pubDate>
      <guid>https://markveres.ro/posts/bookmarklets/</guid>
      <description>Bookmarklets are bookmarks that, when clicked, execute javascript on the current tab, which opens some interesting opportunities.&#xA;ArchiveToday Redirect the current page to archive.today. Acts like a paywall bypasser.&#xA;javascript:location.href=&amp;#39;http://archive.today/?run=1&amp;amp;url=&amp;#39;+encodeURIComponent(document.location) olx.ro land price scaper Useful when researching land price in a certain area. Opens a new tab with a table containing linked titles, location, surface area and price. Note that you must use a bookmarklet creator to compile the code for this one.</description>
    </item>
    <item>
      <title>Napkin Math: Are chatbots for survey automatization worth it?</title>
      <link>https://markveres.ro/posts/survey-automatization-napkin-math/</link>
      <pubDate>Sat, 19 Oct 2024 00:00:00 +0000</pubDate>
      <guid>https://markveres.ro/posts/survey-automatization-napkin-math/</guid>
      <description>Let&amp;rsquo;s say you&amp;rsquo;re a company doing surveys, gathering data for politicians. Let&amp;rsquo;s do some napkin math to see if the switch to voice-based chatbots is worth it.&#xA;Formula we will use to estimate operating costs:&#xA;costs = rent + energy consumption + n * minimum_wage + m * (minimum_wage + something)&#xA;There&amp;rsquo;s more to running a company, but the elements listed are important because they will be radicaly changed by the switch to automated chatbots:</description>
    </item>
    <item>
      <title>Tiny JS Router</title>
      <link>https://markveres.ro/posts/tiny-js-router/</link>
      <pubDate>Sat, 27 Apr 2024 00:00:00 +0000</pubDate>
      <guid>https://markveres.ro/posts/tiny-js-router/</guid>
      <description>While working a personal project, I quickly created a 25 line client-side router for javascript.&#xA;It works really well with van.js.&#xA;// router.js export default { routes: [], add(path, cb) { this.routes.push({ path, cb }) }, listen(callback) { window.addEventListener(&amp;#39;hashchange&amp;#39;, () =&amp;gt; { let url_parts = window.location.hash.substring(1).split(&amp;#34;/&amp;#34;).filter(e =&amp;gt; e) this.routes.forEach(({ path, cb }) =&amp;gt; { let path_parts = path.split(&amp;#34;/&amp;#34;).filter(e =&amp;gt; e) let is_match = (url_parts.length == path_parts.length) let params = {} path_parts.</description>
    </item>
    <item>
      <title>&#34;sql.php&#34; - my own ORM in 400 lines of PHP</title>
      <link>https://markveres.ro/posts/php-orm/</link>
      <pubDate>Wed, 24 Jan 2024 16:08:31 +0200</pubDate>
      <guid>https://markveres.ro/posts/php-orm/</guid>
      <description>sql.php is a simple &amp;ldquo;active record&amp;rdquo;-like ORM written in PHP. It&amp;rsquo;s all contained into a single file, that goes by name of &amp;ldquo;sql.php&amp;rdquo;, has an extensible type system, soft deletions, CRUD operations, and manages to do all this with three classes: \SQL\DB, \SQL\Types and \SQL\Record.&#xA;I&amp;rsquo;ll start by making a short demonstration and then I&amp;rsquo;ll continue by going through the code, explaining why it does what it does and writing about future features I want to add.</description>
    </item>
    <item>
      <title>The Privacy Advocates Guidebook</title>
      <link>https://markveres.ro/posts/privacy-advocate-guidebook/</link>
      <pubDate>Fri, 19 Jan 2024 00:00:00 +0000</pubDate>
      <guid>https://markveres.ro/posts/privacy-advocate-guidebook/</guid>
      <description>🚧 THIS ARTICLE IS UNDER CONSTRUCTION 🚧&#xA;This guide provides a systematic approach to convince people that privacy is indeed important. It provides (in my opinion) convincing arguments that should work on certain types of people that each prioritise certain values.&#xA;This article will pe split in two parts: Arguments and Examples. The Arguments section will contain what tactics and types of arguments you should use while conving a person, while the Examples section will list the TLDRs of privacy abuse done by governments and companies.</description>
    </item>
    <item>
      <title>Browsers only allow users to make GET requests</title>
      <link>https://markveres.ro/posts/browsers-only-allow-users-to-make-get-requests/</link>
      <pubDate>Thu, 18 Jan 2024 00:00:00 +0000</pubDate>
      <guid>https://markveres.ro/posts/browsers-only-allow-users-to-make-get-requests/</guid>
      <description>&lt;p&gt;&lt;strong&gt;🚧 MESSY WRITING AHEAD 🚧&lt;/strong&gt;&lt;br&gt;&#xA;&lt;em&gt;Foreword: I began writing this article out of frustration in 2023 and only finished it in 2024. The writing is very messy and the article is a list of related thoughts and not a decisive battle plan to fix the shortcomings of the internet.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;Modern browsers effectively only allow users to perform GET requests, thus forcing users to interact with forms from within documents. This single design decision shaped the way the web works and turned it into the mess that it is today. Now let me explain.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Socialist Groundhog Day</title>
      <link>https://markveres.ro/posts/socialist-groundhog-day/</link>
      <pubDate>Sun, 01 Oct 2023 16:29:24 +0300</pubDate>
      <guid>https://markveres.ro/posts/socialist-groundhog-day/</guid>
      <description>Do you know what I think about you socialists? You critique the government because it doesn&amp;rsquo;t accept your utopic ideas. You come, overthrow governments, try to implement your idealistic ideologies and fail, creating instead a more tyrannical state that the one before. And then you wake up a few decades later to say that what came before was not socialism.&#xA;It&amp;rsquo;s a kind of Socialist Groundhog Day, except Bill Murray doesn&amp;rsquo;t become a better person, but he stays just as idiotic.</description>
    </item>
    <item>
      <title>Visually Symmetric Words</title>
      <link>https://markveres.ro/posts/visually-symmetric-words/</link>
      <pubDate>Sat, 16 Sep 2023 21:18:21 +0300</pubDate>
      <guid>https://markveres.ro/posts/visually-symmetric-words/</guid>
      <description>I read a post about visually symmetric words a while back and decided to write a program to automatically find them.&#xA;The code can be found on on github at mark-veres/vis-sym.&#xA;I began by finding all visually symmetrical letters and ended up with this list:&#xA;symmetric = [&amp;#39;i&amp;#39;, &amp;#39;l&amp;#39;, &amp;#39;m&amp;#39;, &amp;#39;o&amp;#39;, &amp;#39;u&amp;#39;, &amp;#39;v&amp;#39;, &amp;#39;w&amp;#39;, &amp;#39;x&amp;#39;, &amp;#39;y&amp;#39;] I created a list that contained pairs of mirrored letters.&#xA;mirrors = [(&amp;#39;p&amp;#39;, &amp;#39;q&amp;#39;), (&amp;#39;d&amp;#39;, &amp;#39;b&amp;#39;), (&amp;#39;q&amp;#39;, &amp;#39;p&amp;#39;), (&amp;#39;b&amp;#39;, &amp;#39;d&amp;#39;)] for s in symmetric: mirrors.</description>
    </item>
    <item>
      <title>Harta cu sesizări a primăriei Arad - accesibilă prin API</title>
      <link>https://markveres.ro/posts/primaria-arad-harta-sesizari/</link>
      <pubDate>Wed, 06 Sep 2023 00:00:00 +0000</pubDate>
      <guid>https://markveres.ro/posts/primaria-arad-harta-sesizari/</guid>
      <description>&lt;p&gt;Primăria Arad a adăugat un nou serviciu la suita sa de servicii electronice. &lt;a href=&#34;https://myarad.primariaarad.ro/dm_arad/servicii.nsf/pagini/sesizari+online+pe+harta#!/&#34;&gt;Serviciul de sesizări pe hartă&lt;/a&gt; lasă cetățenii să raporteze probleme legate de oraș, lăsându-i să lase o etichetă pe pagina serviciului. Sesizările cetățeniilor nu rămân neadresate, serviciul permite primăriei să se adreseze cetățenilor.&lt;/p&gt;</description>
    </item>
    <item>
      <title>React Prop Types in Typescript</title>
      <link>https://markveres.ro/posts/react-prop-types/</link>
      <pubDate>Mon, 10 Jul 2023 10:54:36 +0300</pubDate>
      <guid>https://markveres.ro/posts/react-prop-types/</guid>
      <description>&lt;p&gt;Everything must have a type in typescript. Let&amp;rsquo;s see how this would work for React props.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Democracy, by the People to blame the People</title>
      <link>https://markveres.ro/posts/democracy-by-the-people-to-blame-the-people/</link>
      <pubDate>Tue, 23 May 2023 20:26:54 +0300</pubDate>
      <guid>https://markveres.ro/posts/democracy-by-the-people-to-blame-the-people/</guid>
      <description>&lt;p&gt;Democracy, a system whose shortcomings are always blamed on the voters, distracts the attentions of the masses from the elites, by making them blame and fight eachother instead of the elites who cause the shortcomings.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Read With Speed</title>
      <link>https://markveres.ro/posts/read-with-speed/</link>
      <pubDate>Sun, 07 May 2023 16:17:21 +0300</pubDate>
      <guid>https://markveres.ro/posts/read-with-speed/</guid>
      <description>&lt;p&gt;I can read quite quickly, but that doesn&amp;rsquo;t mean I finish books quickly. I can stay focused for some amount of time and finish an article very quickly, but books are something else. In this article I disclose the tehniques used to leverage this ability.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Zimand Satul Zburator</title>
      <link>https://markveres.ro/posts/zimand-satul-zburator/</link>
      <pubDate>Sat, 22 Apr 2023 00:00:00 +0000</pubDate>
      <guid>https://markveres.ro/posts/zimand-satul-zburator/</guid>
      <description>&lt;p&gt;Povestiri din Zimand, satul zburător. De la centru intelectual al întregii lumi, la despărțire de pământ și în sfârșit la reîntrunire cu el. Zimandul le are pe toate și pe niciuna. Un loc unde, pentru fiecare obiect, există 1000 de copii identice și încă 1000 doar un pic alterate &amp;ndash; unde cel mai unic lucru sunt două, dar niciodată trei, obiecte ce sunt identice până la structura atomică.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Are people looking for alternative search engines?</title>
      <link>https://markveres.ro/posts/alternative-search-engines/</link>
      <pubDate>Mon, 09 Jan 2023 19:29:31 +0200</pubDate>
      <guid>https://markveres.ro/posts/alternative-search-engines/</guid>
      <description>&lt;p&gt;Apparently, many (predominantly young) people use TikTok as a search engine. Personally, I don&amp;rsquo;t use social media so I don&amp;rsquo;t see the appeal to this, but recently I started to use &lt;a href=&#34;https://news.ycombinator.com/&#34;&gt;YCombinator&amp;rsquo;s Hacker News&lt;/a&gt; as a search engine.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Programatically access Arad&#39;s Digital Library</title>
      <link>https://markveres.ro/posts/library-digitalization-arad/</link>
      <pubDate>Thu, 05 Jan 2023 00:11:15 +0200</pubDate>
      <guid>https://markveres.ro/posts/library-digitalization-arad/</guid>
      <description>&lt;p&gt;I love to use and see services that allow me to use their data in a programatical way, i.e. websites that provide APIs. APIs truly make openly available data, open. By providing an API, anyone can download your data and use it in their applications in a meaningful way.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Most Spyware is legal and you use it</title>
      <link>https://markveres.ro/posts/legal-spyware/</link>
      <pubDate>Sun, 30 Oct 2022 21:14:11 +0200</pubDate>
      <guid>https://markveres.ro/posts/legal-spyware/</guid>
      <description>&lt;p&gt;&lt;em&gt;Spyware is malware that aims to gather information about a person or organization and send it to another entity in a way that harms the user—for example, by violating their privacy or endangering their device&amp;rsquo;s security.&lt;/em&gt; Some people see this definition and find think that spyware is evil and &lt;strong&gt;I totally agree&lt;/strong&gt;. But these same people will not realize the irony of their beliefs.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Snatching the &#34;garfield.ro&#34; domain</title>
      <link>https://markveres.ro/posts/buying-another-domain/</link>
      <pubDate>Tue, 13 Sep 2022 00:00:00 +0000</pubDate>
      <guid>https://markveres.ro/posts/buying-another-domain/</guid>
      <description>&lt;p&gt;I bought the &amp;ldquo;garfield.ro&amp;rdquo; domain today, it cost me only 46 RON per year. I don&amp;rsquo;t think it&amp;rsquo;s worth very much, but it&amp;rsquo;ll be a great server for my e-mail server and other chat servers I might host.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Protocol Junkie: Gopher</title>
      <link>https://markveres.ro/posts/protocol-junkie-gopher/</link>
      <pubDate>Fri, 02 Sep 2022 00:00:00 +0000</pubDate>
      <guid>https://markveres.ro/posts/protocol-junkie-gopher/</guid>
      <description>&lt;p&gt;Gopher &lt;em&gt;is a communication protocol designed for distributing, searching, and retrieving documents in Internet Protocol networks&lt;/em&gt; that was invented by &lt;a href=&#34;https://en.m.wikipedia.org/wiki/Mark_P._McCahill&#34;&gt;Mark P. McCahill&lt;/a&gt; at the University of Minnesota in 1991.&lt;/p&gt;</description>
    </item>
    <item>
      <title>&#34;Walled garden&#34; mentality</title>
      <link>https://markveres.ro/posts/walled-garden/</link>
      <pubDate>Wed, 31 Aug 2022 00:00:00 +0000</pubDate>
      <guid>https://markveres.ro/posts/walled-garden/</guid>
      <description>&lt;p&gt;I hate it when people say things like &lt;strong&gt;&amp;ldquo;just use X&amp;rdquo;&lt;/strong&gt;(I&amp;rsquo;m looking at you google), it implies that you should only use tool &lt;strong&gt;X&lt;/strong&gt; and that is a very toxic mentality.&lt;/p&gt;</description>
    </item>
    <item>
      <title>New domain and hosting</title>
      <link>https://markveres.ro/posts/new-domain/</link>
      <pubDate>Sun, 29 May 2022 00:00:00 +0000</pubDate>
      <guid>https://markveres.ro/posts/new-domain/</guid>
      <description>&lt;p&gt;I switched to a new domain(&lt;a href=&#34;https://markveres.ro&#34;&gt;markveres.ro&lt;/a&gt;) from the old domain name(&lt;a href=&#34;https://xoni.ro&#34;&gt;xoni.ro&lt;/a&gt;). The old domain still works, at the time I&amp;rsquo;m writing this. The new site is hosted on my Raspberry PI.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Observer Pattern in java</title>
      <link>https://markveres.ro/posts/java-event-system/</link>
      <pubDate>Sat, 25 Dec 2021 00:00:00 +0000</pubDate>
      <guid>https://markveres.ro/posts/java-event-system/</guid>
      <description>&lt;p&gt;The &lt;a href=&#34;https://en.wikipedia.org/wiki/Observer_pattern&#34;&gt;observer pattern&lt;/a&gt; is a &lt;a href=&#34;https://en.wikipedia.org/wiki/Design_pattern&#34;&gt;design pattern&lt;/a&gt; in wich an subject stores a list of all observers that depend on it. When the state of the subject changes, it broadcasts the change to all the observers by calling a method, specific to the observers. The advantage is the fact that observers don&amp;rsquo;t have to spam the subject to get updates.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Use javascript to console.log images</title>
      <link>https://markveres.ro/posts/console-log-images/</link>
      <pubDate>Mon, 15 Nov 2021 00:00:00 +0000</pubDate>
      <guid>https://markveres.ro/posts/console-log-images/</guid>
      <description>&lt;p&gt;I recently discovered this method to display images in the browser console by using &lt;code&gt;console.log&lt;/code&gt; and some CSS.&lt;br&gt;&#xA;It works by using the CSS support for &lt;code&gt;console.log&lt;/code&gt; to set a &lt;code&gt;background-image&lt;/code&gt; to the message. It also sets some padding to make the image visible and really, that&amp;rsquo;s it.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Database organisation with docker</title>
      <link>https://markveres.ro/posts/docker-db/</link>
      <pubDate>Thu, 28 Oct 2021 00:00:00 +0000</pubDate>
      <guid>https://markveres.ro/posts/docker-db/</guid>
      <description>To avoid version conflicts and to not mess up my computer by accident, I have my own simple way of organizing databases. I dockerize them! There&amp;rsquo;s no reason not to do this when developing at home, because:&#xA;it&amp;rsquo;s easy to do(easier than the traditional way) you can avoid messing with your computer(especially on windows) multiple database versions on the same machine I first thought of this solution after trying(and failing) to install MySQL on windows.</description>
    </item>
    <item>
      <title>Graph data structure using matrices</title>
      <link>https://markveres.ro/posts/graphs-with-matrices/</link>
      <pubDate>Thu, 28 Oct 2021 00:00:00 +0000</pubDate>
      <guid>https://markveres.ro/posts/graphs-with-matrices/</guid>
      <description>&lt;p&gt;Representing &lt;a href=&#34;https://en.wikipedia.org/wiki/Graph_(abstract_data_type)&#34;&gt;&lt;em&gt;graphs&lt;/em&gt;&lt;/a&gt; with &lt;a href=&#34;https://en.wikipedia.org/wiki/Matrix_(mathematics)&#34;&gt;&lt;em&gt;matrices&lt;/em&gt;&lt;/a&gt;. &lt;em&gt;Graphs&lt;/em&gt;, in their simplest form, are used to show relationships between data.&lt;br&gt;&#xA;We will represent relationships by creating a table that has an &lt;strong&gt;n&lt;/strong&gt; number of columns and rows. Column &lt;strong&gt;n&lt;/strong&gt; corresponds to row &lt;strong&gt;n&lt;/strong&gt;, so that we can get the relationship between two nodes like we would access a nested array.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
