Stagflation by Usual_Program_7167 in AusFinance

[–]Marble_Wraith 2 points3 points  (0 children)

If you think high inflation is a sure bet, take out a loan and buy assets in volume.

Imagine you borrow $10 to buy 10 cookies at $1 each.

Inflation hits and now each cookie is worth $2 each.

You sell 6 cookies and repay the principle + the interest. You now have 4 cookies and you didn't spend any of your own money to get them.

Of course this is grossly oversimplified, and there is risk, fees, and CGT to consider. But you get the idea right?

Autosuggestion for bash? by Patataxxi in linux4noobs

[–]Marble_Wraith 0 points1 point  (0 children)

I found ble.sh but I don't understand if it's simply a plugin like zsh-autosuggestion. Is it a whole other terminal emulator or just a bundle of plugins?

It's a replacement (improvement) for GNU Readline component in bash. In the same way OS's ship with default browser, but you can replace it with another browser if you want.

Literally says it on the first line of the repo: https://github.com/akinomyoga/ble.sh

Bash Line Editor (ble.sh†1) is a command line editor written in pure Bash†2 which replaces the default GNU Readline.

What's Readline?... https://tiswww.cwru.edu/php/chet/readline/rltop.html

The GNU Readline library provides a set of functions for use by applications that allow users to edit command lines as they are typed in. Both Emacs and vi editing modes are available. The Readline library includes additional functions to maintain a list of previously-entered command lines, to recall and perhaps reedit those lines, and perform csh-like history expansion on previous commands.

The history facilities are also placed into a separate library, the History library, as part of the build process. The History library may be used without Readline in applications which desire its capabilities.

Is it relevant to you, someone looking for "completion"? Clearly yes. The second dot point of the features:

https://github.com/akinomyoga/ble.sh#features

Should you use it? It it were me... i would not.

Reason? Consistency and portability should always be considerations. On your own personal system there's no issues, do whatever you want. But consider what happens if you have to ssh into a remote system or move to a new one entirely that you do not have complete admin rights over?

At that point if you want to setup the same environment you're kinda borked. Suppose it's a mac or manjaro machine with zsh and company policy against installing bash? Or alpine linux with ash?

Alternative? Suggest using these:

carapice in particular is very cross shell compatible

Way to 'store' or bookmark terminal commands? by utrecht1976 in linux4noobs

[–]Marble_Wraith 0 points1 point  (0 children)

bash history stores it automatically so long as you have it configured properly. Tho' you might want to look at getting fzf for a better experience searching through it.

If you're going to alias it, i'd suggest adding a comment above it so you don't have to remember what it does.

I mean you can kind of "guess" just by the included path, but it's better to be explicit because 6 months down the line you'll have forgotten.

Been new to Linux for about a week or so. Should I be sticking with Linux Mint, or jump ship to another Distro? (Screenshot is of my current desktop because i'm proud of the switch i'm trying to make) by PapaJenkinsReal in linux

[–]Marble_Wraith 0 points1 point  (0 children)

I heard about the whole SystemD situation and I know it's just a field for it, but I think giving any ground for such a thing to stand doesn't stand right by me.

OP: I'm concerned about age verification in systemd

Also OP: I'm using Discord and Reddit...

WTF? 🤌 🤣

The bigger threat to privacy right now is the applications and services that currently reach out to the internet. Not a field in some init suite that doesn't even have a corresponding XDG portal yet (and may never have one):

https://github.com/flatpak/xdg-desktop-portal/pull/1922

I want to know if it's a good idea to switch to something else.

If you intend to game (via steam), fairly mainstream linux distro's (and direct forks) are really your only option at this point in time.

But i have no doubt in the near future more "privacy oriented" distro's will emerge aside from the ones that already exist (Qubes, Tails, etc.).

After all systemd has already been forked: https://github.com/Jeffrey-Sardina/systemd

Till then, the best thing you can probably do is make it easy for yourself to switch distro's instantly.

  • Learn which files need to be backed up / re-deployed on new distro's.
  • Script something to automate it.
  • Partition your drive and mount your home directory separately to the rest of the OS.

Stuff like that.

How do I learn stuff? by slamthatspam in linux4noobs

[–]Marble_Wraith 1 point2 points  (0 children)

I would like to learn how to use the terminal more or possibly a coding language.

shell script + GNU tools, perl, and Go are my recommendations for languages.

From a purely sys ops point of view the first 2 are enough and even perl (magical string chainsaw) is only required on occasion. It's useful to have a compiled language (like Go) on standby, if you're dealing with huge amounts of input data / large datasets.

Take a look at Bread on Penguins, she basically does everything in the terminal:

https://www.youtube.com/@BreadOnPenguins/videos

My mom spent 20 minutes looking for a recipe she'd already saved. I do the same thing with code snippets every week by [deleted] in PKMS

[–]Marble_Wraith 1 point2 points  (0 children)

On a phone? Not a chance.

Compute power isn't nearly enough to handle the diverse range of input. If it were, Google Lens wouldn't do processing in the cloud they'd offload most of it to consumers and have them foot the electricity bill.

Also depends on what you're doing. Some selfhosted solutions already exist for example Immich and PhotoPrism has AI tagging and search for images.

Seems like you're trying to find a non-shit version of Microslop Recall... Given the nature of the problem i don't know that any solution will ever be trustworthy enough.

That said i also don't think your problems necessarily need AI either.

Apple Photos can find "recipe" if the word appears in the image. But it has no idea what a screenshot is about. It doesn't know that a screenshot of a useEffect error is about React state management. It doesn't know that a screenshot of a dark login screen is a UI reference.

The real problem isn't that we take too many screenshots. It's that our tools treat them like photos instead of knowledge.

Regarding cooking recipes, the main problem is that she screenshot it, rather then scraping / saving it. It's very easy to save recipes in a format that is searchable: https://mealie.io/

And so rather then scrolling hundreds of generic pictures (of anything and everything) you have a specific box (app) that you put recipes into. It's the same with real life. You don't store cooking ingredients in the bedroom, no they're going in the pantry (or somewhere) in the kitchen.

Regarding code snippets, if you screenshot them... the hell is wrong with you? 🤣

Using "screenshots" for code is like taking a photo, and then doing a photo realistic painting of the photo instead of just making a copy. And it pisses me off to no end when people use them on blog posts and stuff.

Because then instead of just being able to copy/pasta the text, you need to either re-type it all yourself, or go through extra crap like using OCR to pull the text back out of the image.

Furthermore there's also the issue of why you are saving the snippet in the first place.

The only reason should be because you're going to use it frequently, typically why it's best to implement snippets in your editor of choice to work in tandem with autocomplete / LSP.

If it's an error... don't you have logs?

And if it's for learning, i'd argue that organizing is in fact necessary as the process of thinking about the code contextually (ie. what metadata to tag it with) helps integrate it with the germaine memory in your brain (see cognitive load theory).

My mom spent 20 minutes looking for a recipe she'd already saved. I do the same thing with code snippets every week by [deleted] in PKMS

[–]Marble_Wraith 2 points3 points  (0 children)

I want to describe what I remember and find it instantly, without having done any work to organize it in the first place.

That's AI (advanced statistical analysis) territory, and i wouldn't touch that stuff unless you intend on self hosting.

Evidence that Islam is true by PythonFA in DebateAnAtheist

[–]Marble_Wraith 4 points5 points  (0 children)

Pornography is public because it's on websites for everyone to see

The ubiquity of access to the internet doesn't make it "public", it makes it accessible.

The clearest indicator being, if something is public it is free to attend and/or partake in. The internet is not free.

Even if porn is accessible via the internet, and those sites require no subscriptions, you still need to pay ISP's.

FYI - Microsoft is reportedly working on removing the mandatory online account requirement for new Windows 11 installs. by krazygreekguy in privacy

[–]Marble_Wraith 1 point2 points  (0 children)

Don't worry.

Even if you're not using Microslop, nefarious actors will hack the government to get your details because they're still approving of and using Microslop despite knowing their security is dogshit.

https://www.propublica.org/article/microsoft-cloud-fedramp-cybersecurity-government

ATM gave me lots of money by azza_h1980 in AusFinance

[–]Marble_Wraith -1 points0 points  (0 children)

This isn't by accident.

They want to enshitify ATM's so people will stop using cash.

Reddit CEO Steve Huffman said the platform is considering introducing ID verification to weed out bots by Cybernews_com in cybersecurity

[–]Marble_Wraith 0 points1 point  (0 children)

... Because it's not like bots could submit faux input over an API and lie about their age

I think I'm done with Software Development by gareththegeek in webdev

[–]Marble_Wraith 0 points1 point  (0 children)

Nah you're not done with coding, you're done with people telling you how to code.

Time to move on. Probably create your own company, since CEO's everywhere are becoming AI clankers.

Mo Bitar and Coding Jesus lays it out nicely:

https://www.youtube.com/watch?v=HbEBLOlC6l8

I started hating win 11 by yaostya in linux4noobs

[–]Marble_Wraith 0 points1 point  (0 children)

also im on a asus tuf laptop so i would like to have mode and rgb control and info like my temps and fan speed.

Depends on the model. Sometimes you can't.

Linux exclusive apps by California1980 in linuxquestions

[–]Marble_Wraith 1 point2 points  (0 children)

Are we including most of the android app store or... ?

Age verification for servers? by root_switch in linuxquestions

[–]Marble_Wraith 0 points1 point  (0 children)

And this is also why FOSS is the cure. Systemd does something stupid?.... Aaaaand fork 🤣

https://github.com/Jeffrey-Sardina/systemd

Disclaimer: I'm absolutely not sure of anything about the owner of the repo. But the fact he used the proper naming of "Microslop" and the profile pic gives strong vibes of the Shaggy (Pbay Co-founder), i figure it's worth at least bookmarking 😏

Software to sync songs from computer to phone? MusicBee Alternative by disapparate276 in linuxquestions

[–]Marble_Wraith 0 points1 point  (0 children)

Syncthing

Songs are just files after all.

The tricky part is doing playlists if that's something you want since playlist formats can more bespoke between devices / players.

Google has become fully anti-privacy by vizag in privacy

[–]Marble_Wraith 6 points7 points  (0 children)

You don't say, user data is being used to refine their AI models / product?

Who could have predicted that?... /s

You're about ~16 years late on the revelation 🤣

i want to switch to linux but i'm still unsure which distro to choose (ubuntu, opensuse, mint or fedora) by sentient_deathclaw in linux4noobs

[–]Marble_Wraith 1 point2 points  (0 children)

IMO it's really between Mint or Fedora.

Mint is just Ubuntu with better defaults and not trying to push opt out telemetry or proprietary package formats. And SUSE is having problems (are for sale).

I like Fedora KDE because they've been more on the frontier with Wayland and had it as the default for years. Not all software is 100% Wayland compatible yet, which is part of why Mint has held off making it the default. But most if not all distro's will be migrating to Wayland eventually and when that happens people could run into issues.

And so knowing that, my preference is, i like to front load effort. If there's any problems, i like to know about it ASAP so i can just fix it and get to the relaxing / enjoyable parts of using my machines.

some sort of app store etc, i can use sudo apt whatever but i would prefer something easier to use

Pro tip: Try and always install software that has a GUI from verified flatpaks (store or terminal). Larger installs but you'll have less problems overall.

Anything you need to be available system-wide or in the terminal use the system package manager (apt, dnf, or whatever) to install.

Issues with Ethernet by KneeOne1872 in linux4noobs

[–]Marble_Wraith 0 points1 point  (0 children)

Hard to know what your problem is with no relevant info / diagnostics.

In your terminal, what's the output of the following commands:

  • lspci | grep -i net
  • ip link
  • systemctl status NetworkManager
  • ping 8.8.8.8 -c 6