shakedown.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A community for live music fans with roots in the jam scene. Shakedown Social is run by a team of volunteers (led by @clifff and @sethadam1) and funded by donations.

Administered by:

Server stats:

267
active users

#sql

1 post1 participant0 posts today
Ryan Kennedy<p>Hey, <a href="https://hachyderm.io/tags/SQL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SQL</span></a> nerds…looking for a clever way to order results by a list passed in as part of a WHERE…IN query. e.g.</p><p>SELECT language, label<br>FROM thing_labels<br>WHERE thing_id=13 AND language IN ['en', 'de', 'fr', 'es', 'it']<br>ORDER BY ???<br>LIMIT 1</p><p>I want to get the row where language=en, if it exists…if not, then the row where language=de…and so on. Think of it as a label prioritized by a list of languages, as provided by the caller (i.e. not by some ordering present in the database).</p><p>I can think of ways to do this with a CTE or temporary table that stores a language-to-priority mapping that I can join against and then ORDER BY. But I'm wondering if there's a clever SQL-ism I'm unaware of that can help to avoid needing that.</p>
Dave Mason<p>Fun fact: <a href="https://mastodon.social/tags/SQL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SQL</span></a> is over 50 years old now.</p><p>Do any of the litany of frameworks stay relevant for 50 weeks?</p>
Dave Mason<p>When I was on the bird site, I followed the <a href="https://mastodon.social/tags/SQL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SQL</span></a> hash tag to learn about Structured Query Language, databases, and the like.</p><p>I follow <a href="https://mastodon.social/tags/SQL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SQL</span></a> in the Fediverse too. </p><p>But here, the vast majority of posts are about frameworks, ORM's, and other tools folks can use so they don't have to learn (or understand) a 4G language that's likely a lot simpler than the other tech complexities they've mastered.</p><p>I don't know how we got here.</p>
jbz<p>💧 Supabase MCP can leak your entire SQL database</p><p>「 The cursor assistant operates the Supabase database with elevated access via the service_role, which bypasses all row-level security (RLS) protections. At the same time, it reads customer-submitted messages as part of its input. If one of those messages contains carefully crafted instructions, the assistant may interpret them as commands and execute SQL unintentionally 」</p><p><a href="https://simonwillison.net/2025/Jul/6/supabase-mcp-lethal-trifecta/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">simonwillison.net/2025/Jul/6/s</span><span class="invisible">upabase-mcp-lethal-trifecta/</span></a></p><p><a href="https://indieweb.social/tags/supabase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>supabase</span></a> <a href="https://indieweb.social/tags/databreach" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>databreach</span></a> <a href="https://indieweb.social/tags/mcp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mcp</span></a> <a href="https://indieweb.social/tags/sql" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sql</span></a></p>
Calishat<p><a href="https://researchbuzz.masto.host/tags/SQL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SQL</span></a> <a href="https://researchbuzz.masto.host/tags/databases" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>databases</span></a> <a href="https://researchbuzz.masto.host/tags/LEGO" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LEGO</span></a> </p><p>'This paper introduces the LEGO® Database, a large natural dataset that can be used to teach Structured Query Language (SQL) and relational database concepts.'</p><p><a href="https://eric.ed.gov/?id=EJ1468081" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">eric.ed.gov/?id=EJ1468081</span><span class="invisible"></span></a></p>
Albert Cardona<p>Two open positions in my lab to develop scientific software with python and javascript.</p><p>Software: CATMAID</p><p>Documentation:<br><a href="https://catmaid.readthedocs.io/en/stable/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">catmaid.readthedocs.io/en/stab</span><span class="invisible">le/</span></a></p><p>Source code:<br><a href="https://github.com/catmaid/CATMAID/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/catmaid/CATMAID/</span><span class="invisible"></span></a></p><p>Example:<br><a href="https://l1em.catmaid.virtualflybrain.org/?pid=1&amp;zp=108250&amp;yp=82962&amp;xp=54211&amp;tool=tracingtool&amp;sid0=1&amp;s0=3&amp;help=true" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">l1em.catmaid.virtualflybrain.o</span><span class="invisible">rg/?pid=1&amp;zp=108250&amp;yp=82962&amp;xp=54211&amp;tool=tracingtool&amp;sid0=1&amp;s0=3&amp;help=true</span></a></p><p>If you have experience with <a href="https://mathstodon.xyz/tags/SQL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SQL</span></a> (<a href="https://mathstodon.xyz/tags/postgresql" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>postgresql</span></a>), <a href="https://mathstodon.xyz/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> and its many libraries (particularly <a href="https://mathstodon.xyz/tags/django" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>django</span></a>), <a href="https://mathstodon.xyz/tags/rust" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rust</span></a>, and <a href="https://mathstodon.xyz/tags/javascript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>javascript</span></a>, write to me and let's discuss.</p><p>Examples of open issues: <a href="https://github.com/catmaid/CATMAID/issues" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/catmaid/CATMAID/iss</span><span class="invisible">ues</span></a></p>
Jesus Castagnetto 🇵🇪<p>"<a href="https://mastodon.social/tags/Supabase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Supabase</span></a> <a href="https://mastodon.social/tags/MCP" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MCP</span></a> can leak your entire <a href="https://mastodon.social/tags/SQL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SQL</span></a> <a href="https://mastodon.social/tags/database" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>database</span></a>"</p><p><a href="https://mastodon.social/tags/Security" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Security</span></a> <a href="https://mastodon.social/tags/LLM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LLM</span></a> </p><p><a href="https://www.generalanalysis.com/blog/supabase-mcp-blog" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">generalanalysis.com/blog/supab</span><span class="invisible">ase-mcp-blog</span></a></p>
kurtsh<p>Note to self: Look up the tech advisor for the movie "Jason Bourne".<br><a href="https://mastodon.social/tags/jasonbourne" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jasonbourne</span></a> <a href="https://mastodon.social/tags/sql" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sql</span></a></p>
Linux Magazine<p>Looking for stats? Pete Metcalfe shows you how to quickly analyze and plot your data with just one line of Bash and tools like AWK and gnuplot<br><a href="https://www.linux-magazine.com/Issues/2025/294/Bash-Stats?utm_source=mlm" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">linux-magazine.com/Issues/2025</span><span class="invisible">/294/Bash-Stats?utm_source=mlm</span></a><br><a href="https://fosstodon.org/tags/Bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Bash</span></a> <a href="https://fosstodon.org/tags/tools" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tools</span></a> <a href="https://fosstodon.org/tags/AWK" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AWK</span></a> <a href="https://fosstodon.org/tags/gnuplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gnuplot</span></a> <a href="https://fosstodon.org/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a> <a href="https://fosstodon.org/tags/stats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>stats</span></a> <a href="https://fosstodon.org/tags/data" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>data</span></a> <a href="https://fosstodon.org/tags/SQL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SQL</span></a></p>
Boyd Stephen Smith Jr.<p>I want to be your next <a href="https://hachyderm.io/tags/FediHire" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FediHire</span></a> ! I've been a programmer since 1985 (as a child), I've been an IT professional since 1995 (pulling wires and swapping cards and configuring MS Windows). I graduated from University of Arkansas Fayetteville with a BS in CS in December of 2003. A full resume is available.</p><p>I currently require a 100% remote position. I cannot relocate from Cove, <a href="https://hachyderm.io/tags/Arkansas" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Arkansas</span></a>. I would prefer W-2 employment with a base salary of at least 130k USD/yr, plus some sort of retirement offering (401k or similar) and healthcare benefits (HDCP + HSA or similar).</p><p>I prefer something where I can be a high-performing individual contributor: reading, writing and improving source text the majority of my day, with some time spent knowledge-sharing with other developers -- learning and teaching. I'd like to work with <a href="https://hachyderm.io/tags/Haskell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Haskell</span></a>, <a href="https://hachyderm.io/tags/Purescript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Purescript</span></a>, or <a href="https://hachyderm.io/tags/Idris" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Idris</span></a> as the primary source language. I've previously delivered value in Haskell, <a href="https://hachyderm.io/tags/Javascript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Javascript</span></a>, <a href="https://hachyderm.io/tags/SQL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SQL</span></a>, <a href="https://hachyderm.io/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a>, <a href="https://hachyderm.io/tags/Scala" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Scala</span></a>, <a href="https://hachyderm.io/tags/Java" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Java</span></a>, <a href="https://hachyderm.io/tags/C" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>C</span></a>, and <a href="https://hachyderm.io/tags/Cxx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Cxx</span></a> among others. I can be productive in almost any language (no PHP, please; I promised myself never again).</p>

I'm told that the purpose of #SQL was to allow people to query the #database without needing to concern themselves with how exactly the database works. Just ask it for what you want, and let it figure out how to make it happen.

Except…if the database isn't indexed appropriately for your query, it'll be slow, so you still do need to know how the database works. 🤔

I wonder if RDBMSes should automatically create indexes as needed? But there's probably a reason why they don't.

pro tip for user interface designers:

if you have hundreds of millions of dollars of venture capital and you want to make a user facing data analytics tool of some kind and you think it's reasonable to ask an average human being to type this:

CAST('2023-05-01' AS TIMESTAMP)

to do literally anything with a date or time in your application's user interface, just stop right there. do not pass go, do not collect $200, and do not ever attempt to offer feedback to a UX designer ever again. something is deeply broken inside you that means there are certain mysteries of the universe that even the guys who designed the postgres command line can access that you will never know, and that's ok. You can still live a really rad life.

One of my clients tasked me with the optimization and tuning of a few of their more worrisome #SQL -based data extractions. I have a bit of experience in the field. Strategies include caching and reducing data load and processing. Here's an article I wrote about my latest endeavor: patreon.com/posts/optimizing-s

PatreonOptimizing SQL Queries for Speed and CPU pressure: changing when things happen | aev_softwareGet more from aev_software on Patreon

The new PostgreSQL extension for VScode is amazing! 🚀

The VSCode team recently released a new extension for working with Postgres, and its features are mind-blowing. This includes the following features:
🔹 Support both connections to local and cloud-based Postgres databases
🔹 Schema visualizations ❤️
🔹 Copilot SQL agent
🔹 Docker supports 🐳
🔹 SQL editor

More details on the extension documentation: marketplace.visualstudio.com/i

So I am thinking about launching a #FOSS #searchengine locally. It would cache so when I don't have internet access, I could browse the small web and enjoy great articles. I could also give access to interested friends and family.

Do you have suggestions other than #yacy and #wiby?

Yacy seems better but the search quality is not good. And regarding wiby, it uses #sql for the database :/

Boosts very much appreciated.

PS: The blogs which do #linkdump like @82mhz would be a very good seed. Already roasted meat ready to be served :)

Edit: I thought development of Yacy has stopped. But checking their repo, they are still active:

github.com/yacy

Edit2: On Yacy forum, people complain about bugs and no update. I also have found this: marginalia-search.com/

#marginalla

GitHubYaCy Search EngineSearch Engine Software for Web and Intranet Search - YaCy Search Engine