Readit News logoReadit News
hellsten commented on Ask HN: What am I doing wrong Re Agentic coding    · Posted by u/tlonny
hellsten · 6 months ago
$ claude

> Plan how to refactor the codebase to use the new JobDefinition.create function introduced in git commit <git commit hash>. Split task into subtasks, if needed. Write the plan to todo.md.

...

> Start working on the task in @todo.md. Write code that follows the "Keep it simple, stupid!" principle.

hellsten commented on OpenAI o3 and o4-mini   openai.com/index/introduc... · Posted by u/maheshrijal
rashkov · a year ago
How does one do that? As far as I can tell neither Claude or chatgpt web clients support this. Is there a third party tool that people are using?
hellsten · a year ago
You could try using the built-in "projects" feature of Claude and ChatGPT: https://support.anthropic.com/en/articles/9517075-what-are-p...

You can get pretty good results by copying the output from Firefox's Reader View into your project, for example: about:reader?url=https://learnxinyminutes.com/ocaml/

hellsten commented on Ask HN: What have you built with LLMs?    · Posted by u/break_the_bank
hellsten · 2 years ago
https://github.com/christianhellsten/ollama-html-ui

I'm building a minimal, cross-browser, and cross-platform UI for Ollama.

Stack: HTML, CSS, JavaScript, in other words, no dependency on React, Bootstrap, etc. Deployment: web server, browser extension, desktop, mobile

hellsten commented on Ollama releases Python and JavaScript Libraries   ollama.ai/blog/python-jav... · Posted by u/adamhowell
palashkulsh · 2 years ago
Noob question, and may be probably being asked at the wrong place. Is there any way to find out min system requirements for running ollama run commands with different models.
hellsten · 2 years ago
Check out this guide for some recommendations: https://www.hardware-corner.net/guides/computer-to-run-llama...

You can easily experiment with smaller models, for example, Mistral 7B or Phi-2 on M1/M2/M3 processors. With more memory, you can run larger models, and better memory bandwidth (M2 Ultra vs. M2 base model) means improved performance (tokens/second).

hellsten commented on Ollama releases Python and JavaScript Libraries   ollama.ai/blog/python-jav... · Posted by u/adamhowell
mfalcon · 2 years ago
I love Ollama's simplicity to download and consume different models with its REST API. I've never used it in a "production" environment, anyone knows how Ollama performs? or is it better to move to something like Vllm for that?
hellsten · 2 years ago
The performance will probably be similar as long as you remember to tune the settings listed here: https://github.com/ollama/ollama/blob/main/docs/api.md

Try to, for example, set 'num_gpu' to 99 and 'use_mlock' to true.

hellsten commented on Web browser as GUI, with your preferred language in the backend   github.com/webui-dev/webu... · Posted by u/rguiscard
petabyt · 2 years ago
I did a basic C demo where I compared this to Tauri/webview: https://github.com/petabyt/webui-demo I'm not planning to make any apps in HTML/CSS, but if I had to, WebUI would be my choice.
hellsten · 2 years ago
The fact that the only thing WebUI needs is a web browser is a bit of a problem for me, so I decided to go with Tauri, which uses the system's webview, for my HTML-based application: https://github.com/christianhellsten/ollama-html-ui/

The biggest problem with HTML/CSS apps is that their look and feel are different from native GUIs. This is less of a problem for chat and document-based applications (Slack, Word, etc.), IMO. With Tauri, I can also customize the window and integrate native features to mitigate this. I'm not sure WebUI can do this.

hellsten commented on Building Node.js applications without dependencies   bonaroo.nl/2023/12/12/bui... · Posted by u/puuush
hellsten · 2 years ago
I’ve tried something similar on the frontend side: I decided to build a UI for Ollama.ai using only HTML, CSS, and JS (Single-Page Application). The goal is to learn something new and have zero runtime dependencies on other projects and NPM modules. Only Node and Parcel.js (https://parceljs.org/) are needed during development for serving files, bundling, etc. The only runtime dependency is a modern browser.

Here's what I have found so far:

- JavaScript (vanilla) is a viable alternative to React.js

- HTML entities (UTF-8) are an alternative to, for example, font-awesome

- Parcel.js is great for bundling cross-browser compatible Javascript apps: simple to install and no configuration needed. By default Parcel.js supports every browser having 0.25% or more of the total amount of active web users.

- The HTML template tag and JavaScript work well as a replacement for template libraries like Pug

- ChatGPT4 is great at writing the skeleton code for a project

Future plans include experimenting with `node:test` for testing.

I would need to add external libraries to fully support the following features, but I think I will continue on the zero-dependencies path:

- Sanitizing HTML

- Code highlighting

- Markdown rendering

The code can be found here: https://github.com/christianhellsten/ollama-html-ui/

hellsten commented on Index Investing Makes Markets and Economies More Efficient (2016)   philosophicaleconomics.co... · Posted by u/songeater
hellsten · 8 years ago
For those interested in indexation, FRMO's Murray Stahl has published some thought-provoking articles about indexation here:

http://www.frmocorp.com/indexation.html

In principle, the theory behind indexation is very much like the theory of perfect competition. In perfect competition, the idea is that no participant is sufficiently powerful or sufficiently large to influence the price of the product. The product is assumed to be homogeneous, and shares are designed to be homogeneous. In the theory of market efficiency, no one has an information advantage over anyone else, and there is always enough liquidity. It seems reasonable to make those assumptions. Yet, it is worth making some observations about them.

hellsten commented on Vegetarian diet and mental disorders: a representative community survey   ncbi.nlm.nih.gov/pubmed/2... · Posted by u/amelius
sova · 10 years ago
"The analysis of the respective ages at adoption of a vegetarian diet and onset of a mental disorder showed that the adoption of the vegetarian diet tends to follow the onset of mental disorders."
hellsten · 10 years ago
"CONCLUSIONS: Vegetarian diet is associated with an elevated risk of mental disorders. However, there was no evidence for a causal role of vegetarian diet in the etiology of mental disorders."
hellsten commented on Mt Everest in 3D: Everest Avalanche Tragedy   everestavalanchetragedy.c... · Posted by u/njsubedi
dbpatterson · 12 years ago
You won't find helicopter - air is too thin (one of the reasons why rescues are hard). But maybe a plane could give you one.

u/hellsten

KarmaCake day9October 7, 2009View Original