• 4 Posts
  • 21 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle









  • All the other comments are great advice. As an ex chemist who does quite a bit of code I’ll add:

    Do you want code that works, or code that works?! It’s reasonably easy to knock out ugly code that only works once, and that can be just what you need. It takes a little more effort however to make it robust. Think about how it can fail and trap the failures. If you’re sharing code with others, this is even more important a people do ‘interesting’ things.

    There’s a lot of temporary code that’s had a very long life in production, this has technical debt… Is it documented? Is it stable? Is it secure? Ideally it should be

    Code examples on the first page of Google tend to work ok, but are not generally secure, e.g doing SQL queries instead of using prepared statements. Doesn’t take much extra effort to do it properly and gives you peace of mind. We create sboms for our code now so we can easily check if a component has gained a vulnerability. Doesn’t mean our code is good, but it helps. You don’t really want to be the person who’s code helped let an attacker in.

    Any code you write, especially stuff you share will give you a support and maintenance task long term. Pirate for it!

    Code sometimes just stops working. - at least I’m my experience. Sacrifice something to the gods and all will be fine.

    Finally, you probably know more than you think. You’ve plenty of experience. Most of the time I can do what I need without e.g. classes, but sometimes I’ll intentionally use a technique in a project just to learn it. I can’t learn stuff if I don’t have a use for it.

    I’m still learning, so if I’ve got any part of the above wrong, please help me out.




  • There’s a lot of Scotland, and don’t underestimate driving times. Argyll is good, but can be rather wet any time of the year. Going around now you should be safe from the midgies. Recommend getting onto some of the islands too, and boat rides are always nice. Kerrera is a lovely little island just by Oban. It has a very atmospheric castle, though the teashop isn’t as good as it was so pack a lunch. If you like a dram, make a tour of some distilleries, each has it’s own character. Argyll has lots of archeology & standing stones if that’s your thing. There are loads of lumpy bits of you like walking too. Pretty much anywhere is good, tourist hotspot are ok, but try to get off the beaten track once in a while.

    If you’re driving, and going onto country roads, please please please learn to reverse.

    If you’re lucky you may get to spot some wild haggis, but they’re quite rare now. The farmed ones are cute but have a nasty bite so be careful.

    Also don’t neglect the borders, loads of history.

    It may not sound your thing, but consider geocaching… It takes you to some interesting out of the way places.




  • RandomUser@lemmy.worldtoDads Only@lemmy.worldNew dad here!
    link
    fedilink
    English
    arrow-up
    8
    ·
    6 months ago

    You will get stressed, maybe even angry. It’s ok. Take a deep breath and walk away for a moment.

    There doesn’t seem to be much emotional support for men, but sometimes it’s needed. Talk to someone, anyone, even talking to random people on the internet can help.

    Enjoy the ride, you’re in for a great adventure, and while it doesn’t feel like it at the time, they really do grow up quick.






  • The PI is always a good place to start, but they’re not cheap anymore. You can still do some useful things at the command line (not sure how fun, but a great education), python is there and very accessible. - get a camera and you could do some great things with open CV. Not sure what packages are out there though. Think you’d just have to follow some web tutorials.

    As an alternative, have you considered an Arduino kit? Lots of great projects, all very well documented. Playing with LEDs, sensors, motors etc may keep their attention longer than a bash prompt.


  • Practice is essential. My game improved when I started buying multiples of the same lock. As LPL said, learn to pick locks, not a lock. A range of tools helps, I have a few different tension wrenches I made out of wiper blade. With basic tools it’s easy and rewarding to make these and they do make life easier. Good tension control is really important as it lets you feel what is happening in the lock. I wouldn’t spend a fortune on picks at the start, your skills are probably weaker than your tools, though having said that, sometimes you do need the right pick for the job. I have an American Lock clone with such a tight keyway I’ve only picked it twice. With a thinner pick it would probably be easy. Bosnian Bill said “if what you are doing doesn’t work, try something else”, so try a different tension wrench or pick, or start on a different pin. It’s easy to keep picking the same lock and thinking you are improving in lock sport. You may have just learned how far to push each pin on that one lock to get an open.

    As with everything, practice, practice, practice, oh, and have fun.