mastodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance, open to everyone, but mainly English and French speaking.

Administered by:

Server stats:

736
active users

#sorting

0 posts0 participants0 posts today
Jens Oliver Meiert 🇺🇦 🇵🇸<p>From the archives:</p><p>How to Order CSS Selectors:</p><p><a href="https://meiert.com/blog/how-to-order-css-selectors/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">meiert.com/blog/how-to-order-c</span><span class="invisible">ss-selectors/</span></a></p><p><a href="https://mas.to/tags/webdev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>webdev</span></a> <a href="https://mas.to/tags/css" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>css</span></a> <a href="https://mas.to/tags/selectors" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>selectors</span></a> <a href="https://mas.to/tags/sorting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sorting</span></a></p>
Andrew Kuchling<p>Tim Peters is reliably good at a memorable turn of phrase:</p><p>"Professor Knuth's masterful work on the topics of sorting and searching spans nearly 800 pages of sophisticated technical text. In Python practice, we reduce it to two imperatives (we read Knuth so you don't have to)..."<br>– Tim Peters, from his introduction to chapter 5, "Searching and Sorting", in the 2nd edition of the Python Cookbook (2005).</p><p>"Over the years samplesort was in use, I made a standing offer to buy dinner for anyone who could code a faster Python sort. Alas, I ate alone."<br>– Tim Peters, from his introduction to chapter 5, "Searching and Sorting", in the 2nd edition of the Python Cookbook (2005).</p><p>(4/6)</p><p><a href="https://dmv.community/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://dmv.community/tags/sorting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sorting</span></a> <a href="https://dmv.community/tags/Knuth" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Knuth</span></a></p>
Matthew Conroy<p>One frame per second of Dracula (1931), sorted from dark to light. <a href="https://www.flickr.com/photos/31382652@N00/54485876764/in/dateposted-public/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">flickr.com/photos/31382652@N00</span><span class="invisible">/54485876764/in/dateposted-public/</span></a> </p><p>Full-sized version here: <a href="https://www.flickr.com/photos/31382652@N00/54485876764/sizes/o/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">flickr.com/photos/31382652@N00</span><span class="invisible">/54485876764/sizes/o/</span></a></p><p><a href="https://mathstodon.xyz/tags/dracula" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dracula</span></a> <a href="https://mathstodon.xyz/tags/sorting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sorting</span></a></p>
Pito Salas<p>Linked is a super useful directory of many or most of the classic foundational Computer Science algorithms. No, there was no PID or Kalman Filter but those are a bit specialized. <a href="https://salas.com/2025/03/22/visual-focused-algorithms-cheat-sheet/#algorithms" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">salas.com/2025/03/22/visual-fo</span><span class="invisible">cused-algorithms-cheat-sheet/#algorithms</span></a> <a href="https://ruby.social/tags/computerscience" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>computerscience</span></a> <a href="https://ruby.social/tags/visual" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>visual</span></a> <a href="https://ruby.social/tags/explainer" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>explainer</span></a> <a href="https://ruby.social/tags/computer" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>computer</span></a>-vision <a href="https://ruby.social/tags/searching" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>searching</span></a> <a href="https://ruby.social/tags/sorting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sorting</span></a> <a href="https://ruby.social/tags/maps" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>maps</span></a></p>
Pito Salas<p>Linked is a super useful directory of many or most of the classic foundational Computer Science algorithms. No, there was no PID or Kalman Filter but those are a bit specialized. <a href="https://salas.com/2025/03/22/visual-focused-algorithms-cheat-sheet/#algorithms" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">salas.com/2025/03/22/visual-fo</span><span class="invisible">cused-algorithms-cheat-sheet/#algorithms</span></a> <a href="https://ruby.social/tags/computerscience" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>computerscience</span></a> <a href="https://ruby.social/tags/visual" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>visual</span></a> <a href="https://ruby.social/tags/explainer" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>explainer</span></a> <a href="https://ruby.social/tags/computer" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>computer</span></a>-vision <a href="https://ruby.social/tags/searching" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>searching</span></a> <a href="https://ruby.social/tags/sorting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sorting</span></a> <a href="https://ruby.social/tags/maps" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>maps</span></a></p>
Jens Oliver Meiert 🇺🇦 🇵🇸<p>How do you order your CSS&nbsp;properties?</p><p>(A remake of <span class="h-card" translate="no"><a href="https://front-end.social/@chriscoyier" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>chriscoyier</span></a></span>’s 2012 <span class="h-card" translate="no"><a href="https://mastodon.social/@csstricks" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>csstricks</span></a></span> survey: <a href="https://css-tricks.com/poll-results-how-do-you-order-your-css-properties/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">css-tricks.com/poll-results-ho</span><span class="invisible">w-do-you-order-your-css-properties/</span></a>. Please&nbsp;reshare!)</p><p><a href="https://mas.to/tags/css" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>css</span></a> <a href="https://mas.to/tags/sorting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sorting</span></a></p>
Jens Oliver Meiert 🇺🇦 🇵🇸<p>Order Force in&nbsp;HTML?</p><p>Do you, too, find certain ways of ordering attributes to be more natural than&nbsp;others?</p><p><a href="https://meiert.com/en/blog/order-force-in-html/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">meiert.com/en/blog/order-force</span><span class="invisible">-in-html/</span></a></p><p><a href="https://mas.to/tags/html" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>html</span></a> <a href="https://mas.to/tags/attributes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>attributes</span></a> <a href="https://mas.to/tags/sorting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sorting</span></a></p>
Joaquim Homrighausen<p>I want to convert UTF-8 encoded strings into some sort of irreversible hash *and* maintain correct sort order (or the ability to lexically compare strings).</p><p>If I say "Order-Preserving Hashing with Prefix-Free Encoding", what do you say? 🤔 </p><p>The problem I foresee (with great wisdom 👀) is dictionary attacks, thus not being actually "irreversible".</p><p><a href="https://mastodon.online/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://mastodon.online/tags/sorting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sorting</span></a> <a href="https://mastodon.online/tags/hashing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hashing</span></a> <a href="https://mastodon.online/tags/hash" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hash</span></a> <a href="https://mastodon.online/tags/code" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>code</span></a> <a href="https://mastodon.online/tags/coding" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>coding</span></a></p>
Soh Kam Yung<p>"Last year, in a study that was presented at the Foundations of Computer Science conference in Chicago, a team of seven researchers described a way to organize items that comes tantalizingly close to the theoretical ideal. The new approach combines a little knowledge of the bookshelf’s past contents with the surprising power of randomness."</p><p><a href="https://www.quantamagazine.org/new-book-sorting-algorithm-almost-reaches-perfection-20250124/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">quantamagazine.org/new-book-so</span><span class="invisible">rting-algorithm-almost-reaches-perfection-20250124/</span></a></p><p><a href="https://mstdn.io/tags/Algorithms" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Algorithms</span></a> <a href="https://mstdn.io/tags/Sorting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Sorting</span></a> <a href="https://mstdn.io/tags/Mathematics" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Mathematics</span></a> <a href="https://mstdn.io/tags/Research" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Research</span></a></p>
Bytes Europe<p>DPD Estonia brings future technology to the Baltics: 70 robots to make parcel sorting faster and more accurate <a href="https://www.byteseu.com/662137/" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://www.</span><span class="">byteseu.com/662137/</span><span class="invisible"></span></a> <a href="https://pubeurope.com/tags/DPD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DPD</span></a> <a href="https://pubeurope.com/tags/employees" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>employees</span></a> <a href="https://pubeurope.com/tags/Estonia" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Estonia</span></a> <a href="https://pubeurope.com/tags/Featured" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Featured</span></a> <a href="https://pubeurope.com/tags/Innovation" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Innovation</span></a> <a href="https://pubeurope.com/tags/parcels" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>parcels</span></a> <a href="https://pubeurope.com/tags/Robots" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Robots</span></a> <a href="https://pubeurope.com/tags/sorting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sorting</span></a> <a href="https://pubeurope.com/tags/Technology" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Technology</span></a></p>
Nelson<p>A music album contains both a CD and a video DVD.</p><p>Where do you sort it on your bookshelf?</p><p><a href="https://jawns.club/tags/CDs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CDs</span></a> <a href="https://jawns.club/tags/DVDs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DVDs</span></a> <a href="https://jawns.club/tags/sorting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sorting</span></a></p>

Y'know,

I really miss an algorithm for my feed.
People tend to go on barricades when they hear this. But I would wager they are burnt from "commercial" application of such.

I see too many posts I really don't car eabout, like knottin' a sweater. And the tech posts I never see as the current "algorithm" is "show all post by date, newest on top".

A self-hosted, under your control configured algorithm can be benevolent.

As Mastodon is right now, It is borderlining useless. Interessting (to me) posts need to happen in that moment I am on the site. An hour later (or less) and they are gone.

And I do not have time to keep reading continuously.

Annoyed by messy and inconsistent package.json files?

Not liking existing solutions like `npx sort-package-json`?

Better sort your package.json content alphabetically? 🔤

Maybe this little Python script can serve you, too; a fallout from testing Sourcegraph Cody (which I enjoying using here).

gist.github.com/j9t/6ecd1069a7

Gistsort-package.json.pyGitHub Gist: instantly share code, notes, and snippets.
Continued thread

How do you show your social value in a way that’s instantly recognizable?

"The meaning ascribed to race in the nightclub setting was related to perceptions of safety. The bouncers (many of whom are Black or Latino) claimed that letting Black or Latino Americans in might jeopardize safety at the club. However, Rivera says she saw fights between white customers frequently."

A field study by Lauren A. Rivera, 2010: insight.kellogg.northwestern.e @sociology

Kellogg Insight · Sizing Up the NightlifeA study of status distinction