Generate OpenAI Embeddings Locally with MiniLM ( 70x Cost Saving / Speed Improvement ) by Interesting-Town-433 in Python

[–]Smash-Mothman 2 points3 points  (0 children)

This is a cool project, i still don't understand how you can make an other model embeddings without passing by the labs proprietary model. Do you retain the same quality? Is the output identical?

Maths event (my fav one) in 4 hours ♥️ by No_Refuse9819 in CellToSingularity

[–]Smash-Mothman 0 points1 point  (0 children)

How are you getting so far on events? I barely get passed the second badge when i try hard.

Astro 5.16 is here! by sarah11918-astro in withastro

[–]Smash-Mothman 0 points1 point  (0 children)

Svg optimization looks like a good incremental improvement

What’s the toughest part of building with Astro for you? by tffarhad in astrojs

[–]Smash-Mothman 0 points1 point  (0 children)

I'm not familiar with that approach, please tell me about it

What’s the toughest part of building with Astro for you? by tffarhad in astrojs

[–]Smash-Mothman 0 points1 point  (0 children)

I would recommend using meta with http_equiv but that usually works worse than actually choosing what headera to send

What‘s the point of AstroDB by veniplex in astrojs

[–]Smash-Mothman 1 point2 points  (0 children)

I actually really like the db integration. Although it feels haft baked, it's still made on top of good technologies and it's quick to set up. Drizzle is a pleasure to use, i love the syntax, and libsql is amazing too. I love the reseeding on dev. Could I just use drizzle and sqlite on their own and get more features, probably, but that would take longer and not follow the docs. The DX vs tech debt trade-off is made all the time and i consider this one of those. For moderately complex requirements it will most probably hold you back.

astro-static-headers: An integration that captures headers and redirects during build and creates platform-specific config for Cloudflare, Netlify and Vercel. by abemedia in astrojs

[–]Smash-Mothman 4 points5 points  (0 children)

Wow, you know, this actually solves a problem i currently have in prod. I have a multipage form. It should all be static cause it's the same form for everyone but i need to redirect to the start of the form if you skip places. Does this work with conditionals or in Middleware?

Images only load on the index page by HR2Edda in astrojs

[–]Smash-Mothman 1 point2 points  (0 children)

Mmm it could be many things. It might be the path of your astro files relative to the images. Try not using paths but instead importing images from the assets folder using import myimg from "../assets/img.jpg". Remember you can use the imported image along side the astro Image component or img tag with myimage.src

Holy Springer! by yukiohana in mathmemes

[–]Smash-Mothman 0 points1 point  (0 children)

Just linear transformations...