[-] expr@programming.dev 3 points 9 hours ago

Nope, just dumped INT.

[-] expr@programming.dev 1 points 2 days ago

Common Lisp isn't a functional programming language. Guile being based on Scheme is closer, but I'd still argue that opting into OOP is diverging from the essence of FP.

[-] expr@programming.dev 17 points 3 days ago

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.

[-] expr@programming.dev 1 points 4 days ago

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.

[-] expr@programming.dev 1 points 5 days ago

Yeah that's what I was referring to by "archaic". Pretty much anything using the LAMP stack falls in that category. I don't generally see new things using it.

[-] expr@programming.dev 8 points 5 days ago

Databases aren't related to VMs or containers.

https://en.m.wikipedia.org/wiki/Database does a good job of describing what a database is. That page also has a lot of examples of uses of databases.

To answer your question about MySQL: in my experience it's rarely used outside of classrooms or archaic systems. Postgres is a much better general-purpose option for SQL. Sqlite is also nice for different use cases (such as a database on a mobile device).

[-] expr@programming.dev -2 points 5 days ago

And you believe a completely obvious lie? Like it doesn't even make sense.

[-] expr@programming.dev 28 points 6 days ago

You can have nutritious, filling meals that taste really good without excessive calories, you just need to learn to cook. It's also a hell of a lot cheaper than eating fast food all the time.

[-] expr@programming.dev 3 points 1 week ago

Just remember that if you aren't actually concatenating files, cat is always unnecessary.

[-] expr@programming.dev 7 points 1 week ago

Pretty sure we have both where I'm at. Blue college city in a red state surrounded by farmland.

[-] expr@programming.dev 6 points 1 week ago

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.

[-] expr@programming.dev 19 points 1 week ago

I used to work for a company that made software built on VMware. The biggest customer was using hundreds of thousands of VMs. Pretty sure they're working on moving off VMware now because of all this bullshit.

But yeah, it's gonna take a long time to move off.

view more: next ›

expr

joined 11 months ago