• 1 Post
  • 10 Comments
Joined 1 年前
cake
Cake day: 2023年10月1日

help-circle

  • My ip updates maybe once every three months or so, but what i did was just write a script that checks the current ip and updates the domain registrar. My domain is on cloud flare, and they have an API through which I can do it. It’s literally one POST request. There are solutions out there but I wanted a really simple solution I fully understand so I just did this. Script runs in cron every few hours and that’s it.





    1. You expecting a package? If no - scam. If yes proceed to 2.
    2. Check the tracking code on the carriers site or on a multi track site and see what the status says.

    Ive had packages come to the building and the postal worker not knowing which box to put it in so it went back to the post office and the tracking indicating unsuccessful delivery due to unknown address (or something similar). In these cases, call or visit the post office doing the delivery or the company. The tracking number will be the key piece of information you can tie to a partial address. In smaller communities, this wont even happen as just placing a name on a package can get a successful delivery since the postal worker knows everyone in the community.


  • PieMePlenty@lemmy.worldtoMemes@sopuli.xyzBinary search
    link
    fedilink
    arrow-up
    22
    ·
    edit-2
    15 天前

    Aaaaaaagh, why cant you talk this way to people?! Life would be so much easier! Why didnt the argument go down well?! Is the cop stupid?! Binary search works! The guy was correct! God damnit, why must people be so unaccommodating, even when proven their accommodation would not take long?




  • I dont mind Python, in fact I kind of like it. Its easy enough, works fast enough and has a huge community backing. Open up notepad and start typing. The space thing is kinda stupid. I prefer braces and semicolons but apparently new programmers cant remember to use them so Python just got rid of them… not my thing but whatever, I can live with it.

    However, I’d never really want to create a large project in it. The dev tools arent there, .net style project management isnt there. I can see how it just becomes a mess if you try to make something that isnt just downloading some data, parsing and importing to somewhere else. Its great for simple stuff. It can do larger stuff - though not as good. It cant do enterprise, performance heavy, commercial stuff.

    Pick the right tool. Yeah you can make a website in x86 ASM and you can make embeded systems for the space shuttle in Python. The question is why.