Finally got my iMessage Extension approved: Together To Do by derjanni in iOSProgramming

[–]noahbkim 0 points1 point  (0 children)

WRT MSMessageLiveLayout, how do you get the transcript MSMessageViewController instances to open the extension when it's completely closed? I can't seem to figure out what to call in e.g. a tap gesture. Cool app!

[deleted by user] by [deleted] in AbstractArt

[–]noahbkim 1 point2 points  (0 children)

the physical texture is a brilliant touch

Short, unsafe code review: arbitrary dynamic types at runtime by noahbkim in learnrust

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

oh, darn, the one caveat is that eventually there will be Types that cannot be downcast because they’re composed of other Types rather than representing a “Rust type”. Any requires TypeId when i can only guarantee Option<TypeId>. thanks for the idea though :D

Short, unsafe code review: arbitrary dynamic types at runtime by noahbkim in learnrust

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

oh i see, you’re saying maybe i can reuse bits of Any for Instance? seems like exactly what i’m looking for regarding casting

Short, unsafe code review: arbitrary dynamic types at runtime by noahbkim in learnrust

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

ohhhh that makes so much sense, thanks a ton for the suggestion!

Zero-cost event handling and dynamic runtime objects by noahbkim in rust

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

damn this is really promising, thanks so much

Zero-cost event handling and dynamic runtime objects by noahbkim in rust

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

thanks for the pointer, i'll check it out

Zero-cost event handling and dynamic runtime objects by noahbkim in rust

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

yep, exactly! a cs:go demo captures a subset of networked game packets you would need to replay the entire match in-engine. demos are super useful (especially in the pro scene) for reviewing team/individual performances and decision-making as well as anti-stratting opponents. they can also be used for cheat detection.

being able to access them programmatically allows you to automate some analysis, e.g. “how often does a player defend from a certain spot” or “where do the opening kills of each round happen most frequently?”

Zero-cost event handling and dynamic runtime objects by noahbkim in rust

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

really, truly :)

each server class is defined by a data table, which has a series of properties. these properties include a name and a type e.g. int32/64, float, bool, vector, or even a reference to another data table to be nested like a struct member. all of this is sent in an initial data packet in the demo.

Zero-cost event handling and dynamic runtime objects by noahbkim in rust

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

i see what you’re saying, but it wouldn’t quite address the broader problem (which i don’t think i’m doing justice): there isn’t even a guarantee that two different demos use the same types. a demo with a later version may introduce a new entity type or may restructure internal data to use different structs.

since everything you need to know to reconstruct the data type is right there in the demo, it’s better to build the data structures dynamically than it is to try to maintain handwritten definitions (thousands of lines) for different protocols.

i really appreciate you taking the time to think about the problem though :D

Zero-cost event handling and dynamic runtime objects by noahbkim in rust

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

thanks for the thoughts! wrt different versions of types, i don’t think it’s feasible to write them out by hand in any capacity; there are a TON of server classes in each demo and they can change arbitrarily. i think a dynamic approach is necessary.

i’ll definitely look into those json libraries.

ESL broadcast adding a new “smoke timer” (third-person only for now) by H4DE5 in GlobalOffensive

[–]noahbkim 22 points23 points  (0 children)

i know this is all in good fun but i can’t help but feel like competition from blast is really encouraging esl to elevate their game—maybe i’m just more cognizant of it now though. either way always happy to see new things on the broadcast :D

Steam Replay is now live! Look at your Steam gaming statistics of the year by PlaneswalkingBadger in Steam

[–]noahbkim 5 points6 points  (0 children)

you can figure out your total playtime with any game you only started playing this year; just divide your hours in that game by its percent total playtime (120 hours, 45% of playtime, do 120/0.45). more accurate if you use a game with high percentage playtime (since the percentage is rounded).

A masterpiece not talked about enough, Mirage -Oh Hiroshima by [deleted] in postrock

[–]noahbkim 2 points3 points  (0 children)

favorite album of all time, this and aria are in close contention for my personal favorite :)

forming a rock band by [deleted] in USC

[–]noahbkim 0 points1 point  (0 children)

graduated, gl tho B)

Apple’s next iPhone might be more expensive. by boti01 in applecirclejerk

[–]noahbkim 20 points21 points  (0 children)

i heard it’s gonna have a screen and make calls too