Saw this gem of a gem on reddit earlier today and there were some trollish comments about no one using ruby anymore blah blah blah which quietly bummed me out. Surprised and Delighted to see it as #1 here on HN tonight!
adamtaylor_13 2 hours ago [-]
There’s a lot of folks who get immense schadenfreude talking about things they know nothing about to strangers on the internet who also don’t know anything.
Don’t let it bum you out.
someothherguyy 1 hours ago [-]
> some trollish comments about no one using ruby anymore
It ranks right after Shell (#8) and C (#9). Ruby is still a mainstream language, and it's fairly easy to find a Ruby job. Compare that to Clojure or Haskell.
someothherguyy 43 minutes ago [-]
It has dropped in popularity and has never regained the popularity it once held.
Of the many developers who used to write Ruby (myself included), I would wager not many of those same people still do.
jatins 4 hours ago [-]
Such a breath of fresh air compared to poor DX libraries like langchain
nullpoint420 4 hours ago [-]
I’ve found the Ruby community really cares about DUX. Not sure why it’s not in other language communities
toasterlovin 1 hours ago [-]
I don’t really mean this to be derogatory toward people who enjoy other things, but Ruby is a language and ecosystem by and for people who have taste.
continuational 15 minutes ago [-]
Certainly a taste for global state, it seems.
choxi 4 hours ago [-]
Matz said he designed Ruby to optimize for developer happiness, it’s just a core principle of the language since it was created
olegp 2 hours ago [-]
Would anyone happen to know of a similar library with as good DX but for JavaScript or TypeScript?
ekianjo 4 hours ago [-]
langchain and llamaindex are such garbage libraries: not only they never document half of the features they have, but they keep breaking their APIs from one version to the next.
someothherguyy 2 hours ago [-]
What about it is a breath of fresh air? What do the other libraries do that this doesn't?
makuchaku 22 minutes ago [-]
Abut time that someone built this in ruby! You rock!
continuational 16 minutes ago [-]
Why is it using a global variable for this?
jiangplus 1 hours ago [-]
I am writing some LLM-based app scripts, this feels like a breeze!
ripped_britches 2 hours ago [-]
This is an obviously fishy post!
ketzo 3 hours ago [-]
Is this gonna be the thing that finally makes me tried Rails? Ruby syntax really is just nice.
drdaeman 3 hours ago [-]
I think it's the very nice-looking and clean high-level API that should be a pleasure to use (when it fits the job, of course).
I'm pretty sure this API semantics (instance builder to configure, and then it's ask/paint/embed with language-native way to handle streaming and declarative tools) would look beautiful and easy to use in many other languages, e.g. I can imagine a similar API - save, of course, for the Rails stuff - in Python, C# or Erlang. While this level of API may be not perfectly sufficient for all possible LLM use cases, it should certainly speed up development time when this level of API is all that's possible needed.
ksec 3 hours ago [-]
Interesting cause I submitted this some time ago and I just did another one on
Ruby has a bunch of tools to interact with LLMs already. Also has had bindings to stuff like Torch and Tensorflow for years.
someothherguyy 2 hours ago [-]
Why does this say it was posted four hours ago on the front page, four days ago on Agolia, 3 days ago on /from and the comments are all from minutes to hours ago here?
noodletheworld 2 hours ago [-]
The threads have presumably been merged; look at the submitters in the history.
> 166 points|ksec|4 days ago|21 comments
> 168 points by ksec 4 hours ago
But yes; it’s a bit dodgy to resurface old news like this imo and pretend it’s new news.
I’d go as far as to say that being at #1, under the circumstances, means it’s been artificially boosted somehow.
I haven’t the foggiest why anyone would bother though.
Don’t let it bum you out.
It is somewhat objectively true:
https://octoverse.github.com/2022/top-programming-languages
https://github.blog/wp-content/uploads/2024/10/GitHub-Octove...
It doesn't mean much, and this library can be reproduced in any of those top 10 languages from what I can tell.
It ranks right after Shell (#8) and C (#9). Ruby is still a mainstream language, and it's fairly easy to find a Ruby job. Compare that to Clojure or Haskell.
Of the many developers who used to write Ruby (myself included), I would wager not many of those same people still do.
I'm pretty sure this API semantics (instance builder to configure, and then it's ask/paint/embed with language-native way to handle streaming and declarative tools) would look beautiful and easy to use in many other languages, e.g. I can imagine a similar API - save, of course, for the Rails stuff - in Python, C# or Erlang. While this level of API may be not perfectly sufficient for all possible LLM use cases, it should certainly speed up development time when this level of API is all that's possible needed.
https://news.ycombinator.com/item?id=43369977
But it seems hashnode.dev as a domain is blocked entirely. Hopefully Ruby gets another chance in AI era.
If you see the typescript options it's like giving yourself a water boarding session through your own volition.
haven't tried it yet though
Keep going! Happy to see ollama support PR in draft.
Ruby: late to the party, brought a keg.
> 166 points|ksec|4 days ago|21 comments
> 168 points by ksec 4 hours ago
But yes; it’s a bit dodgy to resurface old news like this imo and pretend it’s new news.
I’d go as far as to say that being at #1, under the circumstances, means it’s been artificially boosted somehow.
I haven’t the foggiest why anyone would bother though.