one of the slightly annoying things i'm facing when coding with llms is that i'll spend a couple days building my own solution to a problem before deciding that i actually don't even want it because one of the existing solutions actually works fine for me, and i've just wasted…
If you're using an LLM for this anyway, start with a different question: "I want to do XYZ, please list the top 10 products that already exist for this with their pros and cons. Ask me as many clarifying questions as you can to help identify exactly what I need."
Today is my birthday 🎂 I used to say I hated birthdays because I never understood the point of celebrating your cells losing their ability to reproduce, your neurons slowly declining, and your skin and organs getting older. Then I realized that’s the whole point: we celebrate…
Okay, so does the week start on a Monday or a Sunday??? And don't get me started about date formats. I'm looking at you MM/DD/YYYY. Why do dates have to be so confusing.
If you look at a line, is there an end on either side or does one side have two ends and the other none? Seems pretty straight forward to me 🤷
If it's only for the user experience and not necessary for the backend, default to Monday, let them choose in settings. For date, use ISO: yyyy-mm-dd Dates suck. Wait till you have to deal with timezones.
am i crazy or are #php backed enums the factory pattern with a little extra spice? i think i would be displeased by prefixing my factories with the enum keyword though. anyone do this? tell me more.
I don't see the problem if it's for creating simple instances. For example, I've used it for deciding which event to fire. But for factories with a lot of decency injections I'd stick to a proper factory.
Well, it makes sense that you’d see it that way because of the superficial similarity, but be careful, there’s a trap here, and it’s to confuse syntactic convenience with architecture. Ultimately, a backed enum lets you do something like…
Show thread
finally putting out blog posts after ~10 years as a developer! covering a wire array of topics, mostly programming, some not... not sure how threads on here work but seems like a chance to test it out !? tgrecojs.com
Thomas GrecoThomas GrecoThomas Greco writes about software engineering, life, and what he’s learning and building.
Show thread
nice blog! i found that post on curried functions quite interesting. i wonder if you'd be able to get nicer partial application if you use function overloading…
Who is already in Christmas mood? 🎄
Went to the Santa Claus parade and the CPKC Holiday Train this past weekend. Despite the lack of snow, it is time.
We just launched Arco Cloud 🚀 Push to deploy Laravel and Go apps on AWS Lambda, in your own AWS account. Your app and data stay with you, and AWS bills you directly with no markup. People are already testing it, and we want more opinions. We're looking for beta testers. What…
This was my project for the past week. I moved my home office. WDYT?
Much cleaner cable routing and desk lighting in the new spot! Natural light next to the monitor makes long coding afternoons way better.
To the nativephp community, I’ve a question. My app has a SQLite file. I hooked the file up to tableplus to read records from the iOS simulator build. If I have to quit and open again, I need to update the path to the SQLite file.…
what i see in my app that the path changes because the simulator gives the app a new data container so a new UUID folder each time it's installed again, and a fresh build reinstalls it. and i think you can get the current path at any time with simctl. perhaps a small script can…
Did today itself stop being included in the activity? @tom
Translated from Japanese
Today (UTC) isn't over yet, so the count for the current day reflects observations up to this point. Yesterday's figures are finalized. Which number made you think that?
Translated from Japanese
Should we talk salaries? Because I got a rejection for Senior and they said I was way above what they wanted to pay. I've asked 75/year, which is 5 less than I got the last two years (dark times)
I "only" make €38k/year for a position with 10 years of experience (web designer and web developer) in Luxembourg. Not great, I know, but I'm afraid I won't find anything else given the current conditions 🫣
Bro, that's even below senior salary 😭 I'm being exploited, I earn like 9.6k/y
Ladybird has officially reached alpha! Available for Linux / macOS with its own browser engine and no advertising business.. Building a browser without relying on Chromium takes some serious ambition. 😅 shall we give our websites another compatibility test?…
installed it last night, immediately found and reported a bug with mathml rendering on my site lol