where on earth – What is the longest distance between two stops of a train route?

Given the vast distances and sparse population, you’d expect Australia to have some solid contenders, but somewhat surprisingly I can’t find any legs over 24h — partly because the trains cater to tourists and make stops at metropolises like Cook, WA (population 4) to break up the monotony a bit. Without this, Kalgoorlie to Adelaide on the Indian Pacific would clock in at 27.5 hours (dep 01:20 Mon, arr 07:20 Tue, -2.5 hrs time difference going from WA to SA).

But assuming we do count all stops, the longest distance between stops in Australia appears to be on the same line in the other direction: the weekly train departing Adelaide, SA on Thursdays at 21:40 arrives in Rawlinna, WA at 18:55 Fridays, for a non-stop travel time of 22 hrs 45 mins (including 2.5 hr time difference, now in the other direction). Schedules here: https://www.seat61.com/Australia.htm

My settings stops when I click on wifi data usage. What can I do to fix it?

Stack Exchange Network

Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

What stops a wallet from stealing bitcoins?

I’m not particularly knowledgeable on the topic of cryptocurrencies so it’s possible that I’ve missed something obvious, but I still wonder what it is that stops a wallet from stealing from you. Wallets contain your private keys and they obviously have to use them to be able to send coin. So what stops a given wallet from stealing bitcoin from a user in the background without the user’s knowledge?

How to make nginx docker container auto restart if it stops proxying correctly?

I mean it stops proxying for whatever reason, not crash. it happened to me today, I had to restart it manually but I lost the error log so not sure what happened, it was working fine for months before that but I lost 6h of uptime.

here’s my docker compose settings:

version: '3'
    network_mode: host
    container_name: port-80-reverse-proxy
    image: nginx:1.15-alpine
    restart: unless-stopped
      - ./config/nginx:/etc/nginx/conf.d
      - 80:80
      - 443:443
    command: /bin/sh -c 'echo started; while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g "daemon off;"'

my nginx config file is just a long list of reverse proxying like this

server {
  listen 80;
  server_name example.com;
  server_tokens off;

  location / {
    proxy_pass http://localhost:9000;
    proxy_set_header Host $host;
    proxy_redirect off;

I know docker has HEALTHCHECK but not sure specifically what command would be best to make sure the proxying is still working.

Changing documentroot in http.conf stops PHP from working


I’ve installed Apache 2.4 webserver with PHP 7.2 on a Windows 10 workstation. Everything works beautifully until I change the documentroot in Apache’s http.conf file. When I change it, php files in the new home directory don’t get parsed by PHP. Apache stops sending .php files to the php engine, and the .php files load like an ordinary file. I see the .php loaded in the web brower, but only the <html> portions of the page are shown. <?php> sections are treated as ordinary text.

Here’s what I changed in the http.conf file:

DocumentRoot “${SRVROOT}/htdocs”
<Directory “${SRVROOT}/htdocs”>

#DocumentRoot “${SRVROOT}/htdocs”
DocumentRoot “C:/WWW”

#<Directory “${SRVROOT}/htdocs”>
<Directory “C:/WWW”>

When I do that, Apache goes to the new directory, but stops sending .php files to the PHP engine.

Any ideas what I’m doing wrong?



Batch file continues to run command after Task Scheduler stops it

I have a scheduled task running at midnight that opens a .bat file containing a robocopy command
The scheduler is set up to stop the task after 4 minutes, and to force it to stop if the task doesn’t end when requested.

In the history at 00:04 there is the message I would expect:

Task Scheduler terminated “{uuid}” instance of the “Taskname” task due to exceeding the time allocated for execution, as configured in the task definition. User Action: Increase the configured task timeout or investigate external reasons for the delay.

However the output file of the robocopy command continues running for a further 4 minutes, only stopping at 00:08.

ROBOCOPY "C:SourceFolder" "C:DestinationFolder" /MOV /IS /S /R:0 /log:"C:output.txt"

There are other commands in the .bat file, I know this was the one running at the time the scheduler tried to stop the task, and the command after it did not run.

It seems that the task scheduler stop command is ignored until the robocopy statement finishes, which seems to me to defeat the point, is there a way around this?

magento2.3 – Magento 2.3.0 SOAP URL Stops working

I am using magento version 2.3.0. Now the soap url stop working suddenly after deployment. I reverted the change but still geting issue while calling SOAP API.

Anyone face issue like then or any suggested solution.
enter image description here

(2020-09-18 12:37:19) main.CRITICAL: Report ID: webapi-5f64a9fff1426; 
Message: The "ResultInterface" class doesn't exist and the namespace must be specified. Verify and try again. 
{"exception":"(object) (Exception(code: 0): Report ID: webapi-5f64a9fff1426;
 Message: The "ResultInterface" class doesn't exist and the namespace must be specified. 
 Verify and try again. at /var/www/html/vendor/magento/framework/Webapi/ErrorProcessor.php:206, 
 LogicException(code: 0): The "ResultInterface" class doesn't exist and the namespace must be specified.
  Verify and try again. at /var/www/html/vendor/magento/framework/Reflection/TypeProcessor.php:143)"} ()

Is there a way to receive security updates after vendor stops them, without compromising SafetyNet attestation?

Imagine the following situation:

  • The vendor of my phone has stopped providing security patches for the stock OS.
  • The HW is perfectly fine and powerful enough for years to come, so I’m definitely not willing to replace it just to get access to security patches.
  • Running a phone OS with unfixed security vulnerabilities makes me uneasy. (It feels insane enough to run a computer at home with an OS that’s a year behind on security patches. It’s twice as insane to do the same with a device that I routinely take to all kinds of hostile environments and untrusted networks.)
  • Authors of all kinds of random apps have grown a habit of requiring SafetyNet attestation.
  • I don’t need root access to my phone, and I can live with losing some of the proprietary vendor-provided features.

I know I have the following two options:

  • Stick to the stock vendor OS, which is gradually going to become full of security holes. However, SafetyNet passes and I can run all kinds of apps because they feel safe on my device.
  • Install a custom OS. This will fail SafetyNet, unless I use a tool to hack around it and try to pretend the phone is not rooted. This approach is likely to stop working at some point, leaving me with a device that fails SafetyNet. Thus although my device may have up-to-date security patches, apps will refuse to run because they deem the device insecure.

Is there a third way, which would let me stay up-to-date on security patches while not breaking SafetyNet? I can imagine something like a pure AOSP system, perhaps built and signed by Google or another vendor, that I could run unrooted and unmodified (relying on vendor drivers through the Treble thing).

Umlaut key combo of Windows Custom Keyboard Layout stops working until reboot

I have a Custom Keyboard Layout installed that I created myself using MKLC and have used without issue for many years. Two weeks or so ago, the Umlaut A key combo I defined (AltGr + A; affects both uppercase and lowercase) stopped working on my managed corporate computer until I reboot, and from then on would only work for a relatively short time (probably around an hour) after each reboot. This almost always affects my Umlaut A key combo, but has once affected another Umlaut key combo instead of Umlaut A.

FaceTime HD camera stops transmitting live video in Catalina — how to fix?

At some point in Catalina’s evolution (10.15.5+ ?) situations started recurring where there’s no video with the Thunderbolt Display attached and the MacBook Pro in closed clamshell mode when attempting a videoconference via FaceTime or other videoconferencing app (Skype, Zoom, etc). What is strange is that the Display FaceTime HD camera is selected and the green LED is illuminated. I also tried disconnecting the Thunderbolt Display to see whether the MacBook Pro’s built-in FaceTime would transmit live video — and it did. But then there was no audio! I was able to reconnect the Thunderbolt Display to regain audio, but of course there was no live video.

The workaround for this problem is to restart the computer.

Has anyone else seen this problem, and is there a fix besides restarting?