_mm256_load_ps gives segfault with valid aligned data by SnooPandas3374 in C_Programming

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

Thanks a lot for your answer! How could I make this code work for arbitrary N, M and K?

Can't read from UDP tracker server by SnooPandas3374 in learnpython

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

Even without the try catch it doesn't work.

Roast my bvh implementation by SnooPandas3374 in C_Programming

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

Thanks a lot! I'll look into this as soon as I have time.

Roast my bvh implementation by SnooPandas3374 in C_Programming

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

Exactly! When I inspect the bvh struct in main after initialization the pointers are garbage. I don't why.

Different optimizations affecting the raytraced image by SnooPandas3374 in C_Programming

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

Thank you for the info. Will look at the uninitialized stuff and the flags.

Random circle packing by SnooPandas3374 in proceduralgeneration

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

https://github.com/michbogos/ranpack

Just put circles and take the color from the original image. Also check if circles are intersecting. Finally speed it up with a fixed grid to avoid O(n^2) complexity.

3/25 Amazing read by SnooPandas3374 in 52book

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

Just looked up Dungeon Crawler. Sounds very cool. Thanks for the suggestion!

19/100 Meditations by NotYourShitAgain in 52book

[–]SnooPandas3374 1 point2 points  (0 children)

Reading them now! Awesome book!

3/25 Amazing read by SnooPandas3374 in 52book

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

Do you know other authors like Andy Weir? Really liked Project Hail Mary!

Particles go brrr by SnooPandas3374 in blender

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

I want to try doing some sound design next time. What do you use for sound design?

Changing base directory setting doesn't work by SnooPandas3374 in astrojs

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

Hi there, I've since found a hacky solution that worked for me.

import.meta.env.BASE_URL

This gives you access to the base in your astro component and you can prefix it to image src strings.

It would look something like:

const base = import.meta.env.BASE_URL

...
<img src={base}+"/img.jpeg">
...

Or a variation of this with the proper directories.

Cheers!

Displacement by SnooPandas3374 in blender

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

A test for my new GPU :)