macos – Prohibitory Sign Appears Sporadically

There is a popular question about what to do when the prohibitory symbol (stop sign) appears on a Mac. For me, none of the solutions work, but sometimes my iMac just manages to load. I’ve lived like this for years (I don’t reboot for months). I turn it on, reach the symbol, turn off, rinse and repeat. Within an hour it manages to load and works fine, and sometimes it loads immediately. There’s no pattern.

Notably, a clean install didn’t help with this.

Things that I’ve tried: resetting NVRAM, disconnecting power for a minute, verify disk and repair from the disk utility that can be loaded with cmd+r (there are no mistakes).

My vague understanding of the symbol is that it is failing to find where to load the system from – but why would it be able to load it occasionally?

Any thoughts on what could be the problem?

Thanks in advance.

Catalina v. 10.15.7 on a late 2013 iMac

iPadOS 14.3 Safari: in many pages appears book description instead of the actual page

When I navigate to many book sites, the site start loading, but when the page loads, another page with a book description appears and I can’t exit it! How can I fix that? On my iPhone this doesn’t happen!

iPhone SE2: Strange box with percentage appears when pressing Home button

I have an iPhone SE2 (2020). When I press the home button, a strange box showing “47%” appears. When I click an app icon, it disappears. The box always shows 47%. To the best of my knowledge, no assistive features are enabled.

How do I get rid of this?enter image description here

google search console – URL Cloaking Appears to be Causing GSC Error: “Page indexed without content”

My client’s GSC is saying the home page is “indexed without content”. When I inspect the URL, it says it is not on Google. Clicking further into the issue seems to indicate that some sort of cloaking is in place and that these referring URLs redirect to my client’s website:

How in the world do I go about fixing this? Any help is appreciated!

GSC

GSC

regular languages – All strings in which every substring 000 appears after every 1

I found this given problem as follows:

Write a regular expression where all strings in which every substring 000 appears after every 1.

Now, I also found the answer from Illinois university study material which is available online. The given answer is as follows:

(1+01+001)*0*

However, I think this is not the correct answer as the RE can generate the given strings as 1, 10, 1010010 and so many. So the RE is not properly justified to the given problem.

Please, help me to get the correct information. Thanks for your kind consideration.

google sheets – Check if a string appears within another cell, and return the longer of the 2

I am having a hard time thinking of an formula that can help me pull the data needed in this example:

enter image description here

In the C1 cell, I would like to make a formula that does this:

  1. Check if any cells in the A column contain the value that appears in B1
  2. If it finds a match, return the value from the A column but only if it is longer than the value that is already in B1
  3. If there is no such match, return the value of B1 again

So in this example, it should return “Bob Jones”

Any help would be greatly appreciated!

sync – Super old email contacts suddenly appears in my phone contacts

When I woke up this morning I suddenly had 6 new contacts added to my contact book on my phone. All of them were emails, some of them I recognize from WAY back but I sure haven’t had contact with them in a LONG time. I guess they were added in some kind of sync activity, but I’m pretty sure none of these addresses that were added, is featured in any of the accounts I’m currently using (gmail, yahoo) etc. I had contact with these people way before this

Why did this happen?

Is there any way to find out where a specific contact were synced from?

python 3.x – Image shows normally on simple program, but appears blank when I introduce it to mine (Tkinter)

I am trying to show a graph on the screen that I just plotted using matplotlib on python.
Basically, my program receives a bunch of parameters and then makes a graph, that should be displayed on screen.
Since I am new to tkinter, I made a simple program to see if the code worked:

from tkinter import *
from PIL import ImageTk, Image
root=Tk()

my_img1=ImageTk.PhotoImage(Image.open("plot.png"))   
my_label=Label(image=my_img1)
my_label.grid(row=0,column=0,columnspan=3)

mainloop()  

This works just fine.

However, when I introduce it into my actual program:

def graficar_fracciones():
    
    lista_de_ERRtotal=()
    for i in range(1,50):
        agregar=ERR_total(i)
        if agregar <0:
            lista_de_ERRtotal.append(0)
        else:
            lista_de_ERRtotal.append(agregar)
    plt.figure(figsize=(1.5,1))
    plt.plot(lista_de_ERRtotal)
    plt.xlabel("Cantidad de fracciones")
    plt.ylabel('ERR Total')
    plt.savefig('plot.png', dpi=300, bbox_inches='tight')
    my_img1=ImageTk.PhotoImage(Image.open("plot.png"))   
    my_label=Label(image=my_img1)
    my_label.grid(row=0,column=0,columnspan=3) 
    return

This function graphs the plot, then saves it. Then I open that plot and try to show it on screen, but it just shows blank.
Why could this be happening? I have checked some similar posts, but haven’t been able to find an answer.

object oriented – How do I refactor my Ruby method so it appears cleaner?

I’m new to coding and new to code review.

I’m looking for advice, critique, tips on how I can refactor my ruby method. It’s passed all the tests, the only problem it’s really messy and too long. Apologies for the eyesore that is my code 😂

def coach_answer_enhanced(your_message)
  #checks if it is a question and it isn't all in uppercase
  if your_message.include?('?') && your_message != your_message.upcase
    "Silly question, get dressed and go to work!"
  #checks if it is a question and it is all uppercase.
  elsif your_message.include?('?') && your_message == your_message.upcase
    "I can feel your motivation! Silly question, get dressed and go to work!"
  elsif your_message == "I am going to work right now!" || your_message == "I am going to work 
  right now!".upcase
    ""
  elsif your_message == your_message.upcase
    "I can feel your motivation! I don't care, get dressed and go to work!"
  else
    "I don't care, get dressed and go to work!"
  end
end