• 0 Posts
  • 14 Comments
Joined 8 months ago
cake
Cake day: November 7th, 2023

help-circle



  • Think about it like this: you don’t have to go to the Australian outback and survive there for a week with nobody being around.

    Start with a one day hike so that you can pack and carry enough gear that will ensure you can spend the night and figure it out from there. Take a note of stuff that you missed and add it to the list of items you’ll research and buy. Drop stuff you didn’t need after a while (emergency supplies exempted).

    You’ll probably need clothes, a tent, a sleeping bag and mat, a flashlight, a stove & fuel, lighter, plus kitchen utensils / cutlery, water bottles, food, toiletries, toothbrush, a towel, first-aid kit, some insect repellant, sunglasses, your phone (solar charger), some money or credit card, and potentially maps and a compass if you’re planning a longer hike and there might not be any reception (or you lost your phone). There are apps (e. g. Locus) that have dedicated “outdoor” map types and allow map downloads, so they work offline and provide more useful information about the terrain.

    Look at camping / hiking communities where people post their minimal loadout pictures to get an idea of how little gear really is needed to get around and add stuff you’d like for comfort from there. There is a whole “ultralight” movement out there that will give you an idea of the absolute basics you’ll need, people typically post overhead pictures of their gear there and add descriptions.

    Regarding your specific question for drinking water: there are solutions to filter water so it can be safely consumed, search for “portable water treatment”, e. g. LifeStraw, Geopress etc., plus chemical additives that purify water.

    Yes, you can make bacon&eggs, you’d typically crack the eggs at home and seal them in a bag to carry them along. A camping stove will allow you to fry food and boil water, plus you can always start a fire (where legal!).

    Sleeping bags will be rated for certain temperatures, get one that matches the climate you plan to sleep in, then optimize for weight and cost - we can’t tell you how to weigh each factor since that depends on destination, group setup (load distribution) and naturally, your financial situation.

    If you want to get more serious about being self sufficient, you might want to look into “bushcraft” later on, although I do consider this an advanced topic separate from camping / hiking, and it won’t work in every corner of the world. Still, there are decent books about it and the topic is interesting either way. A good starting point could be: https://www.amazon.com/Bushcraft-Boxed-Set-Advanced-Gathering/dp/1507206690/

    Overall, don’t overthink things and start with small, short trips, you’ll learn as you go.


  • Great project, I like that you went all in and installed the solar panels - there is a nonzero chance I would have tested it with only a battery first, therefore creating a suboptimal solution that would have stayed around far too long, endlessly bugging me in the process.

    Just one remark: the mailbox is so nice, you should definitely route a channel in the treated pine to hide / protect the blue cable better, that’d make it perfect.


  • I am aware of what you are saying, however, I do not agree with your conclusions. Just for the sake of providing context for our discussion, I wrote plenty of code in statically typed languages, starting in a professional capacity some 33 years ago when switching from pure TASM to AT&T C++ 2, so there is no need to convince me of the benefits :)

    That being said, I think we’re talking about different use cases here. When I’m talking configuration, I’m talking runtime settings provided by a customer, or service tech in the field - that hardly maps to a compiler error as you mentioned. It’s also better (more flexible / higher abstraction) than simply checking a JSON schema, and I’m personally encountering multiple new, custom JSON documents every week where it has proven to be a real timesaver.

    I also do not believe that all data validation can be boiled down to simple type checking - libraries like pydantic handle complex validation cases with interdependencies between attributes, initialization order, and fields that need to be checked by a finite automaton, regex or even custom code. Sure, you can graft that on after the fact, but what the library does is provide a standardized way of handling these cases with (IMHO) minimal clutter. I know you basically made that point, but the example you gave is oversimplified - at least in what I do, I rarely encounter data that can be properly validated by simple type checking. If business logic and domain knowledge has to be part of the validation, I can save a ton of boilerplate code by writing my validations using pydantic.

    Type annotations are a completely orthogonal case and I’ll be the first to admit that Python’s type situation is not ideal.








  • I also currently use it for a new project since all needed 3rd party libraries are from a very specific domain and the project has a deadline, so writing and testing wrappers for Rust that would provide me with any meaningful advantages down the road are too costly to budget for before the deadline.

    That could become part of a future refactoring, though.


  • scrion@lemmy.worldtoProgrammer Humor@lemmy.mlCuda
    link
    fedilink
    arrow-up
    12
    ·
    5 months ago

    I started working with CUDA at version 3 (so maybe around 2010?) and it was definitely more than rough around the edges at that time. Nah, honestly, it was a nightmare - I discovered bugs and deviations from the documented behavior on a daily basis. That kept up for a few releases, although I’ll mention that NVIDIA was/is really motivated to push CUDA for general purpose computing and thus the support was top notch - still was in no way pleasant to work with.

    That being said, our previous implementation was using OpenGL and did in fact produce computational results as a byproduct of rendering noise on a lab screen, so there’s that.