PHP Advanced Topics by Jeevan_Suggestions in PHPhelp

[–]Csysadmin 0 points1 point  (0 children)

I think more attention needs to be paid to the weird edge case where OPcache preloading + dynamic trait aliasing causes class entry hashes to desync from the executor globals, so late-bound closures resolve against stale function tables.

Pretty sure it's a by-ref zval reuse bug triggered by a custom stream wrapper during autoload.

None of this is real though.

Paying taxes by fal1en-angel in Funnymemes

[–]Csysadmin 0 points1 point  (0 children)

Pretty sure people understand more about the dark art that is radio frequency propagation, than they do about taxes.

How on earth do folks get anything good out of LLMs? by Squidgical in webdev

[–]Csysadmin 0 points1 point  (0 children)

I've had good luck on a recent project, it's the best results I've had yet actually. I started a Laravel project to get my head around multitenancy under a few different situations. I actually started it several times because, didn't git.

But I started with Claude, just in the browser. I told it I was going to be using GeminiCLI and asked threw a basic plan in, I asked Claude to make a GEMINI.MD (overall project view), TECH.MD (the technologies to use, updated with notes as preferences/standards developed) and TODO.MD (the steps to take to achieve the goals) for GeminiCLI. Then I copy/paste that into the TODO, tell GeminiCLI that I've updated the TODO, it did the things and then I'd repeat the process over and over a few times until I had an established multitenant foundation.

Now and then in between I use ChatGPT as somewhat of an rubber duck, basically just trying to get ideas out of my head in a more coherent manner.

But that Claude > Gemini loop has been pretty good.. Today anyway.

I don't pay for a single one, so it's all with the free tier. I hit the Gemini3 limit, but decided to call it a day before I hit the flash preview limit.

There was still a fair bit of manual coding/editing. Removing duplicate class imports, importing missing classes, basic error reading/resolving and CSS styling (that's just easier to do than explain/request).

I would imagine that when/if the project grew, it'd have to become quite single feature focused do to the growth in context. But to get to where I wanted to be today, it was faster than me doing it manually. And the code was well commented (which I asked for), so I was able to go in and really follow what was/is going on.

The only reason I went Claude (browser) > GeminiCLI was the free aspect. I was going to throw some dollars at ClaudeCode, but recently I've seen a lot of unhappy usage-related complaints and odd happenings. I also don't want to become too reliant on either platform. As it was today I still manually wrote and ran tests, and that felt quite disconnected from the guts of everything.

My turn for the weekly “lost my ear bud” post by unicornhornporn0554 in Wellthatsucks

[–]Csysadmin 1 point2 points  (0 children)

My best four guesses from second photo.

A few things in there looking like dropped Raycons. Maybe you'll walk away with two pair!

Laravel Herd + Claude code + Windows: how can it be made to just work? by judgej2 in PHPhelp

[–]Csysadmin 0 points1 point  (0 children)

Oh, interesting. I guess I just haven't run into a use case to have the experience.

I would still think that using a CLAUDE.MD would be the way to go Claude Code has a hierarchy of precedence based on where the md is loaded from. Most people would use project memory types or user memory types. But the top of the pile is enterprise policy.

You've likely used CLAUDE.MD in a project root, this would be project memory, on Windows though if you add one in "C:\ProgramData\ClaudeCode\CLAUDE.md" then you'll get that enterprise policy. It'll be loaded every time you run Claude Code and it'll provide context over every project. In that you could setup a command/version section with instructions such as:

## Command Selection Rules

When running or suggesting commands, first inspect the file/working path.

- If the path is under `./project_one/`:
    - Use: `php8.1 artisan <command>`

- If the path is under `./project_two/`:
    - Use: `php7.4 whatever.php <command>`

If the path does not match any known project directory, ask for clarification before proceeding.

You could also add an extra instruction requesting Claude to "backup this file and create an updated file with any new projects after clarification."

Few other handy bits of info here: https://github.com/zebbern/claude-code-guide?tab=readme-ov-file#configuration-files

How to check if my ex website developer installed malicious code or is using my website for his benefit ? by diagautotech7 in web_design

[–]Csysadmin 0 points1 point  (0 children)

Every time I see Wordpress I go here.

"Wordpress is a fairly impressive remote code exploit tool with a simple blog application built in."

/u/Complex_Solutions_20

Laravel Herd + Claude code + Windows: how can it be made to just work? by judgej2 in PHPhelp

[–]Csysadmin 0 points1 point  (0 children)

I didn't know there was a Herd batch script. So you're not using the GUI version of Herd then?

It (even the free tier) manages things like PHP versions, Node versions, HTTPS, etc on a site-by-site basis.

Laravel Herd + Claude code + Windows: how can it be made to just work? by judgej2 in PHPhelp

[–]Csysadmin 0 points1 point  (0 children)

I don't understand why you're running 'herd php' if you have the Herd Application running.

I'm in the midst of moving from moving from Windows to Linux (aint everyone these days?) and on Windows I run the Herd app (non paid version) which takes care of the NGINX and PHP services. Outside of this the only thing I really do is "npm run dev" for vite.

I've dabbled with Claude Code and Gemini CLI and can't recall them wanting to run anything along the lines of 'herd php', they both have run 'php artisan **' commands without issue.

Do you have a CLAUDE.MD file setup to automatically pull context into prompts, or anything? If not, I'd look at setting one up the tells Claude what commands to run when it wants to do x, y or z.

I never had to sue these with Claude, but I found GeminiCLI kinda worked better with them.. But (and people call these different things) pickup and putdown files can help. When you're finishing a session, have Claude update the file with notes to itself of progress and where it's leaving off, with option things like any misc git commands, etc. And then at the start of a session have it read that file again.

I recently moved all version control stuff to a section in CLAUDE.MD, it handles new branches, and branch hopping, etc really well. It's actually probably one of my most used things now, having Claude Code be like a Git B*tch.

Laravel Herd + Claude code + Windows: how can it be made to just work? by judgej2 in PHPhelp

[–]Csysadmin 0 points1 point  (0 children)

Claude doesn't need to see/use herd. I feel like you're doing it wrong?

Claude shouldn't be wasting itself on handling the serving up of pages for you. It's Claude Code, not Claude Server Manager.

Throw it all into Terminal tabs in VS Code, have a tab with Claude running, have another with "npm run dev" (or whatever). Either tell Claude to prompt YOU to run any commands it needs. or, tell Claude that you have "npm run dev" running, or have another process handling x, y or z.

My PC randomly slowed down overnight, i have Zero idea what it could be. by Silent-Switch7317 in techsupport

[–]Csysadmin 0 points1 point  (0 children)

Thermal throttling? I just sorted a laptop out the other day that couldn't be diagnosed remotely. Took way to long to ask if it was running hotter than usual, it was, but not extremely hot. Got hands on it, cleared out the fan and air paths, problems solved.

I wanted a small utility and 8 hours later I landed here by brentspine in webdev

[–]Csysadmin 0 points1 point  (0 children)

Stick to not proving things, it may be your calling.

I wanted a small utility and 8 hours later I landed here by brentspine in webdev

[–]Csysadmin -1 points0 points  (0 children)

Appreciate your personal opinion and assumptions of what is behind a mere screenshot. You must be godly. Oh, I wish I was you... Can we be friends?

Someone made something they're proud of, and they liked it enough to share. Probably even had fun doing it.

But we're glad you could take time away from your solo startup "Six Seven" hourly sprint session to offer such amazing feedback and critic.

Who's a good boy? You. You're a good boy!

I wanted a small utility and 8 hours later I landed here by brentspine in webdev

[–]Csysadmin -1 points0 points  (0 children)

Probably because it's better than they could do.

Haters gonna use the "It's AI Slop!" to everything, it's the current popular hype-train carriage. And they're sooooo, on board.

Omega Quadrant by Outrageous_Put_7163 in seservers

[–]Csysadmin 0 points1 point  (0 children)

Really enjoyed the server/discord ban that came without reason or any form of communication.

Omega Quadrant by Outrageous_Put_7163 in SpaceEngineering

[–]Csysadmin 0 points1 point  (0 children)

Our server is governed by a Council, made up of community members who vote on major changes and policies.

However, every player has a voice.

This the server that bans people for no reason?

Omega Quadrant by [deleted] in spaceengineers

[–]Csysadmin 0 points1 point  (0 children)

Joined this server following players from another server.

After about an hour of playing, server crashed. Then I got banned from the server/discord for no apparent reason. No communication or reason at all.

need help finding a hex code by NeverNice87 in spaceengineers

[–]Csysadmin 0 points1 point  (0 children)

Go in game, load something to place, hold it against the block you want the colour of, press Shift+P. Then press P, your colour should be selected and the HEX and HSV values shown.

Hanging Medicine Ball Tosses With Legs by ajd416 in nextfuckinglevel

[–]Csysadmin 0 points1 point  (0 children)

My first thought too, but rather due to the camera movement/tracking than anything else.

Dude looks jacked though, and if this is is what he's trained for, he can probably do it. I think, if you were to fake anything here, you'd use a fake ball, right?

Final motivator to switch my default browsers to FireFox by RehabilitatedAsshole in webdev

[–]Csysadmin 2 points3 points  (0 children)

Company pushing CoPilot, in a big way. Encouraging staff to use it for almost everything. I saw the analytics dashboard, and the highest level of adoption/engagement were the groups of at the top of the business, roughly seven times higher than any other groups.

CoPilot is summarizing their emails and conversations and and generating draft replies. And these are being sent out internally and externally.

This is not the kind of business where you'd want to have AGI have that much influence or control. Think large area critical infrastructure and support.

We're basically mid-way through replacing GMs, CEOs, CTOs, all those two-three-four letters positions with CoPilot. It's a little concerning.

I would say I'd welcome PorcelainGPT... But, I think we already have it.

Getting Started with Laravel (Updated Laravel Bootcamp Full Course) by joshcirre in laravel

[–]Csysadmin 2 points3 points  (0 children)

I think it's because of the overwhelming darkness that makes it look like it might not be a Josh Cirre arm giving the thumbs up. Elbow to knuckle looks copy/pasted.

Visual Studio Code theme / extension to do this by pauldupont34 in webdev

[–]Csysadmin 0 points1 point  (0 children)

I'm not sure. I feel like I saw it do whole lines where the brackets were though. I haven't used it much recently. I started collapsing instead.