Return type notation MVP: Call for testing! | Inside Rust Blog
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearEX
    ExperimentalGuy
    Now 100%

    Is anyone actually going to go and check what they asked for? I feel like I understood what they asked but still don't know where to start if I were to try.

    1
  • I went to my local library today and noticed there's a lot of networking, cybersecurity, tcp/ip books from the early 2000s. Now, I want more modern versions of these types of handbooks. Does anyone know any good modern handbooks that deal with networking or network security standards? Thanks :)

    26
    4
    This is why it's not mainstream
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearEX
    ExperimentalGuy
    Now 100%

    Linux doesn't always work. We know that. But it looks like you're misconstruing your specific issue with some broader argument for Linux being mainstream. The fact that you connected it to a switch tells me that youre already more advanced than the average user. I get you're annoyed, but you can also just ask about your specific issue.

    8
  • Why I Prefer Exceptions to Error Values
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearEX
    ExperimentalGuy
    Now 100%

    The article made a few good points, but a good amount of it was conjecture. I liked the part about comparing the two functions and showing that exceptions are faster but I think a big thing he's not getting is readability. Even in the functions he showed, you can directly see that the one using std::expected has the happy path and error path directly in the function signature, whereas the exception one doesn't.

    As for the "error kind" trap he was talking about, that definitely exists, but ignores the fact that you can also get this same kind of error from exceptions. I've definitely gotten exceptions that I didn't understand from Python or Java libraries, but it's not a problem with exceptions but a problem with how they're shown. If there's nothing to tell me that I should have thought of that error, it shouldn't be an expectation for a dev to have thought of it.

    6
  • I wanted to get others' takes but it seems like the only real way to get a non-spying car is to get an older car without any sort of telemetrics. I saw a video about different car companies' security policies, well specifically the new Mental Outlaw video, and it just blew me away how even our cars aren't safe. Anyone got tips for how to anonymize their car?

    258
    109
    Users of Vim and similars, what exactly makes it useful compared to other text editors? How much time do you suppose you save when working with it?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearEX
    ExperimentalGuy
    Now 100%

    I use vim bindings in vscode, but I'm trying to switch to neovim.

    It's hard to talk about efficiencies without use cases but here's some that I like:

    • Compared to using mouse, text selection is just much easier in vim. Instead of accidentally highlighting an extra space and clicking somewhere on accident which gets rid of my selection, vim lets me go directly to the end of the word and be precise about where I'm selecting.
    • I remember before I used vim, I would count the number of times I hit the backspace or delete when I had heavily nested parentheses. With vim I just type the exact number I want, and if I were to undo that operation I also know exactly what was changed, whereas when counting there's always the possibility of miscounting or pressing delete without counting.
    • I don't have to scroll. I can jump 100 lines in less than a second. Instead of searching through long files to find where I left off, I just generally remember what line number I was at, then I can simply just jump back.
    • Forces me to type better. Before vim I had really shitty typing form(I don't know what it's actually called) but switching to vim shone a light on exactly how I was typing wrong, and now I type faster.
    • Using the % operator you can jump between brackets or parentheses. This comes in handy especially when you want to highlight the inside of a function call, or just jump to the end of a pair of brackets
    8
  • Trying to scrape a wedding gallery website for wedding images, what software would you suggest?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearEX
    ExperimentalGuy
    Now 100%

    Before scraping I would verify that there is no HTTP API that you can use to craft requests instead of scraping from the website. These might be higher quality than what you can scrape. If there is no easy to use http API, go to scraping then. I would generally consider scraping the last option, unless it's a ridiculously easy website to scrape.

    2
  • I've seen a lot of different enterprise and personal use distros for servers, but what do you guys use? I'm planning on using Debian but was wondering if there are any other good free options to consider.

    62
    60

    I've been looking around to find a good, privacy respecting way to sync my messages between phones. I decided I'm going to use SyncThing so I don't have to mess around with a server. The only problem with this is that I haven't been able to find any apps that work on modern Android that routinely backup and import messages from a file/folder into the messages database. Does anyone know any app that might do this?

    12
    5

    I recently purchased a domain for myself as a why-the-fuck-not purchase and I need some ideas for what to put on there. Some ideas so far include: Small Blog Personal S/FTP server to sync back to Minecraft server Does anyone have other ideas? Thanks :)

    10
    10

    Smooth breath I beset from your bated breath Unless the stress that's given to me clear Resides unfound and unclear The key to my restitution lies in recognition Opaque and sticky, defiance. Then remission Upset and overreliant on bad positions The lever's balance is set on a dud pivot Problems unseen stay while shit thickens While the root is left untapped The branch kindles

    2
    1

    When the words barely whisper And the songs known forgotten When the seldom well wished And a stone throw's the bottom When the once well trodden Is soiled down and sodden Accept the well wishes of ones who once wished And song without a singer like food without dish And sing those well wishes to your brother on a lake Stoning throws, hitting water, showing off for the sake

    4
    3
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearHA
    Hacking ExperimentalGuy Now 100%
    Best fuzzing tool

    I'm trying to find a good fuzzing tool for testing my web applications and was wondering what people would recommend. I'm trying to find one that is open source, free, and doesn't use proprietary stuff. It seems like Google's OSSFuzz is the closest option to what I'm looking for, but it uses Google cloud :/

    13
    2

    I've been trying to find something that allows me to see performance visualizations in my rust programs, but I haven't found any so far. I'm looking for something that's like [SnakeViz](https://pypi.org/project/snakeviz/) in Python, but for Rust. If there's a better way to get about doing this, I'm all ears.

    10
    3
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearEX
    Now
    9 154

    ExperimentalGuy

    programming.dev