Profile avatar
versary.town
she/it
184 posts 1,118 followers 204 following
Regular Contributor
Active Commenter
comment in response to post
insane post
comment in response to post
the beloved kshmr sample pack:
comment in response to post
looks awesome :D
comment in response to post
awww i was excited to do a geoloc u baited me
comment in response to post
goat
comment in response to post
the baby :D :3
comment in response to post
fucked up shit
comment in response to post
damn github.com/rust-lang/rf...
comment in response to post
and im here for it tbh i love fucked up unreadable operators. look at this shit: hackage.haskell.org/package/lens... its beautiful i need it do u think they're gonna accept a rust RFC about fucked up operators. do u think Big Rust would be into fucked up operators
comment in response to post
thank you, im glad you enjoyed :D
comment in response to post
versary.town/blog/rss.xml :3
comment in response to post
thanks!! :D
comment in response to post
i have this short one, but not many others (yet) versary.town/blog/pfp-swi... i haven't had the time to make this work on bsky yet, sadly. i should look into that soon if you mean posts including other people's, i can't say any cool ones off the top of my head, but lobste.rs usually has a few
comment in response to post
if u mean bc of the passive, idk how much it works cause with kai'sa you should ideally be looking to one shot someone if ur ulting in. ulting into an extended fight is usually a good way to die
comment in response to post
ive actually been reading through his thesis the last couple days!!! it's really interesting work, and the bibliography is full of other awesome papers too :3 (im cooking something relating to this but dont tell anyone...)
comment in response to post
im glad you liked it ! :D
comment in response to post
if ur like me and not good at last hitting, then u want a build that evolves at like level 10 or 9, since ur gonna hit that before u get enough gold for the full build anyway. if u can hit 10 cs per min u can maybe go for a build that evolves at level 7 or maybe earlier? idk tbh :3
comment in response to post
i wanted to take it into account, but there's no real way to know what level you will be at when you reach a certain gold amount, so i decided to just calculate everything at level 1 tbh i could calculate the optimal build at all levels, and then decide at what level im aiming to hit my powerspike
comment in response to post
:3
comment in response to post
you're so right!! i completely forgot to mention this is only about level 1, and that by level 8 the ad requirement for her q is like 85 or so, so u can get an even better build. ill add a section abt this this afternoon
comment in response to post
is the post using linear programming to lure you into a league of legends post? or am i using league of legends to lure you into reading about linear programming? who knows!
comment in response to post
my usual solution when this happens is to just refactor the code to sidestep the issue. if ur reference is into a vec, you can store indices/ranges instead of an actual reference, but its not great
comment in response to post
yeah rust is not great at this :(( i think you can kinda do it using Pin, but its very annoying. using raw pointers isnt great, cause if you move your object, the pointers will be invalid
comment in response to post
they're built specifically for this usecase of "i want something that's either an owned T or a reference to a T", so it seems like they do exactly what you need, unless im misunderstanding something
comment in response to post
are u familiar with Cows doc.rust-lang.org/std/borrow/e...
comment in response to post
it feels like it *should* be easy, since an Rc is just two cells and a value, and i think we could theoretically have something like a `clone_map(rc: Rc<A>, func: Fn(A) -> B) -> Rc<B>` function. i dont see a way of doing that though, nothing in the stdlib gives u access to the Cells
comment in response to post
can you elaborate on what you are trying to do? there might be something else that works for you that is easier to achieve also to clarify, you are looking for something like this?
comment in response to post
sorry im watching league of legends pro play instead
comment in response to post
(ill look into it once i finish the few drafts i have, thanks for the offer <3)
comment in response to post
im choosing to not mess with it rn cause i Need to finish a blogpost, my last one is from 6 months ago
comment in response to post
like. yes this is readable. but also. it could look *prettier*
comment in response to post
too much "good morning" posting made forget how to type other words
comment in response to post
i think this is an issue in microlp. if i run it using a different solver, i get an answer in milliseconds. sadly this other solver (SCIP through the good_lp crate) doesn't have wasm support. oh well
comment in response to post
it uses this crate docs.rs/good_lp/1.10... ! you can find the whole code here github.com/annieversary... basically, it sets up a function to optimize (the cost of all items), with some contraints it has to meet (ad must be over 100). the lp solver then finds a minimal solution that fits
comment in response to post
but i'm not very sure why this explosion in complexity with these items. they both provide two of the three stats we care about at the same time, but there are items (like ginsoo's rageblade) that provide all three, and including that one doesn't cause higher complexity in the solution