https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • no one will know it exists, and i personally have no idea what the consequences of this error even is šŸ˜‚
    a

    ambitious-knife-25690

    04/10/2023, 10:35 PM
    no one will know it exists, and i personally have no idea what the consequences of this error even is šŸ˜‚
  • I ran into an issue with Kha and Images using `Image.resource = kha.Image`. Created an issue on the haxeui-kha repo that covers the details
    h

    helpful-boots-41914

    04/11/2023, 5:04 AM
    I ran into an issue with Kha and Images using
    Image.resource = kha.Image
    . Created an issue on the haxeui-kha repo that covers the details
  • a

    ambitious-knife-25690

    04/11/2023, 12:58 PM

    https://cdn.discordapp.com/attachments/565569107701923852/1095332086459666452/image.pngā–¾

  • <@525025580106907659> - do you know when events was added to `sys.thread.Thread`... my 4.0.5 CI fails, and im wondering if i just say "must use haxe 4.2" (or whenever it was added)... unless there is a 4.0.5 way to achieve the same?
    b

    bright-gpu-74537

    04/11/2023, 1:05 PM
    @powerful-morning-89 - do you know when events was added to
    sys.thread.Thread
    ... my 4.0.5 CI fails, and im wondering if i just say "must use haxe 4.2" (or whenever it was added)... unless there is a 4.0.5 way to achieve the same?
  • cool - it doesnt shadow timer anymore, and instead implements the haxe event loop, ive also update core/http (if you hadnt already updated)
    b

    bright-gpu-74537

    04/11/2023, 1:06 PM
    cool - it doesnt shadow timer anymore, and instead implements the haxe event loop, ive also update core/http (if you hadnt already updated)
  • oh, i didn't, i'll do that now
    a

    ambitious-knife-25690

    04/11/2023, 1:08 PM
    oh, i didn't, i'll do that now
  • basically, update everything šŸ˜„
    b

    bright-gpu-74537

    04/11/2023, 1:08 PM
    basically, update everything šŸ˜„
  • ohhh may have a 4.3 + haxeui issue
    a

    ambitious-knife-25690

    04/11/2023, 1:16 PM
    ohhh may have a 4.3 + haxeui issue
  • where is the @:bind metadata defined?
    a

    ambitious-knife-25690

    04/11/2023, 1:16 PM
    where is the @:bind metadata defined?
  • but the error magically went away with restarting the language server
    a

    ambitious-knife-25690

    04/11/2023, 1:24 PM
    but the error magically went away with restarting the language server
  • but i want to see if i can fix it should it crop up again
    a

    ambitious-knife-25690

    04/11/2023, 1:25 PM
    but i want to see if i can fix it should it crop up again
  • you can try the `-D no-macro-cache` build option too, see if that makes any difference?
    i

    icy-zebra-52882

    04/11/2023, 2:03 PM
    you can try the
    -D no-macro-cache
    build option too, see if that makes any difference?
  • at some point a year or two back, it was the only way I could get menubars working
    i

    icy-zebra-52882

    04/11/2023, 2:03 PM
    at some point a year or two back, it was the only way I could get menubars working
  • I may have to try that option, I’m getting bizarre cache behavior again, where adding a trace causes my UI to show up
    b

    brave-kangaroo-30399

    04/11/2023, 3:27 PM
    I may have to try that option, I’m getting bizarre cache behavior again, where adding a trace causes my UI to show up
  • (not haxeui specific)
    r

    refined-greece-48002

    04/12/2023, 12:24 AM
    (not haxeui specific)
  • No because I can't figure out how to repro it
    r

    refined-greece-48002

    04/12/2023, 12:43 AM
    No because I can't figure out how to repro it
  • It happens seemingly at random
    r

    refined-greece-48002

    04/12/2023, 12:43 AM
    It happens seemingly at random
  • yeah, I'm not sure if it's haxe 4.3 or haxeui, even tho the error occurred on haxeui things
    a

    ambitious-knife-25690

    04/12/2023, 12:45 AM
    yeah, I'm not sure if it's haxe 4.3 or haxeui, even tho the error occurred on haxeui things
  • that's why I wanted to know where the @:bind meta was defined so I could confirm in the moment
    a

    ambitious-knife-25690

    04/12/2023, 12:45 AM
    that's why I wanted to know where the @:bind meta was defined so I could confirm in the moment
  • It's happened to me pretty often in haxeui, then fixed/uncommon at some point last year, now back with either 4.3 or a very recent haxeui or heaps backend commit
    b

    brave-kangaroo-30399

    04/12/2023, 2:52 AM
    It's happened to me pretty often in haxeui, then fixed/uncommon at some point last year, now back with either 4.3 or a very recent haxeui or heaps backend commit
  • For me, `Screen.rootComponents` should be empty, but somehow `.indexOf(rootUICompo) > -1` returns true. It triggers a `removeChild` in heaps and never actually gets added
    b

    brave-kangaroo-30399

    04/12/2023, 2:55 AM
    For me,
    Screen.rootComponents
    should be empty, but somehow
    .indexOf(rootUICompo) > -1
    returns true. It triggers a
    removeChild
    in heaps and never actually gets added
  • But when I add `trace(this)` in that chain, the condition evaluates to false as expected, and it all works fine
    b

    brave-kangaroo-30399

    04/12/2023, 2:56 AM
    But when I add
    trace(this)
    in that chain, the condition evaluates to false as expected, and it all works fine
  • Or, like right this moment, it works fine without any code changes
    b

    brave-kangaroo-30399

    04/12/2023, 2:56 AM
    Or, like right this moment, it works fine without any code changes
  • In other words, I kinda have a repro if you guys have `-D` or macro-related suggestions to debug
    b

    brave-kangaroo-30399

    04/12/2023, 2:57 AM
    In other words, I kinda have a repro if you guys have
    -D
    or macro-related suggestions to debug
  • I can't tell if this is related to NotBilly's thing lol, it's been bugging me tho
    b

    brave-kangaroo-30399

    04/12/2023, 2:59 AM
    I can't tell if this is related to NotBilly's thing lol, it's been bugging me tho
  • https://gyazo.com/2cfc21ee5b3acf838ba14f1ad6e881c4
    c

    clever-yak-82528

    04/12/2023, 5:15 AM
    https://gyazo.com/2cfc21ee5b3acf838ba14f1ad6e881c4
  • rust-wasm certainly is a target that exists
    c

    clever-yak-82528

    04/12/2023, 5:19 AM
    rust-wasm certainly is a target that exists
  • its really worth pointing these things out, cause there are people actively looking to solve these issues
    a

    ambitious-knife-25690

    04/12/2023, 12:02 PM
    its really worth pointing these things out, cause there are people actively looking to solve these issues
  • ik what rust is but rust-wasm? nope, dunno what that could be
    c

    curved-tiger-81069

    04/12/2023, 12:06 PM
    ik what rust is but rust-wasm? nope, dunno what that could be
  • ohh
    c

    curved-tiger-81069

    04/12/2023, 12:07 PM
    ohh
1...163216331634...1687Latest