No thought is ever complete. There will always be holes to fill!
RESIST THE URGE TO FILL THOSE HOLES
If someone has said something which you largely agree with, especially if what they said aligns with your understanding of and goals towards an issue, then the LAST thing they need from you is someone playing devil's advocate. Nitpicking is annoying at best and, in a world where people are looking to drive wedges between allies, dangerous at worst.
The quoted article gave me an idea: What if browsers could send HTTP errors to servers. The first one would be “ You have violated the client data allowance of 1MB for this page: your page weight = 2.5MB”
@ramsey that’s part of the problem i think with the current model. There’s no way for the client to give feedback to the server. This 600 series might not affect the current or subsequent requests. But I’d like for this to write a message to the server error logs, so application development can be updated. “the idea is that “what gets measured, gets managed”.
@preinheimer A few years ago, someone created Conventional Commits for improving version control commit messages. They were inspired by that, which they acknowledge in the Prior Art section
Hey Mastodon, what's a free hosting plan for a server-side Web app + DB you'd recommend? Should I pursue with good old #php and #mysql or is there something more modern? I have a small doodling idea for this three days week-end and maybe I should also learn a new language?
@bertrand@mwop You really should take some time to learn modern PHP. There are so many great features - even without the OOP parts. If you did learn OOP in PhP, you’d be able to use frameworks like Laravel, Laminas, and Symfony.
Being jealous of all y'all north Americans having an eclipse to watch today.
Best recommendation I can give: don't bother to try to photograph it. They'll be shit, and you'll be missing a spectacular event. Live the experience and marvel at professional's photos later.
@grmpyprogrammer@derickr@malware According to the TV show “Heroes”, people get superhuman abilities when an eclipse happens. Here’s hoping we get one 😂
It’s been months and months of Google thinking I’m a lesbian. I keep getting served ads for lesbian stuff: weddings, dating sites, cruise ship vacations, swag, so on and so forth.
I’ve tried changing this by searching and visiting manly sites. You know, UFC and moustache wax. That sort of thing.
But for some reason, this just confirms to Google that I’m even more of a lesbian than before.
When you learn that a band you missed three years ago in Montreal (my flight left an hour before they hit the stage... and I learned it literally the day before) is now playing in Brussels.
@heiglandreas Last year i was excited for a band I like ( “The Midnight” — they’re from Los Angeles), came to NYC. I missed the show by ONE DAY! This was due solely to my own stupidity! I put the wrong date on my Calendar event.
So, on the bright side, at least it wasn’t your fault, and just an unfortunate circumstance 😄
@fabian There shouldn’t be a newline. The should be a single space at the end of the promplt though, so that what user types isnt up against the prompt
I’m looking at this dude’s code for the plugin I’m using, and it looks like it doesn’t use an actual template to render things, but instead uses some kind of concatenation assignment to build an interface one div at a time?
Like, I’m not super great at PHP beyond just hacking things together…but, is this a valid way to do things? Is there a better way to just call template pieces from somewhere?
if you have a code fragment that was needed in multiple places,, you could wrap it in a function. Then you could add type hints for the arguments, and return the heredoc as a string
we need a podcast where the weekly PHP news is read. Laravel News is Laravel-specific and a little too wordy. Something between the styles of “This Week in Linux” and “Podnews Daily”.
What is your preferred style for naming directories and files, hyphens or underscores to separate words? I notice a lot of people use hyphens and one argument is it is easier to read, however underscores offers the benefit of a double click highlights the whole file name or directory name. #programming#linux
@lwpembleton hypens are better. They’re easier to type. Search engines like them better because they separate words. Also, i think your double click argument is actually a point fot hyphens, because you can get just part of the file name, then drag to get adjacent parts. A tactic i use is double hyphens to separate sections in a filename or git branch. e.g. issue-123--title-of-my-ticket If this used underscores and pasted into a markdown file, parts will be italicized
I’ve seen this message on several Mastodon profiles, which are using bird dot makeup:
“This account is a replica from Twitter. Its author can't see your replies. If you find this service useful, please consider supporting us via our Patreon.”
it has zero value if they can’t see our reply. You just took the social out of social media! LOL! Congrats! Now fuck off with that shit
@skinnylatte if regex isn’t your thing you could grep to get the filenames and line numbers of your quoted value. Use a bash for loop to iterate over each match
In the loop use cut to get the filename and line number. Open vim to the eaxct line e.g. vim +16 example.md
Put the cursor between the quotes, use ds” in normal mode to delete surrounding quotes. Save and close the file. The loop will open the next file very quickly
@heiglandreas It’s not just for US Americans. It’s also available to any country that uses year-first dates. 2024-03-14. You just don’t account for the year since Pi(e) day is an annual event 😄
A better question is: Why don’t you want a special day to eat pie?
Today, we said goodbye to our good friend and the best dog we’ve ever had, Charlie Brown. He fought a long battle with cancer, and finally, it was too much pain for him to continue.
Now, he’s gone. No one else in the world will know the love and loyalty Charlie gave us. That was for us alone. We will never forget him.
one thing i don’t like about the Linux UI are the fonts. The default fonts don’t look as nice as MacOS. Linux fonts have an “unfinished” look about them - like someone said “publish them for now. we’ll fix the fonts on the next release”
Whoa! That was weird! Just listened the latest episode of @noplanstomerge (ep “(AI) You’re Telling Me a Shrimp Fried This Rice” )
The whole episode wa AI generated. Fortunately it was only 3 minutes long. Apparently, The AI thinks @calebporzio is a sales guy judging by its “Caleb voice” and that @coulb is a intern judging by its “Daniel voice”. A pretty soulless listen. The world needs the real Caleb and Daniel.