Andrew Kraevskii's Avatar

Andrew Kraevskii

@andrewkraevskii.bsky.social

8 Followers  |  34 Following  |  21 Posts  |  Joined: 20.10.2024  |  1.9043

Latest posts by andrewkraevskii.bsky.social on Bluesky

Video thumbnail

Recently dove into geometric algebra (specifically, 3D plane-based geometric algebra) and wrote a library to handle all the calculations and visualizations. It works! I’m finally free from cross products, quaternions, and complex numbersβ€”it unifies them all in an intuitive way.

04.04.2025 06:01 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

How `typed stack trace` is different from regular `stack trace`?

21.03.2025 10:14 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
An attempt at making Penrose triangle in luminal spaces program

An attempt at making Penrose triangle in luminal spaces program

As expected linux build is not working but wine comes to rescue

01.03.2025 00:05 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Image of deepseek chat window with question asking which perf flags to use. Response contains enormous amounts of -d flags

Image of deepseek chat window with question asking which perf flags to use. Response contains enormous amounts of -d flags

Did I miss any other flag?

21.02.2025 05:35 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Terence Tao on how we measure the cosmos | Part 1
YouTube video by 3Blue1Brown Terence Tao on how we measure the cosmos | Part 1

New video! Terence Tao on how we measure the cosmos: youtu.be/YdOXS_9_P4U

08.02.2025 13:46 β€” πŸ‘ 442    πŸ” 81    πŸ’¬ 23    πŸ“Œ 24
Video thumbnail

Nice blog about setting up compiler explorer locally. validark.github.io/posts/local-...
I'm so used to waiting 5 second what 0.25 rebuilds are shoking

05.02.2025 11:43 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail
01.02.2025 17:54 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Just put stuff in buffer and run compute shader. Less interactions with graphics api - more control for you as experienced user

30.01.2025 17:34 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

Thanks to @lisyarus.bsky.social i learned how to make basic water sim

28.01.2025 17:31 β€” πŸ‘ 15    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

Not sure about THE best, but definitely pretty good. Since it has zig fmt and compile errors instead of warnings.

23.01.2025 10:51 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

how would I know if I'm right?

20.01.2025 20:30 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Yea Box::leak works for short lived programs (or if you need to setup something at the start of long running). I meant arenas are hard to use

15.01.2025 12:59 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

That's actually really nice and often used strategy for short lived programs.
Or if its not short lived you can free memory in chunks splitted by livetime e. g. Arena Allocators. Sadly its pretty hard to pull of in rust

15.01.2025 02:18 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Generative AI is a Parasitic Cancer
YouTube video by Freya HolmΓ©r Generative AI is a Parasitic Cancer

live in about 10 hours from now - subscribe/mark your calendars/tell your friends/share etc. c:

Generative AI is a Parasitic Cancer
www.youtube.com/watch?v=-opB...

02.01.2025 11:12 β€” πŸ‘ 1769    πŸ” 570    πŸ’¬ 75    πŸ“Œ 133

Happy new year everyone!

31.12.2024 15:39 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

One way is run script but terminate it if it encountared to many branches. Since it's your language it should be pretty easy to add such ability

20.12.2024 15:48 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
GitHub - nuIIpointerexception/aoc_zig_templ: A easy to use template for building solutions for advent of code! πŸŽ„βœ¨ A easy to use template for building solutions for advent of code! πŸŽ„βœ¨ - nuIIpointerexception/aoc_zig_templ

Looks like someone already did it github.com/nuIIpointere...

09.12.2024 00:19 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

or you can automate it using build.zig (i assume you using zig this year). Trying to do it now myself

02.12.2024 10:46 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

factory has grown

26.11.2024 04:42 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

My games of the year are:
Factorio space age
Animal Well
UFO 50

23.11.2024 22:39 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Isn't it just undead unluck plot? And already with anime

23.11.2024 14:18 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

If you use file shortcut on url it will open web browser. Super usefull

23.11.2024 14:13 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

If you thinking in functional terms you can clone person and ask clone your question. It will leave original person's state unchanged

23.11.2024 14:10 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@andrewkraevskii is following 20 prominent accounts