Just have to love this: You find yourself with a textual list of items you want to sort in your clipboard and console with `sort` is available:
"If you type sort - the command will accept input from stdin. Then you can just paste whatever you want into the console and type CTRL-D to sort it."
👉 https://stackoverflow.com/a/2434719/12775994
#Shortcuts #WhenComputersMakeLifeEasier #GNU #Coreutils #Sort #FOSS
(And, yes, I know there probably is a way to do this in PowerShell with only 16 lines of code, and it's beautiful and no-one wants to take it from you.)
#shortcuts #gnu #foss #WhenComputersMakeLifeEasier #coreutils #sort
#sort : any number or collection of individual persons or things characterized by the same or like qualities
- French: classe
- German: sortieren
- Italian: classe
- Portuguese: ordenar
- Spanish: clase
------------
Word of The Hour's Annual Survey @ https://wordofthehour.org/r/form
I'm working in #GoogleSheets and have a column with numeric range values, e.g.:
25-32
1-10
110-150
99-106
I want to #sort them by the beginning value in the range incrementally, e.g. the above values should be:
1-10
25-32
99-106
110-150
But instead when I sort them I get:
1-10
110-150
25-32
99-106
When I attempt to set a sort order the only option appears to be A-Z or Z-A.
I feel like this should be really easy to do. Am I missing something?
I could split the values across two
1/2
“Using a new version of AlphaZero called AlphaDev, the UK-based firm (recently renamed Google DeepMind after a merge with its sister company’s AI lab in April) has discovered a way to sort items in a list up to 70% faster than the best existing method.”
#AI / #AlphaDev / #algorythms / #sort <https://technologyreview.com/2023/06/07/1074184/google-deepmind-game-ai-alphadev-algorithm-code-faster/>
#ai #alphadev #algorythms #sort
The traditional better method than sort|uniq is of course
awk '!x[$0]++'
which everyone doing text processing should learn.
So starting from that you can easily arrive at
awk '{x[$0]++;} END {for(k in x) {print x[k],k;}}'
whose output you just need to sort.
Ordenar archivos y directorios por fecha usando year-order-dirs y date-order-files
#Bash #ByDate #Chronological #Consola #Date #Dirs #Files #GNULinux #Order #Shell #Sort #Terminal #tty
https://osiux.com/2023-05-30-date-order-files-vs-year-order-dirs.html
#bash #bydate #chronological #consola #date #dirs #files #gnulinux #order #shell #sort #terminal #tty
The best part is that the Blue Road is environment-friendly as it is made of recycled plastic and pitch. The construction of the road is a novel attempt by Uchalan Gram Panchayat of Raina-II block to reduce global warming
#DarkBlueRoad #Bengal #Eco #FriendlyInitiative #Sort #India #Locals #MastIndia #MastodonIndians #India @mastodonindians
https://www.news18.com/india/dark-blue-road-bengals-eco-friendly-initiative-is-a-first-of-its-sort-in-india-locals-mesmerised-7958647.html
#darkblueroad #bengal #eco #friendlyinitiative #sort #india #locals #mastindia #mastodonindians
🏙 Area: Sort, Spain
🏛️ POI: Castell dels Comtes del Pallars
➡ Discover a unique sightseeing experience in Sort: https://visitsights.com/sightseeing-tours/Spain/Sort
❓ Which local dish in this area offers the best culinary experience?
#️⃣ #Travel #Sort #Castle #Spain #Sightseeing #Building #Historic #Sights
© Credits: Wikimedia / Antoni Grifol / CC BY-SA 3.0
#travel #sort #castle #spain #sightseeing #building #historic #sights
Dilluns 27 acaba el termini per presentar-se al #concurs de #composició al #piano #Fidelio.
S'hi pot participar amb vàries peces que no cal que siguin inèdites, i es vota entre els participants.
Jo hi participo amb dues peces. #Sort a tothom!
#concurs #composicio #piano #fidelio #sort
The real problem with a damn #homelab is #Youtbe. Yup #Youtube is the worst. Right when you think your happy with your #homelab. Some tech #youtuber finds some mini-pc-motherboard-thing-that does what you have for cheaper and faster off ali express.... and now you are thinking to yourself.. Yea I need that cause your highly underutilized lab needs more shit to highly underutilize!!!
#homelab #selfhosting #selfhosted #I #don't #need #it #but #i #sort #of #do.
#homelab #youtbe #youtube #YouTuber #selfhosting #selfhosted #i #don #need #it #but #sort #of #do
https://dev.to/suchitra_13/merge-sort-and-quick-sort-icn - comparing #sort algorithms for performance. Nice article https://github.com/SUCHITRAGIRI.
#Earthquake (#terremoto) M2.0 strikes 14 km NW of #Sort (#Spain) 9 min ago. More info: https://www.emsc-csem.org/Earthquake/earthquake.php?id=1236367
#earthquake #terremoto #sort #spain
A thought
Faster than light
Crosses my vacant mind
Alive I climb, from my despair
Thinking
Jumbled words are clearly sorted
There, when I close my eyes
Snapshots of my
Stories
#CinquainPrompt #Sort #ButterflyCinquain #Micropoetry #WritingCommunity
#cinquainprompt #sort #butterflycinquain #micropoetry #writingcommunity
#sort : any number or collection of individual persons or things characterized by the same or like qualities
- French: classe
- German: sortieren
- Italian: classe
- Portuguese: ordenar
- Spanish: clase
------------
Word of The Hour's Annual Survey @ https://wordofthehour.org/r/form
Fortunately, the manpage for comm comes through:
-1 ignores what's just in file 1
-2 ignores just what's in file 2
-3 ignores what's common to *both* files.
Oh! but... comm needs sorted input! Fortunately we already know about that though, so
comm <(sed ... | sort | uniq) <(egrep ... | sort | uniq)
Sorts that all out.
#shell #sort #uniq #linux #comm #punintendid
And #education #politicians don’t even communicate between levels … All while the national agency in their guides talks of tablets as an option in daycare/EY 🤷♂️ And niether seem to have a clue 🤬
https://twitter.com/vidarjl/status/1613071432694505472?s=61&t=AmVHZRYkMna85Z0v2d-L6w
@Skolinkvisition is very right when he comments that #socialdemocrats should better be very humble in their critique
Anyway, I managed to tick off a few tasks on my list in between stuck in my own social media addiction- #sort #washing , #shoponline etc
#education #politicians #socialdemocrats #sort #washing #shoponline