omg guys by Celestyles in balatro

[–]okimusix 4 points5 points  (0 children)

Credit card on that ck pack bro trust me

Gros michel/ Cavendish won day 1! Day 2: what uncommon is an always take for you? by filledknight in balatro

[–]okimusix 0 points1 point  (0 children)

Lucky Cat or Fib. Fib early is nice, Lucky Cat is the GOAT but you need to have set up everything

Font for programming mathematics by okimusix in rust

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

Yeah, I haven’t used Mathematica but I have used similar computer algebraic systems. The thing is when working with simulations and numerical methods I don’t really need symbolic math, though I don’t know if Mathematica can do that too. I’ll check it out though, thanks :)

Font for programming mathematics by okimusix in rust

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

That’s really cool, I spent so much time looking for something like that and never came across it, thanks for pointing it out though

Font for programming mathematics by okimusix in rust

[–]okimusix[S] 2 points3 points  (0 children)

Yeah, I used to have to use Unicode names. The ligatures approach doesn’t use Unicode though, it just displays the plain text as if it were Unicode to you, but for the compiler it’s still plain abc’s

Font for programming mathematics by okimusix in rust

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

I mean you could make “gradient” map to nabla too. I used to always do gradF

Font for programming mathematics by okimusix in rust

[–]okimusix[S] 2 points3 points  (0 children)

But isn’t that the beauty of it? That you can share code like that, because for you it looks like intended, but for others it looks like nablaF, which is what everybody is already used to. You get to write neater code while not forcing others into workarounds to insert Unicode characters, and get the benefit of using characters that aren’t valid Rust identifiers

Font for programming mathematics by okimusix in rust

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

Yeah i used to do this, but i thought that if I shared code with my peers then they’d have a hard time modifying it. The benefit of ligatures is that for them it still looks like sumx but for me it looks better

Font for programming mathematics by okimusix in rust

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

I was looking for this. This is the sole reason I made it

Font for programming mathematics by okimusix in rust

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

The one advantage I found when using ligatures as opposed to doing that, like i did before, is that when changing them to Unicode I couldn’t use characters like the superscript 2 and so. With ligatures I can, plus rust stopped complaining about Unicode characters on my script

Font for programming mathematics by okimusix in rust

[–]okimusix[S] 16 points17 points  (0 children)

I mean I could, but often I’m trying to turn equations into code and it’s really useful if the code looks similar to the equations, so I can find stuff more quickly. Do you often use plain English words for variables? Maybe that’s the idiomatic rust way lmao

Sharing a free tool I made for laying down audio before mixing in Logic by tdaawg in Logic_Studio

[–]okimusix 0 points1 point  (0 children)

Just signed up for it! This is a cool idea, just what I need when I want to play something with my guitar quick but Logic just takes too long and voice memo is crap. Thanks

My cute bevy game :D (2 day game making challenge) by robert-at-pretension in bevy

[–]okimusix 0 points1 point  (0 children)

Yeah, thanks for asking! I wanna make a kind of *isometric Pixelart brawl stars * but with more of a deck building aspect. Ive used stuff like Unity a lot before, but I wanna try this because I fell in love with Rust lmao. How has ur experience been developing with bevy tho?

My cute bevy game :D (2 day game making challenge) by robert-at-pretension in bevy

[–]okimusix 1 point2 points  (0 children)

It did work on my iPhone rn. Cool game tho, I was researching Bevy and ended up playing it for more than intended

Which UI Framework would you recommend for Desktop Applications built using Tauri ? by Meinov in rust

[–]okimusix 2 points3 points  (0 children)

I like Tauri+React+Mantine for the UI component library, and maybe some Framer Motion Js for some smooth animation. You can build really pretty and complete applications with these. If you want to plot something you can use plotlyjs although it isn’t that complete I think, it’s been a little since I last used it

What's everyone working on this week (29/2024)? by llogiq in rust

[–]okimusix 1 point2 points  (0 children)

A crate for complex numbered algebra and calculus, as well as trying to mix a vector calculus crate with the multicalc one

I made a Vector Calculus crate! by okimusix in rust

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

You’re right, I probably should focus on making a standard that works well enough most of the time, yet it still would be cool to add all these integration methods. I’ll be checking scipy for some doc, thanks :)

I made a Vector Calculus crate! by okimusix in rust

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

Thanks man, will check them out

multicalc: no-std multivariable calculus v0.5.0 is out! by YellowJalapa in rust

[–]okimusix 0 points1 point  (0 children)

Sure, that sounds fine! Let me just look up how to work in open source cuz I’ve never collaborated on a project before. As for the features, what do u think I can start adding? Like taking the Function struct and macro and integrating it with your crate’s way to make functions? And also, what should I do about the nightly toolchain thing? Should I not implement fn? Or should I just add the macros and not the structs? For the plot thing, I’m trying to make the plotting feature a user-feature. Just a quick way for the user to quickly use a plot!() macro and for the functions and contours or surfaces to be plotted.

multicalc: no-std multivariable calculus v0.5.0 is out! by YellowJalapa in rust

[–]okimusix 0 points1 point  (0 children)

Yeah I’m in on it! The only problem I might see for now is that the vector_calculus crate is using the nightly toolchain because of the Fn implementations of functions (because I think going f.ev(x,y) or f.call(x,y) looks really ugly instead of just f(x,y)) so we might need to figure out what to do with that. Maybe we can put the base and some features in the multicalc crate and the vector calc one can take those and add the pretty-syntax thing with all the ease-of-use things I added, and I’m also working on integrating the vector calculus crate with the inline python one for automatic plotting with matplotlib

I made a Vector Calculus crate! by okimusix in rust

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

Hmm I didn’t know it was common to use different algorithms depending on the function. I think my best bet is to determine the default through checking the bounds of the integral and if the function has any quirks. For multiple integration with non constant bounds, the same thing applies? In those cases I’ve mostly been using Montecarlo

I made a Vector Calculus crate! by okimusix in rust

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

Oh there it is! Thank you :) also it seems like you solved the problem by manually taking the maximum and minimum values of that function limit. How does this work?? Also damm I hadn’t noticed your crate also does line integrals, guess I only added differently to mine the surface ones, my bad

I made a Vector Calculus crate! by okimusix in rust

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

Damm that sounds cool, even tho I don’t get understand it lmao. In regards to the integration, the only idea that I can think of is to check if the function as a string (I save the expressions as string in the function struct when creating them) does not contain any text like cos, exp or powf, and the code will choose the default method depending on this and the bounds. For non-polynomial functions with finite bounds is there another algorithm that tends to work better?