Skip Navigation
Why are people seemingly against AI chatbots aiding in writing code?

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?

113
FIrefox can and should but refuses to implement browser level encryption to protect every browsing data generated by the browser.

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.

13
Be careful, your understanding of incognito mode in Firefox may be wrong and that could be costing you

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

95
Firefox supports loading about:config settings using user.js file that does not support even the basic thing Javascript is supposed to support

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.

1
A secret Linux cat easter egg

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

4
"Free Download Manager" malicious package was discovered

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

2
Always use 'user' as your username

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.

20
How is downvote counter negative in some comments?

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.

7
What is the most official Android app for Lemmy?

Like there is the Official Mastodon app for Mastodon, and Element app for Matrix, which app is considered the most official lemmy app for Android [possibly also for ios]

Or atleast, the app which supports most(if not all) the features available in Lemmy

20
Any website that lists OS compatible with Raspberry Pi 0 W running ARM V6

The ONLY one that works is Raspberry pi os Legacy available from the rpi flasher. What other OS would work?

0
How do you deal with blurry Hazy graphics in an old CRT TV purchased in the last 15 years?

About TV

Company: Daewoo DC

Purchase date: Last 15 years, and the most modern of its time

Size: 24 inch

Interface: Has Audio-Video port

[Other than that, its just a radioactive box, weird signal goes in, video comes out]

About Raspberry pi

Model: Raspberry Pi 4B (4GB RAM)

OS: Raspberrypi OS

Situation

Its not cabling thats the issue. The TV shows visual but the graphics is very hazy and blurry. I suppose it has something to do with either the frame rate made for digital monitors being too high for the TV or the video resolution being too unbarable.

I have used CRT computer monitors but they used VGA. In those monitors, I used to set resolution to 800x600px and it would show the clearest. CRT monitors dont have this concept of pixels, yet setting pixels to 800x600 does the job in VGA CRT monitors. It did not work in case of my TV.

I should mention that the device I purchased to convert HDMI to Audio Video has a toggleable switch that can be changed to NTSC or PAL. I dont know what that is, both works but setting to PAL seems to be slightly clearer.

I am asking here in hopes someone else has done it and how they made it barable.

[Also I am sorry I do not understand the language that is mostly used here. This community seems to be the most active one so I decided to ask for help here]

3
[Bug] Spaced words get clumped together when pressing backspace to erase words

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]

6
sed 11q is an early sign of dimentia, dont do it
pubmed.ncbi.nlm.nih.gov Symptoms of Early Dementia-11 Questionnaire (SED-11Q): A Brief Informant-Operated Screening for Dementia - PubMed

The aim of this study was to develop a brief informant-based questionnaire, namely the Symptoms of Early Dementia-11 Questionnaire (SED-11Q), for the screening of early dementia. 459 elderly individuals participated, including 39 with mild cognitive impairment in the Clinical Dementia Rating scale (...

Symptoms of Early Dementia-11 Questionnaire (SED-11Q): A Brief Informant-Operated Screening for Dementia - PubMed
0
Should lemmy community mods accept your subscription request in some community?

When I click to subscribe some groups it goes to Pending stage for a long time before it gets to subscribed.

Is that because the mods accepted my subscription request or is it taking long time?

5
I have a bunch of questions about Firefox profiles

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?

2
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)CY
cy_narrator @discuss.tchncs.de
Posts 15
Comments 153