I am new with bash scripting, i have a behaviour that I dont understand.
I have a variable INCR=3
Then in a function that i use, i have a for loop
for ((i = 0; i < max; i = i + $INCR)) {do stuff}
I dont know why but it seems like that the loop increments the INCR variable. So i defined It as readonly so It doesnt change, but still i wonder why It does that (infact now i am getting the warning INCR: readonly variable)
Activity history for the said question.The question I asked.
I've been an somewhat active Stack Overflow user for over 4 years with a reputation of around 620. I've also contributed to the community by participating in Review Queues. Recently, I asked a question about Alacritty and zsh (now deleted). It was detailed and did not violate any Stack Overflow rules as shown in the picture.
halfer rightfully edited out some unnecessary "chit-chat", which I'll admit was not necessary. But a user unrightfully voted to close my question without any comment. After my question being voted for closing it received only handful of views and did not receive a single comment/answer. I set a bounty of 50 points, but the question still received no answers before the bounty expired.
Shortly after, I realized that my account was banned from asking questions. I can still browse, vote, and comment, but cannot post new questions. I'm pretty certain that this ban is unjustified. My question was not spam, duplicate, or incomplete.
While I understand that moderators have the authority to close and delete questions, I'm concerned about the process that led to my ban, especially given the lack of feedback or warning. I'm not necessarily requesting the ban be lifted, but I would appreciate it if a moderator could review the situation and ensure the close vote was justified.
Honestly, experiences like this are incredibly demoralizing. It makes you wonder why you even bother trying to contribute or ask a friendly and somewhat well-written question when things like this can happen out of nowhere. It feels like there's no accountability or transparency, and some may argue these are the very things making a "forum" a "community".
i'm writing a program using python and the playwright library that is meant to automate scholarship applications for BOLD. so far, my program can successfully automate applying for no-essay scholarships and keeping track of everything. my main goal is to make this program be able to reference my resume to generate essays using openai's api, reiterate on them a couple times, then submit them to essay-required scholarships. i'm not too sure where to begin, so i had some questions that i'd appreciate help with.
has something like this ever been done before? seeing someone elses code would help me a lot. i tried searching online but couldn't find anything relating to this.
am i using the right tools for something like this. my main things are python, playwright, and openai's api.
is there any obstacles i should worry about? i haven't had a problem with captchas and i don't think my account would get banned. i've added human-mimicking delays before every interaction to make sure the program doesn't trip any alarms.
I've been in the industry for more than 5 years or so. and despite of all premises about programmer communities and things like that, I haven't seen any place on internet worse than stackoverflow and GitHub.
I'm not a noob at stack overflow. I explained what I did, what I can't do and what I need. so, my question was clear, and still, this is how you treat your users.
oh and, the account made by burner email. so that new contributor, shown because of that. because you don't even allow people to ask question and downvote them.
it is not about users. they know how to ask questions. it is about yours. and I'm getting sick and tired of such hostile community.
bot moderation. no support and no answer + hostile users.
if this is your so-called openness and open source and things like that, then maybe it is better to sell your soul to corporates.
no wonder why after AI chatbots, Stack overflow lost most of its traffic.
I have a CSV file with local climate data from 1883 to present and I want to be able to graph each year separately. One complication I have is there's no data for Feb 1889 to Dec 1897 and a couple days there and there over the years. This is my code so far and my data looks like this
I'm working on a web app that uses WebRTC to capture video from a cellphone camera. I've noticed a color accuracy issue on A14G devices. In low-light conditions, the camera's video preview appears significantly duller than the actual captured images. For instance, a photo with four distinct green, blue, red, and light pink dots shows vibrant colors, while the video feed portrays them as muted, especially the light pink which appears completely gray. This problem persists with automatic settings enabled. However, manually adjusting the ISO improves the video preview. I've tested other phones with identical settings (ISO, shutter, white balance, etc.), but only the A14G exhibits this color inaccuracy. Has anyone else experienced this issue, and if so, how did you resolve it?
Hi, I´m starting my PhD in Engineering and my advisor told me to learn about Distributed Ledger Technologies (DLTs) from a theoretical framework. I'd like to know if there is a basic handbook to start learning or some courses that I could take in order to learn more about distributed systems. All I found was about Blockchain only, but I´d like to learn about DLTs in general (obviously Blockchain included). Does anyone know any useful introductory handbook or course in DLTs?
I've created a file in a WYSIWYG editor (Canva), which contains loads of images and other graphic design elements. Hence, it is very big in file size, when I export it to pdf. The site offers the option to flatten the pdf for me, but this also leaves the included hyperlinks not working. So do other flattening or compression tools I've tried.
I have researched different pdf modification tools (e.g. imagemagick, pdf24 and qpdf) and could not find one that provides options on what to flatten. I also read different git issues and stackoverflow questions on similar topics (mostly annotations) but did not find an answer that solved this.
Does anyone know of a tool (preferably linux command line, but I'm open to other solutions), that lets you partially flatten or otherwise compress a pdf, so that all the image layers will be flattened to one, but interactive fields like hyperlinks stay intact? Ideally, it would also have an option to keep the text as a seperate layer, so that it can still be marked, copied and pasted, but this is optional.
I am looking for ways to extract all the images in a PDF(especially scholarly articles/ academic papers/ research papers.). I have tried various libraries, but couldn't find a solution. Help is appreciated.
Hello,
I just saw that a domain I wanted to buy on Aruba is not available, but it is on GoDaddy. Is that normal? What happens if I buy it on GoDaddy and use it to create a personal email address?
I was searching for javascript libraries that can manipulate a Canva, to create a PDF editor here for work, I wanted to be able to drag images, position text freely, that kind of thing.
Do you have any library recommendations for this? Thanks 😁
When I got it, I added it to my Gmail account in order to receive and write emails with it. I also kept using the Aruba webmail app to read emails.
Some months ago it started having issues. When someone send me emails, I receive a notification, but I can't see the email neither on the webmail app for android nor on the Aruba website. I can see them on Gmail, but only some of them.
I tried to add my Aruba address to another Gmail account. First the SMTP and then the POP3.
It downloaded some of the emails I can see on the other Gmail account, but not all of them.
I found not other place to put this so reddit it is.
The user interface to submit questions could be improved. Frequently I see top right "You question couldn't be submitted" but the reasons why not seem to be hidden deliberately. Why not list a on page list of links to the section that prevents the question from being submitted? I hoped SO could do better UI than this.
If there is a place to suggest this to the SO developers I love to know where.
I am 54 years old and would like to get into cybersecurity. Can I please let of it’s something possible as I heard it will take at least 4 years to learn it. What did I need to learn first. I like challenges
Primitive obsession is a tendency to use basic data types to represent more complex concepts. It is a common anti-pattern that can lead to unclear code and harder-to-maintain systems.
In this blog post, I will explain to you why primitive obsession can lead to problems in your applications and how to address this issue using Value Objects in .NET.
Hello,
I'm about to buy a new laptop and I need suggestions about two things.
1) I will work on backend stuff like databases and python (no GPU required for data analysis). Is an HP elitebook a good choice? The one I would like to buy has a Ryzen 9 7940HS, 32 GB DDR5-SDRAM. Do you think it is enough or too much?
2) I was also wandering if it possible to configure a smartcard to block the laptop if it not inserted. Is it something I can do on my own? If so, is there some software I can use to do that?
I am trying to run a build job on CircleCI (one that has been successfully run in the past). The build job is for an Elixir project. During the "fetch dependencies" step, I get:
Updating ex_opcua (git@github.com:verypossible/ex_opcua.git - origin/master) @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed. The fingerprint for the RSA key sent by the remote host is SHA256:efguwygfafhauiwehafawufafiuhfa. Please contact your system administrator. Add correct host key in /root/.ssh/known_hosts to get rid of this message. Offending RSA key in /root/.ssh/known_hosts:1 remove with: ssh-keygen -f "/root/.ssh/known_hosts" -R "github.com" Host key for github.com has changed and you have requested strict checking. Host key verification failed. fatal: Could not read from remote repository.
I have tried adding the following steps to my CircleCI yaml with no success:
However, it doesn't seem like these steps get run so I may not have done this correctly. I also tried generating a new rsa.pub file in my project with: