• 1 Post
  • 12 Comments
Joined 1 year ago
cake
Cake day: June 15th, 2023

help-circle
  • I’m going to give you the benefit of the doubt and assume what you said was simply confusing, but not wrong.

    So just to be clear if your raid array fails, and you’re using software raid, you can plug all of the disks into a new machine and use it there. But you can’t just take a single disk out of a raid 5 array, for example, and plug it in and use it as a normal USB hard drive that just had some of the files on it, or something. Even if you built the array using soft-raid.



  • I get what you’re saying, but I think the issue with optional memory safety features is that it’s hard to be sure you’re using it in all the places and hard to maintain that when someone can add a new allocation in the future, etc. It’s certainly doable, and maybe some static analysis tools out there can prove it’s all okay.

    Whereas with Rust, it’s built from the ground up to prove exactly that, plus other things like no memory being shared between threads by accident etc. Rust makes it difficult and obvious to do the wrong thing, rather than that being the default.




  • Some tips:

    • Unless the code is very small, or your feature is very big, try to put blinders on, and focus only on the code you absolutely need to to get your feature built. Use search tools to comb through the code to find the relevant methods while reading as little surrounding code as possible, tweak those methods to be different, and call that a first draft. If the maintainer wants the code refactored or differently arranged, they can help with that as part of the review process
    • Being unable to build sucks, it really does. But if the software is released for your platform, it means someone out there is able to build it. And these days that someone is often an automated build tool that runs per release. See if you can figure out how this tool works. What build steps it uses, what environment it runs in, etc. If you can’t figure that out, try contacting the person who releases the builds
    • If the software is in apt (if you’re on a Debian-based system), you can use apt build-dep, apt source, and debuild to try and recreate the native apt build process. These tools will give you the source that built the system package, and its dependencies, and allow you to build a deb yourself out of it. Test the build to make sure it’s working as-is. If it is, and if the software’s dependencies haven’t changed too much, you can even use apt to fetch the old version that’s in the repos, update the code to reflect the upstream release, and then test the build there to see if it still builds. If so, now you have something you can start working off.
    • If you aren’t on an apt system, but do have a package manager, I assume there’s an equivalent to the workflow mentioned above
    • If your change is subtle enough that you think it’s pretty low-risk, you could just edit the code even though you can’t build it. This might be sufficient for bug-fixes where you just need to check something is greater than zero, or features where you pass a true instead of a false in certain conditions or something. You should probably mention this in your PR / MR / Patch so the reviewer knows to test building it before merging.
    • This one is a bit wild, but let’s say you’re on a Mac or Windows machine, and the build instructions only work for Linux. You can just run a virtual machine that’s got Ubuntu or something running on it, and use it as your build environment. These days you can probably be in a simpler situation with Docker or something more lightweight, but as a worst-case scenario, a full virtual machine is there for you if you need it
    • And finally, if the tool isn’t a crazy popular or busy tool, it’s possible the maintainer or other people in the community are more approachable than you think. If they are looking for contributions, then getting a willing contributor’s build environment setup is a benefit to the project. Improving their build docs helps not just you, but potential future contributors as well. A project will usually be more helpful towards someone who says “I’m trying to build this feature, but I’m running into trouble” compared to someone saying “why doesn’t your tool do X”. You may need to be a bit patient, they’re probably doing this on volunteer hours, but they might be happy to help you get your stuff sorted out

    Good luck out there, and try not to be discouraged!


  • To be fair, we don’t see like reverse engineered printing. Printing is reverse engineered seeing. If we saw like this post is claiming shrimp see, and blue was blue and green was green and yellow was yellow, we wouldn’t be able to print by mixing three colours. We’d need one pigment per photoreceptor, same as we do now.


  • psycotica0@lemmy.catoScience Memes@mander.xyzIt's true
    link
    fedilink
    English
    arrow-up
    2
    ·
    8 months ago

    Small extra rant:

    minor spoilers

    And just to be clear, ten thousand years is a long time. Ancient Egypt was, like 5 - 6 thousand years ago. So almost double that. The last ice age was about 12 thousand years ago. 10 thousand years ago was, like, the invention of farming as a concept. No culture on Earth has history that far back.

    So to be making references to today’s pop culture that far in the future just feels nuts. I mean, sure, it’s the same one guy. And I know he’s not supposed to feel like God. But still, when humans as a species first planted seeds in the ground you heard a song, and now today you’re going to casually bring it up to a room full of babies? Whatever.

    But it just so happens that it’s a reference that’s relevant to us the reader in my personal nostalgia? My eyes rolled so hard I fell straight out of the narrative…


  • psycotica0@lemmy.catoScience Memes@mander.xyzIt's true
    link
    fedilink
    English
    arrow-up
    2
    ·
    8 months ago

    I read it a while ago, let’s see if I remember…

    Hopefully I’ve hidden this behind a spoiler tag properly, but if not, please don’t read this unless you’ve read the books!

    hopefully spoiler tag

    I liked the mystery of what truly happened, and I liked the alternative memory around the time in the first house. Seeing that alternative and opposite version of events was neat, and then having that actually be even more impactful when it become clear what’s going on was great. The bits with True Ortis being actually really emotional at the end were good. I was onboard up until that.

    I was quite happy until we all confront John at the end, because this is where it’s going to coming together. There’s a few things I remember disliking here. The first thing, and most trivial, is that John says a few things here that feel like very now memes, and that took me way out of the tone the chapters otherwise were in. I think one was a “hi blank I’m dad” line or something. I get it, he’s not very Godly, and later it seems like he’s even alive during our present day. But I still feel like that format is a bit tired already, and this is ten thousand years from now. I think the other was a reference to a song that was all the rage in, like, 2005 or something. Which again, I don’t feel like even the youth of today would pull that reference, so John is I guess exactly my age. And ten thousand years from now is quoting a thing that no one else in the room would get; that’s meaningless to the person he’s talking to, but also his other lyctors. I dunno, it just felt like John was talking to me, the reader, and it felt very cheap. So that kinda put me in a mood already.

    The second thing that bothered me is the revelations at that point are all a bunch of things all the lyctors think are big news, but that our protagonist, and thus we, don’t know anything about. Like being a kid at a family reunion and listening to the adults talk, they’re having their minds blown talking about schemes and plans and shit that we don’t know anything about. I’m not saying the answers had to be handed to me necessarily, but it just felt like all the meat was coming fully out of left field, and there’s no way any of the things I’ve learned so far this book could possibly have lead me to these discoveries. Isn’t this, like, a mystery book? You don’t want to find out at the end that the murder was actually committed by Richard the repairman we didn’t introduce to you, but anyway let me tell you how this guy you’ve never heard of did the thing you’ve been wondering about.

    Which leads me into the third and biggest thing I didn’t like, which was that throughout the entire climax of the story, our protagonist is passive bordering on insignificant. Gideon wakes up and fights her way to the exposition room, Harrow (our protagonist up until this) is obviously gone. So that’s a bit weird, but we love Gideon so it’s okay. So what does our protagonist do? They hide behind a door and listen to the grown ups talk at each other. Just spilling answers and tying up ends, and having revelations. And our protagonist isn’t even in the room, they’re not talking to her. They’re just chatting amongst themselves, unaware we’re even listening, while they wrap everything up for us. Then even when our protagonist does enter the room, she still just stands there while people talk around her and about her, but she does nothing.

    And then finally Mercy puts her plan into action, John responds, Augustine responds, River, etc. But here’s the thing; this plan is, like, a hundred years old or whatever. The plan was hatched before either of our protagonists were born, and doesn’t involve them at all. Nothing we’re been party to in either book has anything to do with Mercy’s plan, John’s response, Augustine, etc. None of it. It happens around Gideon, but if Gideon and Harrow had never gone to the first house, and none of these books had happened, the plan would have gone exactly the same way. Mercy would have taken her shot. John would have survived. Augustine would have taken his shot. Ianthe changed history by saving John, but Gideon watched that part while being trapped a long way away behind glass, and neither John nor Ianthe knew or cared we were even there. And Ianthe is close to us, but is not our protagonist. So basically nothing in either this book nor the first mattered at all to the big climax. Gideon was just confused, ineffectual, and out of the way for all of it. So that was kind of a let down.

    The closest thing we had to being involved in the climax was that Gideon has John’s eyes. Mercy seems to say something that makes it seem like she was pretty sure anyway, so she was probably going to do her plan that she started before Gideon was conceived in either case, but it did give her confidence. But she even says something like “damn, if only I’d looked at the body’s eyes earlier” or something, making it clear that if she’d done that one thing, even Gideon’s eyes at the end wouldn’t have been a surprise or relevant.

    So that was the biggest sin, in my opinion. But one more thing that annoyed me while I was annoyed anyway, was the stack of twists. Mercy kills God, holy shit! Nevermind, no she didn’t. He’s back. They’re talking. Now Mercy is dead. John wants Augustine to pledge to him. He seems like he might. Now Augustine tries to kill God. Oh, he seems like he’s going to do it. Nope, that didn’t happen either. Augustine is dead. In the end none of their long plan mattered in the slightest, and if they’d been killed by a beast a hundred years ago we’d be in nearly the same place. But the whiplash of attempts and failure back to back to back was just tiring when all my suspension of disbelief had already been spent by the last three issues. I was just like “please let someone kill God so we can move on”

    So at this point I just felt like: given this outcome, what was the point of any of this? There was a plan constructed long before our protagonist was born that did not involve her at all. And we had various struggles. But then the culmination of this plan we didn’t know about has arrived, and it has nothing to do with us or our struggles we’ve just spent hours and hours reading about. And on top of that the plan doesn’t even work or accomplish much of anything. So this big long plan that we didn’t know about and doesn’t involve us also didn’t change the status quo from where it would have been had it not been hatched and executed.

    Cool…that was… fulfilling…


  • psycotica0@lemmy.catoScience Memes@mander.xyzIt's true
    link
    fedilink
    English
    arrow-up
    3
    ·
    8 months ago

    I loved the first one. I liked 7/8th of the second one. It was a tricky puzzle, trying to figure out what is real and what isn’t, and what’s truly going on. But I trusted the author because of how much I liked the first one.

    Then the ending of the book was terrible and made me angry at the entire second book as a result.

    But I read the third anyway, just in case. I didn’t much care for it. It was okay enough to keep reading. But it was very different in tone from the first two, for plot reasons. I dunno, maybe 6 out of 10?

    I know I have to read the 4th for sunk cost reasons, but I’m not excited about it…