@thingsiplay@beehaw.org avatar

thingsiplay

@thingsiplay@beehaw.org

This profile is from a federated server and may be incomplete. Browse more on the original instance.

My Linux Command Line Tools (thingsiplay.game.blog)

A short list with categories of my smol terminal focused tools, scripts and functions I have created over the years. There are some general purpose and very specific ones. This list was needed, because in Github it was a bit cluttered. Maybe, just maybe, you find something useful or inspiring in there.

thingsiplay, (edited )
@thingsiplay@beehaw.org avatar

I’ve seen this before. It’s a nice visualization. As for the “biggest” script, its not as slow as you think. It’s a single du call (alongside cheap sort, head and tac) and therefore quite fast. In example in my ~/Documents directory is almost 1 TB big and running time biggest Documents executes it in almost 2 seconds (for the first time after a reboot). Subsequent calls are quicker, 0.6s and then 0.07s. Edit: And BTW, it’s a mechanical HDD, not SSD too.

Also I like the output of the files or folders and I can even use commandline arguments like biggest Documents/*.txt in example. So for me this is enough and exactly what I need.

thingsiplay,
@thingsiplay@beehaw.org avatar

Also recommended to watch: The History of Tetris World Records

  1. 2:32 Chapter 1
  2. 11:39 Chapter 2
  3. 16:28 Chapter 3: ENEOOGEZ
  4. 25:48 Chapter 4: Hypertapping
  5. 31:45 Chapter 5: The Next Generation
  6. 49:00 Chapter 6: Rolling
  7. 1:00:27 Chapter 7: Vaulting & Scaling
  8. 1:15:25 Chapter 8: Colors
  9. 1:25:00 Chapter 9: Crash
thingsiplay,
@thingsiplay@beehaw.org avatar

Its a classic conflict of interests. But I believe he is a sportsman guy and truly was happy for the kid. Kinda felt bad though, but this is how things goes. Either way, congratz to both.

Did I just solve the packaging problem? (please feel free to tell me why I'm wrong)

You know what I just realised? These “universal formats” were created to make it easier for developers to package software for Linux, and there just so happens to be this thing called the Open Build Service by OpenSUSE, which allows you to package for Debian and Ubuntu (deb), Fedora and RHEL (rpm) and SUSE and OpenSUSE (also...

thingsiplay,
@thingsiplay@beehaw.org avatar

Why would PKGBUILD solve the issue? The packaging issues are still the same, as every distro has different package names, revisions and not all packages in their repository. The dependencies are not solved with this.

thingsiplay,
@thingsiplay@beehaw.org avatar

Same for side loading apps. If the rest of the world / governments does not care, then Apple won’t care in the rest of the world too.

thingsiplay, (edited )
@thingsiplay@beehaw.org avatar

One of my favorite blogs recently.

A few weeks ago, some of us discovered that KDE apps just looked terrible when run in GNOME.

They should test this much more often and frequently. Unlike Gnome, KDE do actually care about their users, not just about themselves.

Dolphin now gives you the option to enable previews for folders on remote locations.

I wouldn’t use this for internet connections, but when accessing my Steam Deck through Dolphin on my PC, then this could be fast enough for smaller directories I guess. Meaning as long as the remote location is in the LAN and not the internet, the performance wouldn’t be too bad I guess.

Discover now handles the case where one of your Flatpak apps has been marked as “end of life” and replaced with another one; it gives you the opportunity to switch to the new one, or cancel and keep using the old one anyway

Wow! This is a topic we discussed a lot in the web. Not for Flatpaks but often for native package managers like in Fedora or Archlinux, where no longer supported programs are still in the repository (such as neofetch). I still wish this check from Discovery app would be on the side of the package managers+repository information like Flatpak+Flathub itself, as I do this in commandline only. But very nice to see how KDE improves on this front.


BTW a personal little problem from me: My Application Launcher menu is very slow with bad performance. It always freezes for half a second goes loads when I move mouse and freezes again. Does anyone experience this issue?

thingsiplay,
@thingsiplay@beehaw.org avatar

I don’t use SMB. It’s SSH connection using Files transferred over Shell protocol (FISH).

thingsiplay,
@thingsiplay@beehaw.org avatar

I didn’t change from any desktop environment. But I think that I also use Gnome applications, not sure. cleaning .config or .local directory is not an option for me.

thingsiplay,
@thingsiplay@beehaw.org avatar

This is the equivalent of Sony requiring PSN account in countries where no PSN account exist. Just on a different technical level, but with the same outcome. This should be illegal.

thingsiplay,
@thingsiplay@beehaw.org avatar

Reddit has become one of the internet’s largest open archives of authentic, relevant, and always up-to-date human conversations about anything and everything.

Reddit CEO Steve Huffman says

But refuses to pay the users or at least moderators who build Reddit to what it is now. Instead, it pushes more advertisements and sells data to AI companies for millions of Dollars.

thingsiplay,
@thingsiplay@beehaw.org avatar

The license does not apply to posts and replies in Reddit, right? Thank god I created a blog to post about any stuff that I want, without license or restrictions from Reddit. Before the AI breakthrough and what happened to Reddit. But even if so, do AI tools understand such a license text and evaluate if they can or cannot use the material?

thingsiplay,
@thingsiplay@beehaw.org avatar

Well the companies and developers don’t decide for every single material. In example what I expect is, that they program the scraper with rules to respect licenses of individual projects (such as on Github probably). And I assume those scraper tools are AI tools themselves, programmed with AI tool assist on top of it. There are multiple AI layers!

At this point, I don’t think that any developer knows exactly what the AI tools are fed with, if they use automatically scraped public sources from the internet.

thingsiplay,
@thingsiplay@beehaw.org avatar

fpath is not a replacement for a ls like command, but to change its output (I am an eza user myself). fpath takes output of eza to transform it into whatever I want. And its not just usable with an list program such ls or eza, but also operates on stdin like grep, even non existent files to maybe form something on a different place with same name in example. I still use ls (which is eza for me as an alias) for regular day operation.

fpath is useful for output from find command or baloosearch6 (KDE’s file indexer, that only outputs full path of matching search). In this case eza does not help me. Sometimes it can get messy with using sed and grep mulitple times and Bash substitution to get file extension and so on. Or I use baloosearch6 “Super Mario World” | fpath -F{name} -x*.pcm to just show filename, excluding all paths matching *.pcm glob (not regex) for whatever reason I want to use. The thing is, this is just a moment to be in. Next moment I can easily adjust the output to output it with or without other information.

thingsiplay,
@thingsiplay@beehaw.org avatar

It’s a bit hard to show examples that justifies such a tool. But it’s not about making things possible, as there are other tools like ls, grep and sed and awk and Bash commands to do all the formatting and output. But its a little bit easier and more flexible to have fpath, which understands paths and has dedicated functionality to support that. It’s more about being flexible and doing it in place easily. At least for me, because I know the tool.

Let’s say I want to output some information about files that come as a result from my file indexer baloosearch6 (from KDE). It only outputs full paths. Let’s say I want to show only its names and the file type information (or any other) next to it:


<span style="color:#323232;">baloosearch6 </span><span style="color:#183691;">"Super Mario" </span><span style="font-weight:bold;color:#a71d5d;">| </span><span style="color:#323232;">grep /snes/ </span><span style="font-weight:bold;color:#a71d5d;">| </span><span style="color:#323232;">fpath -F</span><span style="color:#183691;">'{name}nt{file}n'
</span>
thingsiplay,
@thingsiplay@beehaw.org avatar

Human Rights are higher than any law. Just because its law in China, does not mean it is correct to follow the law. It is not we decide which laws to follow, but it is universally in entire world the right thing to support Human Rights, regardless of any law.

thingsiplay,
@thingsiplay@beehaw.org avatar

It is literally either follow this law or cease operations here. Both would end in the song being blocked anyway.

Which does not change the fact that Google does it. So the reason why Google supports China and their anti Human Rights laws is, because of money. That’s what we criticize.

thingsiplay,
@thingsiplay@beehaw.org avatar

This would probably make the entire world talk about it and it would be worse in China, because this would only anger people and fighting against the country. We won’t see that, because Google wouldn’t dare. The money is more precious than any Human Right, regardless of law.

thingsiplay,
@thingsiplay@beehaw.org avatar

People really need to kill that notion that telemetry is automatically bad.

I agree with you. There are projects where I opt in and enable telemetry, such as KDE or opt in the Steam survey whenever asked. Steam in particularly does a good job on representing the data in front of me that is sent back.

If the information they are collecting is minimal, as non-identifiable as possible and actually being used to help develop the browser, it’s a good thing.

Problem is, its a bit ghosty what is actually being collected and sent for most people. Is it really non-identifiable as we think now? You know, sometimes later things get revealed and suddenly the entire time you was living in a lie (Privacy mode thing, where people had a misconception). If its enabled by default, this is especially bad, because this should be opt in. Telemetry is not bad per se, but it is bad if its enabled without user agreement.

opt-in telemetry is pretty much useless for trying to understand the majority of your user base.

Wrong. In example Steam does an opt in and the data is somewhat representative. You don’t need to watch every user to know what is going on. A small sample is enough to understand the majority of the user base by extrapolating the data. Telemetry does not need to be exactly perfect to be useful, it just needs to help understanding trends or huge bottlenecks.

thingsiplay,
@thingsiplay@beehaw.org avatar

In case of Microsoft, this is a whole new dimension and not comparable to Mozilla. First Microsoft products are (usually) closed source. That alone is a black box and we don’t know what is sent, compared to open source Mozilla projects we can actually understand what is going on and report. Secondly, Microsoft does it not only with the browser, but on the entire operating system, if you want it or not. It’s not opt in, not opt out, its just selecting a few options to sent a few less data, that’s all. Which BTW reset themselves sometimes for unknown reasons.

Putting Mozilla and Microsoft in the same sentence about privacy and telemetry is heresy (towards Mozilla)!

thingsiplay,
@thingsiplay@beehaw.org avatar

It’s the ideal solution morally-wise, but it still samples out a ton of users precisely because people are used to the idea of telemetry = bad

And that’s a good thing. Because that is the decision by the user. The freedom of choosing in opt in fashion is much more important than collecting some individual data for a specific use case of a specific company. Opt in is not just ideal solution morally-wise, its the best solution we have in general and every company should strife this solution. Plus the data should be presented before sending, so there is no ambiguity. Steam, a closed source program, does that in the best possible way.

The History of Tetris World Records [by Summoning Salt] ~ a 2 hour documentary (youtu.be)

I just watched an excellent 2 hour (just needed to edit title, as I noticed it was 2 hours and not 1, wow time really flew away!) long documentary. The build up in stages and showing the evolution of the best players achievements, is intense and very well edited, narrated and written documentary!...

thingsiplay,
@thingsiplay@beehaw.org avatar

You can watch them piece by piece (meaning if its broken up by chapters like this), if its too long. I personally don’t do that, but can absolutely understand it. Nowadays I also watch most videos at higher speed. Some talk really slow, I mean slow that I watch it at x1.4 speed and it sounds like someone else is talking at x1.0 speed. But this video, I didn’t have a problem with the narration itself.

BTW I recommend Looking for an addon or like that if you watch on a browser. I have a more fine control over the speed values, as x1.25 sometimes is too fast. In example I often watch at x1.1 by default or sometimes at x1.2… and in really bad cases even faster.

thingsiplay,
@thingsiplay@beehaw.org avatar

Steam doesn’t have a version pinning. Automatic updates are forced.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • magazineikmin
  • InstantRegret
  • GTA5RPClips
  • Durango
  • Youngstown
  • khanakhh
  • slotface
  • ngwrru68w68
  • rosin
  • ethstaker
  • kavyap
  • DreamBathrooms
  • provamag3
  • everett
  • modclub
  • cubers
  • tacticalgear
  • vwfavf
  • mdbf
  • normalnudes
  • cisconetworking
  • tester
  • anitta
  • osvaldo12
  • Leos
  • JUstTest
  • All magazines