add animated playback of all lines in succession

start, pause, stop buttons
use addClass, removeClass to highlight success elements, so actual appearance is controlled by css, easily changed
anything else?

Hi @davidjamesbeck
I made some progress with serial playback of all the lines in a story.  Promises, async, await, resolve - all of these had me confused for a while.
Take a look at  slexil/explorations/playAudioInSequence/playAudioInSequence.html
Deficits:

there is no animation css
you cannot interrupt a sound once it starts playing
playback always starts at the first line
I have not moved the code into ijalUtils.js

But the tricky parts are now working well.
Can you take it from here?

Hi, Paul
Okay, I’ll take a look and see if I can figure it out. Is there a good source for the audio playback methods in Java?
I sent a merge request for the last tweaks I made on the workflow control branch.

On May 27, 2019, at 10:54 AM, Paul Shannon<EMAIL_ADDRESS>wrote:
Hi @davidjamesbeck https://github.com/davidjamesbeck
I made some progress with serial playback of all the lines in a story. Promises, async, await, resolve - all of these had me confused for a while.
Take a look at slexil/explorations/playAudioInSequence/playAudioInSequence.html
Deficits:
there is no animation css
you cannot interrupt a sound once it starts playing
playback always starts at the first line
I have not moved the code into ijalUtils.js
But the tricky parts are now working well.
Can you take it from here?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/paul-shannon/slexil/issues/21?email_source=notifications&email_token=AKN4HBSX2ZWE5CKV6ALEB23PXQG3PA5CNFSM4HHX4WI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWKGT4Y#issuecomment-496265715, or mute the thread https://github.com/notifications/unsubscribe-auth/AKN4HBTO2PFCLOFKHRGDR3LPXQG3PANCNFSM4HHX4WIQ.

Hi David,
This will give you a bunch of good starting points:
https://www.google.com/search?q=html5+audio&oq=html5+audio&aqs=chrome..69i57j69i59.2951j0j4&sourceid=chrome&ie=UTF-8
The audio tag itself is pretty straightforwards.  Serial playback was the bugbear, now I think solved.
Adding pause and mid-sound stop is not so hard with a single sound.   It might take some fancy footwork to support those two operations in the midst of async and promises.
You would probably need to keep a global state object - call it “currentSoundElement” which you can pause and stop (those operations are supported in html5 I am pretty sure).   But how that interacts or does not interact with the serial playback async/promise queue may get dicey.
I can make an altogether predictable suggestion :}   Which is to call single and serial playback good enough, with “stop” supported at the end of the current sound - then get to the more fine-grained control later.

Paul

On May 27, 2019, at 10:15 AM, David Beck<EMAIL_ADDRESS>wrote:
Hi, Paul
Okay, I’ll take a look and see if I can figure it out. Is there a good source for the audio playback methods in Java?
I sent a merge request for the last tweaks I made on the workflow control branch.

On May 27, 2019, at 10:54 AM, Paul Shannon<EMAIL_ADDRESS>wrote:
Hi @davidjamesbeck https://github.com/davidjamesbeck
I made some progress with serial playback of all the lines in a story. Promises, async, await, resolve - all of these had me confused for a while.
Take a look at slexil/explorations/playAudioInSequence/playAudioInSequence.html
Deficits:
there is no animation css
you cannot interrupt a sound once it starts playing
playback always starts at the first line
I have not moved the code into ijalUtils.js
But the tricky parts are now working well.
Can you take it from here?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/paul-shannon/slexil/issues/21?email_source=notifications&email_token=AKN4HBSX2ZWE5CKV6ALEB23PXQG3PA5CNFSM4HHX4WI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWKGT4Y#issuecomment-496265715, or mute the thread https://github.com/notifications/unsubscribe-auth/AKN4HBTO2PFCLOFKHRGDR3LPXQG3PANCNFSM4HHX4WIQ.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi, Paul
I want to begin this by making an abject apology because I feel like I wasted a bunch of your time, and it was entriley my fault that this happened because a) I didn't really communicate very clearly what the animated playback was all about and b) I overestimated how difficult the task was going to be and really shouldn't have bothered you with it at all. So, let me explain.
As you'll see from my current test project (in Projects/Monkey) and the IjalUtils.js file there, I ended up abandoning the approach you were taking to the playback problem. This is because there's no way users were going to accept playback based on the sequential playing of the audio chunks we are using for individual lines. Users will want to hear the full, fluid text as spoken in the original recording, and even if in theory it might be possible to recreate that, it seemed better just to use the full recording, pre-parsing. So, first apology is that I should have realized that that wouldn't be an assumption you would make, coming from the problem from a software engineer's perspective.
So, what I did was go back to the  tag controls in HTML5—and here's where I feel like I really have egg on my face. When I first adapted Cuped for my own use, it was using Flash and I immediately turfed that for the HTML5  player (which was too new for the orignal implementation of Cuped). I did a poor job of that and just stuck with a lot of the complicated code that Cuped was using to create and manipulate a Flash player (most of which probably wasn't even doing any work) without really exploring the functionality of the  tag. As it turns out, it does almost everything we needed for playback control, and setting up the animation turned out to be pretty trivial. I really should have known that, especially since when I first looked into  I remembered thinking that it should be possible to simplify the Cuped player.js considerably. So, my second apology is for asking you to help and spend time on a task that was actually pretty straightforward.
Anyway, the animation seems to be working except for two things that I actually do need some advice about. I'll start an issue for each one.
David

Thanks for all this, David, but for an apology, there is no need.  Truly.  False starts, changes in direction, new ideas: that’s what we do!
I am now back to “How Daylight was Stolen”.  And I have my first question for you, perhaps best presented visually:
This is from my old (2017) idiosyncratic version of my code.  Much of it should be tossed out in favor of the new.
But displayed in the image above is one feature which, as a student of the language, I find very valuable: popups which display dictionary entries.  In this case, I edited the dictionary entry, reducing it to a short description.  Here’s another one:
In this case, I may have crafted the explanatory text from various readings as well as from the Lushootseed Dictionary as I tried to make sense of the s- prefix.
Any ideas on how I could add Lushootseed Dictionary entries to an eaf version of How Daylight was Stolen?

Paul

On May 30, 2019, at 10:23 AM, David Beck<EMAIL_ADDRESS>wrote:
Hi, Paul
I want to begin this by making an abject apology because I feel like I wasted a bunch of your time, and it was entriley my fault that this happened because a) I didn't really communicate very clearly what the animated playback was all about and b) I overestimated how difficult the task was going to be and really shouldn't have bothered you with it at all. So, let me explain.
As you'll see from my current test project (in Projects/Monkey) and the IjalUtils.js file there, I ended up abandoning the approach you were taking to the playback problem. This is because there's no way users were going to accept playback based on the sequential playing of the audio chunks we are using for individual lines. Users will want to hear the full, fluid text as spoken in the original recording, and even if in theory it might be possible to recreate that, it seemed better just to use the full recording, pre-parsing. So, first apology is that I should have realized that that wouldn't be an assumption you would make, coming from the problem from a software engineer's perspective.
So, what I did was go back to the tag controls in HTML5—and here's where I feel like I really have egg on my face. When I first adapted Cuped for my own use, it was using Flash and I immediately turfed that for the HTML5 player (which was too new for the orignal implementation of Cuped). I did a poor job of that and just stuck with a lot of the complicated code that Cuped was using to create and manipulate a Flash player (most of which probably wasn't even doing any work) without really exploring the functionality of the tag. As it turns out, it does almost everything we needed for playback control, and setting up the animation turned out to be pretty trivial. I really should have known that, especially since when I first looked into I remembered thinking that it should be possible to simplify the Cuped player.js considerably. So, my second apology is for asking you to help and spend time on a task that was actually pretty straightforward.
Anyway, the animation seems to be working except for two things that I actually do need some advice about. I'll start an issue for each one.
David
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi, Paul
I didn’t get the image, but I think I have an idea of what you’re after—something like a tooltip which, maybe on “hover”, pops up some metadata about a word or affix? I don’t think ELAN has the capacity to do that itself (I’m not an ELAN master, but it is mostly an annotation tool, not a presentation tool), so you’d probably be looking at something very like slexil that goes from ELAN to HTML and adds the popups programmatically. You might be able to facilitate this by defining ELAN tier types that would be targeted by a program, so you could read the ELAN file, pull out all the tier types (say, morpheme glosses) and then look up the values of those in a database to get the contents of the pop ups (assuming your morpheme glosses are done with a fixed vocabulary corresponding to lexical entries in the database).
I currently don’t have a presentable Lushootseed lexical database that might be a good backend for something like this, otherwise I would happily share it with you. Other than my texts, my Lushootseed corpus is trapped in some long-deprecated software, and a project that I may actually get to soon is to recreate that database (which is also deprecated in an analytical sense) based on the texts in their more up-to-date forms. That will become the basis for an actual lexical database, but probably not in the immediate future.
There is a PhD student at UW, Joshua Crowgey, who is finishing up a dissertation on parsing Lushootseed texts. If you’re interested, I could put you in touch with him. He might have something useful. There is a computation linguist at Brigham Young, Derlye Lounsbury, who actually has an electronic version of the Lushootseed Dictionary (and he used to have an online interface, I’m not sure it is still there), but he says that the material is copyrighted to UW Press and so doesn’t pass it around.
Anyway, anything I can do to help, I’ m more than happy to.
Cheers,
David

On Jun 2, 2019, at 9:12 AM, Paul Shannon<EMAIL_ADDRESS>wrote:
Thanks for all this, David, but for an apology, there is no need. Truly. False starts, changes in direction, new ideas: that’s what we do!
I am now back to “How Daylight was Stolen”. And I have my first question for you, perhaps best presented visually:
This is from my old (2017) idiosyncratic version of my code. Much of it should be tossed out in favor of the new.
But displayed in the image above is one feature which, as a student of the language, I find very valuable: popups which display dictionary entries.  In this case, I edited the dictionary entry, reducing it to a short description. Here’s another one:
In this case, I may have crafted the explanatory text from various readings as well as from the Lushootseed Dictionary as I tried to make sense of the s- prefix.
Any ideas on how I could add Lushootseed Dictionary entries to an eaf version of How Daylight was Stolen?

Paul

On May 30, 2019, at 10:23 AM, David Beck<EMAIL_ADDRESS>wrote:
Hi, Paul
I want to begin this by making an abject apology because I feel like I wasted a bunch of your time, and it was entriley my fault that this happened because a) I didn't really communicate very clearly what the animated playback was all about and b) I overestimated how difficult the task was going to be and really shouldn't have bothered you with it at all. So, let me explain.
As you'll see from my current test project (in Projects/Monkey) and the IjalUtils.js file there, I ended up abandoning the approach you were taking to the playback problem. This is because there's no way users were going to accept playback based on the sequential playing of the audio chunks we are using for individual lines. Users will want to hear the full, fluid text as spoken in the original recording, and even if in theory it might be possible to recreate that, it seemed better just to use the full recording, pre-parsing. So, first apology is that I should have realized that that wouldn't be an assumption you would make, coming from the problem from a software engineer's perspective.
So, what I did was go back to the tag controls in HTML5—and here's where I feel like I really have egg on my face. When I first adapted Cuped for my own use, it was using Flash and I immediately turfed that for the HTML5 player (which was too new for the orignal implementation of Cuped). I did a poor job of that and just stuck with a lot of the complicated code that Cuped was using to create and manipulate a Flash player (most of which probably wasn't even doing any work) without really exploring the functionality of the tag. As it turns out, it does almost everything we needed for playback control, and setting up the animation turned out to be pretty trivial. I really should have known that, especially since when I first looked into I remembered thinking that it should be possible to simplify the Cuped player.js considerably. So, my second apology is for asking you to help and spend time on a task that was actually pretty straightforward.
Anyway, the animation seems to be working except for two things that I actually do need some advice about. I'll start an issue for each one.
David
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/paul-shannon/slexil/issues/21?email_source=notifications&email_token=AKN4HBT6ZNCM7UQNTOTAQ23PYPPM5A5CNFSM4HHX4WI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWXXWHA#issuecomment-498039580, or mute the thread https://github.com/notifications/unsubscribe-auth/AKN4HBQYZLTGZAUDH3MIZXDPYPPM5ANCNFSM4HHX4WIQ.

Thanks for these offers, David,
I’ll defer on all of them for now because, however worthy and fruitful they may be, they would likely divert me from the specific lines, the agglutinations which so delight me in the Harry Moses story.
I will experiment with a bit of javascript add-on, some post-processing that grafts the popups into the html produced by slexil whenever my ad hoc reference collection has an entry for a word or an affix.   I’ll be building that reference collection from multiple sources - making my own synthesis - which will be instructive, and which skirt some of the constraints of the copyrighted Lushootseed Dictionary, especially in that it will probably be just for my own use.
Can I turn to you now and again on questions of grammar?

Paul

On Jun 2, 2019, at 8:39 AM, David Beck<EMAIL_ADDRESS>wrote:
Hi, Paul
I didn’t get the image, but I think I have an idea of what you’re after—something like a tooltip which, maybe on “hover”, pops up some metadata about a word or affix? I don’t think ELAN has the capacity to do that itself (I’m not an ELAN master, but it is mostly an annotation tool, not a presentation tool), so you’d probably be looking at something very like slexil that goes from ELAN to HTML and adds the popups programmatically. You might be able to facilitate this by defining ELAN tier types that would be targeted by a program, so you could read the ELAN file, pull out all the tier types (say, morpheme glosses) and then look up the values of those in a database to get the contents of the pop ups (assuming your morpheme glosses are done with a fixed vocabulary corresponding to lexical entries in the database).
I currently don’t have a presentable Lushootseed lexical database that might be a good backend for something like this, otherwise I would happily share it with you. Other than my texts, my Lushootseed corpus is trapped in some long-deprecated software, and a project that I may actually get to soon is to recreate that database (which is also deprecated in an analytical sense) based on the texts in their more up-to-date forms. That will become the basis for an actual lexical database, but probably not in the immediate future.
There is a PhD student at UW, Joshua Crowgey, who is finishing up a dissertation on parsing Lushootseed texts. If you’re interested, I could put you in touch with him. He might have something useful. There is a computation linguist at Brigham Young, Derlye Lounsbury, who actually has an electronic version of the Lushootseed Dictionary (and he used to have an online interface, I’m not sure it is still there), but he says that the material is copyrighted to UW Press and so doesn’t pass it around.
Anyway, anything I can do to help, I’ m more than happy to.
Cheers,
David

On Jun 2, 2019, at 9:12 AM, Paul Shannon<EMAIL_ADDRESS>wrote:
Thanks for all this, David, but for an apology, there is no need. Truly. False starts, changes in direction, new ideas: that’s what we do!
I am now back to “How Daylight was Stolen”. And I have my first question for you, perhaps best presented visually:
This is from my old (2017) idiosyncratic version of my code. Much of it should be tossed out in favor of the new.
But displayed in the image above is one feature which, as a student of the language, I find very valuable: popups which display dictionary entries. In this case, I edited the dictionary entry, reducing it to a short description. Here’s another one:
In this case, I may have crafted the explanatory text from various readings as well as from the Lushootseed Dictionary as I tried to make sense of the s- prefix.
Any ideas on how I could add Lushootseed Dictionary entries to an eaf version of How Daylight was Stolen?

Paul

On May 30, 2019, at 10:23 AM, David Beck<EMAIL_ADDRESS>wrote:
Hi, Paul
I want to begin this by making an abject apology because I feel like I wasted a bunch of your time, and it was entriley my fault that this happened because a) I didn't really communicate very clearly what the animated playback was all about and b) I overestimated how difficult the task was going to be and really shouldn't have bothered you with it at all. So, let me explain.
As you'll see from my current test project (in Projects/Monkey) and the IjalUtils.js file there, I ended up abandoning the approach you were taking to the playback problem. This is because there's no way users were going to accept playback based on the sequential playing of the audio chunks we are using for individual lines. Users will want to hear the full, fluid text as spoken in the original recording, and even if in theory it might be possible to recreate that, it seemed better just to use the full recording, pre-parsing. So, first apology is that I should have realized that that wouldn't be an assumption you would make, coming from the problem from a software engineer's perspective.
So, what I did was go back to the tag controls in HTML5—and here's where I feel like I really have egg on my face. When I first adapted Cuped for my own use, it was using Flash and I immediately turfed that for the HTML5 player (which was too new for the orignal implementation of Cuped). I did a poor job of that and just stuck with a lot of the complicated code that Cuped was using to create and manipulate a Flash player (most of which probably wasn't even doing any work) without really exploring the functionality of the tag. As it turns out, it does almost everything we needed for playback control, and setting up the animation turned out to be pretty trivial. I really should have known that, especially since when I first looked into I remembered thinking that it should be possible to simplify the Cuped player.js considerably. So, my second apology is for asking you to help and spend time on a task that was actually pretty straightforward.
Anyway, the animation seems to be working except for two things that I actually do need some advice about. I'll start an issue for each one.
David
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/paul-shannon/slexil/issues/21?email_source=notifications&email_token=AKN4HBT6ZNCM7UQNTOTAQ23PYPPM5A5CNFSM4HHX4WI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWXXWHA#issuecomment-498039580, or mute the thread https://github.com/notifications/unsubscribe-auth/AKN4HBQYZLTGZAUDH3MIZXDPYPPM5ANCNFSM4HHX4WIQ.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Absolutely.
David

On Jun 2, 2019, at 10:30 AM, Paul Shannon<EMAIL_ADDRESS>wrote:
Thanks for these offers, David,
I’ll defer on all of them for now because, however worthy and fruitful they may be, they would likely divert me from the specific lines, the agglutinations which so delight me in the Harry Moses story.
I will experiment with a bit of javascript add-on, some post-processing that grafts the popups into the html produced by slexil whenever my ad hoc reference collection has an entry for a word or an affix. I’ll be building that reference collection from multiple sources - making my own synthesis - which will be instructive, and which skirt some of the constraints of the copyrighted Lushootseed Dictionary, especially in that it will probably be just for my own use.
Can I turn to you now and again on questions of grammar?

Paul

On Jun 2, 2019, at 8:39 AM, David Beck<EMAIL_ADDRESS>wrote:
Hi, Paul
I didn’t get the image, but I think I have an idea of what you’re after—something like a tooltip which, maybe on “hover”, pops up some metadata about a word or affix? I don’t think ELAN has the capacity to do that itself (I’m not an ELAN master, but it is mostly an annotation tool, not a presentation tool), so you’d probably be looking at something very like slexil that goes from ELAN to HTML and adds the popups programmatically. You might be able to facilitate this by defining ELAN tier types that would be targeted by a program, so you could read the ELAN file, pull out all the tier types (say, morpheme glosses) and then look up the values of those in a database to get the contents of the pop ups (assuming your morpheme glosses are done with a fixed vocabulary corresponding to lexical entries in the database).
I currently don’t have a presentable Lushootseed lexical database that might be a good backend for something like this, otherwise I would happily share it with you. Other than my texts, my Lushootseed corpus is trapped in some long-deprecated software, and a project that I may actually get to soon is to recreate that database (which is also deprecated in an analytical sense) based on the texts in their more up-to-date forms. That will become the basis for an actual lexical database, but probably not in the immediate future.
There is a PhD student at UW, Joshua Crowgey, who is finishing up a dissertation on parsing Lushootseed texts. If you’re interested, I could put you in touch with him. He might have something useful. There is a computation linguist at Brigham Young, Derlye Lounsbury, who actually has an electronic version of the Lushootseed Dictionary (and he used to have an online interface, I’m not sure it is still there), but he says that the material is copyrighted to UW Press and so doesn’t pass it around.
Anyway, anything I can do to help, I’ m more than happy to.
Cheers,
David

On Jun 2, 2019, at 9:12 AM, Paul Shannon<EMAIL_ADDRESS>wrote:
Thanks for all this, David, but for an apology, there is no need. Truly. False starts, changes in direction, new ideas: that’s what we do!
I am now back to “How Daylight was Stolen”. And I have my first question for you, perhaps best presented visually:
This is from my old (2017) idiosyncratic version of my code. Much of it should be tossed out in favor of the new.
But displayed in the image above is one feature which, as a student of the language, I find very valuable: popups which display dictionary entries. In this case, I edited the dictionary entry, reducing it to a short description. Here’s another one:
In this case, I may have crafted the explanatory text from various readings as well as from the Lushootseed Dictionary as I tried to make sense of the s- prefix.
Any ideas on how I could add Lushootseed Dictionary entries to an eaf version of How Daylight was Stolen?

Paul

On May 30, 2019, at 10:23 AM, David Beck<EMAIL_ADDRESS>wrote:
Hi, Paul
I want to begin this by making an abject apology because I feel like I wasted a bunch of your time, and it was entriley my fault that this happened because a) I didn't really communicate very clearly what the animated playback was all about and b) I overestimated how difficult the task was going to be and really shouldn't have bothered you with it at all. So, let me explain.
As you'll see from my current test project (in Projects/Monkey) and the IjalUtils.js file there, I ended up abandoning the approach you were taking to the playback problem. This is because there's no way users were going to accept playback based on the sequential playing of the audio chunks we are using for individual lines. Users will want to hear the full, fluid text as spoken in the original recording, and even if in theory it might be possible to recreate that, it seemed better just to use the full recording, pre-parsing. So, first apology is that I should have realized that that wouldn't be an assumption you would make, coming from the problem from a software engineer's perspective.
So, what I did was go back to the tag controls in HTML5—and here's where I feel like I really have egg on my face. When I first adapted Cuped for my own use, it was using Flash and I immediately turfed that for the HTML5 player (which was too new for the orignal implementation of Cuped). I did a poor job of that and just stuck with a lot of the complicated code that Cuped was using to create and manipulate a Flash player (most of which probably wasn't even doing any work) without really exploring the functionality of the tag. As it turns out, it does almost everything we needed for playback control, and setting up the animation turned out to be pretty trivial. I really should have known that, especially since when I first looked into I remembered thinking that it should be possible to simplify the Cuped player.js considerably. So, my second apology is for asking you to help and spend time on a task that was actually pretty straightforward.
Anyway, the animation seems to be working except for two things that I actually do need some advice about. I'll start an issue for each one.
David
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/paul-shannon/slexil/issues/21?email_source=notifications&email_token=AKN4HBT6ZNCM7UQNTOTAQ23PYPPM5A5CNFSM4HHX4WI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWXXWHA#issuecomment-498039580, or mute the thread https://github.com/notifications/unsubscribe-auth/AKN4HBQYZLTGZAUDH3MIZXDPYPPM5ANCNFSM4HHX4WIQ.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/paul-shannon/slexil/issues/21?email_source=notifications&email_token=AKN4HBQMG52ZMRPQ7DT5AX3PYPYTVA5CNFSM4HHX4WI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWXZHMQ#issuecomment-498045874, or mute the thread https://github.com/notifications/unsubscribe-auth/AKN4HBVEN7P5JAZ2QO2GBG3PYPYTVANCNFSM4HHX4WIQ.


bump itchysats verison to 0.5.0

I think @klochowicz volunteered for this ;)

I think @klochowicz volunteered for this ;)

I did! :)


RasterTileEventListener is not stable

I have used RasterTileLayer with RasterTileEventListener but it is really unstable. Sometimes it works but is not stable as VectorTileLayer with VectorTileEventListener.
Did I miss something? Please help me,
Thanks you so much.
I test on Android 10 with SDK version 4.2.2
`RasterTileLayer rasterTileLayer = (RasterTileLayer) tileLayer;
            rasterTileLayer.setRasterTileEventListener(new RasterTileEventListener() {
                @Override
                public boolean onRasterTileClicked(RasterTileClickInfo clickInfo) {
                    Log.i("ZXC", "onRasterTileClicked XXX");
                    Log.i("ZXC", clickInfo.getClickPos().toString());
                    return true;
                }
            });`

Thanks for reporting this, this is really bad regression in SDK 4.2.x versions. Will be fixed starting from SDK 4.3.0RC2 (I plan to publish it next week).

Great, it worked stably in version 4.3.0RC2. Could you tell me when the final 4.3.0 release will be released.
Thank you so much

@phammanhdam The current plan is early May, unless something critical comes up.


Missing scale property in docker compose file version 3

Problem description
In a version 3.8 docker compose project I was looking for a way to define --scale $SERVICE=$NUMBER either as an environment variable or as part of my yaml file. According to the CLI documentation it should be possible:

--scale SERVICE=NUM        Scale SERVICE to NUM instances. Overrides the
                           `scale` setting in the Compose file if present.

So I just tried to add it and it works. But when I looked up the documentation online then I could not find it at first cause it's only present under the version 2 documentation. Before I make a PR I would just like to know if this is a mistake or if it's in fact is on purpose?
Problem location
The documentation is present here: https://github.com/docker/docker.github.io/blob/master/compose/compose-file/compose-file-v2.md#scale
But not here: https://github.com/docker/docker.github.io/blob/master/compose/compose-file/index.md
Project version(s) affected
Docker compose file docs version 3.X
Suggestions for a fix
Copy the docs from version 2 unless some changes (signature, new features) has happened since then

In the v3 syntax, the "scale" property was replaced with the "replicas" property under "deploy" (which holds other properties related to deployment of the service); https://docs.docker.com/compose/compose-file/#deploy

Yes, I'm aware of the deploy.replicas property but that only applies for deployments like docker stack deploy. scale is to my understanding a one to one implementation of --scale used together with docker-compose up. And as mentioned then it actually works (just not documented online).
As I work with microservices and we always would like to test our application locally with more than one instance then the scale property suit our needs perfectly. But I would like to know if it's deprecated and on it's way out or if it's future proof to use it as a general recommendation in our company?
Below works and equals running docker-compose up --scale app=3:
version: "3.8"

services:
  app:
    image: nginx
    scale: 3


Artisan Key Generate not working with PHP 7.4.4

Laravel Version: 7.2.0
PHP Version: 7.4.4

Description:
When using the command "php artisan key:generate" with PHP 7.4.4 a RuntimeException is thrown in the EncryptionServiceProvider, when no APP_KEY is set.
"No application encryption key has been specified."
Steps To Reproduce:

Update PHP to Version 7.4.4
Create a fresh Laravel project
Try to generate a new APP_KEY using the "php artisan key:generate" Command.

What OS are you using?

I'm using MacOS (10.15.3), but the same error occurs within my CI Pipeline which is based on the official PHP Docker images (latest, linux/amd64, https://hub.docker.com/_/php?tab=tags).
My local php has been installed through homebrew, but i noticed the error because the CI Pipeline kept failing.

Is this a problem specifically with 7.4.4?

Yes totally, i've tested it locally with php 7.4.2, my CI Pipeline used 7.4.3 (which i also tested locally afterwards) and after the update to 7.4.4 the command broke.

I can run the command on PHP 7.4.4

I also see the problems with php artisan key:generate on docker image php:7.4-fpm.
Sometimes the command works fine, but sometimes APP_KEY just has been not set and still empty, fifty-fifty.
I didn't see any problems with this command on the previous versions php (7.3) or previous versions of Laravel (5.8).
I am not sure this is the problem of php 7.4, maybe this is the problem of laravel 7 or something else.

@CaliforniaMountainSnake check your ServiceProviders, in another Project where i came across this, i have tried to set some Inertia::share value from the session within the Providers boot() method. Prior to 7.4.3 this was no problem, but after the update to 7.4.4 this threw an Exception which caused the Command to stop before it could set the APP_KEY

Facing same issue.. PHP 7.4 on CENTOS 8

i have problem here on PHP 7.4.15
When i run command, it does not write it into .env file, but it says key generated on terminal.
I am on macos Big Sur, M1 silicon
paper git:(vladimir/swap-is_admin) ✗ php artisan key:generate
Application key set successfully.
➜  paper git:(vladimir/swap-is_admin) ✗ php -v
PHP 7.4.15 (cli) (built: Feb  4 2021 07:01:35) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
   with Xdebug v3.0.3, Copyright (c) 2002-2021, by Derick Rethans
   with Zend OPcache v7.4.15, Copyright (c), by Zend Technologies```

I had the same problem because there was no APP_KEY. After adding line APP_KEY= to the .env file key generated with success.

I had the same problem because there was no APP_KEY. After adding line APP_KEY= to the .env file key generated with success.

I have added APP_KEY=

I had the same problem because there was no APP_KEY. After adding line APP_KEY= to the .env file key generated with success.

Was bugging me for a good few minutes before I saw this comment and this was the solution that fixed it for me. Thank you.

This was giving me headaches for the past few days. What helped me was adding APP_KEY= to the .env file, however with one space before the line break.

try clear everything cache, especially config:clear and cache:clear.
key generation may be influenced by these stuff.

try clear everything cache, especially config:clear and cache:clear.
key generation may be influenced by these stuff.

It is working


Milestone 1.0 - Stable api & modularity

[x] Fix all the bug from 0.6.x

[x] Make the lib modular:

[x] Externalize the loaders from the injector
[x] Externalize the polyfills
[x] Make the injector usable by other libs

[x] Rewrite everything in ES6

[x] Try to get as close as possible to 100% coverage

:+1:


Angular Universal Awareness

Hello, is this library being developed with Angular Universal in mind, using the abstraction layers instead of accessing the dom directly?

Yes, we always try to access DOM in an NG2 way.. like the Renderer class, etc etc.
The only 2 components that dont follow it correctly are the highlight component and markup component since they use 3rd party JS libraries.

@emoralesb05 alright, great, thank you :)


Deprecate this tap

We don't support it well and these are all things that better live in Homebrew Cask (and should have never been added to Homebrew/homebrew-core).

Hi. I found out that most of these formulas can't be moved to Homebrew Cask, since they don't provide a binary release for macOS. They are also unlikely to be supported by Homebrew Cask in the future, since the Cask people explicitly say that they don't plan on supporting building apps from source in Caskroom/homebrew-cask#2245 .
Here are the examples of formulas that doesn't have an upstream binary release for macOS:

easytag
gtk-chtheme
geeqie
gsmartcontrol
hexchat
iptux
kernagic
klavro
smartsim
tarsnap-gui
terminator
threadscope
transmission-remote-gtk
upnp-router-control
xchat
xournal

Thanks @midchildan. We'll need to think and talk about them. Some of them cannot really be packaged as a .app but some can so we may migrate some that can't and are very popular.

Handling this in https://github.com/Homebrew/homebrew-gui/issues/52. Migrated some to Homebrew Cask and the rest (that weren't removed for popularity reasons) to homebrew/core.


Finish "add joins, insertion & search to correlation engine"

Description
This PR is meant to help finish #7771.
Based on the existing PR it looks like this feature was close to being completed before being dropped. I am hoping to finish it by making whatever existing changes were required by the maintainers to help get it over the line.
I rebased the original change by merging it into a clean main. I am going to see what else can be done to make this ready for merge. @sbcd90 if you would like to pick this back up please let me know otherwise thank you for your efforts.
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
https://github.com/opensearch-project/OpenSearch/issues/6854
Check List

[x] New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
[x] Commits are signed per the DCO using --signoff
[x] Commit changes are listed out in CHANGELOG.md file (See: Changelog)
[x] Public documentation issue/PR created

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

hi @scrawfor99 , i think this pr just needs core reviewers to review it. It is ready for review.

Hi @sbcd90, thanks for following up. Did you want to take things back over or do you want me to address whatever feedback they give?

hi @scrawfor99 , i can continue working on the pr.


Ensure email address is set when using SSO

@miltontony Please review

@miltontony please re-review

@miltontony ^^^

@miltontony ^^^

👍 🍰 cc: @saeedmb8


added Windows 10 / SMB 3.0

Added Windows 10 and SMB 3.0 to the table in line 142.

Hi @tiagocostapt, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@tamram - Tamra, could you review Tiago's update?

Looks good, thanks.
#sign-off


Andrew/presubmit

created presubmit.py file which allows developer to run all checks(api, lint, frontend, build)
below is screenshot of terminal output to developer

Closing this as we need to reopen in the dev repo


added ts file to return the division of 2 numbers

Why:

Closes #124
What's being changed:
added ts file to return the division of 2 numbers

Hey @anastazir
Please comment !assign on #124 , to be auto assigned
!assign


Add Wt port

Wt is a C++ library for developing web applications.
This port builds the latest release 3.3.6.
Related issue: #203

Hi @codeandroid, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, MSBOT;

Solid work, thanks!


coxph initialization value

When beta is 0, the log-likelihood and hessian matrix calculation are significantly simplified. I think I can take advantage of this to either:

reduce the computer power needed in the _get_efron_values (skipping steps) - maybe implement a _get_efron_values_at_0?
Create better initial values for beta instead of zeros.

All in all, I could possibly reduce the number of required steps by 1 (so at least a 2% performance gain in the worst case, often 10-20% in the average case)

This possibly applies to time-varying model too.

If I assume no ties initially (only a small bias that will be corrected with subsequent iterations), then I can reduce this down to (from here):
df = df.sort_values("T", ascending=False)
T = df.pop("T")
E = df.pop("E")
(df.values - df.cumsum().values / np.arange(1, df.shape[0]+1)[:, None])[E.astype(bool), :].sum(0)

That is the gradient I need to travel in (i.e. this is gradient descent). However, the step size will be too big/unknown, and the hessian is not included, so I'm not really travelling in the "right" direction.

Another idea is to modify the likelihood gradient "enough" that it can be solved in closed form, and then use that as the initial value:

Ex: approx exp(X b) by (1 + Xb + (Xb)^2/2), or assuming C=1 for all individuals, and others.

I tried this:

S(t) = exp(-H0(t) exp(beta * X))

~

U = exp(-H0(T) exp(beta * X))

log(U) = -H0(T) exp(beta * X))

exp(-beta * X)) * Noise = H0(T)

-beta * X + log(-log(U)) = log(H0(T))

if H0(*) is linear, i.e. H0(T) = a * t  then

-beta * X + log(-log(U)) = log(a * T)
-beta * X + log(-log(U)) = log(T) + log(a)

log(-log(U)) has pdf e^{-e^y + y}, mean equal to -𝜸 ~= -0.577

-beta * X + SNoise = log(T) + constants
and use LR to solve.

But now T is censored sometimes. I could choose only non censored T => bias

Didn't improve the number of iterations on Rossi dataset.


Field types missing

As reported here https://github.com/beetbox/beets/discussions/4626, it seems numerical values saved to the beets library via the xtractor plugin can not be used for range queries.
The reason supposedly is that xtractor does not define types FOR its values.
A possible fix could be to take the now deprecated acousticbrainz plugin as an example and implement similar field types: https://github.com/beetbox/beets/blob/master/beetsplug/acousticbrainz.py#L113-L136

Beets developer docs around field types: https://beets.readthedocs.io/en/stable/dev/plugins.html#flexible-field-types

@JOJ0 It is relatively straightforward. See the Spotify plugin for example
https://github.com/beetbox/beets/blob/master/beetsplug/spotify.py#L46-L60
I am traveling right now and can do it after I return. But I am sure, you will be able to finish it before that :)

Hi both,
Yes, this should be in place and I am actually not sure why it is not.
I used to use this project in conjunction with this one: https://github.com/adamjakab/BeetsPluginGoingRunning
and I used to do all sorts of numeric / range matching on the extracted values.
So I am not sure what happened but if the type definitions are not there we should consider this a bug.

Yes, this should be in place and I am actually not sure why it is not.

I have an idea why you possibly didn't add types for xtractor back then: The official acousticbrainz plugin is creating those equally named types already, thus redefining them here causes a duplicate error.
I'm about to figure out how I would define those values like I did in https://github.com/adamjakab/BeetsPluginXtractor/pull/26/files already. I need to find a way to improve this to define those on demand only to avoid duplication.

I finally merged that PR that adds the missing types. The acousticbrainz plugin which holds conflicting types that would lead to errors as described in #25 was deprecated in beets a couple of weeks/months ago.
I didn't go down the route of trying to only define those types if they are missing, if someone still has the acousticbrainz plugin enabled for some reason there will be a conflict and they'll hopefully investigate and find this issue. I think that's fine for now and probably not worth the hassle to look into a more robust solution.


Does this work on upcoming v1.0 release?

https://blog.freecad.org/2024/09/24/the-second-release-candidate-of-freecad-1-0-is-out/

This has not been tested yet, I will update this issue when it has.


sendAccessToken sends null token when using local storage

sendAccessToken is sending null token when using local storage
here is my configuration
import { AuthConfig } from 'angular-oauth2-oidc';

export const authConfig: AuthConfig = {
  issuer: '',
  redirectUri: window.location.origin + '/home',
  silentRefreshRedirectUri: window.location.origin + '/assets/silent-refresh.html',
  clientId: '',
  dummyClientSecret: '',
  scope: '',
  strictDiscoveryDocumentValidation: false,
  oidc: false
}

private configureWithNewConfigApi() {
    this.oauthService.configure(authConfig);
    this.oauthService.setStorage(localStorage);
    this.oauthService.tokenValidationHandler = new JwksValidationHandler();
    this.oauthService.loadDiscoveryDocument('').then(() => {
      this.oauthService.tryLogin();
      this.oauthService.setupAutomaticSilentRefresh();
    });
  }

OAuthModule.forRoot({
      resourceServer: {
        allowedUrls: [''],
        sendAccessToken: true
      }
    })

when I remove this.oauthService.setStorage(localStorage) it is working fine as expected
can you please look into this issue asap

I have this issue too,  whilst debugging the issue, looks like when angular-oauth2-oidc configures the DefaultOAuthInterceptor it uses 'sessionStorage', ignoring the set storage 'localStorage', a work around is to register an interceptor manually

You could also (as a workaround) do this in you app module
...
    providers: [
    ...
       { provide: OAuthStorage, useValue: localStorage },
    ...
    ]
....

Thanks for this hint. I would consider this the official solution. setStorage is there only for legacy reasons to prevent breaking existing code. But using DI is the way to go.

You could also (as a workaround) do this in you app module
...
    providers: [
    ...
       { provide: OAuthStorage, useValue: localStorage },
    ...
    ]
....

You saved my day, thanks.


Header image (optional)

Description: Add image upload option to the study details view (study_photo_path field is already provided)

Already done for Project. Not required for studies


[OpenAI] Add sanitizer and ignore request body matcher

No more hard-coded boundary value but use UUID random generator to generate boundary randomly.
In order to pass the tests in PLAYBACK mode:
(1) Added HEADER sanitizer to sanitize the content-type header
(2) Added Request Bodiness matcher to ignore request body matching.
fixes: https://github.com/Azure/azure-sdk-for-java/issues/36982

API change check
API changes are not detected in this pull request.


Generated types are broken; wrongly extends @ethersproject/Contract

I've been upgrading my project from buidler to hardhat and with it all its plugins. However. I've found what seems to be an issue with typechain (which is invoked by they hardhat-typechain plugin).  I've tried using typechain cli directly and the error is still reproducible.
The generated typescript type definition files seem to be using a different version of the  @ethersproject/Contract API because the editor points out the incompatibility of the extended class. Here is an example:
...
export class BitsManipulationLibrary extends Contract {
  connect(signerOrProvider: Signer | Provider | string): this;
  attach(addressOrName: string): this;
  deployed(): Promise<this>;

  on(event: EventFilter | string, listener: Listener): this;
  once(event: EventFilter | string, listener: Listener): this;
  addListener(eventName: EventFilter | string, listener: Listener): this;
  removeAllListeners(eventName: EventFilter | string): this;
  removeListener(eventName: any, listener: Listener): this;

  interface: BitsManipulationLibraryInterface;

  functions: {
    int32SignExtension(
...

and if you follow the implementation of the Contract it is extending :
...
export declare class Contract {
    readonly address: string;
    readonly interface: Interface;
    readonly signer: Signer;
    readonly provider: Provider;
...

After I remove all the interface:  XYZInterface instances on the generated files, I get one more error for the usage of different Contract origins, and fixing it manually, both types of errors, is enough to make tests to run again.
This second error comes from the generated code:
import { Contract, Signer } from "ethers";
import { Provider } from "@ethersproject/providers";

import type { WorkerManager } from "./WorkerManager";

export class WorkerManagerFactory {
  static connect(
    address: string,
    signerOrProvider: Signer | Provider
  ): WorkerManager {
    return new Contract(address, _abi, signerOrProvider) as WorkerManager;
  }
}

in which this last line errors with:
Conversion of type 'Contract' to type 'WorkerManager' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
  Type 'Contract' is missing the following properties from type 'WorkerManager': addListener, acceptJob, "acceptJob()", cancelHire, and 19 more.ts(2352)

Changing the import is enough to fix it, as such:
import { Signer } from "ethers";
import { Provider } from "@ethersproject/providers";
import { Contract } from "@ethersproject/contracts";

Versions:
- nodeJS: v12.18.3
- typechain: 3.0.0

- @nomiclabs/hardhat-ethers: 2.0.0
- @nomiclabs/hardhat-waffle: 2.0.0
- @typechain/ethers-v5: 2.0.0
- ethereum-waffle: 3.1.2
- ethers: 5.0.19
- hardhat: 2.0.2
- ts-generator: 0.1.1
- ts-node: 9.0.0
- typescript: 4.0.3
- hardhat-typechain: 0.3.3

I can confirm that updating this project ethers dependency from 5.0.2 to latest 5.0.19 breaks the generated code.

Thanks, guys I will look into this.
Btw. I realized that ethers shouldn't be dependency for target package at all (only a peer dep).

So we found out that deleting the previous yarn.lock and running yarn again solved the issue. Maybe we can close this issue.

This was probably due to a mistake in target-ethers-v5 which had explicit dependency on ethers. Now we have example using newest ethers and everything works fine.
Released as new major version of target.
https://github.com/ethereum-ts/TypeChain/releases/tag/v4


Change project cache to case insensitive.

The issue happened when a user uploaded a project through our internal deployment with project name mismatched in case (e.g. expected was my_project, actual was MY_PROJECT). From the UI page, it showed the project was deployed successfully but the lastModifiedTime of the project was not updated. Also, the job properties sometimes disappeared. When the user ran the flow, it actually picked up the old project version.
We figured out that the root cause of these issues is the inconsistency between project cache and Mysql database. The project name key in project cache is case sensitive whereas in Mysql DB it's case insensitive by default. When the case of project name does not match, the project couldn't be found in project cache, but it could be found in DB. As a result, the project object returned was a new instance, and the original cache was not updated.
To fix the inconsistency issue, either we can change Mysql DB to case sensitive by changing the COLLATION, e.g.:
mysql> ALTER TABLE projects MODIFY name VARCHAR(64) CHARACTER SET utf8 COLLATE utf8_bin;
Or we can change project cache to case insensitive.
I've tried and verified that both can work properly. Since changing the COLLATION would involve creating index in DB, I would prefer changing the project cache instead. Besides, users wouldn't be allowed to create two projects with same letters but different cases, which remains the same behavior as of today.
I shared a document with more details in our internal ticket: LIHADOOP-34114
Also, I explicitly set Mysql DB to case insensitive and changed the H2 DB for unit tests to case insensitive as well.
For those who are using H2 DB for solo server, please note this change could cause potential problem if you already have two projects with different cases in DB. Please have additional check and update the case sensitivity for DB accordingly.

Some updates:
I've evaluated both projectsByName cache and projectsById cache, and submitted the fix for the existing project cache synchronization issue together in this PR.

When two users are creating new projects with the same name, only one of them will succeed and the other one will see "project already exists" error message.
When one user is removing the project while the other user is fetching the project, the correct project will be returned instead of null.

I like the detailed description.
Could you remove the references to terminologies that are internal to Linkedin so that the content is more readable to people outside Linkedin?
Your choice makes sense to me.
As discussed off-line, could you consider updating the DB schema to make the sorting order explicit and not relying on the default? I assume this will not trigger an index rebuilt since it will match the current default setting. Also do you plan to make a change to the H2 DB which you found has a different default?

@HappyRay Thanks for the comments!
I've submitted new PRs to explicitly set Mysql DB to case insensitive and change the H2 DB for unit tests to case insensitive. I've updated the change description as well.

We can only have DB case sensitive or case insensitive, so we don't have an ideal solution for everyone. No matter which solution we accept, one portion of users are affected. Is it possible that we add a method isDBCaseInsensitive in DataSource interface, so that it enforces a check if DB is case in-sensitive when webserver or executor starts. AZ could display a strking warning in the log if DB is identified to be case sensitive.
Regarding Synchronization issue in this PR, I don't have strong opinions on the choices. That would be great that we label/comment places where the race condition could happen. It will be greatly beneficial to the future development.

@kunkun-tang Thanks for the comments! It is possible that the entire DB is set to case insensitive but the specific columns or tables are case sensitive. I would suggest providing the info so that admins can check DB themselves and update according to their own case.

@HappyRay I've evaluated the project cache synchronization issue and submitted the changes in the same PR.

Thanks @chengren311 for pointing out in his earlier comment that we do have

Favor composition over inheritance.

in https://github.com/azkaban/azkaban/blob/master/CONTRIBUTING.md
The earlier attempt of extending the ConcurrentHashMap class violates both conditions that are mentioned in the referenced article.
http://thefinestartist.com/effective-java/16

Safe way to use inheritance
Where the subclass and the superclass implementations are under the control of the same programmers
When extending classes specifically designed and documented for extension

@HappyRay Do you have any other comments on this PR? Is it good to check in?


extension/php: detect language via shebang

Fixes #26580

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

Thanks for the contribution! This should be in the next insiders build and in VS Code 1.13


Update and rename gui.cpp to gui.java

Related issue = #
[Click here for the format server]

CodeScene Delta Analysis Results

Risk
10

Quality Gates
Fail

Description
Be careful with the change -- it degrades the code health.

Warnings
Low Code Health for new/renamed Modulesgui.java has a low code health score with 2.85.


Error 404 with predefined SSR path

I'm trying to add a new set of SSR pages alongside the SSG pages provided by the starter.  From a fresh starter install, a basic example is to add test/index.js to pages.
// test/index.js
const Test = ({ data }) => {

  return (

{JSON.stringify(data, null, 2)}

  )
}

export async function getServerSideProps() {
  const res = await fetch(`http://localhost:1337/pages/1`)
  const data = await res.json()

  return { props: { data } }
}
export default Test

Then configure a button to /test url. This will result in a 404 error. In development you can refresh to see the desired page at /test or directly navigate to the page. When deployed /test is always 404. I don't know if this is a Next.js issue or if has to do with how the starter is configured. Any help would be greatly appreciated. Thank you

Well of course localhost doesn't work in production. fetchAPI(/pages/1) is what I needed.


Object doesn't support property or method 'entries'

After running npm run dev the script throws an error in IE. The error is:

Object doesn't support property or method 'entries'

Referencing this line:
return Object.entries(mappedProps).map(function (_ref3) {
This is inherited by a dependency vue2-google-maps.
I removed node_modules from Mix's default exclude option. Here is my webpackConfig:
mix.webpackConfig({
    resolve: {
        symlinks: false
    },
    module: {
        rules: [
            {
                test: /\.jsx?$/,
                exclude: /(bower_components)/,
                use: [
                    {
                        loader: 'babel-loader',
                        options: mix.config.babel()
                    }
                ]
            }
        ]
    }
});

mix.js('resources/js/app.js', 'public/js')
    .extract()
    .polyfill({
        enabled: true,
        useBuiltIns: "usage",
        targets: {"firefox": "50", "ie": 11}
    })
    .sass('resources/sass/app.scss', 'public/css')
    .sass('resources/sass/pdf.scss', 'public/css')
    .version();

Why is Object.entries not getting polyfilled?

Changing the webpack.mix.js to just that single file still leaves Object.entries intact. Here is the raw file.
mix.js('node_modules/vue2-google-maps/src/components/mapElementFactory.js', 'public/js/el.js')
    .polyfill({
        enabled: true,
        useBuiltIns: "usage",
        targets: {"firefox": "50", "ie": 11}
    });

@Livijn can you add debug: true to the options and post the results.

@Livijn can you add debug: true to the options and post the results.

That doesn't change the output strangely enough.  Here is my full webpack.mix.js:
const mix = require('laravel-mix');
require('laravel-mix-polyfill');

mix.js('node_modules/vue2-google-maps/src/components/mapElementFactory.js', 'public/js/el.js')
    .polyfill({
        debug: true,
        useBuiltIns: "usage",
        targets: {"firefox": "50", "ie": 11}
    });

Actually, moving the same file node_modules/vue2-google-maps/src/components/mapElementFactory.js to a local folder, e.g. public/js/mapElementFactory.js works. Meaning, the Object.entries is getting polyfilled. So I tried adding this to my webpack.mix.js without any luck:
mix.webpackConfig({
    resolve: {
        symlinks: false
    },
    module: {
        rules: [
            {
                test: /\.jsx?$/,
                include: [
                    path.resolve('node_modules/vue2-google-maps'),
                ],
                exclude: /(bower_components)/,
                use: [
                    {
                        loader: 'babel-loader',
                        options: mix.config.babel()
                    }
                ]
            }
        ]
    }
});

@Livijn can you try the following with debug: true still present with .polyfill():
mix.webpackConfig({
    resolve: {
        symlinks: false
    },
    module: {
        rules: [
            {
                test: /\.jsx?$/,
                exclude: /(bower_components)/,
                use: [
                    {
                        loader: 'babel-loader',
                        options: Config.babel()
                    }
                ]
            }
        ]
    }
});

Using targets:
{
  "firefox": "50",
  "ie": "11"
}

Using modules transform: auto

Using plugins:
  transform-template-literals { "ie":"11" }
  transform-literals { "firefox":"50", "ie":"11" }
  transform-function-name { "firefox":"50", "ie":"11" }
  transform-arrow-functions { "ie":"11" }
  transform-classes { "ie":"11" }
  transform-object-super { "ie":"11" }
  transform-shorthand-properties { "ie":"11" }
  transform-duplicate-keys { "ie":"11" }
  transform-computed-properties { "ie":"11" }
  transform-for-of { "firefox":"50", "ie":"11" }
  transform-sticky-regex { "ie":"11" }
  transform-dotall-regex { "firefox":"50", "ie":"11" }
  transform-unicode-regex { "ie":"11" }
  transform-spread { "ie":"11" }
  transform-parameters { "firefox":"50", "ie":"11" }
  transform-destructuring { "firefox":"50", "ie":"11" }
  transform-block-scoping { "firefox":"50", "ie":"11" }
  transform-typeof-symbol { "ie":"11" }
  transform-new-target { "ie":"11" }
  transform-regenerator { "firefox":"50", "ie":"11" }
  transform-exponentiation-operator { "firefox":"50", "ie":"11" }
  transform-async-to-generator { "firefox":"50", "ie":"11" }
  proposal-async-generator-functions { "firefox":"50", "ie":"11" }
  proposal-object-rest-spread { "firefox":"50", "ie":"11" }
  proposal-unicode-property-regex { "firefox":"50", "ie":"11" }
  proposal-json-strings { "firefox":"50", "ie":"11" }
  proposal-optional-catch-binding { "firefox":"50", "ie":"11" }
  transform-named-capturing-groups-regex { "firefox":"50", "ie":"11" }

Using polyfills with `usage` option:

Hmm, now it actually seems to work.

If I comment out import * as VueGoogleMaps from 'vue2-google-maps'; the script works in IE 11. So it's still one dependency that is not getting polyfilled.

Same problem here.

Manually adding import 'core-js/modules/es7.object.entries' to the mapElementFactory.js solves it. But shouldn't babel detect the Object.entries and apply that import automatically?

@Livijn useBuiltIns: "usage" is experimental.
In some cases I think it may still be necessary to manually import.
(BTW: there are 2 issues open on the vue-google-maps repo about this problem.)

I'm closing this since it's not an issue regarding this repo.


Update Puppet Agent version

What: update the Puppet Agent package version, from 1.3.6 to 1.4.
Why: the new version available allows the execution of full featured services and avoid know bugs.
Done: when the command puppet --version shows the version as 4.4.0 (installed by the 1.4 package).

The gutocarvalho/centos7x64 was updated by @gutocarvalho with the agent new version, so this issue is solved.


arandr: Stop crashing when trying to open dialog boxes

Motivation for this change
arandr crashes if you try to do anything involving a dialog box:
https://github.com/NixOS/nixpkgs/pull/61216#issuecomment-493884859
This might fix it - It worked for me both before and after this change on my nix-on-ubuntu system.
I cargo-culted the $GSETTINGS_SCHEMAS_PATH stuff from https://github.com/NixOS/nixpkgs/pull/26614/files , but I'm unsure if the icon stuff needs to come across also.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[X] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

I suggest doing the following
diff --git a/pkgs/tools/X11/arandr/default.nix b/pkgs/tools/X11/arandr/default.nix
index 5baba117157..00c1563872b 100644
--- a/pkgs/tools/X11/arandr/default.nix
+++ b/pkgs/tools/X11/arandr/default.nix
@@ -1,4 +1,7 @@
-{ stdenv, fetchurl, gobject-introspection, gtk3, xrandr, python3Packages }:
+{ stdenv, fetchurl, python3Packages
+, gobject-introspection, gsettings-desktop-schemas, gtk3
+, xrandr, wrapGAppsHook
+}:

 let
   inherit (python3Packages) buildPythonApplication docutils pygobject3;
@@ -17,14 +20,10 @@ in buildPythonApplication rec {
   # no tests
   doCheck = false;

-  buildInputs = [ docutils ];
-  nativeBuildInputs = [ gobject-introspection gtk3 ];
+  buildInputs = [ docutils gsettings-desktop-schemas gtk3 ];
+  nativeBuildInputs = [ gobject-introspection wrapGAppsHook ];
   propagatedBuildInputs = [ xrandr pygobject3 ];

-  makeWrapperArgs = [
-    "--set GI_TYPELIB_PATH $GI_TYPELIB_PATH"
-  ];
-
   meta = {
     homepage = http://christian.amsuess.com/tools/arandr/;
     description = "A simple visual front end for XRandR";

wrapGAppsHook exists for this purpose.

wip docs that we really should merge

Thank you, I've switched the package to wrapGAppsHook. I had to put gobject-introspection into buildInputs to make it launch, is that the correct place for it?

Thank you, I've switched the package to wrapGAppsHook. I had to put gobject-introspection into buildInputs to make it launch, is that the correct place for it?

:sparkles: Great.
And no this is actually part of the ongoing issue in https://github.com/NixOS/nixpkgs/issues/56943. We just need to disable strictDeps for now like (https://github.com/lzhang10/nixpkgs/commit/a995db655b52eea7aafa7b0ebfbe124e69e4e1ae)
be sure to link to the issue for easy cleanup when it actually gets fixed

Tested on NixOS: this seems to work (open/save dialog boxes do not crash).
There is still this warning (missing dconf?):

GLib-GIO-Message: 12:12:52.188: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.

Thanks.

So why does gsettings-desktop-schemas go to buildInputs but gobject-introspection go to nativeBuildInputs? I checked the documentation about these variables but bounced off it.

Thanks worldofpeace. Try this one.
(All I wanted was to help a revbump patch along! D:)

Thanks for your help @worldofpeace . I don't have merge privs though.

Thanks for your help @worldofpeace . I don't have merge privs though.

Oh, sorry I thought I merged this. Will do that.


Fix latency tracing; Support batch_size > mini_batch_size; Support gradient accumulation

WANDB log showing that things are working fine (especially the rollouts) with B=64, MB=32, grad_acc=2
https://wandb.ai/liujch1998/n-Tulu-PPO-Jax/runs/train_v2.2.1_v2.2_debugging_t256_m1x32x8_b64_mb32_g2--20fdca63358140e6b618373537bda962
Latency tracing: ppo_total is everything for a batch, it is equal to ppo_rollout plus everything else (forward, backward, optimizer step ...)

Deprecating this PR, moving things to https://github.com/hamishivi/EasyLM/pull/19


feat: prototype localnet

start local hardhat node and worker which deploys evm/zevm contracts and listen to Call/WithdrawAndCall/Deposit events
yarn localnet

also, adding 4 hardhat tasks to interact with localnet (we can add more in follow up PRs if needed):
npx hardhat zevm-call --network localhost
npx hardhat zevm-withdraw-and-call --network localhost
npx hardhat evm-call --network localhost
npx hardhat evm-deposit-and-call --network localhost

Summary by CodeRabbit

New Features

Added tasks to interact with prototype contracts on a local network, facilitating cross-environment calls and asset management.

Refactor

Renamed various entities to accurately reflect the specific SenderZEVM contract being referenced, enhancing code clarity and maintainability.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 58.65%. Comparing base (4ee9023) to head (d784b8e).

Additional details and impacted files
@@               Coverage Diff                @@
##           init-prototypes     #202   +/-   ##
================================================
  Coverage            58.65%   58.65%
================================================
  Files                   31       31
  Lines                 1052     1052
  Branches               206      249   +43
================================================
  Hits                   617      617
  Misses                 435      435

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

start localnet (these 2 commands in 2 separate terminals so you can follow logs)
yarn localnode
yarn localnet

What is exactly localnet if localnode represent the Hardhat node? Couldn't we think about merging both?

Do I understand correctly that this essentially deploys protocol contracts to a chain running locally managed by Hardhat. Then it monitors existing connected blockchains like Sepolia for incoming transactions (acting sort of like zetaclient, but without voting and consensus) and processes these calls by calling universal apps on this chain that's running in Hardhat.

I get this error when starting localnet:
[NODE] <--- JS stacktrace --->
[NODE]
[NODE] FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
[NODE]  1: 0x1026f2984 node::Abort() [/Users/lucas/.nvm/versions/node/v16.20.2/bin/node]
[NODE]  2: 0x1026f2b74 node::ModifyCodeGenerationFromStrings(v8::Local<v8::Context>, v8::Local<v8::Value>, bool) [/Users/lucas/.nvm/versions/node/v16.20.2/bin/node]
[NODE]  3: 0x1028356e8 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/Users/lucas/.nvm/versions/node/v16.20.2/bin/node]
[NODE]  4: 0x1028356ac v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/Users/lucas/.nvm/versions/node/v16.20.2/bin/node]
[NODE]  5: 0x1029b74d4 v8::internal::Heap::GarbageCollectionReasonToString(v8::internal::GarbageCollectionReason) [/Users/lucas/.nvm/versions/node/v16.20.2/bin/node]
[NODE]  6: 0x1029b5f70 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/Users/lucas/.nvm/versions/node/v16.20.2/bin/node]
[NODE]  7: 0x1029c173c v8::internal::Heap::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/Users/lucas/.nvm/versions/node/v16.20.2/bin/node]
[NODE]  8: 0x1029c17d0 v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/Users/lucas/.nvm/versions/node/v16.20.2/bin/node]
[NODE]  9: 0x102993e10 v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/Users/lucas/.nvm/versions/node/v16.20.2/bin/node]
[NODE] 10: 0x102cd96c8 v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/Users/lucas/.nvm/versions/node/v16.20.2/bin/node]
[NODE] 11: 0x102fef8ec Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit [/Users/lucas/.nvm/versions/node/v16.20.2/bin/node]
[NODE] 12: 0x107eb3b70

Then on worker (but I assume it's related to node failing)
[WORKER] Failed to deploy contracts or set up listeners: Error: read ECONNRESET
[WORKER]     at TCP.onStreamRead (node:internal/stream_base_commons:217:20) {
[WORKER]   errno: -54,
[WORKER]   code: 'ECONNRESET',
[WORKER]   syscall: 'read'
[WORKER] }

@lumtis I was getting the same error, then switched to nodejs v20 it was gone.

@fadeev I think this makes sense if you can review this one

thanks for review, I fixed the comments, except hardhat plugin part, maybe we can discuss that and research options

For the cleaned up log, is there maybe a solution, like a flag, to just show the WORKER logs?

This is really cool! A few thoughts.
Should this eventually move into a separate repo? Pros: we don't mix tools and protocol contracts, we don't have to explicitly exclude this code from the audit. Cons: slower iterations as protocol contracts live in one repo, localnet lives in a different repo.
Package localnet as a Hardhat task that can be imported either by the toolkit or directly by the template, so that it can be distributed a bit more easily.
Should we find a different name for this? This feels more like a simulation rather than a local network.

Would it make sense to start testing this with the examples we have in the example-contracts repo?

This is really cool! A few thoughts.
Should this eventually move into a separate repo? Pros: we don't mix tools and protocol contracts, we don't have to explicitly exclude this code from the audit. Cons: slower iterations as protocol contracts live in one repo, localnet lives in a different repo.
Package localnet as a Hardhat task that can be imported either by the toolkit or directly by the template, so that it can be distributed a bit more easily.
Should we find a different name for this? This feels more like a simulation rather than a local network.

thanks for review - i would say currently this can help us speed up development as we work on v2 contracts so until its in development phase i would say it is beneficial to stay in same repo as it would evolve with contracts
later we can discuss moving it and packaging it differently
@lumtis what do you think?

Yeah, I would tend toward keep the main command in this repo as being part of the development workflow and provide a packaged plugin or so reusable in a utility


ADD COLUMN documentation

Fixes #934

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/bbff4c3e378d22aa12b18e36fcb25075ba677a21/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/0b60bd4aedd5594fe6a511170c3b7c066a7f2796/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/a6482b9583dd60ad20191f410cafe86f911c4166/

Thanks for getting this started, @Amruta-Ranade! I'll review in the morning.

Really solid, @Amruta-Ranade. Lots of feedback here, but it's just small stuff. I think that structurally you totally nailed it!
Two things here about the pull request itself:

The first comment of the PR should include a comment that closes the related issue; in this case, "Closes #934"
Just to make sure it's clear, you'll want to fix your commit messages before we merge this. I have a document I wrote that should help you do that  in this GitHub Gist. I mention it only because I didn't know how to do this initially :)

Review status: 0 of 1 files reviewed at latest revision, 14 unresolved discussions, some commit checks failed.

add-column.md, line 26 at r3 (raw file):
Previously, jseldess (Jesse Seldess) wrote…
A few nits:

column-level constraints
column family assignment

nit: I prefer "or" to "and/or".  It's simpler and implies the same thing.

add-column.md, line 74 at r3 (raw file):

~~~

### Add a Non Null Column with a Default Value

'Non Null' should be hyphenated

add-column.md, line 110 at r3 (raw file):

### Add a Column Using CREATE IF NOT EXISTS FAMILY

Use the CREATE IF NOT EXISTS FAMILY keyword to assign a new column to an existing family or, if the family doesn’t exist, to a new family. For example, the following would assign the new column to the existing family f1; if that family didn’t exist, it would create a new family and assign the column to it:

Mentions of keywords should be wrapped in code formatting, i.e. backticks (`)

Comments from Reviewable

Reviewed 1 of 1 files at r3.
Review status: all files reviewed at latest revision, 14 unresolved discussions, some commit checks failed.

Comments from Reviewable

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/2fc2dee5b8f1d7f6b11b75293a327c65321ffdaa/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/f20e676f0a5e31ae964640a735e4479cd4271af3/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/9433f79e5333c0909d46060718fce0e4f065784b/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/5152be85d55778ce090eb2c7aa257b15df9494ed/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/c380eaa1c93f128ce852ccf3b8e5fcaabc5cdc98/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/541987baef08ca22201afdc4f51e6ea0824fcf93/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/541987baef08ca22201afdc4f51e6ea0824fcf93/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/541987baef08ca22201afdc4f51e6ea0824fcf93/

@benesch, to get this PR merged, do we need to wait until your PR is merged, then rebase this and rerun TeamCity?

I've (hopefully) adjusted TeamCity to work with and without my PR, so this should go green shortly.

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/541987baef08ca22201afdc4f51e6ea0824fcf93/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/541987baef08ca22201afdc4f51e6ea0824fcf93/

Tests are now great (thanks, @benesch!), and the page looks great, so I'm merging. Thanks for the first PR, @Amruta-Ranade! Let's chat about a next issue to take on, when you're up for that.


add post_dispatch

Closes #3227

Looks good but maybe wait until some last changes in #3213 are included and integrate them in? Namely:

call: &Self::Call is added as an argument to the Api.
Consequently, info is not really needed anymore since Call can carry it around.

looks good; will need to define type Pre = (); for every impl of SignedExtension.


Getting Compile Error - pub get failed (1; So, because <#projectx> depends on both flutter_localizations any from sdk and l10n ^1.4.0, version solving failed.)

I recently updated flutter to v1.12 and tried to compile the code using,
flutter build ios
I am getting 'Compilation Error' with
Because no versions of l10n match >1.4.0 <2.0.0 and l10n 1.4.0 depends on intl ^0.15.0, l10n ^1.4.0 requires intl ^0.15.0.
And because every version of flutter_localizations from sdk depends on intl 0.16.0, l10n ^1.4.0 is incompatible with flutter_localizations from sdk.
So, because <#projectx> depends on both flutter_localizations any from sdk and l10n ^1.4.0, version solving failed.
Running "flutter pub get" in Source...
pub get failed (1; So, because <#projectx> depends on both flutter_localizations any from sdk and l10n ^1.4.0, version solving failed.)
I am getting same error when I try to run build apk.
Where is the flutter doctor log
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.15.1 19B88, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.41.1)
[!] Connected device
! No devices available
! Doctor found issues in 1 category.

Hi @starman-karthik
Try to use the last version of intl
dependency_overrides:
  intl: ^0.16.1

Does it help to you?
Thank you

Hi @VladyslavBondarenko ,
I tried changing the dependency, error still exists,
Because l10n >=1.4.0 depends on intl ^0.15.0 and every version of flutter_localizations from sdk depends on intl 0.16.0, l10n >=1.4.0 is incompatible with flutter_localizations from sdk.
So, because <#projectx> depends on both flutter_localizations any from sdk and l10n ^2.0.19, version solving failed.
Running "flutter pub get" in Source...
pub get failed (1; So, because <#projectx> depends on both flutter_localizations any from sdk and l10n ^2.0.19, version solving failed.)
Here is the list of dependencies I have in my project,
dependencies:
  flutter:
    sdk: flutter
  flutter_localizations:
      sdk: flutter
  connectivity: ^0.4.0
  device_info: ^0.3.0
  package_info: ^0.3.2
  flutter_email_sender:
    path: plugins/flutter_email_sender-master
  http: ^0.12.0+1
  http_parser: ^3.1.3
  l10n: ^2.0.19
  intl_translation: ^0.17.8
  shared_preferences: ^0.4.3
  json_annotation: ^2.0.0
  sqflite: ^0.13.0
  flutter_markdown: ^0.2.0
  dio: ^1.0.13
  simple_permissions: ^0.1.9
  cached_network_image:
    path: plugins/cached_network_image-0.5.1
  local_auth: ^0.6.1
  store_redirect: ^1.0.1
  url_launcher: ^4.0.3
  version: ^1.0.3
  location: ^1.4.1
  flutter_webview_plugin: ^0.3.0+2
  flutter_secure_storage: ^3.1.2
  image_picker_saver:
    path: plugins/image_picker_saver-master
  vibrate: ^0.0.4
  auto_size_text: ^0.2.2
  google_maps_flutter: ^0.0.3+3

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2
  uuid: ^1.0.3
  geocoder:

  flutter_cupertino_date_picker: ^0.3.0
  flutter_masked_text: ^0.7.0
  firebase_dynamic_links: ^0.5.0
  firebase_messaging: ^5.1.2
  path_provider: ^0.4.1
  screen: ^0.0.4
  camera:
    path: plugins/camera-master
  firebase_analytics: ^4.0.2
  flutter_crashlytics: ^0.2.1
  latlong: ^0.6.1
  flutter_card_io:
    path: plugins/flutter_card_io-master
  orientation:
    path: plugins/orientation-master
  native_device_orientation: ^0.1.2
  share: ^0.6.0+1
  ios_device_check: ^0.1.2

dev_dependencies:
  flutter_test:
    sdk: flutter
  build_runner: ^1.0.0
  json_serializable: ^2.0.0

Hi @Kar7h1k
Can you please try?
dependency_overrides:
  intl: any

Thank you

Hi @Kar7h1k @starman-karthik
Can you please try?
dependency_overrides:
  intl: any

Does this solves your problem?
Thank you

Worked For me. thanks.

`name: ----
description: A new Flutter project.
publish_to: "none"
version: 1.0.0+1
environment:
sdk: ">=2.7.0 <3.0.0"
dependencies:
flutter_localizations:
sdk: flutter
flutter:
sdk: flutter
fluro: "^1.6.3"
lottie: ^0.6.0
path_provider: ^1.6.18
smooth_page_indicator: ^0.2.0
material_design_icons_flutter: 4.0.5655
flutter_icons: ^1.1.0
flutter_rating_bar: ^3.0.1+1
modal_bottom_sheet: ^0.2.2
flutter_clean_calendar: ^1.0.2+1
date_util: ^0.1.4
flutter_animator: ^2.1.0
timeago: ^2.0.27
bubble: ^1.1.9+1
flutter_switch: ^0.1.2
carousel_slider: ^2.3.1
flutter_dash: ^0.0.1
dynamic_theme: ^1.0.0
flutter_screenutil: ^3.2.0
google_fonts: ^1.1.1
flutter_svg: ^0.17.4
salomon_bottom_bar: ^2.0.0
shared_preferences: ^0.5.12+4
flutter_launcher_icons: ^0.8.1
intl: any
cupertino_icons: ^1.0.0
dev_dependencies:
flutter_native_splash: ^0.1.9
flutter_test:
sdk: flutter
flutter:
uses-material-design: true
To add assets to your application, add an assets section, like this:
assets:
- assets/anims/healthanim.json
flutter_intl:
enabled: true
`
Hi, this is my pubspec.yaml I also found a similar issue tried changing the intl version but didn't work.

Because no versions of flutter_clean_calendar match >1.0.2+1 <2.0.0 and flutter_clean_calendar 1.0.2+1 depends on intl ^0.16.1, flutter_clean_calendar ^1.0.2+1 requires intl ^0.16.1.
And because every version of flutter_localizations from sdk depends on intl 0.17.0-nullsafety.2, flutter_clean_calendar ^1.0.2+1 is incompatible with flutter_localizations from sdk.
So, because doctor_finder depends on both flutter_localizations any from sdk and flutter_clean_calendar ^1.0.2+1, version solving failed.
pub get failed (1; So, because doctor_finder depends on both flutter_localizations any from sdk and flutter_clean_calendar ^1.0.2+1, version solving failed.)

`name: ----
description: A new Flutter project.
publish_to: "none"
version: 1.0.0+1
environment:
sdk: ">=2.7.0 <3.0.0"
dependencies:
flutter_localizations:
sdk: flutter
flutter:
sdk: flutter
fluro: "^1.6.3"
lottie: ^0.6.0
path_provider: ^1.6.18
smooth_page_indicator: ^0.2.0
material_design_icons_flutter: 4.0.5655
flutter_icons: ^1.1.0
flutter_rating_bar: ^3.0.1+1
modal_bottom_sheet: ^0.2.2
flutter_clean_calendar: ^1.0.2+1
date_util: ^0.1.4
flutter_animator: ^2.1.0
timeago: ^2.0.27
bubble: ^1.1.9+1
flutter_switch: ^0.1.2
carousel_slider: ^2.3.1
flutter_dash: ^0.0.1
dynamic_theme: ^1.0.0
flutter_screenutil: ^3.2.0
google_fonts: ^1.1.1
flutter_svg: ^0.17.4
salomon_bottom_bar: ^2.0.0
shared_preferences: ^0.5.12+4
flutter_launcher_icons: ^0.8.1
intl: any
cupertino_icons: ^1.0.0
dev_dependencies:
flutter_native_splash: ^0.1.9
flutter_test:
sdk: flutter
flutter:
uses-material-design: true
To add assets to your application, add an assets section, like this:
assets:
- assets/anims/healthanim.json
flutter_intl:
enabled: true
`
Hi, this is my pubspec.yaml I also found a similar issue tried changing the intl version but didn't work.

Because no versions of flutter_clean_calendar match >1.0.2+1 <2.0.0 and flutter_clean_calendar 1.0.2+1 depends on intl ^0.16.1, flutter_clean_calendar ^1.0.2+1 requires intl ^0.16.1.
And because every version of flutter_localizations from sdk depends on intl 0.17.0-nullsafety.2, flutter_clean_calendar ^1.0.2+1 is incompatible with flutter_localizations from sdk.
So, because doctor_finder depends on both flutter_localizations any from sdk and flutter_clean_calendar ^1.0.2+1, version solving failed.
pub get failed (1; So, because doctor_finder depends on both flutter_localizations any from sdk and flutter_clean_calendar ^1.0.2+1, version solving failed.)


Container checksum fixes

Fixes # .
Changes proposed in this PR:

changed the way container checksum is calculated
updated the order of c2d assets orders are done in start compute job
updated our default supported container images tags and checksums (this is temporary till we merge the PR related to putting the back the docker hub proxy in the publish form that will be used to dynamically fetch the digest for both default and custom docker hub images based)

I keep getting "Error initializing provider for the compute job!"
https://user-images.githubusercontent.com/13741335/180417355-52ac72af-c4c0-4e9e-a156-162c5788d234.mp4
On the network I see: error: "Error in input at index 0: filesChecksum for algorithm with did did:op:6f7c42b5a6e2ed2d2eb957c4f8f5a54ba99a1fd2209364c909cf929762c872d6 does not match"

I keep getting "Error initializing provider for the compute job!"
testing_computation.-.Ocean.Market.-.22.July.2022.mp4
On the network I see: error: "Error in input at index 0: filesChecksum for algorithm with did did:op:6f7c42b5a6e2ed2d2eb957c4f8f5a54ba99a1fd2209364c909cf929762c872d6 does not match"

Is the algo you are testing an old asset ? Unfortunately you need to publish a fresh algorithm so the checksums from assets metadata match the ones calculated by the provider


Do not throw error when returning null component.

Hi,
Right now, if I pass a component which can return null to react container query, I get an error saying it can not get clientWidth of null. Since returning null component is perfectly valid in React, could this case be catched in the library ?
A workaround for now is to return .
Thanks !

Thanks for reporting. I'm in the middle of refactoring this library to be more performant. Once that's done, I will address this issue ASAP!

Thanks for your quick answer :) Do you have any ETA for the refactoring ?

Hi, please check out 0.5.0 release! This should be fixed. You can reopen this if it still doesn't work.


worker nodes ip's limit due to ENI limit

I have issues
there is a limit on the max ip's per ENI (30)
currently the workers has only one network interface (ENI)
how do we add more ENI to the workers?
I'm submitting a...

[x ] bug report
[ ] feature request
[x ] support request
[ ] kudos, thank you, warm fuzzy

What is the current behavior?
30 ip's limit per worker
If this is a bug, how to reproduce? Please include a code sample if relevvant.
What's the expected behavior?
Are you able to fix this problem and submit a PR? Link here if you have already.
Environment details

Affected module version:
OS:
Terraform version:
0.11.8

Any other relevant info

You just change the instance type in your worker group map.

we are using m5.4xlarge it has 30 ip's per ENI
we have reached that limit so we need to add more ENI
how do i do that with EKS terraform module?


None of this matches Visual Studio 2022 for Mac

None of these screen shots match what I see in the just released VS 2022 for Mac Release.   The menu items are not the same, the screenshots are not the same.  Nor can I figure out how to do this very simple task of setting up a GitHub repo with Visual Studio for Mac.
[Enter feedback here]

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 606d4c70-3daf-8b03-9c31-b690927a7136
Version Independent ID: 24a13aaf-3d14-c810-182c-2c2d93fc299b
Content: Setting up a Git Repository - Visual Studio for Mac
Content Source: mac/set-up-git-repository.md
Product: visual-studio-mac
Technology: vs-ide-general
GitHub Login: @jmatthiesen
Microsoft Alias: jomatthi

@ztrv -- thank you for your feedback.  Please consider these resources:

Visual Studio on Microsoft Q&A
Visual Studio MSDN Forum
Stack Overflow
Reddit

@jmatthiesen -- please look into this issue.

@ztrv  - thank you for the feedback, this page has been updated to reflect the latest Visual Studio 2022 for Mac release.
https://docs.microsoft.com/en-us/visualstudio/mac/set-up-git-repository?view=vsmac-2022
#please-close


TAJO-1583: Remove ServerCallable in RPC client

This patch requires TAJO-1563

Travis maven version is 3.3.1. it needs JDK 1.7.

Nice work!
I left trivial comments and a question.

Thank you for the review!
I've update the PR that reflects your comments

+1 thanks for quick fix!

@jihoonson
I missed the HA. If master address is changed. client should newly create.
When I refactor the HA, I will improve the synchronization

@jinossy, you are right. It is currently required for HA of master.
+1 ship it!


RFC: Lowering max_depth

In a fresh untouched system the default Kint::$max_depth of 7 is perfectly fine. In larger custom-built solutions 6 is more appropriate. In the behemoths typical of popular PHP projects you might want 5.
Given that Kint now provides access paths, debugging further (without disabling the depth limit) is easier than ever.
This RFC asks what the max_depth should be by default. I'm leaning towards 6.
Vote with :+1:

5

6

7 (Current)

Looks like no-one cares. 6 it is!


Fix examples in the docs

Examples in the docs doesn't work because put_assoc/4 expects a changeset as a first argument.

:heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart:


Add slide for next/previous article in article view and some tweaks for mobile browsing

Hi,
this may be in conflict with an other pull request but I've added slide gesture for next/previous article
I've changed the position of the bottom bar with next/previous link to a fixed position in order to always have these button at hand.
The link itself is bigger too as it was sometimes difficult to click on it on the phone

I merged the previous PR that implement double-tap for navigation. Looks like there are few glitches when testing yours on iPhone.

Closing stale PR.


Property 'webpackHot' does not exist on type 'ImportMeta'

Bug report
What is the current behavior?
Running a typescript type check fails with the error Property 'webpackHot' does not exist on type 'ImportMeta'.
Steps to reproduce (I think)
In package.json I have "type": "module".
In webpack.config.js I have hot: true.
In tsconfig.json I have "module": "nodenext" and "moduleResolution": "nodenext".
The place where it breaks is after following the official documentation setup:
// @ts-expect-error
if (import.meta.webpackHot) {
  // @ts-expect-error
  import.meta.webpackHot.accept()
}

Then running tsc --emitDeclarationOnly on the codebase breaks the above import.meta.webpackHot and gives the above error.
What is the expected behavior?
I am not sure what is wrong here, but I would expect that webpack should have a type for it.  The documentation shows to use it like above so I'm not sure why typescript says it doesn't exist.
Note:
Webpack still seems to work fine, and the hot reloading actually works just fine, it seems like a false error, purely type related.  However it is breaking my lint-staged type check which is annoying so for now I've let typescript ignore the code using @ts-expect-error.
Other relevant information:
webpack version:  5.73
Node.js version: 18
Other tools being used: react-refresh

I think you need to use this https://www.typescriptlang.org/docs/handbook/triple-slash-directives.html#-reference-path-

https://github.com/vankop/webpack-api-types maybe there is more efficient way to reference dts file


Make room for the pipe path name to have it null terminated

fixes #4497

The sanitizers-macos checks are currently broken on v1.x

The sanitizers-macos checks are currently broken on v1.x

Refs: https://github.com/libuv/libuv/issues/4368

I got confused by the convention for defining the value of *size. This PR is not needed.


Create Multifaceted Tokyo

please follow meta standard

@MillHaus33
Thanks for your comment.
Maybe the indent is different, so I fixed.
Is there any problem?

use trait type and value instead of description

@MillHaus33
Oh thanks, I fixed it. Please check it out🙇♂


Initialize task error value to zero when creating the TCB of a new task

Describe the bug
When creating a new task, the task error value is not initialized to zero. The variable pxNewTCB->iTaskErrno will end up taking what was in the memory address where it is located.
The fix is to initialize the TCB error value during initialization. Here is a suggested fix to the bug:
the following function is located in tasks.c file:
static void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
                                  const char * const pcName, /*lint !e971 Unqualified char types are allowed for strings and single characters only. */
                                  const uint32_t ulStackDepth,
                                  void * const pvParameters,
                                  UBaseType_t uxPriority,
                                  TaskHandle_t * const pxCreatedTask,
                                  TCB_t * pxNewTCB,
                                  const MemoryRegion_t * const xRegions )
{
    StackType_t * pxTopOfStack;
    UBaseType_t x;

    // My code starts here.
    #if ( configUSE_POSIX_ERRNO == 1 )
        {
            /* Initialize task error value to zero. */
            pxNewTCB->iTaskErrno = 0;
        }
    #endif
    // My code ends here.
    .
    .
    .

The bug was observed after making FreeRTOS uses dynamic allocation in the heap.

Hey, would you be willing to open a PR to fix this bug? If, not we can make the PR; let us know what you would prefer.

I could not push the PR, permission denied, I have to configure git, you can open the PR, thanks :)

As described on this post, it is not a bug. I am closing this issue. Let us continue the discussion on the forum to keep it in one place.