

Nothing prevents you from putting a call to “main()” in the global scope
Nothing prevents you from putting a call to “main()” in the global scope
It’s for the extra helpful documentation. You see, in this fantastic example, after the author set GLFW_TRUE to 1, he explained the deep and profound meaning of the value. This exemplifies that the number 1 can also be written as a word: “One”! Some people might be able to figure this out, but the author clearly went above and beyond to make the code accessible to the open source community, encouraging contributions from anyone who’s considering improving the code. Furthermore, this follows the long held tradition of man pages - explaining the nuance of the code, in preparation for telling others to RTFM when they arrogantly ask a question.
Go bigger than IT problems.
Most desk jobs are simply finding information: a suitable combination of 1s and 0s until someone else agrees that the combination is correct.
Then, as a reward, the business slightly changes the 1s and 0s of my bank account.
It’s 1s and 0s all the way down.
The mouse.
Bring on the downvotes. 🎉
I have not regretted it. Bought a second EV for my family as well. Most of my extended family have also bought EVs and all had positive experiences. I don’t know anyone who has regretted it.
I pronounce it the correct way.
TL:DW…
Money.
I see two basic reasons.
it gives companies plausible argument to embed telemetry into their products. Should your TV manufacturer or coffee maker manufacturer be able to monitor every single button you press on your device? Probably not, but they would like to “because AI”! Now they have an excuse to be as invasive as they want, “to serve you better”. The dream - for them - would be total surveillance of your habits to sell you more shit. Remember, it always comes back to money.
The old adage never fails: if it’s free, you are the product. Imagine AI being so pervasive, that now everywhere you look, everything you interact with can subtly suggest things. It doesn’t have to be overt. But if AI can nudge the behavior of the masses to do a thing, like buy more soda, or favor one brand over another, then it has succeeded in boosting company bottom line. Sure the AI can do useful shit for you, but the true AI problem companies want to solve is “say or do the right shit to influence this consumer to buy my thing”. You are the target the AI is operating on. And with billions of interactions and tremendous training, it will find the optimal way to influence the masses to buy the thing.
Oof. Sadly, events of the last few years support your statement. 🙄
Turns out violent threats are not protected speech under the first amendment. Who knew?!
Fuck around and find out.
It sounds like your issue might be related to how your Docker networks are configured for DNS and internet access. Try these:
Check Network Configuration: Ensure your new networks are correctly configured to allow internet access. Docker networks should be able to route traffic to the internet by default unless specified otherwise.
DNS Configuration: Since you’re using Pi-hole for DNS, make sure the new networks are properly configured to use Pi-hole as their DNS server.
Inspect Network Settings:
Compare the settings of old_main
with the new networks. Use the following command to inspect the network configuration:
docker network inspect old_main
docker network inspect cloudflared
Pay attention to the gateway, subnet, and any custom DNS settings.
Check Docker Daemon Configuration:
Verify that your daemon.json
file is correctly set up to use Pi-hole for DNS. It should look something like this:
{
"dns": ["<Pi-hole IP>"]
}
Verify Container Configuration:
Ensure that your containers are correctly configured to use the new network. This can be specified in your docker-compose
files like this:
version: '3.7'
services:
cloudflared:
image: cloudflare/cloudflared
networks:
- cloudflared
networks:
cloudflared:
external: true
Check Firewall Rules: Ensure there are no firewall rules on your host or network equipment that might be blocking traffic from the new networks.
Test Connectivity: Run a simple connectivity test from within a container on the new network to check internet access:
docker run --rm -it --network cloudflared alpine ping -c 4 google.com
If this fails, the issue is likely with network configuration rather than the containers themselves.
Docker Network Restart: Sometimes, Docker networks need to be restarted to apply changes correctly. Try removing and recreating the problematic networks:
docker network rm cloudflared
docker network create cloudflared
If none of the above steps resolve the issue, there might be a deeper configuration problem. At this point, it might be helpful to see the exact configuration of your docker-compose
files and the output of the network inspection commands.
Star Wars: X-wing vs TIE Fighter
https://en.m.wikipedia.org/wiki/Star_Wars:_X-Wing_vs._TIE_Fighter
Hahaha now code-golf it. One line FTW!
remove(Image.open(‘cl.jpeg’)).save(‘output.png’)
Fun fact: non-profits are required to report the incomes of their highest paid employees on IRS form 990. In 2022, Mark Surman was paid $344,483. This is well below executive pay in Silicon Valley, and on par with normal software engineer pay in the same area according to GlassDoor.
Sure, some executives are overpaid, but this is very much not the case here.
It’s worth it to find out before spewing hate and bias.
I really like checking these myself to make sure it’s true. I WAS NOT DISAPPOINTED!
(Total Rs is 8. But the LOGIC ChatGPT pulls out is ……. remarkable!)