I just love async await

[-] cy_narrator@discuss.tchncs.de 2 points 3 days ago

Sorry if my writing seems like scribbles, I am not a native English speaker.

Would that work? I will try, thanks

[-] cy_narrator@discuss.tchncs.de 1 points 3 days ago

Yeah but is Nix OS going to provide easy to use persistence volume manager in its live mode?

[-] cy_narrator@discuss.tchncs.de 1 points 3 days ago

Those are like sky and land difference than what I am looking for

[-] cy_narrator@discuss.tchncs.de 4 points 3 days ago

It seems even I have many many many things to learn still

[-] cy_narrator@discuss.tchncs.de 1 points 3 days ago* (last edited 3 days ago)

Yes, all of that is persistence storage.

When you boot, if you choose to use persistence storage by unlocking with password, etc, all your settings, installed app, etc get loaded from it. If you dont, the distro default is set.

If you have used Tails OS, its exactly that, except not hyper focused on anonymity and security requiring Tor to be running to access the network

[-] cy_narrator@discuss.tchncs.de 4 points 3 days ago

That and making it easy to store settings, passwords, bookmarks, etc, almost how Tails does it

47
submitted 4 days ago* (last edited 3 days ago) by cy_narrator@discuss.tchncs.de to c/linux@lemmy.ml

I understand the need for something like Tails OS and I am glad it exists. But I am looking for a distro that is not as hyper focused on extreme privacy and anonymity and is designed to be sort of like mobile computing.

I know many(if not all) distros can be live booted. I am also aware the likes of MX Linux and others leave unallocated space that can be formatted and used for this purpose but what I am looking for is this process being stream lined.

In Tails, there is a dedicated "Persistent Volumes Manager" app where you select what information you wish to put in your persistence storage. For example, you can choose to store your settings, installed apps, wifi passwords, app configuration, browser bookmarks and other useful stuff. Persistence storage is optionally encrypted to prevent sensitive data from being extracted from stolen flash drive.

When you boot up, you will be asked whether you wish to unlock persistence volume or not. If you agree, all your settings will be loaded into current live boot session, if not, it wont be.

The distro does not act or try to pretend like Tails but rather acts and feels like a standard linux distro, not hyper focused on anonymity, maximizing user convinience over privacy and security.

Essentially: When you boot, if you choose to use persistence storage by unlocking with password, etc, all your settings, installed app, etc get loaded from it. If you dont, the distro default is set.

When persistence folder is unlocked, there could be a Persistence folder in the live user's home directory where we can store files we wish to persist between reboot. Everything outside is non persistent.

If you have used Tails OS, its exactly that, except not hyper focused on anonymity and security requiring Tor to be running to access the network

[-] cy_narrator@discuss.tchncs.de 1 points 4 days ago

Use something like SAMBA to share files between the two systems

[-] cy_narrator@discuss.tchncs.de 10 points 4 days ago* (last edited 4 days ago)

Next up: Learn how to create .service file, you may be able to use it from the template provided.

Then learn about target and unit

Find these on Youtube

[-] cy_narrator@discuss.tchncs.de 2 points 4 days ago

Tails is the closest I know

[-] cy_narrator@discuss.tchncs.de 2 points 1 week ago

That is why Youtube is down right now

[-] cy_narrator@discuss.tchncs.de 2 points 2 weeks ago

What about Ecommerse site where you can interact with other buyers, talk to the seller and reply to people's reviews? Isnt that a social media?

84

Please remove it if unallowed

I see alot of people in here who get mad at AI generated code and I am wondering why. I wrote a couple of bash scripts with the help of chatGPT and if anything, I think its great.

Now, I obviously didnt tell it to write the entire code by itself. That would be a horrible idea, instead, I would ask it questions along the way and test its output before putting it in my scripts.

I am fairly competent in writing programs. I know how and when to use arrays, loops, functions, conditionals, etc. I just dont know anything about bash's syntax. Now, I could have used any other languages I knew but chose bash because it made the most sense, that bash is shipped with most linux distros out of the box and one does not have to install another interpreter/compiler for another language. I dont like Bash because of its, dare I say weird syntax but it made the most sense for my purpose so I chose it. Also I have not written anything of this complexity before in Bash, just a bunch of commands in multiple seperate lines so that I dont have to type those one after another. But this one required many rather advanced features. I was not motivated to learn Bash, I just wanted to put my idea into action.

I did start with internet search. But guides I found were lacking. I could not find how to pass values into the function and return from a function easily, or removing trailing slash from directory path or how to loop over array or how to catch errors that occured in previous command or how to seperate letter and number from a string, etc.

That is where chatGPT helped greatly. I would ask chatGPT to write these pieces of code whenever I encountered them, then test its code with various input to see if it works as expected. If not, I would ask it again with what case failed and it would revise the code before I put it in my scripts.

Thanks to chatGPT, someone who has 0 knowledge about bash can write bash easily and quickly that is fairly advanced. I dont think it would take this quick to write what I wrote if I had to do it the old fashioned way, I would eventually write it but it would take far too long. Thanks to chatGPT I can just write all this quickly and forget about it. If I want to learn Bash and am motivated, I would certainly take time to learn it in a nice way.

What do you think? What negative experience do you have with AI chatbots that made you hate them?

4
submitted 1 year ago* (last edited 1 year ago) by cy_narrator@discuss.tchncs.de to c/firefox@lemmy.ml

Chrome does not do it either but are we supposed to be the ones that start a new trend or the ones that follow the trend?

I made a post into their feature request section about how important it is for privacy and security. It is perfectly possible to do but they are not interested in doing.

What I asked was that they provide a feature that allows users to opt in to encrypt all browsing data including history, passwords, cookies, etc. With this feature I can only access my browser information after I open up Firefox and provide my encryption password.

How would this help? Well, there could be viruses that can read Firefox browsing history and cookies and send that to the server. With this feature enabled, one can be even more safer.

There is an option to encrypt Passwords. Thats not enough, every other piece of browsing data should also be encrypted.

445

All the incognito browser windows share the same "session" in Firefox. So say you open an Incognito window to browse Facebook or something, then you open another Incognito window, this new incognito window is linked to the previous incognito window, meaning you are logged into Facebook at that new Incognito window as well. This is because, as I explained before, all the incognito windows share the same "session"

The only way to clear incognito window is to close ALL of them and then create a new incognito window. You dont have to close the main non incognito Firefox window though, just close all the incognito windows. Then open a new one, now your previous session is destroyed and you are new again.

You may know it but its not that common knowledge as it should have been

11

Why use .js extension if it does not even support what Javascript is supposed to support. Here is my user.js file that does not work in Firefox: https://pastebin.com/QZXL0YJp

However the following works: https://pastebin.com/xEjh7g9U

I wonder why not implement a full Javascript engine to read in those configuration files, it kind of sucks to keep on typing user_pref( in every line when one could put all the configs in a list and loop over it and use user_pref() to apply them.

-31

There is a secret easter egg where you can activate a virtual cat on a linux or a UNIX system. Though it is reported that it can hang your system in certain distros so it is best advised you save and close all your work and so on before attempting because if things go wrong, you may be forced to pull out the power plug.

To summon the cat, try the following command:

meow() { meow | meow & }; meow

If you see something like

[1] 583341
[1]+  Done                 meow|meow

Quickly up arrow and rerun the command untill you see no output. And after a few seconds the cat will appear on the screen that follows your mouse pointer. Very cute.

Update: This also works in Windows with GitBash

20

It is important to note that Free Download Manager is not malware, but there was a malicious linux package that impersonated Free Download Manager.

11

Dont use Reddit username or Facebook username or anything like that even if it could be cool. That way you dont have to worry even if some log file or error stack trace recorded your username.

6
submitted 1 year ago* (last edited 1 year ago) by cy_narrator@discuss.tchncs.de to c/eternityapp@lemdro.id

Video demonstration: https://old.reddit.com/r/u_cy_narrator/comments/16bng75/negative_downvote_on_eternity/

The upvote and downvote counter both should have been positive no? How is it negative in this case?

I am not making a huge fuss about this very tiny of a tiny glitch. But I feel like this can become something much more serious if unknown.

42

Video demonstration: https://old.reddit.com/r/u_cy_narrator/comments/166y9re/this_space_bug_in_jerboa/

When I am typing and press the backspace, the words get clumped together that shouldnt have been.

Version: 0.0.44

[Sorry that I had to use Reddit to upload video about Jerbora]

7
submitted 1 year ago* (last edited 1 year ago) by cy_narrator@discuss.tchncs.de to c/linuxmasterrace@feddit.de
42
submitted 1 year ago* (last edited 1 year ago) by cy_narrator@discuss.tchncs.de to c/firefox@lemmy.ml

I run Windows 10 and I have never done anything with Profiles at all. I am completely new.

When I go to about:profiles I see three Enteries,

  • Profile: default-release
  • Profile: default
  • Profile: dev-edition-default

Of which default-release seems to be default. Indicated by Default Profile: yes

First off, why are there 3 profiles if I never created one?

In Each profile, there is Root Directory and Local Directory which point to the same directory in all 3 cases. What are the differences?

view more: next ›

cy_narrator

joined 1 year ago