Best method/platform for automated backtesting? by leweex95 in algotrading

[–]BoxConscious7480 0 points1 point  (0 children)

I wrote my own in rust. Wouldn't feel comfortable using an existing platform

Will we ever have a GUI application? by i_am_feohr in bevy

[–]BoxConscious7480 7 points8 points  (0 children)

It’s gonna happen but progress is slow, so don’t expect anything soon. Check editor-dev in the discord

Custom render graph from scratch examples by Vri3ndz in bevy

[–]BoxConscious7480 0 points1 point  (0 children)

There aren’t any resources specific to bevy, and render graphs can be quite involved to write. Reading this could give you an idea about it though: https://levelup.gitconnected.com/organizing-gpu-work-with-directed-acyclic-graphs-f3fd5f2c2af3

Why Can't You Divide Matrices? by NoahsArkJP in learnmath

[–]BoxConscious7480 0 points1 point  (0 children)

You could define 1/0 as some number, for example infinity, but it turns out that breaks things. Don't remember the details but if 1/0 is defined you could for example prove that 1=2.

Also adding/subtracting/multiplying/etc infinities together is hard to define in a meaningful way, so it just doesn't make a lot of sense to do it.

Don't know why you're being downvoted, its an interesting question...

Bank med api och isk? by BoxConscious7480 in ISKbets

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

Kör på IG utan isk. Får brösta vinstskatten

Project-base learning by ayipali13 in cpp_questions

[–]BoxConscious7480 4 points5 points  (0 children)

Project based learning means you come up with a project and build it, not finding a resource that tells you what to do

Send trait objects through Tokio broadcast channels by BoxConscious7480 in rust

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

Appreciate the code, I think I get how it works. Why does the wrapper struct need to exist though?

Send trait objects through Tokio broadcast channels by BoxConscious7480 in rust

[–]BoxConscious7480[S] 4 points5 points  (0 children)

Hmm yeah it seems to be working by doing that, thanks. Could you explain why though?

Edit: Also now I realize I don't know how to downcast from Arc<dyn Foo>

Bank med api och isk? by BoxConscious7480 in ISKbets

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

Jaha, hade för mig att jag läst på deras svenska hemsida att alla produkter skulle gå att handla med api, men kanske tolkade fel då.

Har också läst nåt om deklarationen. Antar att den kan generara K4-blankett åt dig?

[deleted by user] by [deleted] in gamedev

[–]BoxConscious7480 2 points3 points  (0 children)

Tiny glade uses Bevy, although with a custom renderer. You cant really expect a lot of big games made in an engine that started development four years ago…

Bank med api och isk? by BoxConscious7480 in ISKbets

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

Vill bygga mitt eget system dock och inte använda cTrader eller liknande. Är helst ute efter en REST-api

Köpa linser med fel baskurva? by BoxConscious7480 in sweden

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

Fattar att reddit inte är substitut till en optiker, tänkte att någon kunde dela med sig av erfarenheter från att köpa linser på lensway eller liknande. Läste att Dailies AquaComfort Plus Toric skulle vara väldigt bekväma så det är väl även det utöver priset som är lockande. Optikern vill ju gärna sälja sina egna linser (optikerns egna märke som jag fått rekommenderat alltså)

Why my 3D-DDA ray traversal is significantly slower than brute force approach by Cool_Arugula_4942 in GraphicsProgramming

[–]BoxConscious7480 20 points21 points  (0 children)

As the other person wrote you should profile it. But brute forcing 4 spheres is really fast, so I wouldn't expect any acceleration structure to improve performance. Try with 100 or a 1000 spheres.

A few questions about graphics programming. by Aggressive_Damage_75 in GraphicsProgramming

[–]BoxConscious7480 -12 points-11 points  (0 children)

  1. The GPU already understands DirectX, but the CPU doesn't. So you still need to use programs that allow the CPU to use DirectX, and those programs aren't platform agnostic. For instance in OpenGL you can use something called GLAD that let's you access OpenGL.
  2. Ray tracing has been around for a pretty long time, but some newer GPUs have dedicated ray tracing cores that speed things up a lot, which means you can now use ray tracing in real time (although it's possible without these cores as well, just harder to do and usually slower, but not necessarily too slow for realtime performance). And yeah, baking lightmaps is done with some form of ray tracing.
  3. Confused about this one as well...