<?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 André Luís on Medium]]></title>
        <description><![CDATA[Stories by André Luís on Medium]]></description>
        <link>https://medium.com/@ndrluis?source=rss-83dc895a85fc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_H1X6YQRYWOcADkkEpMKFg@2x.jpeg</url>
            <title>Stories by André Luís on Medium</title>
            <link>https://medium.com/@ndrluis?source=rss-83dc895a85fc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 10:45:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ndrluis/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[Using Elixir with Apache Iceberg Through DuckDB]]></title>
            <link>https://medium.com/@ndrluis/using-elixir-with-apache-iceberg-through-duckdb-2f3ce915e085?source=rss-83dc895a85fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/2f3ce915e085</guid>
            <category><![CDATA[elixir]]></category>
            <category><![CDATA[duckdb]]></category>
            <category><![CDATA[apache-iceberg]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[lakekeeper]]></category>
            <dc:creator><![CDATA[André Luís]]></dc:creator>
            <pubDate>Sun, 28 Sep 2025 17:13:09 GMT</pubDate>
            <atom:updated>2025-09-28T17:13:09.331Z</atom:updated>
            <cc:license>http://creativecommons.org/publicdomain/zero/1.0/</cc:license>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HoVEH8AJXMo0-QGglVdlkA.png" /></figure><p>With DuckDB 1.4.0, you can now use Elixir to query Apache Iceberg tables directly. This opens up new possibilities for building data platforms without the usual Java/Spark complexity.</p><p>I’ve put together a working example at <a href="https://github.com/ndrluis/elixir-duckdb-iceberg">github.com/ndrluis/elixir-duckdb-iceberg</a>. Just clone it, run docker compose up, then go to localhost:8080, click &quot;Open&quot; and select the Livebook file to see everything in action.</p><h4>Understanding the Components</h4><p><a href="https://iceberg.apache.org/">Apache Iceberg</a> is a table format that brings database reliability to data lake flexibility. It gives you ACID transactions (no more corrupt data from failed writes), schema evolution (add columns without breaking existing queries), time travel (query data as it existed at any point in time), and smart partitioning that works automatically. Your queries don’t need to know how the data is partitioned. Iceberg figures out which files to read based on your filters, and you can change the partitioning later without breaking anything.</p><p><a href="https://duckdb.org/2025/09/16/announcing-duckdb-140.html">DuckDB 1.4.0</a> added <a href="https://duckdb.org/docs/stable/core_extensions/iceberg/overview.html">experimental Iceberg support</a>, allowing you to create, query, and manage Iceberg tables using SQL.</p><p><a href="https://github.com/lakekeeper/lakekeeper">Lakekeeper</a> is an <a href="https://iceberg.apache.org/rest-catalog-spec/">Iceberg REST catalog</a> that tracks table metadata like schemas, partition info, and file locations. It provides a simple REST API that DuckDB can talk to.</p><p><a href="https://elixir-lang.org/">Elixir</a> with <a href="https://github.com/elixir-explorer/explorer">Explorer</a> gives you a great way to work with data without JVM overhead or Python dependency issues.</p><h4>How It All Works Together</h4><p>The data flow is straightforward: DuckDB executes queries and manages Iceberg tables through its extension, Lakekeeper tracks table metadata and coordinates with storage, and MinIO stores the actual Parquet files that make up your tables.</p><p>When you create a table, DuckDB tells Lakekeeper about the schema. Lakekeeper stores that info and tells DuckDB where to put the data files in MinIO. When you query, DuckDB asks Lakekeeper for the table metadata, then reads the right files from MinIO.</p><p>The livebook in the repo demonstrates a complete workflow. It downloads the DuckDB driver and establishes a connection using <a href="https://arrow.apache.org/adbc/">ADBC</a> (<a href="https://hexdocs.pm/adbc/Adbc.html">Elixir bindings</a>), loads the Iceberg extensions, attaches to the Lakekeeper catalog, creates tables using standard DDL syntax, and queries data using Explorer DataFrames. The best part is how cleanly this integrates with Explorer.</p><h4>Current Limitations</h4><p>The DuckDB Iceberg extension documentation notes that “this extension is currently in an experimental state” and users should “be aware that things may not work as expected.” DuckDB is also single-node, so it’s great for development and medium-sized datasets, but for huge workloads you’d use Spark or Trino. This setup is perfect for prototyping and smaller production workloads, but for mission-critical systems you might want to stick with more mature Iceberg engines for now.</p><h4>Looking Forward</h4><p>This is just the beginning for Elixir and Iceberg integration. While DuckDB provides a great way to get started, there’s also <a href="https://github.com/ndrluis/ex_iceberg">ex_iceberg</a> in development, an Elixir library for working with Iceberg tables that uses the official <a href="https://github.com/apache/iceberg-rust">Apache Iceberg Rust implementation</a> under the hood.</p><p>Right now, ex_iceberg focuses on catalog operations and provides a friendly syntax for creating tables, but it doesn’t support reading and writing data yet. What makes it interesting is that it leverages iceberg-rust, which means it will eventually have full feature parity with other Iceberg implementations.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2f3ce915e085" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Vim + TMUX + Clojure]]></title>
            <link>https://medium.com/@ndrluis/vim-tmux-clojure-7d7b698bd4bf?source=rss-83dc895a85fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/7d7b698bd4bf</guid>
            <category><![CDATA[vim]]></category>
            <category><![CDATA[clojure]]></category>
            <category><![CDATA[development]]></category>
            <dc:creator><![CDATA[André Luís]]></dc:creator>
            <pubDate>Wed, 30 Dec 2015 00:00:00 GMT</pubDate>
            <atom:updated>2016-03-16T14:35:23.646Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EOR3-ZktA35ipo7l.png" /></figure><p>Apanhei muito tentando mudar para o emacs que seria o melhor dos mundos para desenvolvimento com clojure, mas nem utilizando o famoso <a href="http://www.emacswiki.org/emacs/Evil">Evil</a> eu consegui me adaptar.</p><p>Depois de varias pesquisas encontrei algo que me dava uma sensação de agilidade no desenvolvimento utilizando o repl com VIM.</p><h3>Configurando o TMUX</h3><p>Para não ter conflitos com o VIM eu troco o Ctrl-b por Ctrl-a</p><pre>set -g prefix C-a unbind C-b</pre><h3>Configurando o VIM</h3><p>Existem tonelaaaaadas de plugins para clojure e boa parte mantidos pelo <a href="https://github.com/tpope">Tim Pope</a>, mas como menos é mais eu só uso dois.</p><h3>Colocando para funcionar</h3><p>Com o TMUX aberto execute vim test.clj e abra um pane do lado direito e execute lein repl, você vai ter algo assim:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BVQAuzkXU8gll5WP.png" /></figure><p>No pane do VIM você vai clicar duas vezes Ctrl-c e ele vai perguntar o socket (para o nosso exemplo não precisamos alterar nada) apenas aperte o enter, em seguida ele perguntar o pane e no nosso caso vamos escrever 1.2 (Window -&gt; 1 / Pane -&gt; 2) e pronto o VIM está conectado no REPL.</p><p>Para testar basta escrever um codigo e com o cursor em cima do código executamos o Ctrl-c 2 vezes e o resultado vai aparecer no REPL.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EOR3-ZktA35ipo7l.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7d7b698bd4bf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Agilizando o desenvolvimento com tmuxinator]]></title>
            <link>https://medium.com/@ndrluis/agilizando-o-desenvolvimento-com-tmuxinator-6a49bf80f296?source=rss-83dc895a85fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/6a49bf80f296</guid>
            <category><![CDATA[tmux]]></category>
            <category><![CDATA[development]]></category>
            <dc:creator><![CDATA[André Luís]]></dc:creator>
            <pubDate>Sun, 27 Dec 2015 00:00:00 GMT</pubDate>
            <atom:updated>2016-03-25T16:36:15.593Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pkxnMaW9_yqgzYLBdWPrmQ.png" /></figure><p>Você como usuário do TMUX já deve ter perdido alguns minutos abrindo as janelas e panes, com o tmuxinator esse trabalho é resolvido rapidamente.</p><h3>Instalação</h3><blockquote>$ gem install tmuxinator</blockquote><p>Rode o doctor para verificar as configurações de variáveis globais.</p><blockquote>$ mux doctor</blockquote><p>se o resultado for</p><blockquote>Checking if tmux is installed ==&gt; Yes</blockquote><blockquote>Checking if $EDITOR is set ==&gt; Yes</blockquote><blockquote>Checking if $SHELL is set ==&gt; Yes</blockquote><p>então está tudo certo</p><h3>Utilização</h3><p>Não tem nenhum segredo, basicamente você cria com o nome do projeto.</p><blockquote>$ mux new project_name</blockquote><p>esse comando vai criar um arquivo com uma configuração default, para abrir no seu editor previamente configurado utilize</p><blockquote>$ mux open project_name</blockquote><p>e efetue as configurações necessárias.</p><p>no meu caso eu utilizo o vim e estou com um projeto pessoal em rails, o meu arquivo ficou assim.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/781018a21adc569db946e36392f1cc73/href">https://medium.com/media/781018a21adc569db946e36392f1cc73/href</a></iframe><p>Agora para utilizar basta executar</p><blockquote>$ mux project_name</blockquote><p>e ele vai abrir o tmux com a configuração de janelas e os comandos executados no path setado como root.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6a49bf80f296" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[(play-clj “o que é?”)]]></title>
            <link>https://medium.com/@ndrluis/play-clj-o-que-%C3%A9-15771670d1a8?source=rss-83dc895a85fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/15771670d1a8</guid>
            <category><![CDATA[clojure]]></category>
            <category><![CDATA[desenvolvimento-de-games]]></category>
            <category><![CDATA[games]]></category>
            <dc:creator><![CDATA[André Luís]]></dc:creator>
            <pubDate>Thu, 09 Apr 2015 00:00:00 GMT</pubDate>
            <atom:updated>2016-02-23T15:31:06.516Z</atom:updated>
            <content:encoded><![CDATA[<p>Ontem escrevi um <a href="https://medium.com/@ndrluis/play-clj-criando-a-estrutura-e-primeiros-passos-df8c9264c169#.fxd3zekf6">post</a> sobre como criar um projeto com <a href="https://github.com/oakes/play-clj">play-clj</a> e rodar o mesmo, mas não fiz o mais importante… <em>Explicar que diabos é play-clj</em></p><h4>blog.core.andre-anastacio =&gt; (doc play-clj)</h4><p>play-clj é um wrapper do <a href="http://libgdx.badlogicgames.com/">libGDX</a>, uma biblioteca java de desenvolvimento de games 2D e 3D multiplataforma, utilizando o play-clj é possível compilar para Desktop (OSX/Windows/Linux) e Mobile (iOS/Android) utilizando o mesmo código.</p><p><em>Obs: O suporte mobile ainda é experimental!</em></p><h4>blog.core.andre-anastacio =&gt; (advantages play-clj)</h4><ul><li>Modificar o jogo em runtime via <a href="http://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop">REPL</a></li><li>Manutenção do código (<a href="http://en.wikipedia.org/wiki/Entity_component_system">Entity Component System</a>)</li><li>Obs: é possível utilizar ECS em qualquer linguagem, mas o clojure facilita a utilização desse pattern e o play-clj foi construído de uma maneira que facilita o desenvolvimento com ECS.</li><li>Imutabilidade</li></ul><h4>blog.core.andre-anastacio =&gt; (disadvantages play-clj)</h4><ul><li>Prototipação lenta (Comparado a bibliotecas JS como <a href="http://phaser.io/">Phaser.IO)</a></li><li>Falta de exemplos.</li><li>Ainda não saiu a versão 1.0 e a API é alterada constantemente.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=15771670d1a8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[(play-clj “criando a estrutura e primeiros passos”)]]></title>
            <link>https://medium.com/@ndrluis/play-clj-criando-a-estrutura-e-primeiros-passos-df8c9264c169?source=rss-83dc895a85fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/df8c9264c169</guid>
            <category><![CDATA[clojure]]></category>
            <category><![CDATA[games]]></category>
            <category><![CDATA[desenvolvimento-de-games]]></category>
            <dc:creator><![CDATA[André Luís]]></dc:creator>
            <pubDate>Wed, 08 Apr 2015 00:00:00 GMT</pubDate>
            <atom:updated>2016-02-23T15:23:28.804Z</atom:updated>
            <content:encoded><![CDATA[<p>Nesse primeiro post vamos ver como criar e executar um projeto com <a href="https://github.com/oakes/play-clj">play-clj</a>.</p><p>Existem 3 formas de se trabalhar com play-clj</p><ul><li><a href="https://github.com/technomancy/leiningen">Leiningen</a> — gerenciador de pacotes do Clojure</li><li><a href="https://sekao.net/nightcode/">Nightcode</a> — IDE desenvolvida pelo criador do play-clj</li><li><a href="https://sekao.net/nightmod/">Nighmode</a> — IDE interativa focada diretamente no desenvolvimento com play-clj tambem desenvolvida pelo criador do play-clj</li></ul><p>Nesse post iremos utilizar o Leiningen</p><h4>Criando a estrutura</h4><p>Para criar o nosso projeto precisamos do Leiningen, após a instalação executamos o comando <em>lein new play-clj hello-world</em> que vai gerar a estrutura do projeto.</p><h4>Executando</h4><p>Após criarmos a estrutura do nosso jogo vamos rodar o nosso jogo, nesse primeiro momento vamos focar apenas na pasta desktop que deve ter uma estrutura semelhante a essa:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/932/1*fXGRcKV_fp7yLFzlX5s0ug.png" /></figure><p>Para rodar game acesse a pasta desktop e execute <em>lein repl </em>(esse comando vai terminar de baixar as dependências se você estiver rodando pela primeira vez) ao abrir o repl execute o namespace principal do game que no nosso caso é <em>‘(use hello-world.core.desktop-launcher)</em> e em seguida execute a função principal <em>(-main)</em></p><p>Você vai ver uma tela preta escrita Hello World como essa</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/912/0*pmEthoLxtyll4hx3.png" /></figure><p>Quero saber mais! como faço?</p><ul><li>Assista a <a href="https://www.youtube.com/watch?v=0GzzFeS5cMc">talk</a> do criador do play-clj.</li><li>Entenda os <a href="https://github.com/oakes/play-clj-examples">exemplos</a> de games criados com play-clj</li><li>Acompanhe o blog!</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df8c9264c169" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>