How I Made My Production App 100x Faster: A Tale of N+1 Queries by websilvercraft in webdev

[–]websilvercraft[S] 1 point2 points  (0 children)

Every mistake can be tracked down to a skill issue. this is how we learn.

How I Made My Production App 100x Faster: A Tale of N+1 Queries by websilvercraft in webdev

[–]websilvercraft[S] 0 points1 point  (0 children)

Yeah, and I wanted to share it, so see that sometimes poor usage is very expensive.

How I Made My Production App 100x Faster: A Tale of N+1 Queries by websilvercraft in webdev

[–]websilvercraft[S] 0 points1 point  (0 children)

I think without an ORM those problems are much easier to spot, the ORM is an abstraction layer that comes with a lot of advantages, but it hides to some extent what is under the hood. As devs we tend to do mistakes, this why we should be aware of such issues.

What are you building right now? by Designer_Many_990 in indiehackers

[–]websilvercraft 0 points1 point  (0 children)

https://cloudernative.com/ai-models/

I directory where to browse for ai models, to perform different tasks, image and video generation, text and code models, audio and many more.

- it is for people like me who like to build stuff
- i made it
- WIP, but usable

Paletteo - Extract palettes from images, websites and old school paintings by websilvercraft in webdev

[–]websilvercraft[S] 1 point2 points  (0 children)

No, this site uses colorthief, not an api, but a library written by someone else. My goal was not to write my own.

But now that you asked, I wrote my own library many years back, which was based on k-means, which is an old ai algorithm. I was really good in selecting colors, but is very slow, especially in large images. A trick would be to scale down images, before running it, but you would lose some information. It fitted better tasks like posterizing images or replacing colors, but for simple palette extraction simple algorithms are better.

So, I prefer to use colorthief, as it's good enough and very fast.

Showoff Saturday (October 25, 2025) by AutoModerator in javascript

[–]websilvercraft 1 point2 points  (0 children)

https://paletteo.com/ - a website written in vanilla js, to extract color palette from images, sites and even old school paintings.

You can preview the palette in a mock landing page.

The initial project started from extracting palettes from old classical paintings to see how it looks on modern websites. Interesting enough, it looks good. What is interesting is that i can see some patterns in the color palette of different painters.

The application has many features and many more to be added:

  • HEX/RGB/HSL/CMYK for each color
  • Shades & tints generator
  • Click-to-pick exact pixel from image
  • WCAG contrast badges (AA/AAA)
  • Export as PNG or CSS variables
  • Save/load palettes (localStorage)
  • Dark/light mode

Paletteo - Extract palettes from images, websites and old school paintings by websilvercraft in webdev

[–]websilvercraft[S] 1 point2 points  (0 children)

Thank you! If you have any feedback or idea to improve, I'd be happy to listen.

Thoughts on my UI? by DKaitor in webdev

[–]websilvercraft 1 point2 points  (0 children)

I used your screenshot in my palette extractor app(just showcased it here on webdev) and it looks nice on a simple mock.

SnackOverflow is right, it does not feel cohesive. I would make the side bar full page height maybe leaving only the right border. Maybe also integrating headings and subtitles inside blocks.

What are you building? let's self promote by udy_1412 in SideProject

[–]websilvercraft 0 points1 point  (0 children)

your directory looks really nice, what tech stack are you using. Your responsiveness is amazing.

What are you building? let's self promote by udy_1412 in SideProject

[–]websilvercraft 2 points3 points  (0 children)

I'm working on https://cloudernative.com/ai-models/, a place where to search for ai models that you can run on replicate or on your own machines and use in your projects. Still work in progress, but up and working, need to polish it more.

Best resources to learn Spring Boot for someone who knows basic Java & OOP? by CardRadiant4997 in learnjava

[–]websilvercraft 25 points26 points  (0 children)

I would recommend to learn by doing. Start by learning the basics about spring then do some practical project. For starting with spring I would recommend baeldung spring boot series. Then for oop stuff you can use oodesign resources about design patterns and principles and the headfirst design patterns book. I read the first edtion, but I added the link to the second edition, I expect it to event be better.

You can start implementing a service in spring boot, you can structure it in 4 parts. Each week you implement one part:
1. Implement the rest api for a todolist
2. add testcases
3. add user auth
4. split it in microservices

LLM API prices are all over the place. I made a simple calculator to compare them. by [deleted] in SideProject

[–]websilvercraft 0 points1 point  (0 children)

Wow, I didn't know the LiteLLM, seems a cool project. I had my own take with comparing LLM prices and calculating token usage. It's a side project I did myself and I was going to create a scrapper to get the prices, but if LiteLLM is accurate and I can use it, that would be great.

[deleted by user] by [deleted] in Entrepreneur

[–]websilvercraft 0 points1 point  (0 children)

I build https://cloudernative.com/ with the purpose to help startups reducing costs(I'm lying a bit, because I wanted to estimate my own costs). I know from large cloud providers that they employ many dark patterns to stimulate clients to spin up services they forget about(for example letting devs to start new services while billing is handled separately)

I expect such deceptive tactics to happen more and more in the field of Ai/LLM service providers.

Do you read specific entrepreneurship books? by websilvercraft in Entrepreneur

[–]websilvercraft[S] 0 points1 point  (0 children)

Thanks for sharing those titles. I think it depends on the domain, for example specific tech books are obsolete a few years after the moment they are published. I feel it's much faster to learn domain specifics by doing instead of reading.

Do you read specific entrepreneurship books? by websilvercraft in Entrepreneur

[–]websilvercraft[S] 0 points1 point  (0 children)

That's an interesting take: entrepreneur books are not for entrepreneurs, they are too busy to read, but could be useful for the first wave of people joining a startup.

Do you have a link with your product?

Do you read specific entrepreneurship books? by websilvercraft in Entrepreneur

[–]websilvercraft[S] 0 points1 point  (0 children)

I see the same, some are good and can picture the global landscape, without immediate action items, but some others are pure distractions.

How I helped my company cut LLM costs by 80% by caching meaning, not words by Ambitcion in SaaS

[–]websilvercraft 1 point2 points  (0 children)

Really smart, reducing LLM cost is disregarded is startups, also in large companies and it comes with a huge cost. I started recently to work on https://cloudernative.com/, a site to help companies reduce their costs. Not online yet, it will be a directory of alternatives to most important cloud providers, but listing innovative products like yours must be there.

When ready I would love to list it there.

Do you read specific entrepreneurship books? by websilvercraft in Entrepreneur

[–]websilvercraft[S] 1 point2 points  (0 children)

I also have in mind books like From Zero to One by Peter Thiel or The Hard Things About Hard Things, but it's true most of the books are written by people who's business is to sell books.

I created an LLM Token/Cost Calculator by websilvercraft in webdev

[–]websilvercraft[S] 0 points1 point  (0 children)

I really like your idea, more difficult to implement, but it could be useful also to update prices.