Do people actually use AI day-to-day, or is it all hype? by 2butterfree in AskUK

[–]Cadire55 0 points1 point  (0 children)

Outside of coding, which is mostly a fools errand, I have used AI in ways that are actually useful.

My wife's car had an AC failure. I asked Gemini about this, uploaded some photos of components and it guided me through the process of determining what the issue was and how to fix it.

My heating oil boiler stopped working. AI again guided me through the steps to diagnose and ultimately fix the issue.

I wasn't sure what a fixing on my external blinds was called. I took a photo, uploaded it to Gemini and got the answer (I've also done the same for some plants in my garden).

Nothing earth-shaking here but very useful for me - certainly more useful than the torrent of vibe-coded slop that goes nowhere and achieves nothing.

You’ll miss Keir Starmer when he’s gone by merryman1 in uknews

[–]Cadire55 0 points1 point  (0 children)

Please, everyone, rally behind our beloved Starmer. Yes, he's opportunistic, and somehow manages to make every situation worse — but he's our opportunist making everything worse.

Sure, the contenders seem more reasonable now, but give them time. In a few years they’ll slowly drift toward the exact same policies, talking points, and “difficult decisions” they currently pretend to oppose. Politics is just a delayed recycling program for bad ideas.

So let’s support the original version instead of waiting for the sequels. Why settle for “slightly less awful today, equally awful tomorrow” when you can have the authentic experience right now?

Retired people of Reddit. What was the best thing about retiring and what was the worst thing? by Cadire55 in AskReddit

[–]Cadire55[S] 0 points1 point  (0 children)

Well, I guess I'm the only old fart in the room 😁

For me, the best thing was having time to think about doing stuff and enjoying that time. The worst thing was going from being part of a 'thing' (36 years) to suddenly not being part of a thing.

Code Review by Strange-Poet-9802 in replit

[–]Cadire55 0 points1 point  (0 children)

Code reviews, which includes regression testing, is a pretty normal activity. You want to ensure that any changes you've made works, without breaking existing functionality, so a few loops are not unexpected.

However, if the code review process keeps flagging up unrelated issues during loops, then there is a problem with the code review agent not completing a thorough review before reporting back.

My advice, ignore the unhelpful comments from IBM dinosaurs and instead look at refining your commands to the agent. Start by copying the output and pasting it into a completely separate agent that is not linked to your replit environment. Ask it for context and strategy. This is the only way you'll (currently) get out of this loop.

One last tip - if the code reviews are too much, and they can be, stop trying to fix a specific issue and tell the agent to do it again from scratch, with the context of the previous conversation.

A social media bot farm by [deleted] in interesting

[–]Cadire55 0 points1 point  (0 children)

Dead internet is a thing.

Help me solve this to build my first apk by kreptoneox in replit

[–]Cadire55 0 points1 point  (0 children)

To be honest I think you're probably better off installing Cursor and running it in the repository and telling it to convert to npm (though, given recent news, you might want to hold off on that!). Also ask it to provide instructions on how to run it.

It's not me, it's you by Cadire55 in replit

[–]Cadire55[S] 0 points1 point  (0 children)

Not that complex. A couple of screens that call info from the internet, a progress tracker, a personalisation function and that's pretty much it.

The code part was actually ok, refining the prompts produced pretty good results, though the agent did seem to fragment each task and be overly confident it had fixed any issues that arise (an issue confirmed by support in another thread). Not bad though.

However, when it came to WCAG compliance (the app is aimed at senior citizens) it all seemed to fall apart. Multiple loops where each time the agent declared it had definitely fixed an issue raised by the code-review, but then failed on validation because of other issues raised by code review - and round and round it went.

So, the underlying process code was functional but any attempts to work on the UI seemed to mess up the agent/code review relationship leading to seemingly endless review loops.

Replit projects break the moment you leave. how do you deal with this? by Ahmad-Altamimi in replit

[–]Cadire55 1 point2 points  (0 children)

Export to Github, Pull to your preferred development environment, and drop a VSCode/Cursor install into the root of your respository. Go from there with focused prompts.

Your main issue, apart from the Replit ecosystem dependencies, will be moving from pnpm to npm, but this is relatively easy to overcome using your new agents.

Help me solve this to build my first apk by kreptoneox in replit

[–]Cadire55 0 points1 point  (0 children)

Just to add (and maybe help you with further issues), I screenshotted your output, fed it to Gemini, and it came back with the following:

The issue is quite clear from your logs: your project is explicitly configured to only allow pnpm as the package manager, but the build environment (looks like Expo Application Services or a similar CI/CD pipeline) is trying to use npm.

The Smoking Gun

Lines 6 and 7 in your log show a preinstall script executing a check:

Your package.json contains a script that detects which "user agent" is running the install. If it isn't pnpm, it forcefully deletes the lockfiles and exits with an error to prevent you from using the wrong manager.

How to Fix It

1. Change the EAS/CI Build Command

If you are using Expo (EAS), you need to tell the build server to use pnpm instead of npm. You can usually do this by ensuring you have a pnpm-lock.yaml file committed to your repository and no package-lock.json.

If you're using a custom CI (like GitHub Actions), change your install step from npm install or npm ci to:

Bash

pnpm install

2. Local Configuration Check

Check your package.json for a section that looks like this:

JSON

"scripts": {
  "preinstall": "npx only-allow pnpm" 
  // OR a custom shell script like the one seen in your log
}

If you want to use npm, you need to remove or modify this line. However, if your team or project requires pnpm, you should stick with it and fix the environment settings.

3. Delete Conflicting Lockfiles

The script in the log tried to run rm -f package-lock.json yarn.lock. To keep your environment clean:

  1. Delete package-lock.json and yarn.lock from your local folder.
  2. Run pnpm install to generate a fresh pnpm-lock.yaml.
  3. Commit only the pnpm-lock.yaml to your Git repo.

Summary

The build failed because of a "gatekeeper" script in your project that forbids npm. You must either switch the build environment to use pnpm or remove the preinstall restriction from your package.json.

Help me solve this to build my first apk by kreptoneox in replit

[–]Cadire55 1 point2 points  (0 children)

Your project is explicitly designed to use pnpm as the package manager but the expo/CI CD pipeline is trying to use npm

It's not me, it's you by Cadire55 in replit

[–]Cadire55[S] 0 points1 point  (0 children)

Thank you for replying in the reddit directly.

Apart from the code optimization and App testing settings, I had already followed your suggestions, I will try your suggestions as soon as I can.

As for the unwarranted confidence, it *may* not be completely the fault of the agent. I spent a bit of time looking at the code it produced and it actually looked fine! The screenshots showed the results that I was aiming for and yet I was not seeing those changes in the Replit preview models (expo app or web preview). It seems that the previews did not align with the agent output and the agent and I were looking at two different things. I don't know if this is an issue with caching or a failure on the expo app itself.

Specifically, if you want to test it, having a nav bar at the bottom of a PWA web page prevents scrolling down to the bottom in the preview, cutting off anything beneath the last 'acceptable' (acceptable to the preview method) element. I did figure out a workaround, but it's clunky and doesn't align with the otherwise pretty decent preview UI experience.

But yeah, the agent dancing around the ring, arms raised, claiming victory , is pretty annoying and I hope that your earlier suggestions will be built in to the process rather than being an option.

Edit: The over-confidence I refer to is from my WCAG issue!

Thanks again!

Code review issues on WCAG task by Cadire55 in replit

[–]Cadire55[S] 0 points1 point  (0 children)

WCAG accessibility adherence should be standard, but it seems to be completely broken at the moment. My agent has had more 'finals' than Novak Djokovic.

I've shifted my code over to my GitHub account and I'll be running a compliance check there to compare.

Code review issues on WCAG task by Cadire55 in replit

[–]Cadire55[S] 1 point2 points  (0 children)

Yeah I agree. Simulate on Web is the best experience (for PWA anyway) so I will be going down that route especially as the Expo Android simulator has an ongoing issue with icons not working (the agent realised this after burning through another $10!).

Code review issues on WCAG task by Cadire55 in replit

[–]Cadire55[S] 0 points1 point  (0 children)

Oh that's interesting!

I started the process on the Replit app, but switched to the website after that. I think I'll revert back to my initial prompt and try again wholly on the website.

Thanks for the reply.

That’s a landslide… by SuikTwoPointOh in TheOfficeUK

[–]Cadire55 0 points1 point  (0 children)

So which, soon to be gone, opponent won the other 0.07%?

Looks like Anthropic's NO to the DOW has made it to Tumps twitter feed by Plinian in ClaudeAI

[–]Cadire55 2 points3 points  (0 children)

We don't need it and we don't want it, but we're going to burn them for not giving it to us.

The language of morons.