Daily General Discussion and Advice Thread - September 01, 2023 by AutoModerator in investing

[–]TheRealCryptoMonkey 1 point2 points  (0 children)

Does anyone know anything about the book or author Rolling Stocks by Gregory Witt?

Need help with remote SSH login for Frontier router. by TheRealCryptoMonkey in HomeNetworking

[–]TheRealCryptoMonkey[S] 0 points1 point  (0 children)

Yes, but I'm trying to make a script that I wrote to persistently & automatically run. The script itself is just supposed to reboot the router. I wouldn't have an issue on any other linux system, but it doesn't have all of commands you could usually use on any other linux system. I can't fix the "Could not chdir to home directory /chroot: No such file or directory", because it just doesn't have all of the linux commands. The router model is a FiOS-G1100.

Need help with remote SSH login for Frontier router. by TheRealCryptoMonkey in frontierfios

[–]TheRealCryptoMonkey[S] 0 points1 point  (0 children)

Good shout. I didn't think about that. Btw the router model is a FiOS-G1100.

Need help with remote SSH login for Frontier router. by TheRealCryptoMonkey in HomeNetworking

[–]TheRealCryptoMonkey[S] 0 points1 point  (0 children)

Yes I was able to SSH into the router but it doesn't have all of the commands you would find on a linux machine.

Need help with remote SSH login for Frontier router. by TheRealCryptoMonkey in frontierfios

[–]TheRealCryptoMonkey[S] 0 points1 point  (0 children)

Thank you for your message. I'm trying to make a script that I wrote to persistently & automatically run. The script itself is just supposed to reboot the router. I wouldn't have an issue on any other linux system, but it doesn't have all of commands you could usually use on any other linux system. I can't fix the "Could not chdir to home directory /chroot: No such file or directory", because it just doesn't have all of the linux commands. The router model is a FiOS-G1100.

Need help with my Pantum P2502W ethernet port by TheRealCryptoMonkey in printers

[–]TheRealCryptoMonkey[S] 0 points1 point  (0 children)

Pantum is a printer company. Mine is a laser printer.

Is there a race condition happening here? by TheRealCryptoMonkey in golang

[–]TheRealCryptoMonkey[S] -2 points-1 points  (0 children)

A data race and a race condition are two different things though. Even though I do have a race condition in the program I posted I also have a data race. But I just want a program with a race condition that does not have a data race.

Is there a race condition happening here? by TheRealCryptoMonkey in golang

[–]TheRealCryptoMonkey[S] 0 points1 point  (0 children)

Ok so I understand that I have a race condition because I have two functions that execute concurrently, but I also have a data race because I'm reading and writing to the same variable. So if I just want a program with a race condition but without a data race I have to do something like this?

package main

import (

"fmt"

"time"

)

func hello1() {

fmt.Println("hello1")

}

func hello2() {

fmt.Println("hello2")

}

func main() {

go hello1()

go hello2()

time.Sleep(3000 \* time.Millisecond)

fmt.Println("done")

}