Profile for hikari

Header for hikari
Avatar for hikari
Display name
Kanbaru 🌟 の夢
Username
@hikari@noyu.me
Role
admin

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

Recent posts

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;
Open thread at this post

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!()
Open thread at this post

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

Open thread at this post

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!!

Open thread at this post