network – sshd stops working on Big Sur after a while when accessible from the Internet

My sshd is configured to accept only public key authentication and my ISP router forwards the port 22 to my MacPro so I can access it from anywhere using Internet.
This has worked for years.
Since I’ve upgraded to Big Sur, this works once I activate the Remote Login in System Preferences but after a while, the connection fails.
Once this is the case, I cannot connect using ssh even from another machine on the same LAN. The other services work fine.

If I stop the port forwarding, this does not occur.

So I installed openssh using homebrew, ran their sshd on the port 23.
Then I changed my port forwarding on the router to target homebrew openssh: extern port 22 -> macpro port 23

Same thing: after a while, it stops accepting connections with no information in the level 3 debug logs.
Of course, Apple’s own sshd continues to work.

So it seems that the failed attempt to connect to my sshd from hackers all around the world end up saturating some kernel buffer or something and only since Big Sur (currently running 12.2.2).

Does anybody else has this problem? And maybe a solution?

android – Application stops working when I add two fonts

I created a game that has two fonts.

Being precise, the two fonts are PRESS_START_2P with the difference only in size. One of the fonts serves to write the title and the other for all other things.

The problem occurs after building the application (apk). As it is a special font I click on the option “copy to project” for it to be exported to the cell phone.

Image of the two fonts:

enter image description here

A detail is that the program does not recognize the original source directory, so I need to copy the source to the desktop to be able to copy it to the project.

Image demonstrating the problem:

enter image description here

Adding any of the fonts (alone), the game works. The problem happens when I add the second font.

Before posting here, I posted on the official engine forum, but I still haven’t gotten any response.


macos – Kernel_task uses 15% of CPU, but stops as soon as the computer is used? (10.15.7, Mid 2012 15″ Retina MBP)

I have a 15″ Mid 2012 Retina MacBook Pro (2.7ghz i7, 16gb of RAM) that I use as a headless server in my house. It’s currently running 10.15.7, which is the last supported MacOS release it can run.

When I leave the machine running, screen open but brightness all the way down, the fan CONSTANTLY runs. As soon as I turn the brightness up and start using the computer, or remote in with a VNC client (I’m using the one that’s an extension for chrome) the fan stops running. Looking at Activity monitor, there’s a kernel_task that using around 15% of the CPU that immediately stops when I remote in or start using the computer. You can see the task and drop in CPU usage in the attached screenshot (screenshot taken after the %CPU has dropped, but you can see kernel_task, and the associated load on the graph at the bottom).

I’ve done a clean install of 10.15.7, and the only programs I have installed are: Chrome, Docker, pi-hole running in Docker, and Homebridge (for homekit).

I thought it might just be spotlight re-indexing the computer, but it’s been about a week and the problem hasn’t gone away. I have tried a SMC and PRAM reset, and neither have helped. It’s pretty much running a clean install, other than the programs I have listed.

Does anyone have any tips for figuring out what is causing kernel_task to use the CPU so often? Why does it go away when I start using the computer?

enter image description here

gnome – Shutdown or restart instantly stops running applications

When I select either shutdown or restart from the gnome menu, all running applications are stopped instantly and don’t seem to get a chance to close gracefully. When the machine is restarted applications have either lost data (eg inkscape) or offer to try to recover (eg libre office writer) or say the crashed (eg chrome). I assume this isn’t correct and either applications should get a chance to close, or they would prompt to save data. I am using ubuntu 20.10 with gnome desktop. Quite new to Linux so don’t know what logs to look at what parameters to check

decentralization – What exactly stops there from being a “Bitcoin interest” platform that’s decentralized?

I know about centralized services like “BlockFI”, which demands that you do the KYL/AML crap to get any money. But what if they paid you in Bitcoin or something instead? And it was entirely decentralized? What’s stopping this:

  1. I download some sort of trusted desktop application which is open source and lots of smart people recommend.
  2. Inside, I send in 0.1 BTC into this thing, which is then “smart-contracted” in some complex manner so that it will be returned to me after a year or a month or whatever time period specified.
  3. As long as my coin is locked up in the system, I get like $1,000 USD in Bitcoin sent to me as interest per month.

No registration. No KYC/AML. No proving anything. No fiat involved. Just a pure interest.

The idea being, of course, that somebody is using that coin somehow, again according to the “smart contract” rules, in such a manner that it is safe for this system to pay me. I’m foggy on the details of how exactly this would work, but since I already use Bisq and not one single person has tried to scam me so far, after using it for years, it seems like it could very well work. That it should already exist, in fact.

So why doesn’t it?

PS: Please don’t tell me that it exists, because it doesn’t. I’ve spent countless hours going through long lists of alleged “defi” websites, and they are just link mazes/gibberish without anything concrete.

suspend – Fan stops working after suspension on Asus X541SA (Ubuntu 20.10)

hope you have a great day! The problem I have is related to the fan of the laptop that stops working after I close the lid/suspend the laptop and does not start unless I restart the laptop. I’ve also tried adding acpi_osi= as a kernel parameter without lucky.
And all the threads about fancontrol or lm-sensors doesn’t help, but this is the sensors info:

Adapter: ISA adapter
cpu_fan:     2300 RPM
temp1:       +6280.4°C  

Adapter: Virtual device
temp1:        +38.0°C  

Adapter: ACPI interface
in0:          10.80 V  

Adapter: Virtual device
temp1:        +38.0°C  

Adapter: ISA adapter
Core 0:       +43.0°C  (high = +90.0°C, crit = +90.0°C)
Core 1:       +43.0°C  (high = +90.0°C, crit = +90.0°C)
Core 2:       +44.0°C  (high = +90.0°C, crit = +90.0°C)
Core 3:       +37.0°C  (high = +90.0°C, crit = +90.0°C)

Adapter: ACPI interface
temp1:        +50.0°C  (crit = +95.0°C)
temp2:        +50.0°C  (crit = +94.0°C)

I am using a reverse proxy with nginx installed on Debian 10.7, and nginx stops nowhere without giving an error

It seems that the system itself is stopping my reverse proxy with nginx, there is no error in the nginx logs or in the system logs, the information I have is just below:

root@production:~# service nginx status
● nginx.service - A high performance web server and a reverse proxy server
   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
   Active: inactive (dead) since Wed 2021-02-10 08:22:09 -03; 2h 35min ago
     Docs: man:nginx(8)
  Process: 15642 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
  Process: 15643 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
  Process: 22295 ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/ (code=exited, status=0/SUCCESS)
 Main PID: 15644 (code=exited, status=0/SUCCESS)

fev 09 17:01:13 production systemd(1): Starting A high performance web server and a reverse proxy server...
fev 09 17:01:13 production systemd(1): Started A high performance web server and a reverse proxy server.
fev 10 08:22:09 production systemd(1): Stopping A high performance web server and a reverse proxy server...
fev 10 08:22:09 production systemd(1): nginx.service: Succeeded.
fev 10 08:22:09 production systemd(1): Stopped A high performance web server and a reverse proxy server.

This is the log that appears in the syslog, whenever it stops the log is always the same, such a root user starts the session and nginx starts the shutdown.

Feb 10 08:22:09 production systemd(1): Started Session 158 of user root.
Feb 10 08:22:09 production systemd(1): Stopping A high performance web server and a reverse proxy server...
Feb 10 08:22:09 production systemd(1): nginx.service: Succeeded.
Feb 10 08:22:09 production systemd(1): Stopped A high performance web server and a reverse proxy server.
Feb 10 08:22:09 production systemd(1): session-158.scope: Succeeded.

When I look at the last logins with the command last -10, I see that only I logged into the system and no one else, it is as if the operating system itself was stopping nginx, can someone help me?

Binance stops depositing in the country after Nigeria's ban

Binance has temporarily suspended deposits after the Central Bank of Nigeria (CBN) ordered all banks to close the accounts of those who trade in cryptocurrencies. In the statement made by Binance, it was stated that Nigeria’s official currency Naira has suspended the deposit services of its payment partners until the next announcement, and the Nigerian Naira deposits have been temporarily suspended.
Do you think the government will insist on this step?

wi fi – Internet stops working on my home Wi-Fi network until I restart the Wi-Fi

I have a Samsung Galaxy Note 9 and recently I have been experiencing a very weird problem. When connected to Wi-Fi on my home network, the internet frequently stops working. I would still be connected to Wi-Fi, but there would be no internet (little exclamation sign appears). Once I turn the Wi-Fi off and on again, it would start working fine again. This happens frequently (some times the internet only works for 5 minutes then I have to restart the Wi-Fi again). The weird part is, the problem only happens on my home Wi-Fi network, and it doesn’t happen on any other devices in my home. So it basically only happens when my phone is connected to my home Wi-Fi. I tried forgetting the network, resetting networking settings on my phone, nothing worked. I am trying as much as possible not to try a factory reset.
I am not even sure if the problem is with my phone or my router. Any thoughts?

bash – tail -F still stops on logrotate sometimes

Linux ip-10-10-64-122 4.1.7-15.23.amzn1.x86_64 #1 SMP Mon Sep 14
23:20:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

I’m using tail -F in a bash script which in turn loops over the results. This script is supposed to run indefinitely

tail -F /tmp/my.log |
grep --line-buffered "xyz" |
while read i
    echo "$i"
echo "end of read"

however while sometimes it works through a logrotate, other times it does not:

tail: '/tmp/my.log' has become inaccessible: No such file or directory

In this case I do not see “end of read” meaning the tail/while is still running/stuck. I can confirm the log file does get put back in place after logrotate within milliseconds as you would expect.

How can I force this to continue to tail?