Profile for hikari
About hikari
Bio
from another world; anime girls on the internet who are terrible at playing guitar and slightly less bad at programming; EN/SV/DE/日本語
Stats
- Joined
- Posts
- 17490
- Followed by
- 1558
- Following
- 198
my kingdom for normal rust macro scoping
what i want:
pub macro_rules! foo {
// …
}
what i'm forced to put up whenever i want to use intra-doc links, which is basically always:
/// Please don't write `use crate::foo;`. I know, I can't
/// stop you. But you have to write `use
/// crate::qux::baz::foo;`, because there is a meaning to
/// this module hierarchy. I am literally Begging you. I am
/// prostrating myself before you. I'm crying. Can't you
/// see how much this is hurting me? Please. Please. Please.
#[macro_export]
macro_rules! foo {
…
}
pub use crate::foo;
brb retitling my gpu/graphics cv with this: https://mastodon.gamedev.place/@rygorous/110921126413493477
don't mind me, just writing some perfectly ordinary code here
let mut env = environment::Environment::new_without_app(options)?;
let env = &mut env;
let screen: objc::id = objc::msg_class![env; UIScreen mainScreen];
let bounds: frameworks::core_graphics::CGRect = objc::msg![env; screen bounds];
let window: objc::id = objc::msg_class![env; UIWindow alloc];
let window: objc::id = objc::msg![env; window initWithFrame:bounds];
let color: objc::id = objc::msg_class![env; UIColor purpleColor];
() = objc::msg![env; window setBackgroundColor:color];
//() = objc::msg![env; window makeKeyAndVisible];
let main_run_loop: objc::id = objc::msg_class![env; NSRunLoop mainRunLoop];
() = objc::msg![env; main_run_loop run];
todo!()
it's just an entire UI framework. how long could it take, a weekend?
exciting programming problem in touchHLE: supporting inheritance for instance variables. look at how gnarly this is:
https://github.com/hikari-no-yume/touchHLE/commit/ae5b7a8d6513e3204d3c2eab1f250cdcf8930ee5
i have an idea for a neater solution, but it will involve descending further into the land of Anys and 'statics and 'as and dyns :3
hahahaha vad fan. skatteverket betalar ut ränta på skattekontot igen. om du får mindre än 2,25% ränta på sparkontot hos din bank borde du flytta pengarna till skattekontot. eller skaffa ett bättre sparkonto :p
the learning curve is a little steep and the preview rendering performance is horrifyingly bad, but oh my god, why have i never used blender for video editing before. it's frame-precise, i can composite all the stuff i want, and it has keyframe-based animation. in an open-source package i'm already somewhat familiar with!!
wait you can turn maple syrup into a caramel ice cream topping by just microwaving it briefly. omg
the only thing gm stands for is general midi
port a game to GNU/Linux and it will run for a day; get the game running in WINE and it will run forever