Better HN
topnewbestaskshowjobs
Log inSign up

postalcoder

5,254 karma · joined Jul 19, 2024 (2y ago) · 609 submissions

developing llm systems

side: https://hcker.news

ryan [at] hcker [dot] news

Submissions

comment 1y ago · link · parent

Thank you!

comment 1y ago · link · parent

Thanks! Yeah, I really like hckrnews.com and used it every day. I built this at first because I wanted a dark mode version and then I got a little carried away, lol.

573.

Show HN: hcker.news – an ergonomic, timeline-based Hacker News front page(hcker.news ↗)

180 points · by postalcoder · 1y ago · 82 comments

comment 1y ago · link · parent

Thanks!

comment 1y ago · link · parent

Just saw this comment, added both a hackerweb and a font size adjustment setting! Look in the finicky settings.

comment 1y ago · link · parent

Thanks! By API, do you mean you'd like to have bookmarkable filters so you can always return to a particular view?

comment 1y ago · link · parent

Awesome. I'll try use the manila theme and tone it down if the peachiness bothers me too.

Also, I'll also have to fix the fact that I've been misspelling "manila". Feel free to email me (in the about page) if there are any other features you'd like to see.

comment 1y ago · link · parent

Thanks! Great to hear it.

  > My own news-page rewrite includes several paragraphs of lede context, which is probably a bit on the overkill side. But a hundred characters or so should help.
Stay tuned, I've been thinking about the right way to do something like this too.

  > I'm also wrestling with the sort-order aspect. Current cut is time-ordered within sections (another thing I wish HN had), but I'm going to be extending the article count in the next iteration.
Hope you don't mind if I email you later for new feature feedback.

  > That said, your design is clean and light, I like it.
Thank you.

comment 1y ago · link · parent

Added a manilla theme, let me know what you think of it!

comment 1y ago · link · parent

thanks for the feedback. you can now kill the gutters!

comment 1y ago · link · parent

this quite nice as it reminds me of a good ol rss reader.

regarding controls, one of the dumb reasons i wanted to remake hckernews is i don’t like the two taps to change the view.. im happy with the brutalist settings panel up top.

comment 1y ago · link · parent

I haven't set up my about page yet but I was going to attribute much my design to their page. I've taken a ton of inspiration from hckernews.com because it's the front page I always frequented prior to making this. My primary issue with it was that I wanted more sorting capabilities (aggregate mode), and wanted to be able to see the highest engagement threads (by comments).

comment 1y ago · link · parent

In timeline mode, it's just a pure top 10/20/50/100 stories by points (or comments, if chosen) for each day (in your time zone). The stories are presented in chronological order in which they were submitted (top is newest).

The timeline view can get wonky when it's like 12AM-2AM when there are relatively few stories in "today".

  Misc:
  1) it doesn't filter out flagged stories
  2) second-chance pooled items, should they rise in ranks, will be shown on the day the item was originally submitted, not the day it got popular.
I may do to a "rising" type of view but I'm curious about what others want to see first.

comment 1y ago · link · parent

I'm working on a Hacker News front page with the idea of UI density as a foundational concept.

https://hcker.news

I haven't did a Show HN yet but I'd love to get some feedback on it first.

It's got a lot of configurable views and can be made extremely dense (dense mode on + columns: auto). The aesthetic itself was made to deviate as little from the HN frontpage as possible.

It's got a lot of filtering knick knacks like being able to view by top comments/points, view hn as a timeline of top stories by comments or stories or view hn by top n over day/week/month/year/custom.

comment 1y ago · link · parent

I recommend you try the new 3.5 models (Haiku and Sonnet). I cannot recall the last time I got a refusal from those models. The early Claude models were really bad. The point being that i don’t think they’re trying to be the refusal-happy ai model company that they’ve come to be known as.

comment 2y ago · link · parent

For python, at least, Sonnet’s code is much more elegant, well composed, and thoughtfully written. It also seems to be biased towards more recent code, whereas the gpt models can’t even properly write an api call to itself.

o1 is pretty decent as a rotor rooter, ie the type of task that requires both lots of instruction as well as lots of context. I honestly think it works half as well as it does now because it’s able to properly mull through the true intent of the user that usually takes the multiple shots that nobody has the patience to do.

comment 2y ago · link · parent

and i was just planning to go to sleep…

comment 2y ago · link · parent

i’m at the point where i don’t trust any markdown formatted text. it’s actually become an anti signal which is very sad because i used to consider it a signal of partial technical literacy.

comment 2y ago · link · parent

Do I smell astroturfing here? Ton of comments, lots of fascination and compliments glazing a post that has a few hundred words saying nothing. On top of that, I don't see how using a 2D reduction of embeddings is any more rigorous than the current "semantic chunking" approach (which I am not a fan of).

comment 2y ago · link · parent

articles like this make me wish I could be reading it on a magazine

comment 2y ago · link · parent

This and the underlying tweet makes me feel seen.

Why does developing with Google have to be so hard?

comment 2y ago · link · parent

LocalLlama is the place. Really high quality people and discussion there and surprisingly collaborative. Very different than most subreddits.

comment 2y ago · link · parent

Graph RAG is very cool and outstanding at filling some niches. IIRC, Perplexity's actual search is just BM25 (based a lex fridman interview of the founder).

comment 2y ago · link · parent

To be fair, that only works if you keep chunk windows static.

comment 2y ago · link · parent

Yup. Caching is very nice.. but the framing is weird. "Introducing" to me, connotes a product release, not a new tutorial.

comment 2y ago · link · parent

To add some context, this isn't that novel of an approach. A common approach to improve RAG results is to "expand" the underlying chunks using an llm, so as to increase the semantic surface area to match against. You can further improve your results by running query expansion using HyDE[1], though it's not always an improvement. I use it as a fallback.

I'm not sure what Anthropic is introducing here. I looked at the cookbook code and it's just showing the process of producing said context, but there's no actual change to their API regarding "contextual retrieval".

The one change is prompt caching, introduced a month back, which allows you to very cheaply add better context to individual chunks by providing the entire (long) document as context. Caching is an awesome feature to expose to developers and I don't want to take anything away from that.

However, other than that, the only thing I see introduced is just a cookbook on how to do a particular rag workflow.

As an aside, Cohere may be my favorite API to work with. (no affiliation) Their RAG API is a delight, and unlike anything else provided by other providers. I highly recommend it.

1: https://arxiv.org/abs/2212.10496

comment 2y ago · link · parent

I wholly agree with you. I've been using every model extensively since early the Davincis and I strongly believe that gpt-4-0314 was the best model they've released to date.

It's poor performance on benchmarks drives my skepticism of LLM benchmarking in general. I trust my feel for the models much more, and my feel was that 0314 was great.

The one thing that 0314 doesn't do well are the tricks like structured output and tool calling which makes it a less useful agentic type of tool, but from a pure thinking perspective, I think it's the best.

comment 2y ago · link · parent

without further explanation this is just a bottom of barrel type comment.

the “science” of what convicted the man is as flimsy as it gets and yet you’d want to discredit the man’s case because his representation’s chosen post-nominal?

Please, just refrain from your snark.

comment 2y ago · link · parent

I took out Glaive so as not to give them free publicity – all I did was mess up the formatting of my comment.

And yes, you're correct. Glaive employee(s) contributed to the model uploaded on HF.

1
1718192021