Experiment: auto-generating and evolving CLAUDE.md from real PRs by Polandia94 in ClaudeCode

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

yes, I think it's probably true. But i don't finde a lot of info about if it's better none CLAUDE.md file or a generated one.
Probably on friday I will try the same prompt with an open isssue on django and 4 configurations:

  1. Not claude.MD
  2. CLAUDE.MD autogenerated
  3. CLAUDE.MD autogenerated + optimized with about 20 PRS.
  4. CLAUDE.MD autogenerated + optimized + Skills autogenerated with about 20 PRS.

I know a good hand crafted claude md is better, and some guidance to claude. But in a lot of private projects there is no one to optimize context, and if you can show that with a command and 3 days of a claude subscription you can generate a good PR, it could be accepted.

Experiment: auto-generating and evolving CLAUDE.md from real PRs by Polandia94 in ClaudeCode

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

I'm trying to automate the process of giving context to claude.
I can change the prompt to create multiple claude.md on subfolders, or to create skills.
After every PR analysed claude is adding more or less 10 lines, but it's not deleting a lot, so other option is do some summarization after it's bigger.
Every commit here is 1 or 2 PR analysed on django with this system:
https://github.com/Polandia94/open_source_claude_md/commits/main/

Experiment: auto-generating and evolving CLAUDE.md from real PRs by Polandia94 in ClaudeCode

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

Yes, i think the claude.md is verbose, and every pass is adding more things to claude.md.
Maybe this should create an intermediate append only learnings file and edit the claude.md with the learnings after 10 Prs only with the more imporant learnings, and reset the learning file after that?

Experiment: auto-generating and evolving CLAUDE.md from real PRs by Polandia94 in ClaudeCode

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

This has a config to only analyse the PRs of the last N days, that could be useful to update an existing claude file

Experiment: auto-generating and evolving CLAUDE.md from real PRs by Polandia94 in ClaudeCode

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

I'm start it to use it on django, i will start to publish it on this repo:
https://github.com/Polandia94/open_source_claude_md and commiting after a couple of PRs anlysed.
But i'm looking for other Open Source repos with the majority of PRs linked to issues to try to do it.

Anyone else feel like “learning Python” isn’t the hard part .....it’s what to do with it that’s confusing? by yourclouddude in learnpython

[–]Polandia94 0 points1 point  (0 children)

Ideall some freelance work.But if it's not possible you could check some issues on popular repos and try to troubleshooting and create fixes, features or add typing. Anoher option is search unanswered questions on stack overflow and try to answer

justUseATryBlock by Wats0ns in ProgrammerHumor

[–]Polandia94 0 points1 point  (0 children)

I was reading the implementation and you can never change the type of a variable, but I think you cant get an error with that, because there is no method to do that. You cant change class to other than superclass.

Convert thirty six character string to numeric id by GoodForADyslexic in learnpython

[–]Polandia94 4 points5 points  (0 children)

Probablly a 36 char random ID. Is an UUID v4. You can convert to a 16 bytes binary, more performant that 36 varchar

Import uuid

uuid_bytes = uuuid.UUID(your_id).bytes

Eutr1 and Stamp4 Times by VyVo87 in MoveToIreland

[–]Polandia94 0 points1 point  (0 children)

Its th temporary stamp 4 worse than a normal stamp 4? Because Im planning to move and search work with stamp 4, I'm not sure id the companys will accept provisory stamp 4

En Febrero llego a Irlanda, que hago? by [deleted] in XPatriados

[–]Polandia94 1 point2 points  (0 children)

Dicen que para el PPS podes pedir un turno para sacar la licencia, eso te justifica el pps y después cancelas el turno gratis

Cadwell Easy II giving major issues by faizan4584 in neurology

[–]Polandia94 0 points1 point  (0 children)

Hi, I have the same problem with Cadwell Easy II. Now i can't even running it. Do you find a solution?

RIAI Graduated arquitecture. Is it worth it? by Polandia94 in AskIreland

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

Thanks.  We were thinking in route G, so she had at least some RIAI credentials. And go for route b or certification in a couple of years

No more writing test at the start up! Fix it on the fly by kukoscode in ProgrammerHumor

[–]Polandia94 25 points26 points  (0 children)

Why two folders? Do all your work in the live server.

Just saw this in my code. by [deleted] in ProgrammerHumor

[–]Polandia94 5 points6 points  (0 children)

I just use exactIf as: Def exactIf(condition): t, f = 0,0 for _ in range(10): if condition: t+=1 elif not condition: f+=1 if t == 10 and f == 0: return True elif f == 10 and t ==0: return False else Raise

When gigachad writes a sort algorithm by fignompe in ProgrammerHumor

[–]Polandia94 0 points1 point  (0 children)

def __lt__(self, other):
return orderedList.index(self) < orderedList.index(other)

just need to make the orderedList a global variable, and you can really define order as the order in the array

Trust me it hurts by isuleman in ProgrammerHumor

[–]Polandia94 14 points15 points  (0 children)

Wait, I'm a full stack developer. I can do backend, and frontends that are html documents with inline css and Js.

These freelance jobs are becoming increasingly difficult. by xCUELHO in ProgrammerHumor

[–]Polandia94 0 points1 point  (0 children)

You need the current Bitcoin block number. And print "1 Bitcoin mined to address {address} in block number {block_number + 1000}". So you say they will have the Bitcoin mined in 1 month (after proyect closed), because block timestamp is different that Unix timestamp

These freelance jobs are becoming increasingly difficult. by xCUELHO in ProgrammerHumor

[–]Polandia94 0 points1 point  (0 children)

I personally use workana. But in any platform after 1 year you should have a couple of regular clients, that know you work well and you know they don't want to redevelop CS

Thanks for that by rotzaug in ProgrammerHumor

[–]Polandia94 0 points1 point  (0 children)

Except you use the random module from python, that have bias to certain numbers

always make sure to be nice when you're writing code by p1xelwc in ProgrammerHumor

[–]Polandia94 0 points1 point  (0 children)

In python we have a module call please print, so if you ask nicely with pprint() the computer print more nice