• 0 Posts
  • 21 Comments
Joined 1 year ago
cake
Cake day: October 13th, 2023

help-circle


  • In addition to the excellent points made by steventhedev and koper:

    user.password = await hashPassword(user.password);

    Just this one line of code alone is wrong.

    1. It’s unclear, but quite likely that the type has changed here. Even in a duck typed language this is hard to manage and often leads to bugs.
    2. Even without a type change, you shouldn’t reuse an object member like this. Dramatically better to have password and hashed_password so that they never get mixed up. If you don’t want the raw password available after this point, zero it out or delete it.
    3. All of these style considerations apply 4x as strongly when it’s a piece of code that’s important to the security of your service, which obviously hashing passwords is.







  • Much of the advice in this thread is either “Do xyz and you’ll have better chances!” or “It’s ok to be unattractive, it doesn’t mean you’re bad! Feel better!”. But that doesn’t answer your question.

    It hurts, a lot, to not have intimacy for extended periods. It can burn, it can ache, and it can be a slow, subtle sort of pain. It can give rise to bitterness, as you call out, and to anger, sadness, listlessness, frustration.

    Why don’t you want to be bitter? It’s a painful thing that is happening to you. That feeling isn’t wrong, it’s telling you something. If you feel a lot of pain and then suddenly stop feeling pain, that is very bad - it usually means you’re dying or your nerves are damaged. There’s no quick fix or silver bullet that will allow you to hold this like an old stoic, it’s just a lot of work.

    There’s three places you can intervene: thoughts, words, and actions.

    Thoughts are where this starts. If you don’t have bitter thoughts you won’t have bitter speech or actions. When you have bitter thoughts, just let them be. Don’t spiral - feeling bitter about intimacy isn’t great, but feeling bad about feeling bitter strengthens both, and it feeds itself from there. When you notice yourself spiraling or wallowing, just stop. Find a distraction or will yourself better or whatever, just don’t let it feed itself. Meditation might help if this mental action is difficult. If you can find a positive channel for these emotions (which is quite hard to find), use it!

    Speech is the first layer where this can affect others, but it’s significantly lower stakes than actions. Generally, be conscientious. People can’t willingly un-know things so be careful with what you share. Don’t vent unless someone willingly signs up for it (which you can ask friends to do!). Don’t put this out like it’s a problem for someone else to fix or the worst thing that ever happened. It sucks, but it is manageable - you are managing it. When you make mistakes, point and call them. Say out loud “I did/said xyz, that was a mistake because abc, sorry, next time I’ll do/say mno instead.” This helps make a memory for you and others so you actually fix things and opens the door for feedback.

    Actions will hopefully only come into this positively. Do the things that make good thoughts and speech easier. Learn to recognize how frustration and anger and bitterness feel in your body so that you can better notice+control them in the moment, and so that you can physically release that tension/sensation. If you feel urges to hurt others or yourself seek therapy.

    It sucks. It hurts a lot in ways that many don’t understand or sympathize with. And it is itself a significant barrier to intimacy. I haven’t figured it all out myself, but I hope this helps. Good luck.










  • I don’t trust them first off, but even trusting them to not voluntarily disclose it doesn’t mean they won’t have a security breach and disclose it involuntarily. Also, the database has to be created and queried somehow; some employees and govt workers will be able to see what queries are made. Even trusting the business and the govt and the security of both, I don’t trust those random people having access to that info.

    What evidence do you have to give the website that you are person X that they’re running the database query against? If that’s an ID there’s going to be some available online, or a kid can just sneak it from the parent. Everything I’ve heard proposed for the identification strategy is either grossly invasive or quite easy to step over.

    I don’t believe that Canada will actually enforce this across all websites. If they do it on only the large/main ones, it makes it harder for kids to access the relatively safe and legal porn hosted on sites making effort to follow the law, and pushes them towards sites that aren’t making such an effort and therefore probably have more objectionable content.


  • Takkyubin.

    If you have a large suitcase or other parcel it may be unwieldy to walk around Tokyo or another city with it. Subways only allow one suitcase of a certain size, so you might have to take a much more expensive taxi.

    Instead you can go to a desk at the airport and have your luggage delivered same day or next day to ~any hotel, subway station, or convenience store. It will be insured and kept safe for you there to pick up. And at the end of your trip, you can send it back. The price for this convenience? Around $10.

    This is not only a good demonstration of Japanese trust and customer service, it’s also a legitimately hard logistics problem. I daresay that such a business could not succeed in the US both because of our defensiveness and sprawling cities.