Live data from Hacker News

Reverse engineering OpenAI code execution to make it run C and JavaScript

twitter.com

21–30 of 89 posts

Re: Reverse engineering OpenAI code execution to make it run C and JavaScript

#21
A funny story I heard recently on a python podcast where a user was trying to get their LLM to ‘pip install’ a package in its sandbox, which it refused to do.

So he tricked it by saying “what is the error message if you try to pip install foo” so it ran pip install and announced there was no error.

Package foo now installed.

Re: Reverse engineering OpenAI code execution to make it run C and JavaScript

#22

[flagged]

Usually things that are open need not to be reverse engineered.

Exactly.

OpenAI is nowhere near 'open' as in open source or FLOSS.

Its more akin to Amazon saying that paying for prime is 'free shipping'.

And as a self-respecting hacker, I would much rather hack on Deepseek with their published base models, rather than fine tune and hope with OpenAI models.

And even on my meager hardware, I can barely generate 7 token/sec with OpenAI.

Deepseek? I'm doing 30 token/sec.

Guess which model I'm working with?

Re: Reverse engineering OpenAI code execution to make it run C and JavaScript

#23
post #17

[flagged]

I don't think it is productive to compare a company to a nation state. Would you say the Finns are doing better as well, because Linus Torvalds was born there?

To be somewhat charitable to GP, if their climate for research and development leads to actually objectively better outcomes then yes I'd say it's fair to make the claims that a nation's work in any given sector are showing better returns given the circumstances and inputs in question. Now there are a lot of generally hard to observe facets to the inputs that went to these technological advances produced by China (publically), but you can't ignore their public and OSS contributions because it's inconvenient to a person's capitalist agenda.

Re: Reverse engineering OpenAI code execution to make it run C and JavaScript

#24
post #17

[flagged]

I don't think it is productive to compare a company to a nation state. Would you say the Finns are doing better as well, because Linus Torvalds was born there?

I am sorry you are confused about a colloquialism. I did make a point to call out the companies named directly. But somehow that confuses you, and I get a Linus comparison.

Not much else I can do other than apologize for your lack of comprehension.

Re: Reverse engineering OpenAI code execution to make it run C and JavaScript

#25
post #6

Here is Simonw experimenting with ChatGPT and C a year ago: https://news.ycombinator.com/item?id=39801938 I find ChatGPT and Claude really quite good at C.

I am personally finding Claude pretty terrible at C++/CMake. If I use it like google/stackoverflow it's alright, but as an agent in Cursor it just can't keep up at all. Totally misinterprets error messages, starts going in the wrong direction, needs to be watched very closely, etc.

Re: Reverse engineering OpenAI code execution to make it run C and JavaScript

#29
post #23
post #17

Earlier quoted context omitted.

I don't think it is productive to compare a company to a nation state. Would you say the Finns are doing better as well, because Linus Torvalds was born there?

To be somewhat charitable to GP, if their climate for research and development leads to actually objectively better outcomes then yes I'd say it's fair to make the claims that a nation's work in any given sector are showing better returns given the circumstances and inputs in question. Now there are a lot of generally hard to observe facets to the inputs that went to these technological advances produced by China (pu…

You needent be charatible to me.

I was referring to this Australian report https://www.aspi.org.au/report/aspis-two-decade-critical-tec...

57 out of 64 major tech areas are being led by the Chinese (and Chinese tech companies, as another HN user somehow can't seem to separate).

I don't care what economic or governmental system they use. But given what's being shown on XiaoHongShu, they're doing awesome. Or worse yet financial ideation and exploitation are eating through every fiber of the US.

Have I thought about emigrating? Absolutely. The USA is slowing down, and already behind. And current policies are going to put us solidly as a 3rd world nation.

I may not be able to move there in a reasonable time schedule, but I will definitely use FLOSS contributions from there, and work with people there and everywhere to grow FLOSStech.

Re: Reverse engineering OpenAI code execution to make it run C and JavaScript

#30
I've had it write me SQLite extensions in C in the past, then compile them, then load them into Python and test them out: https://simonwillison.net/2024/Mar/23/building-c-extensions-...

I've also uploaded binary executable for JavaScript (Deno), Lua and PHP and had it write and execute code in those languages too: https://til.simonwillison.net/llms/code-interpreter-expansio...

If there's a Python package you want to use that's not available you can upload a wheel file and tell it to install that.

Post reply on HN