• 0 Posts
  • 67 Comments
Joined 1 year ago
cake
Cake day: July 3rd, 2023

help-circle
rss





  • Gross. Yeah, no. You should definitely be asking for consent if nothing explicit has been said. I’ve done it many times and it was always appreciated (including by my now wife on our second date when I asked her if I could kiss her), but more importantly, it was the right thing to do. If for some reason there’s a person that is put off by asking, that’s kind of a red flag to be honest. Good communication in relationships and sex is essential and the foundation of any healthy relationship.

    There are many ways of asking, too. It doesn’t have to be some stitled “Would you like to have sex with me right now?” Also just generally communicating a lot before and during sex acts as consent and helps to build trust.

    A lot of women have had truly awful experiences with men. Good communication and obtaining consent is not only treating women with the kindness and respect they deserve, but it also makes you stand out among the many men with poor social skills that make unwanted advances all the time.


  • https://curl.se/ has been account free since 1998.

    Never understood why people keep trying to use proprietary tools for this, especially when curl is so good.

    I have a directory of shell scripts I use to test out endpoints. I persist request/response data either with environment variables or regular files. Oh and since these are just shell scripts, it’s pretty trivial to do stuff like iterate over a CSV (or JSON array) and make a request for each row, conditionally make requests, or whatever else you want.

    Oh and honorable mention goes to jo and jq for making it super easy to make/process JSON data.





  • I dunno, at my last job with unlimited PTO I took as much as I wanted. Obviously you want to make sure things can run without you, but that’s manageable.

    Unless you work someplace truly shitty that has unlimited PTO in name only, I think it’s by and large how you approach it. Most people do themselves dirty with it for no real reason. For me, I generally just took time off for planned vacations and a couple other things, typically taking off 4-6 weeks a year, which worked for me and I found pretty reasonable. Was absolutely never an issue.

    My current job accrues 18 days paid off over the year (increasing with time on the job to 24 or something like that), and it’s mostly fine though honestly if I’ve used it all and I end up needing more time off, I’m probably just gonna take it off anyway. I’m still not 100% sure if it’s gonna be enough since I’m taking a week off next week to pack up my house to move.








  • I understand what you’re saying—I’m saying that data validation is precisely the purpose of parsers (or deserialization) in statically-typed languages. Type-checking is data validation, and parsing is the process of turning untyped, unvalidated data into typed, validated data. And, what’s more, is that you can often get this functionality for free without having to write any code other than your type (if the validation is simple enough, anyway). Pydantic exists to solve a problem of Python’s own making and to reproduce what’s standard in statically-typed languages.

    In the case of config files, it’s even possible to do this at compile time, depending on the language. Or in other words, you can statically guarantee that a config file exists at a particular location and deserialize it/validate it into a native data structure all without ever running your actual program. At my day job, all of our app’s configuration lives in Dhall files which get imported and validated into our codebase as a compile-time step, meaning that misconfiguration is a compiler error.