▲ 12 r/codex

My codex superpower - when stuck and it can’t fix a bug

I presume I’m not the only one who at times has just got stuck with codex when it just cannot solve a bug and each time it tells it is confident it is fixed but it isn’t. I had it recently with an android app where an API call was failing but only on certain devices. I’ve lots of cases of it though across Android, iOS, Mac and even office add-ins, and no matter what the effort level I go to it doesn’t work it out.

I found what I think is a strong workaround to fix this. It’s basic software engineering but not one codex suggested itself. What I do now is first ask it to diagnose the issue (often on a higher reasoning level) before trying to fix. I then challenge it on the diagnosis before asking it to implement it. Something this moves it on, not always.

For more difficult cases I ask it what additional diagnostic information it would need to be sure of the issue. I then ask it to design and add that to the code as temporary diagnostics that can be exported or shown on a screen such the problematic action can give precise information where the issue is. Either in sandbox, simulator or from a real device I’ve then got additional data for codex to understand what is happening and solve.

I wanted to share as I thought this may be useful to others, and it is isn’t something I see coming up regularly in how to use codex, despite diagnostic tools being a bedrock for software dev - especially error reports and segmentation fault determination with complex code.

I’m curious do others use similar approaches and what else users do when codex gets in a cycle of trying to solve something but failing.

reddit.com
u/Electronic_Low3128 — 2 days ago
▲ 22 r/Bonsai

1 Year In - from Father's Day seeds from son

https://preview.redd.it/9at2rmouitah1.jpg?width=1080&format=pjpg&auto=webp&s=ac4648ded5bca967169e164bac7753acd8f75e4e

https://preview.redd.it/cp0pinouitah1.jpg?width=1080&format=pjpg&auto=webp&s=c11e206256bbce450fd73924591d2b3b75a1448e

For Father’s Day last year my son got me a bonsai set. It consisted of several bags of seeds and soil to rehydrate. I was very skeptical but it was such a lovely idea I had to try.

Only one seed took, the other 4 types didn’t (even after wintering two in the fridge).

The pine, which I guess was probably the easiest, took hold though and one year in here it is today. Still to early to transfer to a nice bonsai pot or trim the roots (or shape /wire if I go that route).

I’m taking care to give it lots of sunshine, some wind to harden the stem and rotate it regularly. I’m only bringing it in not in really bad weather as I read that pines should be outside to flourish.

It’s a bit uneven, I’m not sure if that is some inconsistency in rotating or just happens as anyway.

My son had expected it turn into a bonsai quite quickly (he was 12 at the time) but I think the lesson in patience and care is a good one. Maybe one day I’ll hand it back to him as a mature tree.

Anyway wanted to do my show and tell to say hello to the community. My 1 year experience has been from ChatGPT guidance so know I've a lot to learn! I’ve a long way to go so looking forward to learning from the community and the amazing trees I've seen here.

reddit.com
u/Electronic_Low3128 — 4 days ago
▲ 9 r/RETA+1 crossposts

Wistar Scientists Develop Single-Dose DNA Method for Delivering Long-acting Weight Loss and Diabetes Drugs

Long long way off and in mice research right not, but sounds akin to mRNA or other covid approaches but for GLPs…

wistar.org
u/Electronic_Low3128 — 4 days ago

Elite II: Frontier

I want to shout out to Elite II. This was the game I (and all my friends) whittled away our early teenage years on.

The vastness of it all on a single floppy disc is hard to image. They used some clever procedural techniques such it was almost infinite, at least in any perceptible way. There were literally more star systems than you ever know in any direction all with their own planetary system. And different types of stars too, binary systems and some other cool physics.

Physics was a big part of the flying too. You couldn’t expect to going at some AU speed and stop, you’d overshoot by as long as it took to slow down. Docking manually was especially cool once you mastered it too, or landing on a planet to mine (one of my friends always argued this was the best part). I liked the trading part to go up the ships.

It also has a very cool classical soundtrack somehow packed onto that same floppy. It was only years later I realised Ride of the Valkyries was not made by David Braben.

I could never work out who I preferred though the Federation (my go to as i recall that is where you start) or the Empire.

u/Electronic_Low3128 — 4 days ago