by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 01:01
    belm0 opened #110
  • Sep 21 09:34

    dependabot-preview[bot] on pip

    (compare)

  • Sep 21 09:34

    dependabot-preview[bot] on master

    Bump cffi from 1.14.2 to 1.14.3… Merge pull request #1732 from p… (compare)

  • Sep 21 09:34
    dependabot-preview[bot] closed #1732
  • Sep 21 09:19
    dependabot-preview[bot] synchronize #1732
  • Sep 21 09:19

    dependabot-preview[bot] on pip

    Bump cffi from 1.14.2 to 1.14.3… (compare)

  • Sep 21 09:18
    dependabot-preview[bot] edited #1732
  • Sep 21 09:17
    dependabot-preview[bot] edited #1732
  • Sep 21 09:17
    pquentin reopened #1732
  • Sep 21 09:17
    pquentin closed #1732
  • Sep 21 09:03

    dependabot-preview[bot] on pip

    (compare)

  • Sep 21 09:03

    dependabot-preview[bot] on master

    Bump isort from 5.5.2 to 5.5.3 … Merge pull request #1731 from p… (compare)

  • Sep 21 09:03
    dependabot-preview[bot] closed #1731
  • Sep 21 08:54
    dependabot-preview[bot] labeled #1732
  • Sep 21 08:54
    dependabot-preview[bot] opened #1732
  • Sep 21 08:54

    dependabot-preview[bot] on pip

    Bump cffi from 1.14.2 to 1.14.3… (compare)

  • Sep 21 08:54
    dependabot-preview[bot] labeled #1731
  • Sep 21 08:54
    dependabot-preview[bot] opened #1731
  • Sep 21 08:54

    dependabot-preview[bot] on pip

    Bump isort from 5.5.2 to 5.5.3 … (compare)

  • Sep 21 07:37

    dependabot-preview[bot] on pip

    (compare)

Joshua Oreman
@oremanj
@nocturn9x To be clear: I am not in any way trying to discourage you from working on giambio yourself. I really do think building your own $thing is one of the best ways to understand how to build a $thing. I put a lot of time into building an operating system at your age. But I’m glad that I didn’t try to make it an equivalent solution to Linux. :-)
goodboy
@goodboy
yeah gotta say i side with @oremanj
A rosetta stone for Trio guest mode
ahaha
luv it
richardsheridan
@richardsheridan
thx
goodboy
@goodboy
def a handy reference as well
richardsheridan
@richardsheridan
i mean the guest mode documentation is clear enough, but sorting through the warts of each host is pretty annoying
goodboy
@goodboy
:100:
Mattia
@nocturn9x
@oremanj I get your point and I understand that the async ecosystem in Python is already overcrowded
But yeah I was rather hoping to find someone crazy enough to spend some free time maybe learning new things along the way and hopefully produce something that is production ready. And even if it stays a toy, I'd at least love to see it working properly and understand these concepts deeper. The actual reason why I started Giambio was because I needed a "training field" to contribute to trio at some point, because even though trio's source code is indeed readable and well documented, it's still hard to grok for me
matrixbot
@matrixbot

guilledk > <@gitter_oremanj:matrix.org> @nocturn9x To be clear: I am not in any way trying to discourage you from working on giambio yourself. I really do think building your own $thing is one of the best ways to understand how to build a $thing. I put a lot of time into building an operating system at your age. But I’m glad that I didn’t try to make it an equivalent solution to Linux. :-)

Building a kernel, even a simple one is one of the best learning experiences!

guilledk From whatever level of abstraction you live try to go down to the bottom
guilledk at some point you are gonna hit logic gates and at that point you know the magic trick
Kyle Altendorf
@altendky
that's an arbitrary stopping point
matrixbot
@matrixbot
guilledk when you go back up it feels like you are flying
guilledk sure get into physics as well!!
Kyle Altendorf
@altendky
had a little fun designing the silicon for gates in some simulations in school. how far can you push the clock into analog looking responses and still act digitally...
matrixbot
@matrixbot
guilledk damn, would love to work on a machine I know 100%
guilledk even if it runs slow hehe
guilledk looking at the waffer of a modern cpu is insane
Kyle Altendorf
@altendky
talk to google. sounds like they have 100 slots for open source chip designs they'll build for free. :]
matrixbot
@matrixbot
guilledk sounds cool
guilledk on the hobby project to do list for sure
Kyle Altendorf
@altendky
side note, these chat platforms need to offer virtual guests to better support the chat system gateways that are inevitably developed.
Ross Rochford
@RossRochford_twitter
In case anyone is interested, I just refactored my directed-acyclic-graph task scheduler for Trio, so the code is now much easier to understand and debug: https://github.com/rossrochford/trio_graph_scheduler
NoskLo
@nosklo_gitlab
Gotta love trio guest mode
richardsheridan
@richardsheridan
:+1:
Royce Mitchell
@remdragon
on trio guest mode, is it possible to get a handle I can wait on instead of a WM_USER message?
Nathaniel J. Smith
@njsmith
@remdragon sorry, can you expand that?
Royce Mitchell
@remdragon
yeah sure. So I was doing some thinking while stuck in traffic and I wondered if there's a way to "wait" for the condition that GetMessage() wouldn't block. It looks like MsgWaitForMultipleObjectsEx() might allow me to do so. If so, that would be the perfect solution. I could in a single function wait for notification that either 1) there's a win32 event to be processed or 2) there's trio activity to process. Furthermore, WM_USER would be left available for application use.
plus I think it would take fewer lines of code than a WM_USER implementation
Royce Mitchell
@remdragon
create it with handle = kernel32.CreateEventEx ( None, None, 0, 0 ). when you need attention from the loop, trigger it with kernel32.SetEvent ( handle )
Royce Mitchell
@remdragon
looking at trio_guest_win32.py, that someone posted earlier, I think I can see how to modify it for an event
Nathaniel J. Smith
@njsmith
@remdragon I doubt that windows has any way to wait for (messages or objects)
But I think you can at least use a custom message type to avoid claiming WM_USER?
Royce Mitchell
@remdragon
@njsmith I already confirmed it in the documentation. Now I just need to test it.
Nathaniel J. Smith
@njsmith
@remdragon oh heh, my eye just completely skipped over the Msg in MsgWaitForMultipleObjectsEx. Apparently that's a thing, who knew.
Alex Grönholm
@agronholm
@njsmith can I solicit your assistance for a couple things? I'd like you to take a look at the proposed stream ABC hierarchy in anyio 2.0, and then I have a question about trio's TLS stream
this shouldn't take that much of your time, and I don't know anyone better to ask
for the rest of the upcoming PR series, I can have other people review them
I don't want to impose, so if you feel this is awkward for you or you don't have the time or energy, that's fine too
Nathaniel J. Smith
@njsmith
@agronholm I'm heading to bed, but send me the links and I'll try to take a look?
Alex Grönholm
@agronholm
Quentin Pradet
@pquentin
(it probably would have been easier to review if split in commits)
Royce Mitchell
@remdragon
@njsmith I've mocked up my first attempt at the message loop, would you be interested in looking at it?
Royce Mitchell
@remdragon
@njsmith it may not be shorter, but I think it definitely is less invasive on win32 application structure: https://gist.github.com/remdragon/6dd5c70455ff6f499336f4f192dec36b
Alex Grönholm
@agronholm
@pquentin I've already split my changes into meaningful units
I don't see how splitting those further into several commits makes it easier to review