Video here: https://www.youtube.com/watch?v=RIjz9w77h1Q
667 karma · joined July 23, 2011
Mailing list: https://umaar.com/dev-tips/
Video course on Chrome DevTools: https://moderndevtools.com/
[ my public key: https://keybase.io/umaar; my proof: https://keybase.io/umaar/sigs/V4cWz1hm8-M9l5D8L0k47IsOZSJQBDsVThwzMTlqGZk ]
Video here: https://www.youtube.com/watch?v=RIjz9w77h1Q
https://www.dannyguo.com/blog/my-credit-and-debit-card-colle...
There's also hundreds of developer tips here https://umaar.com/dev-tips/
for await (const chunk of response.body) { // use chunk }Edit: this is for London pricing, guess it's a bit higher.
When Meta started discussing this in 2021, the HN sentiment [1] was quite...cautious, making connections to how Meta can't be trusted with kids drawings. Has something changed?
Have always found it weird how so many heroku-style hosting providers charge _per app_, things get costly, quickly, when you have lots of small apps like I do.
Just yesterday I realised I'll need a database to store job queues for https://chatbling.net - ChatGPT helped me figure out how to install it, have it persist to disk, ensure it starts up with the system etc. It's nice to not be fearful of unexpected charges hitting my card.
To anyone reading, even if it's just for learning, every now and then, skip the vercel/fly.io/netlify/planetscale/upstash/render/railway whatever cool hosting provider is out, and give a $5 VPS a try.
Going forward, I'll explore storing image jobs in redis or something, which will be more resilient to server crashes.
As for conversation history, I'll continue to keep that in memory for now (messages are evicted after a short time period, or if messages consume too many OpenAI tokens) - even that's lost during a server restart/crash. Feels like quite a big decision to store sensitive chat history in a persistent database, from a privacy standpoint.
- Chat with ChatGPT directly from WhatsApp.
- Generate pretty cool images (see the home page for screenshots).
- Transcribe your WhatsApp voice messages - speech to text using Whisper.
No signup needed, thank you, let me know if you have any questions or feedback.
What behaviour would users prefer when uploading a voice message, a) the voice message is transcribed, so speech to text? Or b) the voice message is treated as a query, so you receive a text answer to your voice query?
I've done a) for now as mobile devices already let you type with your voice.
In the spirit of sharing What I learned at X, here's What I learned at Shazam:
Part 1: https://umaar.com/blog/lessons-learned-from-working-at-shaza...
Part 2: https://umaar.com/blog/lessons-learned-from-working-at-shaza...
Like asking 'what streaming services am I paying for and how much have I spent on them to date?', and some tool going over your bank statements to pick out spotify, netflix etc. I could see being useful.
https://simonwillison.net/2023/Jan/13/semantic-search-answer...
But then you have the issue of GPT3 token limits, so you're limited in how many of these relevant snippets you can embed into a prompt. Wondering if there's a better way to go about this (for your first example, rather than OPs use case).
Made a few videos to help front-end web developers. Such as how to use DevTools, a bit about web performance and other related things.
Wrote about it too: https://umaar.com/blog/lessons-learned-from-working-at-shaza...
Each tip has a textual explanation, and an animated gif if you're a visual learner (I know, I need to scrap gifs and move to regular videos).
There's a lot of tricks there which can hopefully improve your development and debugging workflows. Let me know if there are specific things you'd like to see. A few people have asked for how to find memory leaks.