• 0 Posts
  • 24 Comments
Joined 2 years ago
cake
Cake day: July 1st, 2023

help-circle
  • I disagree on the junk part: I see it so that if the output of the program are working, the logic must be flawless (just maybe not optimized when it comes to efficiency). Of course in our case the inputs are highly structured and it is easy for humans to spot errors in the output files so this ”iterate until outputs are perfect” has worked great, and yield huge savings in workhours. In our case none of the tools are exposed outside so in very worst case user may just crash the app.

    But yeah I agree building any public frontend or anything business critical is likely the way to doom.


  • How is it not correct if the code successfully does the very thing that was prompted?

    F.ex. in my company we don’t have any real programmers but have built handful of useful tools (approx. 400-1600 LOC, mainly Python) to do some data analysis, regex stuff to cleanup some output files, index some files and analyze/check their contents for certain mistakes, dashboards to display certain data, etc.

    Of course the apps may not have been perfect after the very first prompt, or even compiled, but after iterating an error or two, and explaining an edge case or two, they’ve started to perform flawlessly, saving tons of work hours per week. So how is this not useful? If the code creates results that are correct, doesn’t that make the app itself technically ”correct” too, albeit likely not nearly as optimized as equivalent human code would be.






  • Why exactly would they ever need to turn VPN off again? It’s not like all their traffic will go through it if it’s on, unless you specifically configure stuff that way (exit node, routes).

    And one option to do the VPN stuff is on their router too, so it’s totally transparent to them. More stuff to configure though, unless running owrt or some other router software compatible with Tailscale.


  • Have zero knowledge of Roku but for example with AppleTV boxes it is totally fire and forget, Tailscale is always on in the background and apps will find my media servers through it.

    And I’ve noticed even tech illiterate people will learn to become literate when there is some motivation, like a huge movie archive :) Flipping a preference like VPN on if they want to use certain app is certainly within realm of possibility.









  • Don’t know why exactly are you downvoted but this is exactly what is going on as cars get more ”connected”, following Tesla & BYD lead. Just like with phones at the moment, everything tries to spy on you a little to tap into that sweeet targeted ad revenue, or something else.

    For example I bet the insurance companies love to have some driver behaviour data about you, and the big retail likes to know where/what time you are on the move (though they already get it from the dozens of apps on your phone that have access to location data, like Google Maps).




  • I have wrestled with the same thing as you and I think nginx reverse proxy and subdomains are reasonably good solution:

    • nothing answers from www.mydomain.com or mydomain.com or ip:port.
    • I have subdomains like service.mydomain.com and letsencrypt gives them certs.
    • some services even use a dir, so only service.mydomain.com/something will get you there but nothing else.
    • keep the services updated and using good passwords & non-default usernames.
    • Planned: instant IP ban to anything that touches port 80/443 without using proper subdomain (whitelisting letsencrypt ofc), same with ssh port and other commonly scanner ones. Using fail2ban reading nginx logs for example.
    • Planned: geofencing some ip ranges, auto-updating from public botnet lists.
    • Planned: wildcard TLS cert (*.mydomain.com) so that the subdomains are not listed anywhere maybe even Cloudflare tunnel with this.

    Only fault I’ve discovered are some public ledgers of TLS certs, where the certs given by letsencrypt spill out those semi-secret subdomains to the world. I seem to get very little to no bots knocking my services though so maybe those are not being scraped that much.