News for hackers. Stuff that matters.

nahco314

Re:Ask HN: How do LLMs run code described in prompts? on Friday February 14, 2025 @12:46PM (#43050937)
I don't know exactly how OpenAI does it, but I think it's probably something like this: the OpenAI server that generates the responses reads and executes the ‘code that LLM wants to execute’ that exists in the LLM output in some way, and then passes the execution results as internal conversation history. As a concrete method, for example, the code to be executed could be enclosed in tags such as <run-code>, or it may be achieved using metadata at a lower layer.

However, although GPT-4o should have a code execution function, it is possible that the code is not actually being executed and that the LLM is simply generating output that looks like (but is not actually) correct.

I have always used o1 pro and deep research, but these are only available through the web UI. there is no doubt that cursor and others have a better UI, but the demand for this type of tool exists because OpenAI does not release an API
This is self-promotional, but https://github.com/nahco314/feed-llm has TUI to choose what to give to llm. There are many similar tools out there, but I think this approach is relatively effective for larger code bases.
Re:OpenAI Roadmap Update for GPT-4.5 and GPT-5 on Wednesday February 12, 2025 @08:26PM (#43031749)
I think this means that the cost of cutting-edge models such as o3 pro has become too high, and that ordinary users can no longer use them freely. I fear that, even though it is clear that smarter models are optimal, OpenAI will use cheaper models for its own convenience.
Re:Ask HN: What inspires you about computing? on Tuesday February 11, 2025 @11:56AM (#43015119)
In my experience, I think it’s primarily a mental health issue. My passion for computers has always been rooted in a fundamental curiosity, rather than any deep reason or meaning. Simply writing code and watching software run used to excite me—it was fun, pure and simple.

There was a time, though, when it all felt utterly meaningless and made me depressed. I found myself thinking things like, “Even if I build this, it won’t make any money,” or “This job may pay, but it doesn’t solve any real, fundamental problems.” Intellectually, I knew I used to do it just because I enjoyed it, yet I couldn’t stop those thoughts. However, as my depression went into remission, I started to feel that simple joy again (though I’m not fully recovered yet).

I suspect you’re going through something similar. While it’s important to think, I believe that rather than overthinking, focusing on your mental health first is the better approach—though of course, I understand how hard that can be.

Re:Ask HN: Examples of O1 pro DeepResearch proving its worth? on Tuesday February 11, 2025 @08:15AM (#43012384)
They are very good at searching for niche results that are not often found by simply looking them up on Google. It is often depressing to find a better alternative after building software, but if you ask deep research first, they will find all the competition.

example: https://chatgpt.com/share/67ab4d04-4470-8011-a67d-fd7effc923...

Ask HN: Are there any LLM-based translation sites with excellent UI?

google translate or deepl are useful. The translation accuracy and speed are perfect, and the UI is excellent. However, deepl pro is a bit expensive and I would like to switch.I think modern LLMs are better and some models can combine a response as fast as google translate and accuracy like deepl. However, it is tedious to go to sites like ChatGPT, type “please translate the following text” and...

( Read More... | no comments | on HN )
Re:Ask HN: How are Small Language Models used commercially? on Sunday February 09, 2025 @10:58AM (#42991434)
I think jina's Reader-LM is a good example. It's useful (I use it) and LLM is too much for this use.
Re:Show HN: lscat – ls for directories, cat for files on Thursday October 03, 2024 @01:56PM (#41733087)
I created independent binary for the sake of using the same thing in bash/fish/powershell and for the ease of adding functions, but for simple use, that way would be better.