Arstechnica runs on WordPress on AWS, and they have a really nice series of articles about it. Sure, you could use just one EC2 instance for everything, but on a high traffic website you would need a bit more.
There’s a big chunk of sites that have WP running but are mostly just static content, confusingly. If you update the content once a month and disable all comments, maybe another tool could fit better there. ¯*(ツ)*/¯
I thought the same thing and tried to do a static site generator for a while, but I just liked the WordPress UI too much for composing and editing vs manually placing my images in an assets folder and remembering the file names to add them in my markdown.
Besides, with a good caching solution, isn’t WordPress effectively a static site with extra steps for many use cases?
I’ve definitely used WP in that manner as well. At that time there were plugins that would render the pages out to static HTML in object storage. I’m sure there still are, but possibly not the same ones I used.
I just prefer not to use or manage WP whenever possible.
“I’m kind of surprised I’m the only person on earth who gives a shit about it,” Briars continued. “I’d have thought there would be more people following the press releases closely and then not using Haskell. But they all just skip the press releases and go straight to the not using it part.”
Don’t forget that Vim also keeps every tree of undo history. Wrote someone one way, wanted to try another way, and changed your mind? Switch to the other undo future! Change your mind again? Go back!
And there’s persistent undo, where your undo history is written a file. Quit Vim, power off your machine for 5 years, power it back on, and you can still undo!
Great read. Even in STEM research as a grad student I’m very tired of every saying “let’s try machine learning on this problem” to get something that works marginally better than some conventional models but requiring huge amounts of computation and data.
I work professionally with actually useful ML stuff (we parse a lot of weird ass files and it’s extremely powerful in that context) - we’ve looked at integrating gpt3 and it scored much worse on accuracy than the model we trained in-house. We’re also investigating adding front-end AI bullshit to placate the CEO. Even at the good shops, you’ll probably get buried in this bullshit - but there are good opportunities out there!
if Kagi were open source sure, but it’s $10 a month and the CEO it is kind of an asshole. And a generative-AI-bro (please don’t make me call them GAI-bros)
Does (or does not) he get the credit for committing the fraud that kept Tesla in business long enough to popularize* electric cars that there are other companies at which to build them?
He’s a piece of shit but he restarted the Space Race that was literally dying, push the industry into electric cars when none of them were willing to do it. His actual products may be garbage but it doesn’t stop that it started the movements that needed to happen in the industry.
To say that he contributed nothing at all is unfortunately false as much as I may hate the man
Okay, here we go. I’m going to spit out some bullshit and home someone corrects me if I’m wrong. I’ve looked for some explanations and this is what I’ve gotten.
Are you ready?
The Factory Pattern.
My understanding is that the purpose is a function to return any of several types of objects, but a specific type, not just an interface or whatever they might all inherit from.
I think most languages now have something like a “dynamic” keyword to solve this issue by allowing determination of the type only at runtime. (To be used with extreme caution.)
But most of the time I see the Factory pattern, it’s used unnecessarily and can only return one specific type. Why they would use a Factory pattern here and not just a plain old constructor confounds me.
Yeah most uses of the factory pattern are unnecessary and it’s mild code smell IMO. If your factory only returns one type you should definitely just use that type’s constructor.
Factory pattern can return a mock type for testing or a production type, as needed, which makes it possible to unit test the code that uses the produced object.
This quick guide explains it well. Then it improves on it by explaining dependency injection.
That one dude still using Delphi is getting screwed.
Also, these salary numbers seem… real low. I get that it’s the median so maybe a huge number of overseas engineers are pulling the results down but in my neck of the woods 105K is less than what we pay juniors.
As a developer I object to your assumption that I need a mouse to do my job. The only thing I need a mouse for is outlook and I’d definitely be more productive without it.
I’m a senior engineer now and I’m a big mouse user. It’s more intuitive for me. My productivity is certainly not bottlenecking on how fast my hands move on the keyboard. .
My productivity is bottlenecked by the number of meetings I have to attend, random slack messages that need to be responded to, and distractions IRL.
Nah fuck the haters, the keyboard-only workflow may be technically more productive, just like a Dvorak is better than a QWERTY, but what matters is your output and your quality.
Thank you for this, now I know I have 26+ registers to store stuff in as well as the system clipboard! Honestly been so busy I haven’t touched my computer in over a week.
I choose to eschew my mouse when I can because it’s easier. I don’t have to move my arms around as much, and I can work quicker. It’s more comfortable. All of this is a preference thing, why should anyone do something my way if it’s not how they prefer?
It’s for navigating web documentation when arrow keys are too fine but page up/down keys are too coarse.
I guess you could hit tab 9000 times to get to the right hyperlink. I’ve done that when setting up Hyperland on an Nvidia GPU and my cursor was there but invisible.
programmer_humor
Top
This magazine is from a federated server and may be incomplete. Browse more on the original instance.