https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • thats using std http for std targets
    b

    bright-gpu-74537

    04/08/2023, 10:57 AM
    thats using std http for std targets
  • ahhhh......
    a

    ambitious-knife-25690

    04/08/2023, 10:57 AM
    ahhhh......
  • _eventually_ i make it threaded, but this (imo) is one of the _worst_ things about haxe.http... not only is the api different between targets, the _behaviour_ is also...
    b

    bright-gpu-74537

    04/08/2023, 10:58 AM
    eventually i make it threaded, but this (imo) is one of the worst things about haxe.http... not only is the api different between targets, the behaviour is also...
  • for now you'll have to thread it yourself
    b

    bright-gpu-74537

    04/08/2023, 10:58 AM
    for now you'll have to thread it yourself
  • yeah it seems like native is just left to the side due to it being more effort to do properly :/
    a

    ambitious-knife-25690

    04/08/2023, 10:58 AM
    yeah it seems like native is just left to the side due to it being more effort to do properly :/
  • nodejs gets everything 😂
    a

    ambitious-knife-25690

    04/08/2023, 10:59 AM
    nodejs gets everything 😂
  • well, i think its more about not really caring about consistency... nodejs is async by nater
    b

    bright-gpu-74537

    04/08/2023, 10:59 AM
    well, i think its more about not really caring about consistency... nodejs is async by nater
  • but i dont feel like that is an excuse to have totally different behaviors between targets
    b

    bright-gpu-74537

    04/08/2023, 11:00 AM
    but i dont feel like that is an excuse to have totally different behaviors between targets
  • what you got bit with has also bitten me, ie, app unresponsive
    b

    bright-gpu-74537

    04/08/2023, 11:00 AM
    what you got bit with has also bitten me, ie, app unresponsive
  • core/http wont solve it (yet), but at least it can / will
    b

    bright-gpu-74537

    04/08/2023, 11:00 AM
    core/http wont solve it (yet), but at least it can / will
  • yeaa it does suck
    a

    ambitious-knife-25690

    04/08/2023, 11:01 AM
    yeaa it does suck
  • 100%
    b

    bright-gpu-74537

    04/08/2023, 11:01 AM
    100%
  • native sync http doesn't even make much sense to be a thing as default
    a

    ambitious-knife-25690

    04/08/2023, 11:02 AM
    native sync http doesn't even make much sense to be a thing as default
  • well, its defo because (as you said), its a bunch more effort to make it threaded, but i dont feel like that is an excuse personally
    b

    bright-gpu-74537

    04/08/2023, 11:03 AM
    well, its defo because (as you said), its a bunch more effort to make it threaded, but i dont feel like that is an excuse personally
  • it totally limits the use of haxe.Http
    b

    bright-gpu-74537

    04/08/2023, 11:03 AM
    it totally limits the use of haxe.Http
  • well, i guess i'll just use haxe-concurrent lib for the easy threading api
    a

    ambitious-knife-25690

    04/08/2023, 11:09 AM
    well, i guess i'll just use haxe-concurrent lib for the easy threading api
  • i wonder if it would work with wxwidgets 🤔
    a

    ambitious-knife-25690

    04/08/2023, 11:09 AM
    i wonder if it would work with wxwidgets 🤔
  • ahh, it doesn't
    a

    ambitious-knife-25690

    04/08/2023, 11:41 AM
    ahh, it doesn't
  • alright, <@151104106973495296> , core/http now uses threaded http by default
    b

    bright-gpu-74537

    04/08/2023, 1:09 PM
    alright, @ambitious-knife-25690 , core/http now uses threaded http by default
  • b

    bright-gpu-74537

    04/08/2023, 1:09 PM

    https://cdn.discordapp.com/attachments/565569107701923852/1094247742433394799/threaded-http.gif▾

  • its a pretty basic impl, but its fine for now, and is better than the sync default
    b

    bright-gpu-74537

    04/08/2023, 1:10 PM
    its a pretty basic impl, but its fine for now, and is better than the sync default
  • (that test app wouldnt be possible if it was sync)
    b

    bright-gpu-74537

    04/08/2023, 1:10 PM
    (that test app wouldnt be possible if it was sync)
  • you are like the 3rd person (if i include myself) who has wanted this, so figured it was about time to impl it 🙂
    b

    bright-gpu-74537

    04/08/2023, 1:11 PM
    you are like the 3rd person (if i include myself) who has wanted this, so figured it was about time to impl it 🙂
  • WELL, that was unexpected
    a

    ambitious-knife-25690

    04/08/2023, 1:15 PM
    WELL, that was unexpected
  • thank you 😄
    a

    ambitious-knife-25690

    04/08/2023, 1:15 PM
    thank you 😄
  • np - lemme know how it fares 🙂
    b

    bright-gpu-74537

    04/08/2023, 1:18 PM
    np - lemme know how it fares 🙂
  • Can i configure it to whatever I need?
    a

    ambitious-knife-25690

    04/08/2023, 1:52 PM
    Can i configure it to whatever I need?
  • ohh, i see what is happening.. my original implementation indirectly solved for sync http 😁
    a

    ambitious-knife-25690

    04/08/2023, 2:04 PM
    ohh, i see what is happening.. my original implementation indirectly solved for sync http 😁
  • oh huh, just realised didn't even need that cause http comes with a queue system now
    a

    ambitious-knife-25690

    04/08/2023, 2:08 PM
    oh huh, just realised didn't even need that cause http comes with a queue system now
  • ```haxe client.requestQueue = QueueFactory.instance.createQueue(QueueFactory.SIMPLE_QUEUE); // defaults to "NonQueue" ```
    b

    bright-gpu-74537

    04/08/2023, 2:12 PM
    Copy code
    haxe
    client.requestQueue = QueueFactory.instance.createQueue(QueueFactory.SIMPLE_QUEUE); // defaults to "NonQueue"
1...162516261627...1687Latest