@cxj@phpc.social
@cxj@phpc.social avatar

cxj

@cxj@phpc.social

I’m spending my time trying to figure out what I would write in bios like this. If you know the problem , you know.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

sundogplanets, to random
@sundogplanets@mastodon.social avatar

Here comes a thread on light pollution from satellites, with a concrete action that you all can take to help push for regulation of satellites in orbit!

Astronomers have been worried about light pollution from satellites (if you've been following me for more than 24 hours, you've perhaps heard a bit about this). Astronomers spent SO much time and effort begging and pleading with Starlink to make their satellites fainter, with mixed results.

cxj,
@cxj@phpc.social avatar

@sundogplanets To say nothing of the added risk of the Kessler Syndrome itself and increased raining of space debris onto the surface of the earth.

https://en.wikipedia.org/wiki/Kessler_syndrome

https://interestingengineering.com/space/spacex-debris-crashes-in-canada

ai6yr, to ArtificialIntelligence
@ai6yr@m.ai6yr.org avatar

Yes, yes, that's a GREAT idea, let's arm robot dogs with flame throwers! Great idea! (they are pitching this for prescribed fire burning for wildfire prevention and "snow and ice removal from driveways"... at least until they find a military buyer, I am sure). https://www.msn.com/en-us/news/technology/company-unveil-robot-dog-companion-with-flamethrower-attached/vi-AA1nvoEb

cxj,
@cxj@phpc.social avatar

@ai6yr What could possibly go wrong…

afilina, to random
@afilina@phpc.social avatar

I'm confused. Is there no way to simply override the PHP's default file:// stream wrapper? Why must I reinvent the default implementation just to make one small change? Has nobody even published an unofficial implementation that can be "good enough"? Filters are great, but I can't auto-append them to every stream, which also means that I can't change the opening part. unless I missed something (docs are a bit light there).

cxj,
@cxj@phpc.social avatar

@afilina I don’t suppose the old trick of replacing PHP global functions in a global namespace is if any help? My understanding of your problem might be way off.

cxj,
@cxj@phpc.social avatar

@afilina You have the most “interesting” problems. I presume constraints mean this needs to be dynamically only at run time, too? No pre-writing the files before execution?

ai6yr, to cycling
@ai6yr@m.ai6yr.org avatar

Working again! Cannondale SM400. New tires and tubes, and rim tape. Must be from between 1987 and 1990 or so? Will also need to lubricate the shifters. Actually my son's bike, which he was riding in college (only a few years ago). When his tires were not exploding, LOL. Apparently no one thought to change out the rim tape at his college bike repair shop. 🤨 #BikeTooter

cxj,
@cxj@phpc.social avatar

@ai6yr Rim tape? blink-blink I worked on my bikes for years and never encountered this term. Now I know the correct name and that it needs regular replacement. Thanks!

StillIRise1963, to random
@StillIRise1963@mastodon.world avatar

Nobody seems to give one fuck in this nation about the disenfranchised Black voters of South Carolina. That’s okay. Nobody is going to give a fuck about any white people soon either.

cxj,
@cxj@phpc.social avatar

@StillIRise1963 This white guy cares a lot, but the Seditious Court has the power and no restraints. I’ve worked for years to do what I can. But I feel powerless now after being ignored for so long and watching my nightmares come true. It sucks being Cassandra.

grmpyprogrammer, to random
@grmpyprogrammer@phpc.social avatar

For all the talk about how “small towns are friendlier” it sure does suck that one of my neighbours has a floor fan I bought via Amazon. No point in asking because they don’t really like me due to my non-obsessive behaviour over my lawn. Cutting the lawn once a week is not enough apparently.

Courier says “package handed to resident” but Amazon has refunded me.

cxj,
@cxj@phpc.social avatar

@grmpyprogrammer I’ve always found people to be friendlier in larger cities than small towns or suburban areas.

Crell, to react
@Crell@phpc.social avatar

This article uses #React as it's main example, but it applies to #Laravel, #Tailwind, even #Drupal just a much. I say that as a recovering Drupal dev who used to use the standardization argument.

Greedy management is the reason we can't have nice things.

https://www.baldurbjarnason.com/2024/react-electron-llms-labour-arbitrage/

#PHP #webdev

cxj,
@cxj@phpc.social avatar

@Crell Yes! “Tech management will sacrifice technological progress – performance, design, and general product effectiveness – if it disempowers labour.”

afilina, to random
@afilina@phpc.social avatar

My face when I get another PHP 5 app that concatenates $GLOBALS['HTTP_GET_VARS'] into an SQL query.

cxj,
@cxj@phpc.social avatar

@afilina Oy vey.

GeePawHill, to random
@GeePawHill@mastodon.social avatar

Desmond Dekker, "The Israelites".

https://www.youtube.com/watch?v=mxtfdH3-TQ4

cxj,
@cxj@phpc.social avatar

@grmpyprogrammer @GeePawHill I… I don’t think I ever bought a 45! Nothing but albums, and some EPs it seems. (I still have nearly all my vinyl.)

afilina, to random
@afilina@phpc.social avatar

I'm in npm dependency hell, where I have no idea what I need to uninstall so that my testing framework can be updated to work with the online examples, but without updating the other dependencies, which could break the app itself.

I got so spoiled by Composer in PHP that any time I step into the JS ecosystem, I lose my temper rather quickly.

cxj,
@cxj@phpc.social avatar

@afilina Yup, so true.

Crell, to random
@Crell@phpc.social avatar

"It's a DTO so it shouldn't have methods, just data" is an excellent way to end up with procedural spaghetti with a class keyword floating around.

It certainly won't get you a good codebase, that's for sure.

cxj,
@cxj@phpc.social avatar

@Crell I think this subject is worth a blog post explaining why.

afilina, to random
@afilina@phpc.social avatar

I'm trying to make a simple file upload form in React, but because each component interferes with every other component, it's an infinite rabbit hole. I spent more than a day on forums. I want to burn this codebase to the ground.

cxj,
@cxj@phpc.social avatar

@afilina That’s my general feeling about React itself. 🙃

afilina, to random
@afilina@phpc.social avatar

You'd think that walking up to 13,000 steps per day and being careful with my food would have lost me some weight, but you'd be wrong. A conference trip always nets me at least +0.5kg.

cxj,
@cxj@phpc.social avatar

@afilina Oh well, that* does explain everything! I hope you enjoyed yourself immensely.

cxj,
@cxj@phpc.social avatar

@afilina Hmm. Stress-induced protective fat storage? Or, have those conferences been in the USA, land of adulterated food?

grmpyprogrammer, to random
@grmpyprogrammer@phpc.social avatar

American friends — if your former President is saying that he did nothing wrong, what is the explanation his lawyers gave for the payment that was made to Stormy Daniels? I haven’t followed any of this stuff because I cannot vote in American elections.

cxj,
@cxj@phpc.social avatar

@grmpyprogrammer I don't know their explanation, but paying "hush money" is not illegal, which is why the lawyers, spin doctors and mass media kept using that term. What was illegal, and what he was actually convicted of, is falsifying business records to secretly and hence fraudulently skew the results of the election. So it's not about the actual payment, but the manner in which the money was raised, recorded and paid, I think. IANAL, YMMV.

grmpyprogrammer, to random
@grmpyprogrammer@phpc.social avatar

Thinking about the AI skill threat:

$100/hr to fix your stuff
$200/hr if you did it with AI

cxj,
@cxj@phpc.social avatar

@grmpyprogrammer Yeaasssss!

afilina, to random
@afilina@phpc.social avatar
  • That's no moon!
  • Well, actually...
cxj,
@cxj@phpc.social avatar

@afilina lol

LLS, to random
@LLS@wandering.shop avatar

During a 36h migraine, I drafted a short story with monsters and killing. The muse was with me. If these headaches persist, I’ll have a themed anthology in no time, though if these headaches persist, no time will feel like a million years and shit’s gonna get dark.

cxj,
@cxj@phpc.social avatar

@LLS I wish you well.

davidaugust, to ArtificialIntelligence
@davidaugust@mastodon.online avatar

AI errors are hard for us to see.

“…the hardest kinds of errors to spot. They couldn’t be harder for a human to detect if they were specifically designed to go undetected. The human in the loop isn’t just being asked to spot mistakes — they’re being actively deceived. The AI isn’t merely wrong, it’s constructing a subtle ‘what’s wrong with this picture’-style puzzle.”

https://doctorow.medium.com/https-pluralistic-net-2024-04-23-maximal-plausibility-reverse-centaurs-0a3e71fd9c2b

cxj,
@cxj@phpc.social avatar

@davidaugust Exactly right. Current LLM / “AI” software by design must attempt to deceive or it would be mostly useless.

grmpyprogrammer, to random
@grmpyprogrammer@phpc.social avatar

How long until someone figures out how to run DOOM on this? 😂😂😂

https://github.com/microsoft/MS-DOS

cxj,
@cxj@phpc.social avatar

@grmpyprogrammer I’d bet it already does!

sarah, to php
@sarah@phpc.social avatar

Have you gotten a FREE copy of my book, Mastering Object-Oriented PHP, yet? You can get yours at https://masteringobjectorientedphp.com

cxj,
@cxj@phpc.social avatar

@sarah Thank you for your generosity.

freekmurze, to random
@freekmurze@phpc.social avatar

🔗 Protecting your email address via SVG instead of JS
https://rouninmedia.github.io/protecting-your-email-address-via-svg-instead-of-js/

cxj,
@cxj@phpc.social avatar

@freekmurze Nice!

derickr, to photography
@derickr@phpc.social avatar
cxj,
@cxj@phpc.social avatar

@derickr A very different looking bird than the North American goldfinch!

grmpyprogrammer, to random
@grmpyprogrammer@phpc.social avatar

From a friend who knows me well…

cxj,
@cxj@phpc.social avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • everett
  • osvaldo12
  • magazineikmin
  • thenastyranch
  • rosin
  • normalnudes
  • Youngstown
  • Durango
  • slotface
  • ngwrru68w68
  • kavyap
  • DreamBathrooms
  • tester
  • InstantRegret
  • ethstaker
  • GTA5RPClips
  • tacticalgear
  • Leos
  • anitta
  • modclub
  • khanakhh
  • cubers
  • cisconetworking
  • megavids
  • provamag3
  • lostlight
  • All magazines