Readit News logoReadit News
codegladiator commented on Inverse Parentheses   kellett.im/a/inverse-pare... · Posted by u/mighty-fine
HansP958 · 3 days ago
The concept of "inverse parentheses" that unbundle operators is brilliant! The tokenizer hack (friendliness score by parenthesis depth, inspired by Python INDENT/DEDENT) + precedence climbing for infinite levels is elegant – parsing solved without convoluted recursive grammar. kellett

I love the twist: reversing the friendly levels gives you a classic parser, and it opens up crazy experiments like whitespace weakening. Have you tested it on non-arithmetic ops (logical/bitwise) or more complex expressions like ((()))?

codegladiator · 3 days ago
llm generated comment
codegladiator commented on Structured outputs create false confidence   boundaryml.com/blog/struc... · Posted by u/gmays
swe_dima · 4 days ago
OpenAI structured outputs are pretty stable for me. Gemini sometimes responds with a completely different structure. Gemini 3 flash with grounding sometimes returns json inside ```json...``` causing parsing errors.
codegladiator · 4 days ago
https://github.com/josdejong/jsonrepair

might be useful ( i am not the author )

codegladiator commented on Claude in Chrome   claude.com/chrome... · Posted by u/ianrahman
miki_oomiri · 4 days ago
I don't think they mean executing locally JS code generated server-side.
codegladiator · 4 days ago
Its a "tool call" definition in their code named 'execute_javascript', which takes in a "code" parameter and executes it. The code here being provided by the LLM which is not sitting locally. So that code is not present "in the plugin binary" at the time when chrome store team is reviewing it.
codegladiator commented on Claude in Chrome   claude.com/chrome... · Posted by u/ianrahman
anamexis · 4 days ago
Doesn’t basically every Chrome extension execute JavaScript in the context of the page?
codegladiator · 4 days ago
That's the javascript included in the plugin crx. This is about code retrieved over API being executed (so that code being run cannot be approved by chrome webstore team)
codegladiator commented on Claude in Chrome   claude.com/chrome... · Posted by u/ianrahman
codegladiator · 4 days ago
How did chrome webstore team approve use of eval/new function in chrome plugin ? Isn't that against their tos ?

  Execute JavaScript code in the context of the current page

codegladiator commented on Claude Code's DX is too good. And that's a problem   bharath.sh/writing/claude... · Posted by u/lnbharath
lostmsu · 9 days ago
Why do you think it's Claude and not iTerm?
codegladiator · 9 days ago
been using iterm for 10 years. Didn't update recently. claude code is the only new factor in my setup. I can visibly predict as i am using claude code when its about to happen (when conversation goes above 200 messages and then uses sub agents leading to somehow infinite rerendering of the message timeline and they seemingly use a html to bash rendering thing because ... ) so yeah maybe you are right iterm is not able to handle those rerendering or maybe the monitor is broken.
codegladiator commented on Claude Code's DX is too good. And that's a problem   bharath.sh/writing/claude... · Posted by u/lnbharath
exe34 · 10 days ago
is that vram on your GPU? I don't think claude code uses that.
codegladiator · 9 days ago
Not on GPU, I think it's just paged memory. You are right claude-code isn't running the model locally. Today I've had to kill it 5 times till now.

edit: https://ibb.co/Fbn8Q3pb

that's the 6th

codegladiator commented on Claude Code's DX is too good. And that's a problem   bharath.sh/writing/claude... · Posted by u/lnbharath
exe34 · 10 days ago
I've been running claude code on a 13 year old potato and it's never used 136GB of RAM - possibly because I only have 8GB.
codegladiator · 10 days ago
Its vram or something makes the OS completely busy even I have only 32 gb ram. task manager shows 100+ gbs forcing to terminate
codegladiator commented on Claude Code's DX is too good. And that's a problem   bharath.sh/writing/claude... · Posted by u/lnbharath
codegladiator · 10 days ago
> With Opus 4.5, Claude Code feels like having a god-level engineer beside you. Opinionated but friendly. Zero ego.

Who keeps forgetting variable names and function calling conventions it used 4 seconds ago while using 136 GBs of ram for the cli causing you to frequently force quit the whole terminal. Its not even human level.

codegladiator commented on Ask HN: What hard problems are still underexplored?    · Posted by u/brihati
codegladiator · 12 days ago
There is a reasonable argument that your question is at least NP, and plausibly NP-hard or harder depending on how you formalize the verification oracle.

u/codegladiator

KarmaCake day1344July 22, 2017
About
Winning the fights against code !
View Original