FYI: The gsub() removes a trailing newline if present, so you don't end up with an empty array element at the end, which is often the case if your editor places a newline at EOF.
FYI: The gsub() removes a trailing newline if present, so you don't end up with an empty array element at the end, which is often the case if your editor places a newline at EOF.
@jpalardy.com Was looking at jq for reading a list of files that I needed to transform into some JSON and found your blog post, and wanted to share a tip:
$ cat fruits.txt | jq --raw-input --slurp '. | gsub("\n$"; "") | split("\n")'
blog.jpalardy.com/posts/readin...
Start by asking yourself: what will it cost me to not do this thing?
If the cost exceeds your comfort threshold, stop and capture it right away.
If not, then don't worry about it, and when you have that feeling ignore it because you already decided you didn't need to do it anyway.
It _is_ a watering CAN, after all, not a watering CANNOT. ๐ซฃ
I didn't think it was possible, but maybe 170M Americans are finally going to get a little civics education and learn what repeal and abrogation mean this weekend.
lmao no, TikTok users are not moving to Bluesky. They would literally rather learn Mandarin than learn how to read a feed of text posts. This is a millennial retirement home.
I'm waiting for the first Agentic Quantum thing of 2025... gonna be a $1,000T valuation! ๐๐๐
Here we are, once again, lamenting the loss of LiveJournal friend lists and being able to restrict individual posts to only the members of a list.
If only we could turn back time ...
If you're not following @flavorflav.bsky.social you're missing out on the best of what this place has to offer.
You have a big enough audience that you can probably just wait for someone to post a screenshot of any tweets worth reposting, then just hit the repost button on those to amplify.
Netflix giving 1999 RealPlayer vibes
WHAT IS THIS EVEN OMG HOW DOES FAKER NOT DIE?!? UNKILLABLE DEMON KING! T1 T1 T1. #Worlds2024
Silver Scrapes... ya love to hear it! Let's go! #World2024
T1 just used Faker as the most tasty bait! How does he live with like 8 HP?! #Worlds2024
I think T1 will win 3-1, slow playing to victory, but that Game 1 shows us why BLG deserves to be in the grand finals! Woo! #Worlds2024
Holy crap, BLG Elk's Ashe arrows...! Are we gonna see Ashe banned for game 2?
Is anyone else on ๐ฆ watching Worlds 2024? BLG or T1? LFG!
And, if the only consequence is a fine, then it's only illegal for the poor.
why does this all sound familiar...
like, it's not quite NNTP, but it rhymes with it.
m.imdb.com/title/tt0038...
:w:q in his honor.
I want Ernie Reyes Jr. to pitch a Sidekicks reboot, where he plays the Jake Rizzo character, and a new young martial arts kid plays his old role...
Looks like someone needs to install Notion, Opera and Wattpad ...
Oof. ๐ฅ
Screenshot of an Axios article with the headline "Threads app engagement drops off a week after launch" dated July 14, 2023.
Related:
https://www.axios.com/2023/07/14/threads-twitter-engagement-launch
For those who haven't seen this movie before and didn't know how it's gonna end, sorry about the spoiler ...
If you mute a thread, I would expect replies to that thread would be muted, too.
If that's not the current behavior, then I agree: this would be a nice improvement.
There's a special place in hell for people who declare class constructors private for no good reason.
And then you're gonna spend another $3,500 when the rose gold version is released, later the same year, amirite?