Better HN
topnewbestaskshowjobs
Log inSign up

manibatra

263 karma · joined Oct 21, 2012 (14y ago) · 172 submissions

Twitter : @manibatra23 Github : manibatra
Submissions

comment 2y ago · link · parent

Love what you are doing but "never" is just not true. Used Suno to create a song about our daughter the other day which had wife and I in tears.

We are already at a stage where AI is touching hearts.

comment 3y ago · link · parent

Would love some docs on migrating from Customer.io. Looks really cool. Congrats on the launch!

comment 3y ago · link · parent

I started really small with my homelab:

  - Got a couple of Raspberry Pi's and connected them to wifi.
  - Installed https://k3s.io/ on them. One master node and one agent/worker.
  - Started adding workloads
  - Now I have PiHole, Tailscale, Promtheus, Grafana, Mimir, Homebridge, a custom Go app that I use to create a bunch of metrics, eg. from my solar power system, etc. 
  - Also added another agent/worker over time.
So start small and easy then go as fancy as you want depending on what you learn/play with.

comment 3y ago · link · parent

You can use the Wikipedia embedding's released by Cohere to build something pretty easily : https://huggingface.co/Cohere.

If you want a completely offline version you'd be running one of the open source LLMs locally. Otherwise put the embeddings in a VectorDB, query it for the context and send it to one of the completion APIs available (OpenAI, etc)

comment 3y ago · link · parent

You can only have one index in a pod but you can have multiple namespaces in an index and a vector search is constrained to one namespace at a time : https://docs.pinecone.io/docs/namespaces

comment 3y ago · link · parent

Depends on the complexity of the requirements. I have built a couple:

- https://crimson-glade-1527.section.app/ : to talk to www.section.io docs. I used straight up python and Gradio. The chatbot doesn't have memory. Just use a CSV for embeddings. Has limited functionality but does it's job well. https://github.com/manibatra/sectiongpt - consider this toy code which was hacked together in a few hours.

- Also building https://www.everbility.com : Using Langchain, Pinecone. I often found Langchain to be a bit of an overkill with it's so many abstractions if your use case is just sending one off prompts. It is powerful though for document ingestion and Agents (which is something I plan to use it more for). When using Langchain you will often have to debug a bunch of edge cases which is understandable since

A random hack I found for improving the quality of answers by a big factor was creating embeddings for entire documents and also sections of document. Resulted in search on the vector space being very accurate for big picture and granular questions.

comment 3y ago · link · parent

I have a 3 node (Raspberry Pis) k3s cluster with the following :

- Pi-Hole : https://github.com/manibatra/kube-pihole (might be a little rough around the edges, I have to push a few updates)

- Homebridge

- A custom Golang app to poll metrics from my Solar setup and export them as Prometheus metrics

- Prometheus

- Grafana Mimir for long term metrics storage to S3

- Tailscale on all the nodes and all my machines so that I can access my homelab and Pi-Hole when I am on the move.

Bunch more things to add but it's a start!

comment 3y ago · link · parent

I wish Apple developed this more and made it completely driven by shortcuts.

comment 3y ago · link · parent

Is that the inertial scrolling in the extension? I agree the scrolling could be smoother and is on my list to fix. I don't use scrolling much as I rely on fuzzy search hence it's not made the top of the list. Thanks a bunch for the feedback. Appreciate it!

comment 3y ago · link · parent

Yup the cmd+shift+a in Chrome was something I wanted in Safari and was the inspiration behind this.

comment 3y ago · link · parent

It does but I needed something a little more focussed and featured. Safari surfaces a lot of information from Google suggestions to bookmarks. My brain really wants the focus to be just tabs. I like the idea of visually seeing a list. And on top of that really focussing the keyboard shortcuts.Also

- I can't switch between two tabs really fast. My workflow often involves alternating between two tabs.

- I can't quit, pin, mute a bunch of tabs using the Tab Overview with just keyboard shortcuts.

comment 3y ago · link · parent

Yup I used to use this all the time. Tedious when you have a bunch of tabs open but useful nonetheless.

And thanks! I am glad you find it interesting!

comment 3y ago · link · parent

Did not know that! Handy

comment 3y ago · link · parent

Nope I couldn’t go more granular with the permissions!

I would have loved to. I would like the Web extension API to be less locked down with more fine grained permissions.

I can and will put more details into the privacy policy after the Christmas celebrations!

comment 3y ago · link · parent

Yea it’s definitely a long way to go but I am hopeful with recent changes that they are trending in the right direction.

Appreciate it! I wish I could make more extensions but the API is locked down!

comment 3y ago · link · parent

Thanks a bunch! I am glad you like it!

17.

Show HN: TapTab – Tab switching web extension for Safari(taptab.dev ↗)

45 points · by manibatra · 3y ago · 20 comments

comment 3y ago · link · parent

It does but I needed something a little more focussed and featured. Safari surfaces a lot of information from Google suggestions to bookmarks. My brain really wants the focus to be just tabs. I like the idea of visually seeing a list. And on top of that really focussing the keyboard shortcuts. Plus switching back and forth between two tabs. Thanks!

comment 3y ago · link · parent

Tell me more about it please!

comment 3y ago · link · parent

Yup! I find Safari keyboard shortcut choices not the best.

comment 3y ago · link · parent

Plus one on Safari not being tied to the system. I would love a more regular cadence of updates. Yup Safari is pretty fast but I do fall back to Brave for my work. I still hope that Safari will open up their Web Extensions API more, they are moving in that direction, so that I can use Safari everywhere!

comment 3y ago · link · parent

I have not updated the website in a week or so and will get around to it soon but in the meanwhile here is the latest update :

https://twitter.com/ManiBatra23/status/1598284760966606849

comment 3y ago · link · parent

Thank you!! I use vimium and love it! I have not used its tab navigation though. I just use it because Vim life haha!

There is also https://github.com/televator-apps/vimari the Safari port thought it is not full featured as vimium.

comment 3y ago · link · parent

Yup I have! I really wanted something that is native to the browser and not an app extension. And I wanted a design more to my preference :)

comment 3y ago · link · parent

The website doesn't reflect it but I also tried building this for iPad and it works like a charm! This was a request from a user on Reddit and very useful.

The plan to release it to iPad is after I have released the first cut.

comment 3y ago · link · parent

Yup, great feature request! Love it. Definitely on the cards to do it after I release the first cut.

I love the same feature in Chrome so I am with you.

comment 3y ago · link · parent

Thank you for the kind words! I am working on releasing it as soon as possible. Working on it after work and amidst wedding planning hence it's not out yet.

comment 3y ago · link · parent

One example is just opening the Web Extension API in Safari. As much as I love Safari, Chrome/Firefox extension ecosystem is miles ahead. I don't use Safari for work for the same reason. Give me ModHeader : https://chrome.google.com/webstore/detail/modheader-modify-h... on Safari. But can't happen because the API is locked down.

comment 3y ago · link · parent

Yes it's been a bunch of fun! Thanks for the kind words!

I am with you. I was using Tab Overview for a long time before I used Shift + Cmd + A on Chrome. Really made switching tabs a breeze! I wish I didn't have to build this and Safari provided a better native method to be honest :)

comment 3y ago · link · parent

Thank you for the feedback. This is a popular request for sure. As it currently stands the way to back to the previous tab has one extra step :

- Open the extension : Shift + Cmd + A

- Press Enter

I will stick with that for the first cut as I want it released soon but this feature is definitely on the top of my list once this extension is released.

123456