Better HN
topnewbestaskshowjobs
Log inSign up

alishobeiri

115 karma · joined Oct 31, 2020 (6y ago) · 32 submissions

Submissions

comment 2y ago · link · parent

Here is my technical write up on how you create your own AI replica by fine-tuning gpt-4o-mini on every text message you have ever sent.

I started working on this because I had lost the love of building. I wanted to just have fun again. Well, this project was fun. Especially the completely unhinged model that I couldn't release publicly.

If you would like to play around my chatbot, try it out at: https://text-ali.com/.

Would love for you to try it out and let me know what you think! I will likely make a Show HN with the website sometime soon as well :)

2.

How to live forever (using AI)(alishobeiri.notion.site ↗)

5 points · by alishobeiri · 2y ago · 2 comments

comment 2y ago · link · parent

The way I was approaching it was from the maintainer perspective where I want to engage with the community of stargazers. My experience with that has been fairly good and folks are responsive.

I had a friend who used the original script to reach out to a repo similar to what he was hoping to build and actually got a lot of good feedback as well, so from the small sample size it has generally been positive.

To give a way to protect against potential abuse, I created a form on the homepage where anyone can be asked to be excluded from a StarHog list. Though I am open to hearing suggestions if you might have any as well.

4.

Show HN: StarHog – See who starred your open source project(starhog.co ↗)

11 points · by alishobeiri · 2y ago · 4 comments

5.

Travel to Iceland and Let Horses Reply to Your Email(visiticeland.com ↗)

4 points · by alishobeiri · 2y ago · 2 comments

6.

Ten of the last Olympics all went over budget(cnn.com ↗)

3 points · by alishobeiri · 2y ago · discuss

comment 2y ago · link · parent

I just added the ability to run the proxy locally: https://github.com/squaredtechnologies/thread/commit/7575b99...

Will update once I add Ollama support too!

comment 2y ago · link · parent

Sorry that is my mistake, to clear it up: 1. Yes the API key here is the OpenAI key 2. The tool at the moment cannot be pointed to local models, though I am adding support for that. My focus right now is the following, in order of priority: - Self-hosting the proxy server (priority) - Adding support for local models

Ideally having the self-hosting would also allow people to switch things to use their own models (hosted) as well if need be.

comment 2y ago · link · parent

Hahaha I was not aware of the Slack alternative too hahah point taken

comment 2y ago · link · parent

Hahahah point taken, in all fairness, I only knew about Threads (the social media app) when I posted and so I thought it wouldn't overlap. I was worried the word `thread` might overlap in a parallelism sense though wasn't aware of the networking stack. Anyways I appreciate the feedback :)

comment 2y ago · link · parent

Hahaha I take the point, I thought I was slick because I got the thread.dev domain and so didn't consider SEO as much. One of the alternate titles we considered was `Show HN: Thread.dev` instead of just `Show HN: Thread` to minimize overlap but last second opted against it. Anyways appreciate the feedback.

comment 2y ago · link · parent

Definitely, it is something we are super focused on as it seems to be a use case that is important for folks. Opening up the proxy server and adding local LLM support is my main focus for today and will hopefully update on this comment when it is done :)

comment 2y ago · link · parent

It's something we are considering, I think Hex provides a lot of features that aren't available in existing local notebooks (SQL, reactive cell execution) that we hope to integrate for sure. I think both Jupyter and VS Code are really strong players in the space so one of the concerns we have was around whether the feature set would be compelling enough to get people to switch. (Which is why we wanted to post to test the initial reaction :))

The reason we wanted to focus on running things locally is that we were both engineers at big companies in the past, and we didn't have access to tools like Hex but we could use local tools. Our initial thesis is to bring the best development experience local and see if there is an opportunity to build a business model around collaboration features.

comment 2y ago · link · parent

I think that's another really good point, it was the first time we have open sourced a project or a library so I wasn't really sure how to best position it with the license. The reason I opted for AGPL was mainly because of the worry that someone bigger could come along and take what we've built and we'd kinda be stuck without an option.

If you'll humour me for a second, just for my own knowledge, I would love to learn a bit more about how you think about the license when deciding whether to use a tool like this or not?

comment 2y ago · link · parent

Yeah I think point is very fair, the reason we host it on a proxy server was that we wanted to enable first time users to be able to use it without putting in an API key, the only way we could think of doing that without exposing the key was to host the tool on our own server. We looked to a tool like Cursor that users might be okay with that.

I the think the feedback is very fair that when an API key is present that all the calls should happen locally, and that is something I will take as an action item on us to improve.

16.

Show HN: Thread – AI-powered Jupyter Notebook built using React(github.com ↗)

162 points · by alishobeiri · 2y ago · 44 comments

comment 2y ago · link · parent

Oh sorry, I meant as already mentioned by the other commentor. You are right that I forgot to add that to the initial notebook :)

Hahahah I like #3 especially

comment 2y ago · link · parent

What I find somewhat funny about this is, I did a whole analysis to find the best time to post on HackerNews, and posted at the best possible time.

But this post, that was posted on what is supposed to be a worse time actually ended up doing better :)

Thanks a lot for checking it out in any case!

comment 2y ago · link · parent

Hey java-man,

Thanks so much for checking it out, I am the author of the original notebook. I forgot to mention it initially but the timezone is UTC as was already mentioned.

If you have any feedback, would love to hear it as well!

comment 2y ago · link · parent

Hey vivzkestrel,

I am actually the creator of the original notebook. Happy to do more, do you know of any good datasets for these that would be a good starting points?

comment 2y ago · link · parent

Ahh dang, forgot to mention that! The timestamps were Unix time, so the timezone is UTC. Thanks for pointing that out

comment 2y ago · link · parent

Hey HN!

As a weekend project, I analyzed Hacker News posts to figure out what does best. Here are some of the most interesting things I found, let me know if you'd like me to add any others!

The best time to post on HN: - Sundays are the best day to post with posts created between 11am-12pm getting the highest average upvotes

Most popular post of all time: - Stephen Hawking has died (http://www.bbc.com/news/uk-43396008)

There are ~80k posts every 4 months - About 20k posts per month on HN

Best keywords to use in the title: - Any mention of a tech company (google, apple, facebook, etc) or open source seems to do the best

Best performing url to link to: - github.com (not surprising given the strength of open source mentioned above)

Posts with negative titles tend to do better than posts with positive ones - Posts that have negative titles get ~4 more upvotes on average than those that are more positive

The dataset I used for the analysis was: https://huggingface.co/datasets/julien040/hacker-news-posts. Would love to hear what you think and if there's anything else you'd like me to add!

23.

The Best Time to Post on Hacker News(noterous.com ↗)

10 points · by alishobeiri · 2y ago · 4 comments

comment 3y ago · link · parent

This is really cool, congrats!

comment 3y ago · link · parent

Yes so it is possible to generate questions automatically, just so I understand the CSV use case better. Is it because you don't trust the application enough to connect a database to the application?

comment 3y ago · link · parent

Yes definitely, that is something that I think would be interesting for us to add. Since we are building everything fully on prem, we didn't have a web based product to confuse people, but I think your point stands that have a tangible demo to play with will help users trust the product to eventually run it on prem.

Thanks a lot for the feedback!

comment 3y ago · link · parent

This is another way to make sure that the app doesn't overstep it's permissions,

It's still very valid feedback, on our side we should make the permissions of each user very clear and make it clearer that we only do select queries. Will make sure to make those changes! Thanks for the feedback!

comment 3y ago · link · parent

So the way that we enforce it, is that we only generate SELECT queries, and do a post process verification to make sure that the result is actually only a read-only query.

I think you have a great point though, this should be made much clearer so users can build trust in using the product. Thanks a lot for the feedback!

comment 3y ago · link · parent

Hey! Thanks a lot for the feedback, that is something we actually forgot to add, I will add that now to avoid confusion!

The database connectors we support right now are: - MySQL - Postgres - Snowflake - Apache Impala

In terms of how we map English queries to SQL, we only look at the schema at the moment.

We have the ability, and have experimented with adding enriching information such as sampling the data, as well adding comments to the schemas.

We've noticed that both approaches actually do increase accuracy but just to keep things simple for the initial release we haven't added those yet.

Just so I know for future reference, what system do you use for DB object comments?

Thanks again for your feedback!

12