Hacker Newsnew | past | comments | ask | show | jobs | submit | thedayisntgray's commentslogin

I've been frustrated by the fact that people still believe that python is some sort of magical default to build LLM apps. It's not. English is the new programming language.

White paper for reference: https://arxiv.org/abs/2210.03629

Notice how the prompt used in Langchain (python) https://github.com/langchain-ai/langchain/blob/d21a494a27639...

Is the same as it is in Langchain.rb (ruby) https://github.com/andreibondarev/langchainrb/blob/6fc2b962c...


> I've been frustrated by the fact that people still believe that python is some sort of magical default to build LLM apps. It's not.

Maybe, but a wrapper around a remote API that contains all the AI part of the app isn’t what most people mean when talking about Python as having particular strength for AI apps, so this conpletely fails as a rebuttal, even if this is a full and complete Ruby replacement for langchain.

> English is the new programming language.

Then why is this written in Ruby?


It's written in english. The prompt that is.

Langchain and Langchain.rb are both using this prompt to get the LLM to do what they want. You can build an app in anything and that is great news!


Sure, its wonderful (though trivial) that you can easily wrap AI HTTP APIs in any language that you can easily wrap an HTTP API with, but that's not really related to the sense of API application in which Python is perceived as having a preferred status.

Now, if it was as easy to implement something like stable-diffusion-web-ui in Ruby as Python...


This also happens to be the same prompt in langchain.

This is an implementation of this white paper: https://arxiv.org/abs/2210.03629


Agreed! That's the beauty of it!


I had an internship where we worked with C# and .NET, and recently i inherited and application written on this stack. I would say I much rather would develop in Rails.

Why?

Currently, I don't have a ton of time to maintain the app and I was hoping to migrate it off of aws (since I don't have a ton of aws experience and mostly don't want to mess with it/ manage it) so I was looking to deploy on heroku which doesn't support C# as of now. - https://help.heroku.com/PAT3YEDU/does-heroku-support-net-app...

If you get past my gripe, I think it's much harder for new developer to pick up.

I think Ruby/Rails and Python/Django were created specifically for developer happiness and ease respectively.

I don't think it's going to be easy to manage this asp app (even though it isn't a large code base) Simply due to the fact that there is a lot of stuff I feel like I'll need to catch up on. When I look at other apps written for the web I find them to be "easier", whatever that means.


The third party buildpacks work totally fine.


Oh sweet, thanks bpicolo, I hadn't thought about that! I'll check that out.


Marketing is a big one for me. Building a great product means nothing if you can’t reach your target audience.

And I don’t mean learning how to used Facebook or Google to run ads, I mean the theory behind marketing.

I would like to read more books similar to the 22 immutable laws of marketing by Al Ries and Jack Trout


I recommend watching thefutur (Chris Do) youtube channel. A lot of useful info.


There is no universal theory behind marketing, it's going to be different depending on the customer demogrpahics, the product type, the part of the world you're in, etc.

You might actually learn more by running a Google ads/FB ad campaign for a side project. Put some money on the line and I can almost guarantee you'll be more committed to learning than if you were just reading a book.


Started an small solo business, would love to be well read. More book recommendations are welcome.


Agree, how do you plan to go about it as a developer (I presume)?


You might like marketingexamples.com


This is an interesting read that is related. I wonder if she covers this specific topic in her book in her book https://www.propublica.org/article/machine-bias-risk-assessm.... Machine bias in prison sentencing.


Yes, and it's a large part of the conversation in this interview.


I'm pretty sure that vr headset is the HTC Vive. Check it out: https://www.google.com/search?q=htc+vr&espv=2&biw=1920&bih=9...


You are right, HTC Vive is actually mentioned in their product detail page.

The listed price is 68000 RMB, about 10K USD. I guess this includes the entire headset, a high-end computer, and the platform itself. No idea how big the margin would be. Might be good at this early stage.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: