As soon as my family expressed an interest in IoT devices, my compromise was the devices had to be on a separate network. I bought an inexpensive managed switch and set up a vlan specifically for our IoT devices. Our firewall segregates the IoT traffic from our LAN. Although I'm still not crazy about the potential privacy implications of Alexa devices and the like, I sleep a bit better knowing they do not have access to anything but the internet.
Until ISPs ship a modem/router combo that makes it easy for the average consumer to set up segregated networks, I don't think too many people are going to heed the FBI's advice.
Do you mean a single binary file? MailHog's mail.go file pulls in a number of dependencies that round out its HTTP and SMTP servers. In OP's case, the entire project's source code is in the main.go file.
I found the advice in Brian Ketelsen's 2018 GopherCon talk[1] helped my Go code organization. It helped me reason about the optimal way to abstract my code.
I'm not conflating anything nor am I making a judgement on the FBI's motives. The FBI issued a national security letter that Lavabit fought in court, which I feel Lavabit should have won. The point you missed is the FBI and the judge put a bit more weight towards forcing Lavabit's hand than it did in PIA's case because of the scope and severity of the offenses, perceived or otherwise.
While I agree with you, I think there's some nuance. In the Lavabit case, the FBI was investigating a national security threat whereas the PIA case involved the hacking of local social media sites. I can see a judge not wanting to rule against the FBI in a case of national security whereas I think a judge would be hesitant to do the same in the case of a misdemeanor offense. Then again, I'm continually surprised by the U.S. government in the "war against terror" era.
I ask the recruiter up front what the salary range is for the job to avoid the scenario you outline. I'm surprised how often they give me an answer. It's saved us both a lot of time.
I quite enjoy the keyboard on my ThinkPad X1, especially compared to my MBP keyboard. I could say the opposite about the touch pad, but that wasn't the question.
Until ISPs ship a modem/router combo that makes it easy for the average consumer to set up segregated networks, I don't think too many people are going to heed the FBI's advice.