drmoose

joined 1 year ago
[–] drmoose@lemmy.world 5 points 1 week ago* (last edited 1 week ago)

I really like how nushell can parse output into it's native structures called tables using the detect command.

Unlike string outputs, tables allow for easy data manipulation through pipes like select foo will select foo key and you can filter and even reshape the datasets.

This is great if you need to work with large data pipes like kuberneters so you can do something like:

kubectl get pods --all-namespaces | detect columns | where $it.STATUS !~ "Running|Completed" | par-each { |it| kubectl -n $it.NAMESPACE delete pod $it.NAME }

This looks complex but it parses kubectl table string to table object -> filters rows only where status is not running or completed -> executes pod delete task for each row in parallel.

Nushell take a while to learn but having real data objects in your terminal pipes is incredible! Especially with the detect command.

There's are few more shells that do that though nu is the most mature one I've seen so far.

[–] drmoose@lemmy.world 0 points 1 week ago (3 children)

UI designer here - people are simply getting dumber, tech-wise at least.

That being said, there have been a lot of improvements in UI and UX world in the past 20 years the problem is that many users are so technically inept the drag down the entire curve all the way down.

[–] drmoose@lemmy.world 0 points 1 week ago

patents and copyright are pretty different though. IMO both are bad but you can at least make a case for protecting intelectual work from copying. Patents protect replication of ideas and ideas don't have to be unique at all. If I say it was my idea to call variables a,b,c,d,e in that order that means anyone who wants to do that in their creations needs my permission which is fucking bonkers.

I'm convinced that software patents exist purely for regulatory capture.

[–] drmoose@lemmy.world 0 points 2 weeks ago

This is crazy that we tolerate such a breach of social trust.

[–] drmoose@lemmy.world 0 points 2 weeks ago (1 children)

it's stupid. I'm convinced that people who oversee software patents don't even know what's a computer.

[–] drmoose@lemmy.world 0 points 2 weeks ago (3 children)

even worse. software patents are just more idiotic copyrights.

[–] drmoose@lemmy.world 1 points 1 month ago

Ah I missed this part of the article:

Yet within 24 hours, parliament tabled an emergency motion to reverse these changes - a move which has sparked widespread condemnation and fears of a constitutional crisis.

This does make sense now. It's just a very poorly written article :|

[–] drmoose@lemmy.world 2 points 1 month ago (3 children)

I don't see how removing the 20% requirement could mean this. Wouldn't that be the opposite? Less restrictions meaning more competition?

[–] drmoose@lemmy.world 3 points 1 month ago* (last edited 1 month ago) (5 children)

On Wednesday, Indonesia's top court ruled that parties would not need a minimum 20% of representation in their regional assemblies in order to field a candidate.

...

If passed, it would maintain the status quo, which favours parties in the ruling coalition of the outgoing president

How?

[–] drmoose@lemmy.world 4 points 1 month ago

no uh, you wouldn't be happy to drive a Russian vehicle unless you like awful rides and literally death. There are no airbags or any modern safety features other than the seatbelt lol

[–] drmoose@lemmy.world 12 points 1 month ago (1 children)

Can someone spread around some guides on how to apply an everything. The crocodile tears would be incredible!

[–] drmoose@lemmy.world 0 points 1 month ago* (last edited 1 month ago)

I find the whole thing so ugly even as a youtube plus subscriber. How much possibly you could gain here? isn't youtube already profitable and being run by one of the world's richest corporations? just let people watch and educate themselves and whatnot.

 

I wonder what Lemmings are thinking of this device. I admire the innovation but just don't see how this would be used in practice outside of memes.

 

Ad free Facebook and Instagram is officially on. I'm trying to stay open minded but honestly it's too expensive especially with this sneaky account center rule unless you're in an unfortunate position where you need to spend a lot of time on these platforms.

More on official blog post: https://about.fb.com/news/2023/10/facebook-and-instagram-to-offer-subscription-for-no-ads-in-europe/

 

Android browsers can already add pages to home screen but Hermit takes this even futher.

It has significantly better UX with frameless and full screen modes. You can bookmark pages, so on Lemmy you can quickly bookmark community in specific sorting order. There are user scripts and blockers and loads of customization. You can even add push notifications for changes on the site or RSS feed.

I've been running most Fediverse web apps through Hermit and it works really well! The only exception is that I couldn't figure out how to setup notifications on Mastodon.

view more: next ›