HNHacker News
TopNewBestAskShowJobs

darajava

222 karma · joined March 19, 2025

Building AudioDiary and Couples Therapy

https://audiodiary.ai https://couplestherapy.app

submissionscomments
darajava··on Ask HN: What Are You Working On? (June 2025)
I've added a PR for this - https://github.com/Joeboy/cinescrapers/pull/4

Hope you didn't start on it!

(By the way, it wasn't too easy to scrape in the end…)

darajava··on Ask HN: What Are You Working On? (June 2025)
Nice! No Garden Cinema? It's the best cinema in London! (And their website is great, I would imagine easy to scrape)
darajava··on The Effect of Noise on Sleep
Probably a size issue. I had earplugs that were too big that start hurting after a while. I’ve since found smaller ones that work perfectly.
darajava··on U.S. bombs Iranian nuclear sites
Beautifully said and my sentiments exactly. It's not nice to see even Iranians (assuming the very GPT-esque parent comment is actually from an Iranian) fall for Netanyahu's incredibly hollow and cringe "sympathy" for the Iranian people. zorobo replied to your comment saying that Israel doesn't want to invade Iran, but this is not true in an absolute sense. Israel doesn't work like that (outside of their borders, anyway). They are subversive[0] and want to invade the minds and culture of the Iranian people, just like they have subverted people elsewhere.

https://www.upi.com/Top_News/2002/09/12/Netanyahu-US-should-...

darajava··on No Hello
This always bothered me. Maybe it’s an engagement thing?
darajava··on Next.js 15.1 is unusable outside of Vercel
Svelte is very immature in terms of tooling and IDE support and that hasn't seemed to improve in the last 7 years of using it. Libraries are sub-par vs React and the design of the language does not favor making things explicit. $:{} for example is not explicit, I'd much rather use a slightly longer token (like useEffect) to help document what's going on. That's just one example, it's riddled with things like that (e.g keyed foreach, store $ syntax). Also calling all files +page.svelte leads to such a messy experience in the IDE. There are other problems too I'm not thinking of. I think a lot of the draw of Svelte comes from it "feeling" very fast (both to build and to iterate on) when you first start using it, but imo using it for anything non-trivial is a nightmare.

Built in scoped CSS is a great idea and compiled bundle is nice. I used it for multiple projects (order system, admin panels, etc) and it always feels that little bit more brittle when I use Svelte vs something more mature. I won't use it again for any project.

I have less experience with Next and it was longer ago but iirc I found it needlessly hard to use and deploy as well as some problems with Image tags (you need the exact size of the images?). I also found their gamified tutorial really off-putting and indicative of corporate bloat which I guess makes sense now that they're locking users in. The reason I used it was for page loading speed optimization (SSR) and didn't find any better alternatives that use React at the time. I use Next for my landing page https://audiodiary.ai and for its admin panel.

darajava··on If the moon were only 1 pixel: A tediously accurate solar system model (2014)
Incredible - how does this work?
darajava··on Next.js 15.1 is unusable outside of Vercel
Can you suggest alternatives? I've used Next and Svelte[kit] in prod and have been very unhappy with both.
darajava··on The Barbican
Yeah you need tickets for the greenhouse. They're usually sold out for a few days ahead. You don't need a ticket for the rest of it though!
darajava··on Show HN: I’m 16 years old and working on my first startup, a study app
I managed to sign up to the free version (by altering the URL to not point to localhost) and I uploaded a sample computer science exam paper. That's as far as I got though - its status is "Pending" (No idea what that means). There's a button with a play icon saying "Select" (No idea what that should do, it does nothing). The "Smart study assistant" doesn't work. I'd suggest fixing the functionality first, and then doing an audit on all the buttons in your main interface and login flow and removing as many buttons as you possibly can. Seems like it could be a good idea.
darajava··on Show HN: A Chrome extension that will auto-reject non-essential cookies
Brave does this by default and it works flawlessly apart from on fairly obscure websites (a lot of obscure websites don't have cookie notices anyway).

I don't know why more people don't use Brave - you can turn all the annoying crypto/ad stuff off and it never bothers you about it again.

darajava··on Show HN: I used OpenAI's new image API for a personalized coloring book service
I've added this option - we send out two print-ready PDFs for the cover and the coloring sheets.
darajava··on Show HN: I used OpenAI's new image API for a personalized coloring book service
What's so bad about it?
darajava··on Show HN: I used OpenAI's new image API for a personalized coloring book service
I mean it's pretty close. The handmade element comes from coloring it in.
darajava··on Show HN: I used OpenAI's new image API for a personalized coloring book service
Yes I use the Lulu API. It's great!
darajava··on Show HN: I used OpenAI's new image API for a personalized coloring book service
Thanks!
darajava··on Show HN: I used OpenAI's new image API for a personalized coloring book service
Oh, lol. Nice catch - I'll fix that.
darajava··on Show HN: I used OpenAI's new image API for a personalized coloring book service
I'll implement this today.

Edit: I've implemented this! It's a lot of code changes so I hope I didn't break anything.

darajava··on Show HN: I used OpenAI's new image API for a personalized coloring book service
Thank you!

OpenAI costs are surprisingly expensive. It's about $7 to generate a whole book (24 pages). There are 8-24 images allowed in a book, with a cover too. So there'll be 48 max pages in a book (incl blank pages).

darajava··on Show HN: I used OpenAI's new image API for a personalized coloring book service
Yes! https://openai.com/index/image-generation-api/

I was very excited when it came out. Google have Imagen 3 (is that the same as Gemini Flash?), but you need special access to be able to edit images. I haven't tested it yet but I think it's a lot cheaper than OpenAI

darajava··on Show HN: I used OpenAI's new image API for a personalized coloring book service
Thanks! Hasn't been a problem yet, but if that happens I'd just email the customer directly and ask for a replacement photo/if it's okay to leave that one out.
darajava··on Show HN: I used OpenAI's new image API for a personalized coloring book service
The printing aspect of this wasn't too easy... I wish I could charge less but as it stands (especially with surprising API costs) I'm barely making a profit on this.
darajava··on OpenAI releases image generation in the API
Yes it's dropshipping, I use Lulu.com's api - it's awesome!
darajava··on Show HN: I used OpenAI's new image API for a personalized coloring book service
I can't imagine how much it would cost to commission an artist to do a whole coloring book and then organize them and send them to print but it's a good point. AI is never going to be as good as a real commissioned artist, but this idea makes having something similar far more accessible to a lot of people.
darajava··on Show HN: I used OpenAI's new image API for a personalized coloring book service
I don't know much about it, feel free to send an email to dara@clevercoloringbook.com
darajava··on Show HN: I used OpenAI's new image API for a personalized coloring book service
Thank you! I was happy with the discount thing alright but it's not useful for tracking referrals unfortunately.
darajava··on Show HN: I used OpenAI's new image API for a personalized coloring book service
I was thinking of doing different sizes alright! They might not be too much cheaper, that's the only problem I can think of there.
darajava··on Show HN: I used OpenAI's new image API for a personalized coloring book service
Great point. As per our TOS - users of the site must be over 18 and have the consent of everyone in the image (i.e. their own kids, relations etc).

I put that line about OpenAI's usage policy there for practical reasons. If someone orders something that OpenAI refuses to generate (like a photo of Bart Simpson say), then I can't include it in the printed book. With this project, if someone uploads content that's in any way inappropriate, we'll see it and refuse to fulfill the order (and take other appropriate actions, if needed)

darajava··on Show HN: I used OpenAI's new image API for a personalized coloring book service
Wow, yes you're right. I did in fact take that image from the Sora homepage because I thought it was cute.

I pretty much just assumed they're all in the public domain. I can't find the image anymore so I've decided to remove it for now. I generated the other three myself.

darajava··on Show HN: I used OpenAI's new image API for a personalized coloring book service
Thanks so much! Really glad you like it.
← PreviousPage 2 of 8Next →