Skip to content

Conversation

@andralex
Copy link
Member

Ugh encoding...

std/encoding.d Outdated
{
static shared bool initialized;
import std.concurrency : initOnce;
initOnce!initialized({ initialize(); return true; }());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

initialize -> registerBuiltinSchemes or something like that?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@klickverbot done and made it more local

Copy link
Member

@PetarKirov PetarKirov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks much better!

Copy link
Member

@CyberShadow CyberShadow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does anyone actually use this module?

@dnadlinger
Copy link
Contributor

Why is this not being auto-merged? (@CyberShadow: Hopefully not.)

@wilzbach
Copy link
Contributor

@klickverbot: the poll only happens every five minutes or on a new status update.

@dlang-bot dlang-bot merged commit 9a66a6a into dlang:master May 24, 2017
@wilzbach
Copy link
Contributor

(there is an update in the pipeline to reduce this to one minute)

@CyberShadow
Copy link
Member

@klickverbot: the poll only happens every five minutes or on a new status update.

Err, why does it need to poll? It should be completely event-driven.

@dnadlinger
Copy link
Contributor

(Ah, I guess I hadn't approved it when adding the label, then…)

@wilzbach
Copy link
Contributor

Err, why does it need to poll? It should be completely event-driven.

I guess currently the approve events aren't properly handled as such or there is some bouncing to avoid over-using the GH API (I haven't looked at the code for a longer time)

@schveiguy
Copy link
Member

Does anyone actually use this module?

std.xml 😉

@JackStouffer
Copy link
Contributor

std.xml 😉

*cough* #5382

@schveiguy
Copy link
Member

Oh cool! I didn't realize that was the only reference to std.encoding in std.xml. I'll take another look.

@wilzbach
Copy link
Contributor

std.xml 😉
cough

BTW as we all agree that std.xml isn't phobosque - why don't we simply move it to undead? People who are suicidal and really want to use, are then automatically warned, but can still use it without any breakage...

@andralex
Copy link
Member Author

Our general policy is deprecate stuff that has immediate replacement.

@MartinNowak
Copy link
Member

Err, why does it need to poll? It should be completely event-driven.

For reliability, events can be missed, then it'd hang forever.

@CyberShadow
Copy link
Member

For reliability, events can be missed, then it'd hang forever.

Then use events + polling to query any missed events. https://developer.github.com/v3/activity/events/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants