305 karma · joined May 11, 2023 (3y ago) · 188 submissions
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
I don't think so. Time and time again the client will insist on stuff like "the customer only needs a single email address/phone number" but you're going to pay for that one later if you do the simple thing and add an "email" column.
Same for addresses.
And a whole bunch of other stuff...you need to normalize the heck out of your DB early on, even if you don't need it now. The code you can mostly make a mess of, just choose a good tech stack.
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
So I asked a couple LLMs. They wrote out loops for me to format the data how I wanted. I could have copy-and-pasted that in and it would probably have worked. But I felt there was something better yet, so back to Google I go.
It's `PDO::FETCH_KEY_PAIR`. It's built-in. But oddly kind of hard to find unless you know the right thing to search for, and "key pair" was not springing to my mind.
Point is, if you just let the LLMs do your work you won't even find these better ways of doing things. And I'm quite afraid of what the LLMs are going to do to Google, Stackoverflow and documentation in general. In a couple users it'll be ungoogleable too.
comment 2y ago · link · parent
I also run Debian at work and that's also perfectly good for writing code, just not gaming.
But no, I don't use Mail in Windows. I've been using Gmail since it came out in 2004....and was perfectly happy with it until just this second. I just found an email from 2004 wherein I had emailed myself a project, and Gmail has blocked it because it thinks it's a virus. The solution? Export the EML and open it in Mail on Windows. Funny.
comment 2y ago · link · parent
I ended up piping it through my server. I can limit file size, authenticate, insert it into my DB and do what not this way.