Better HN
topnewbestaskshowjobs
Log inSign up

leroman

918 karma · joined Oct 15, 2016 (10y ago) · 227 submissions

https://romansky.dev
Submissions

comment 3w ago · link · parent

At the base there is a conflict of interests- what we pay for

2.

Show HN: TUI wrapper for cargo-nextest, Clap-powered xtasks, and more(github.com ↗)

2 points · by leroman · 4mo ago · discuss

3.

Show HN: TUI wrapper for cargo-nextest, Clap-powered xtasks, and more(github.com ↗)

1 points · by leroman · 4mo ago · discuss

comment 5mo ago · link · parent

The token-economics for closed source models are different, they are optimizing for 200 USD tokens worth of software engineer monthly usage, they will increase per token price as models or harnesses are more optimized.

5.

Show HN: Sandbox AI-app lifecycle, from build to run(capakit.com ↗)

6 points · by leroman · 5mo ago · 1 comment

comment 11mo ago · link · parent

Interesting, thanks!

comment 11mo ago · link · parent

What model are you working with where you still get good results at 25k?

To your q, I make huge effort in making my prompts as small as possible (to get the best quality output), I go as far as removing imports from source files, writing interfaces and types to use in context instead of fat impl code, write task specific project / feature documentation.. (I automate some of these with a library I use to generate prompts from code and other files - think templating language with extra flags). And still for some tasks my prompt size reaches 10k tokens, where I find the output quality not good enough

comment 11mo ago · link · parent

The biggest challenge an agent will face with tasks like these is the diminishing quality in relation to the size of the input, specifically I find input of above say 10k tokens dramatically reduced quality of generated output.

This specific case worked well, I suspect, since LLMs have a LOT of previous knowledge with HTML, and saw multiple impl and parsing of HTML in the training.

Thus I suspect that in real world attempts of similar projects and any non well domain will fail miserably.

9.

Show HN: Prompt Engineering Templating Language and CLI Tool(github.com ↗)

2 points · by leroman · 1y ago · discuss

10.

Freddie Mercury's Religion(theconversation.com ↗)

7 points · by leroman · 1y ago · 2 comments

comment 1y ago · link · parent

Cool idea! but kind of wasteful.. I just feel wrong if I waste energy.. At least you could first turn it into markdown with a library that preserves semantic web structures (I authored this- https://github.com/romansky/dom-to-semantic-markdown) saving many tokens = much less energy used..

12.

Export your Skype data before the May shutdown(secure.skype.com ↗)

1 points · by leroman · 1y ago · discuss

13.

Andrej Karpathy: Deep Dive into LLMs Like ChatGPT [video](youtube.com ↗)

582 points · by leroman · 1y ago · 46 comments

14.

Show HN: LLM Templating – import files into prompt(github.com ↗)

3 points · by leroman · 2y ago · discuss

comment 2y ago · link · parent

The title was so confusing to me, the reason I opened the link was to understand how you made the SSH tunnel manager learn the GO programming language

16.

Show HN: LLM Prompting Templating(github.com ↗)

2 points · by leroman · 2y ago · discuss

17.

Show HN: LLM Prompting Templates for Files / Source-Code(github.com ↗)

2 points · by leroman · 2y ago · discuss

comment 2y ago · link · parent

It's hilarious they put Claude 3.5 Sonnet in the far right corner while it scores the highest and beats most of Grok's numbers.

19.

Show HN: Copy Folder Contents for Easy Prompting(github.com ↗)

4 points · by leroman · 2y ago · discuss

comment 2y ago · link · parent

Thanks for sharing!!

Would be really helpful if you opened an issue in Github with a specific example, happy to look into that!

comment 2y ago · link · parent

This is now supported, see here- https://github.com/romansky/dom-to-semantic-markdown?tab=rea...

comment 2y ago · link · parent

Bumped this together with the side-by-side comparison task.. so will look into it :)

comment 2y ago · link · parent

This is some great feedback, thanks!

1. there some crazy links with lots of arguments and tracking stuff in them, so it gets very long, the refification turns them into a numbered "ref[n]" scheme, where you also get a map of ref[n]->url to do reverse translation.. it really saves a lot, in my experience. It's also optional, so you can be mindful when you want to use this feature..

2. I tried to keep it domain specific (not to reinvent HTML...) so mostly Markdown components and some flexibility to add HTML elements (img, footer etc).

3. Not sure I'm sold with replacing the switch, it's very useful there because of the many fall through cases.. I find it maintainable but if you point me to some specific issue there it would help

4. There are some built in functions to traverse and modify the AST. It is just JSON in the end of the day so you could leverage the types and write your own logic to parse it, as long as it conforms to the format you can always serialize it, as you mentioned..

5. The AST is recursive so not flat.. sounds like you want to either write your own AST->Semantic-Markdown implementation or plug into the existing one so I'll this in mind in the future

6. Sounds cool but out of scope at the moment :)

7. This feature would serve to help with scraping and kind of point the LLM to some element? Then the part I'm missing is how you would code this in advance.. There could be some meta-data tag you could add and it would be taken through the pipeline and added on the other side to the generated elements in some way..

comment 2y ago · link · parent

Ah, I suppose you mean a web page one could visit to see a demo :) Added to the backlog!

comment 2y ago · link · parent

This totally makes sense, I will look into adding support for additional ways to detect the main content, super interesting!

comment 2y ago · link · parent

By all means, you can be the first contributor :) You are welcome to either open an issue and brain storm together on possible approaches or send me a pull request with what you came up with and we start there
12345
8