text:
Operations report - weekly withdrawal and/or data destruction trends

Requestor(s): Amelia Roberts and Kaitlyn Mazzilli
Table or Figure title: Weekly Counts of Withdrawals and Rates by Invitations Through DATE Overall
Weekly Counts of Withdrawals and Rates by Invitations Through DATE SITE
Metrics to be updated or created: Weekly Operations Report
Variables needed (include variable name and Concept ID):  Date withdrew consent (659990606) and Date requested data destroyed (269050420)
Specify numerator and denominator by variable name where applicable:
Mock-up table if applicable:
Notes:
We would like to add time trend plots to the operations report, one overall, and the rest by site (so 10 figures total) of withdrawal  request counts and rates by invitations per week. We are interested in seeing one trend line of the counts of people who either requested withdrawal AND/OR have data destruction. This is because participants who request withdrawals with data destructions do not have a timestamp under withdraw, they have a timestamp under data destruction. We would like to have one line for the counts and a second line on the same figure for the rates where rate=N withdrawals/ N invitations.
Approved by: Michelle Brotzman

@kmazzilli for this plot, the data destruction and consent withdrawal should be the new or cumulative cases by week? also what is the rate by Invitation? will you mean the response rate (cumulative verified/accumulative active invited), cumulative one, right? See below (the table and plot of HP)

Starting Date by week
new case. Data destruction
new cases. Withdrawal Consent
cumulative response
data destruction.cum
consent.cum

4/3/23
0
0
8.96078724
7
23

4/10/23
0
1
8.657268
7
24

4/17/23
1
1
8.66250411
8
25

4/24/23
1
2
8.84659163
9
27

5/1/23
0
0
8.84664595
9
27

5/8/23
0
2
8.7322798
9
29

5/15/23
1
3
8.65726344
10
32

5/22/23
0
0
8.54469081
10
32

5/29/23
0
0
8.4178861
10
32

6/5/23
0
0
8.3521113
10
32

6/12/23
0
1
8.37222458
10
33

6/19/23
0
2
8.40072694
10
35

6/26/23
0
1
8.46045941
10
36

7/3/23
0
1
8.44664718
10
37

7/10/23
0
2
8.48527062
10
39

7/17/23
1
5
8.40739565
11
44

7/24/23
0
1
8.34871558
11
45

7/31/23
0
2
8.43063379
11
47

8/7/23
1
1
8.43473852
12
48

8/14/23
0
2
8.43598226
12
50

8/21/23
0
0
8.4029299
12
50

8/28/23
0
0
8.34776815
12
50

Hi @jeannewu the withdrawal+data destruction counts should be new cases in that week, not cumulative. For the rate, this is a new rate, which would be (number of withdrawals/number of invitations).

@kmazzilli thank you very much for your response and clarification on this new rate. And is the number of invitation a cumulative one by week or new cases of invitations by week? And can we make the unit of the rate as "/1000" because their ratio might be much smaller than 0.01?

Hi @jeannewu for the number of invitations, we would like to see the invitations for that week. For the unit, I think that should be fine, thanks!

@kmazzilli sorry to bother you again. The refusal and withdrawal variables are a set of hierarchical variables: 22 out of 186 participants with withdrawal consent: d_747006172 requested data destructions (d_83104102) in the participants table(09052023). So for this refusal and rate plot, will you need me to create a time trend plot (two curves) for (new cases of withdrawal consent( d_747006172) and their rate/new invitations by week, or plus the new cases of data destructions by week also?

@jeannewu no worries, so when a participant selects data destruction, it is a hierarchical choice, meaning that it automatically also triggers withdrawal. In a situation where a participant only selects withdrawal, but not data destruction, there is a timestamp captured for their withdrawal. Participants who request data destructions do not have a timestamp under withdraw (even though they are withdrawing), instead the timestamp shows up under data destruction only. We want to gauge how many people withdrew total: which means we need to assess who only selected withdrawal AND those who selected data destruction, since both situations count as a withdrawal. So, we would like to see one combined count for people who selected withdrawal or data destruction in one curve. And then we would like a second curve on the same graph for the rate of those same counts by invitation, so ((number of weekly withdrawals+destructions)/(number of weekly invitations)). Thank you, let me know if you have more questions.

@kmazzilli got it. Thank you very much for your clear explanation. So the plot should be included with two curves(data destructions, and its rate given by the # new cases of invitations by week.

Will we be able to distinguish the number of data destructions from the number of withdrawals on the curve if we do it this way? I think we need withdrawal without data destruction (one curve) and with withdrawal with data destruction (second curve).

@brotzmanmj Great. Got it.

@kmazzilli May you please let me know what order of this set of plots are in the weekly report? Are they after the time trend plots of verification activities (request 66) as a set of Fig5? Thanks a lot

@kmazzilli I put these plots after the Fig4 (for the request66) in the weekly report I sent to you and Amelia this Monday to check. Because the refusal and withdrawal cases are quite few in contrast to the invitations by week, the ratio of refusal+ withdrawal over the invitation is calculated as # cases per 1K invitations by week. If possible, may you please review these set of plots? Thanks a lot.

Hi @jeannewu thanks for doing this and for checking in! Sorry for the delay. We took a look, and we have some feedback:

We would actually like to remove the rate of cases/invitations off of the graph completely.
We would like to also remove the right y-axis.
The label on the left y-axis could read "# of withdrawals and data destruction requests".
For the orange curve, can the label say "Withdrawals only"? And for the red curve "Data destruction only"?

We would like to add 3 cumulative plots as well:

The x axis would be time, the y axis would be the # of cumulative withdrawals and data destruction requests.

On this plot, we would like to see two trend lines. One for (#of withdrawals/# verified participants), the second for (#of data destructions/#verified participants).

We would like 3 of these plots total, one plot for all sites combined and then 2 additional plots for 2 groups of sites. Group 1 would be the KPs and University of Chicago. Group 2 would be the remaining four sites, HP, HFH, SF, MF.

All of these plots could be moved down to after Table 33 and before Table 34.

Thank you!

Thank you very much for your comments @kmazzilli . I will update the plots without the ratio and add these three new cumulative ones by overall, KP sites total, non-KP sites total between Table 33 and Table 34. Should these updates be shown in the next week's weekly report, or later when they are finally reviewed and approved ?

To clarify in your comment above: the 3 cumulative plots are overall, KP sites plus University of Chicago, and then the four remaining sites, HP, HFH, SF, MF. These updates don't need to go in the next weekly report, and we can wait to add once we have reviewed and approved. Thanks so much!

@kmazzilli Thanks for your prompt corrections. So the UoC would be added to the KP sites. And what is the plot title of these three plots?

@jeannewu that's correct, thank you for clarifying. For these three the titles can read:

Overall title: Cumulative Withdrawals and Data Destructions by Number of Verified Participants Through DATE Overall
Group 1 title: Cumulative Withdrawals and Data Destructions by Number of Verified Participants Through DATE KPs and UChicago
Group 2 title: Cumulative Withdrawals and Data Destructions by Number of Verified Participants Through DATE HP, HFH, SF, MF

That reminds me that for the weekly plots, we can change the titles now that we have removed the rates to:

Weekly Counts of Withdrawals and Data Destruction Requests Through DATE Overall
Weekly Counts of Withdrawals and Data Destruction Requests Through DATE SITE

Great. Thanks @kmazzilli

@kmazzilli Sorry to bother you again. I have a question on the cumulative plots of refusal withdrawals and data destruction plots. As you requested above: "On this plot, we would like to see two trend lines. One for (#of withdrawals/# verified participants), the second for (#of data destructions/#verified participants)", will you want plots of the ratio of ratio of (cumulative # of withdrawals/cumulative# verified, and as well as the ratio of (cumulative # of data destructions/ # cumulative verified) weekly? If so, the range of both ratio  till this week are: cumulative ratio of withdrawal/verified: (0, 174/16144= about 1.08%), and the cumulative ratio of data destruction/ #cumulative verified  (0, 23/16144=about 0.14%). Would you like to use this set of ranges of ratios to make the longitudinal plots?  Just double check. Thanks a lot.

Hi @jeannewu for the cumulative plots we would just like to see the counts within the calculations for the two trend lines, so only (#withdrawals/#verified) and (#data destructions/#verified). Amelia and I will be out the next few days for a site visit at University of Chicago so we may not be able to respond. @KELSEYDOWLING7 can you provide assistance in the meantime? Thank you!

@kmazzilli So #withdrawals/#verified means the participants with withdrawals among the verified ones, not the ratio of the #withdrawal or data destructions and verified participants, right?

@jeannewu @KELSEYDOWLING7 Thanks for your work on this, we have some feedback. There are two separate asks - there are weekly plots that we asked for as well as cumulative, so we would like to keep figures 5.1-5.9. The weekly plots will not have a ratio (so these look okay - but there is a spelling error in the y-axis label). For the cumulative plots, there should be a ratio on a second y axis (so it looks similar to Figure 1). For the ratio, we are a bit confused about what you are asking; this should be the # of withdrawals/ # of all consented participants [regardless of withdrawal status] and then a second ratio for # of data destructions out of the same denominator. Sorry for the confusion!

Got it. Thanks a lot. Don't worry, Kaitlyn. I will ask Kelsey for her helps in these days.

Hi @jeannewu @KELSEYDOWLING7, thanks for your work on this. Some feedback:

The weekly plots look good, except the y axis label has a misspelling of the word "request".
The cumulative plots also share the above misspelling.
For the cumulative plots, can you add a second y axis on the right (so it looks similar to Figure 1) for the following two ratios. 1:  (# of withdrawals)/ (# of all consented participants [regardless of withdrawal status]) and 2: # of data destructions out of the same denominator?
A reminder to only post these plots in the "DCEG only" file for now while we are improving them, and once they are approved, they can be posted in "ALL".

Thank you!

@kmazzilli Thank you very much for your helpful response. And I will update the misspelling in the plots. And for the cumulative plots, the ratio of (# of withdrawals)/ (# of all consented participants [regardless of withdrawal status]) is quite small (the current cumulative withdrawals = 204 among 24212 consented participants (including 16634 verified participants). The accumulative ratio of the data destruction would be much smaller in 23 participants requested data destruction among the consented participants. If such ratios are what you need, what unit of the ratio would you like to have in the plot by % or by per 1000?

@kmazzilli the cumulative plots of refusal and withdrawals are shown in https://nih.account.box.com/login?redirect_url=%2Ffile%2F1316860043147&logout=true. the ratio of the refusal and data destructions are counted. by cumulative # consent withdrawal / cumulative request data destructions per 1000 consented participants. Please check them and let me know if anything is needed.

@kmazzilli as you requested "For the cumulative plots, can you add a second y axis on the right (so it looks similar to Figure 1) for the following two ratios. 1: (# of withdrawals)/ (# of all consented participants [regardless of withdrawal status]) and 2: # of data destructions out of the same denominator", this set of ratio curves among all consented participants are different from the current curves from the verified participants. After I checked with Kelsey, we both agree that If both sets of curves among different participants are shown in one graph, it might be confusing because the verified participants are the consented participants verified after their user profiles were submitted. How about your opinion?

@kmazzilli  essentially should the new denominator be among consented participants who are ALSO verified? Otherwise unverified but consented participants should be a different graph, as the denominators wouldn't be the same

@KELSEYDOWLING7 Thank you very much for your clear explanation for my questions on this plot.  @kmazzilli  As Kelsey explained, right now, 202 verified participants with consent withdrawal and data destructions are among 16635 verified participants (with consents submissions). And they are mainly from 204 consented participants with refusal and withdrawal among 17935 consented participants.  The ratio curves among the consented participants are not presented the cumulative plots of refusal withdrawals/data destructions among verified participants as shown in the title of the current graph.

Hi @jeannewu and @KELSEYDOWLING7
Thanks!
For the cumulative plots, we would like four things to be shown:

The cumulative withdrawals as shown by the left y axis
The cumulative data destructions as shown by the left y axis
One trend line for withdrawals/consented participants (regardless of verification status). This can be per 1000 for the scale on the right y axis.
One trend line for data destructions/consented participants (regardless of verification status). This can be per 1000 for the scale on the right y axis.
Then this would prompt title changes for the three cumulative plots to say "by Number of Consented Participants" instead of "by Number of Verified Participants"

We also have some feedback just to clean these up a bit.

In both the weekly and cumulative plots, on the left y axis "And" can be lowercase and changed to "and"
In both the weekly and cumulative plots, in the legend, instead of "Data Destruction Only" can these labels read "Data Destructions"? We realized this would be more accurate.
In both the weekly and cumulative plots, could you change the yellow color that is being used for "withdrawals only" to something darker, maybe blue? The yellow may not come across well on presentations.
For the cumulative plots, can the colors used for withdrawals and data destructions carry over from the weekly plots? If we make the "withdrawals only" in the weekly plots blue (from #3 above), can this also be blue in the cumulative plots? and then if the "data destructions" are red in the weekly plots, can these be red in the cumulative plots? And then two other dark colors should be fine for the remaining two trend lines in the cumulative plots.
In the cumulative plots, in the legend, can you remove the "#" from the labels for both trend lines, so they now read "Withdrawals per 1K Consented Participants" and "Data Destructions per 1K Consented Participants"
In the cumulative plots, can you also remove the "#" from the right y axis, so this now reads "Withdrawals/Data Destructions per 1K Consented"

@kmazzilli I have updated the plots with your comments and uploaded the report with new plots in Box   temporarily for you to check (Page 41-53, between Table 33 and Table 34). Please let me know if anything is needed. Thanks

Here is the link to the updated file in box

@jeannewu  It looks like there's a slight typo in the title, it should be Consented instead of Conseneted. It also looks like the word "and" is missing from the left y axis between "withdrawals" and "data destruction requests".
@kmazzilli  For the cumulative plots you mention wanting to remove the # from the y axes. Do you want the same for the weekly plots or is that ok as is?

@KELSEYDOWLING7 Thank you very much for your careful check. I will correct this typo and add the "and" for the labels in y axes.
@kmazzilli @KELSEYDOWLING7 please let me know if the colors of the curves are ok: (red, blue) for the # of withdrawals and data destructions, dark red/dark orange for the ratios.

Hi @KELSEYDOWLING7 and @jeannewu
Thank you both!
The colors look okay, the blue definitely shows up better than the yellow.
I actually only wanted to remove the "#" from the right y-axis of the cumulative plots (number 11 in my last comment). The "#" can stay for the left y-axis of the cumulative and weekly plots, and these can look the same for consistency's sake.
So a couple things we would like to request:

The "#" that can remain in the left y-axis of all three cumulative plots
The typo ("Consented" in the title) in the 2 grouped site cumulative plots and missing word ("and") in the left y axis of all 3 cumulative plots that Kelsey mentioned. So the left y axis of the cumulative plots should read "# of Withdrawals and Data Destruction Requests" to be consistent with the weekly plots.
For the cumulative plots - the scale of the right y axis looks good on the overall plot. For the two grouped site plots, can the right axis scale also contain one decimal point, just to be consistent with the overall plot?
It also looks like there is a "2" and "5" on the right y axis scale of the HP, HFH, SF, MF plot that look out of place, and a "2" on the scale of the KP and UC plot that looks out of place, can you remove these?

Thanks so much!

@kmazzilli  and @KELSEYDOWLING7 Thank you very much for your helpful comments. All the plots have been updated with your comments. Please check it in the box:  Thanks

@kmazzilli may you please help me check the updated plots in . Please let me know if the plots are approved for the weekly report. Thanks a lot.

@kmazzilli the weekly report with the new plots is . In case, I couldn't see this link on my side in GitHub.

Hi @jeannewu,
For the cumulative plots:

On the overall plot - the right y axis needs to include one decimal point. It looks like that was removed this round but we had wanted to keep it (number 3 in my last comment)
On the HP, HFH, SF, MF plot - The "5.0" on the right y axis scale still needs to be removed.

Thanks so much!

Hi, @kmazzilli,
Thank you very much for your careful check and helpful comments
I have updated the plots as you suggested;
a. On the overall plot -the right y axis needs to include one decimal point.
b On the HP, HFH, SF, MF plot - The "5.0"s on the right y axis scale are removed from the plots.
Please check them: .
Thanks a lot.
Jing

Hi @jeannewu
Thanks for making those changes. However, I see that for the 2 grouped site cumulative plots there are typos in their Figure names:

For the cumulative HP, HFH, SF, MF plot, the Figure name currently reads "Figures 5.11". Can you change this to say "Figure 5.11"

For the cumulative KP and UC plot, the Figure name also currently reads "Figures 5.11". Can you change this to say "Figure 5.12"

Thanks,
Kaitlyn

Hi, Kaitlyn,
Thank you very much for your careful check.
I've just updated the figure number in the report as you pointed out here and the new report is now in Box   right now. Please check them again. Thank you very much. Jing

@jeannewu it looks like they still say "Figures" plural. Please change these two figure names to say "Figure 5.11" and "Figure 5.12".

Hi, @kmazzilli Thank you very much for your patient check. The "s"s  have been removed from the Figure 5.11 and Figure 5.12. (seen ). Thank a lot

Good morning @kmazzilli  based on yesterdays report it looks like this last error has been resolved

Thank you, this should be good to get posted to ALL

Hi @KELSEYDOWLING7 We tried to use these metrics today and it looks like some of these might have data from 10/16/23. I think this is similar to issue 74 that was just open - could you double check that these (weekly and cumulative) "go through the last complete week when data are available on the Monday-Sunday schedule we defined for the Weekly Logs"? Thanks!

@kmazzilli & @KELSEYDOWLING7 all the plots in the Operational weekly report are updated with the date:  and  . Also one participant( Connect_ID= 3986012152) with refusal withdrawal doesn't have the date of the refusal and withdrawal time (d_659990606) and he/she is excluded from this week's report

@kmazzilli  Yes, 74 has that issue that Michelle just opened. I believe it's now resolved so I will comment on that page separately. As for this issue with the Figure vs Figure 5.11 and 5.12, that has been resolved.

@KELSEYDOWLING7 Please correct me if I am wrong, but it looks like for all of these figures (weekly and cumulative) that there are data points up through 10/16?  We would like to go up until the last complete week when data are available. Thanks!

@kmazzilli as Michelle mentioned before all the weekly and cumulative data (as the weekly log ones) are listed as a cycle of  "Monday-Sunday". So all the data on Monday would be reported in the next cycle not in this week's report.

I mean the data on Monday (e.g. Oct. 16) which the report is done would not be reported in the weekly log or as well as not in the weekly or cumulative plots.

authors: KELSEYDOWLING7 brotzmanmj jeannewu kmazzilli

repo: Analyticsphere/metricsReportsRequests


text:
Move to .NET Framework and move shared models from this repository to AndcultureCode.CSharp.Sitefinity.Core

[x] Related GitHub issue(s) linked in PR description
[x] Destination branch merged, built and tested with your changes
[x] Code formatted and follows best practices and patterns
[x] Code builds cleanly (no additional warnings or errors)
[x] Manually tested
[x] Automated tests are passing
[x] No decreases in automated test coverage
[x] Documentation updated (readme, docs, comments, etc.)
[x] Localization: No hard-coded error messages in code files (minimally in string constants)

Kudos to @KevinBusch for the majority of code changes here.

@all-contributors please add @Stefanie899 for code, tests and reviews

source: gharchive/pull-request

license_type: permissive

license_source: github-api


text:
Add Ukrainian (uk) translation

issue #76 , added Ukrainian translation.

Nice job .. thanks

authors: AndrGab lemmoor

repo: AndrGab/medirepoWeb

license: MIT


text:
Haier AC - define a range of temperature - keep user from putting the AC way up

Thanks for a great integration.
I'm using it with the AC Haier Geos + 3.5KW.
My tenants are using the AC and sometimes put the AC too strong.
That would be great to be able to define a min setting for AC cold and max for AC heat.
If you tell me where I need to set this const in the code, I would happy to do it.
Many thanks

Hi, I think the cleanest solution would be to create a thermostat template and set your needed min and max values.
If you really want to patch the code, have a look at these lines.

I tried to create a thermostat template but it needs a toggle-type of heating.
I'll stick to the hard-coded solution for now.
Many thanks!

source: gharchive/issue


text:
Improving dev time by using JWT local and Session Cookies production

Copied from here
Since I've never used a JS framework before, I have zero clue what the ramifications are regarding constantly rebuilding the app... In the following, I'm proposing a middleware that acts as a replacement for SessionMiddleware such that your JWT token and Session cookies during DEBUG=True and False, respectively, and are set on request.session.
The reasons being is that we want to take advantage of React reloading a lot faster than rebuilding. Anyways, the original quote:

Currently, it's pretty fast for me since there's nothing there. But I worry that when a single change happens, then constantly rebuilding using npm-watcher would be horrific.

I was thinking instead we could let local authorization be handled by SimpleJWT (so that we don't need to keep running npm run build) and production be handled by session. To deal with storing session data or JWT payloads, we can create a middleware in a different package that can handle the different environments based on settings.DEBUG. The reason we can interchange the two is because we're just dealing with secret payloads that the client can't see, only the server. By having one method for handling different contexts (e.g. like setting a new key in the payload or a new key for session payload), it abstracts away the complexity of the app.

But before that last paragraph, I just want to know how fast npm run build is, at least for a React app. Thanks!

I'm planning on integrating this with cookiecutter-django... maybe if it's approved that is. Unfortunately, that might put a lot of maintainability issues on browniebroke, so may not. I may just create a template repository; however, I really love the layout of cookiecutter-django.
Perhaps another tutorial would be helpful.
The problem I see is that when you integrate JWT, you'll need to add some React components to the login page to handle everything. Everyone's login page is different... maybe we can add some JS code that works for everyone! Eh tbh, the only thing the developer needs to do is save the JWT in a non-httpOnly-flagged cookie. Maybe just add that into the tutorial instead.
However, if this is the case, then I may need to create a new repository as this repository is not necessary anymore.

I'm planning on integrating this with cookiecutter-django... maybe if it's approved that is. Unfortunately, that might put a lot of maintainability issues on browniebroke, so may not. I may just create a template repository; however, I really love the layout of cookiecutter-django.
Perhaps another tutorial would be helpful.
The problem I see is that when you integrate JWT, you'll need to add some React components to the login page to handle everything. Everyone's login page is different... maybe we can add some JS code that works for everyone! Eh tbh, the only thing the developer needs to do is save the JWT in a non-httpOnly-flagged cookie. Maybe just add that into the tutorial instead.
However, if this is the case, then I may need to create a new repository as this repository is not necessary anymore.

The only concern now is build/index.html. I have no idea if that changes. We also have to transfer build/index.html to the backend repository if we're dealing with two repositories... Which is the whole reason why I had this in one repository to begin with.

The only concern now is build/index.html. I have no idea if that changes. We also have to transfer build/index.html to the backend repository if we're dealing with two repositories... Which is the whole reason why I had this in one repository to begin with.

We can do the same method we did for the static files: reply to GitHub. In the same GitHub action, we can determine a server repository, and using the same build, transfer our index.html file to our backend repository. Wherever your template repository is, it'll always include build/* but not build/static/*. If you're testing the UI along with your server (but still in two different repositories), you'll just need to make sure you always do a git pull. In your favorite IDE, you can do something like git fetch origin master:master on load (good practice regardless of project).

We can do the same method we did for the static files: reply to GitHub. In the same GitHub action, we can determine a server repository, and using the same build, transfer our index.html file to our backend repository. Wherever your template repository is, it'll always include build/* but not build/static/*. If you're testing the UI along with your server (but still in two different repositories), you'll just need to make sure you always do a git pull. In your favorite IDE, you can do something like git fetch origin master:master on load (good practice regardless of project).

What I'm going to do is use SimpleJWT's template repository for React but also include the showing of DEBUG vs. RELEASE mode via the JS... if that makes sense. What you can do is in your index.html file, include a context variable from settings specifying {{ value:json_script:"debug" }} where value = {"data": settings.DEBUG} and your JS can do:
if (JSON.parse(document.getElementById("debug")).data) {
   // 1. Show a login form so that your JS can collect inputs via event listeners (as in <form action="." method="post" onsubmit="loginSubmit()"></form>)
   // 2. authenticate via SimpleJWT by saving token in cookies
} else {
  /*
1. Show a login form that actually does a POST request to the server. This means the user actually does the submission, not your form (as in <form action="ACTUAL URL" method="post"></form>)
2. The trick to know whether your user failed to submit login details/failed to authenticate is to quickly set in your sessionStorage whether you were on the login page. When your SPA reloads, just read your sessionStorage to see and load accordingly. Your web page automatically reloads because the "form" tag does the post request for you. When your web page reloads, the server has set the HTTPOnly cookie.
*/
}

What I'm going to do is use SimpleJWT's template repository for React but also include the showing of DEBUG vs. RELEASE mode via the JS... if that makes sense. What you can do is in your index.html file, include a context variable from settings specifying {{ value:json_script:"debug" }} where value = {"data": settings.DEBUG} and your JS can do:
if (JSON.parse(document.getElementById("debug")).data) {
   // 1. Show a login form so that your JS can collect inputs via event listeners (as in <form action="." method="post" onsubmit="loginSubmit()"></form>)
   // 2. authenticate via SimpleJWT by saving token in cookies
} else {
  /*
1. Show a login form that actually does a POST request to the server. This means the user actually does the submission, not your form (as in <form action="ACTUAL URL" method="post"></form>)
2. The trick to know whether your user failed to submit login details/failed to authenticate is to quickly set in your sessionStorage whether you were on the login page. When your SPA reloads, just read your sessionStorage to see and load accordingly. Your web page automatically reloads because the "form" tag does the post request for you. When your web page reloads, the server has set the HTTPOnly cookie.
*/
}

@dgmouris @loicgasser The above is how we should implement the template repositories.

@dgmouris @loicgasser The above is how we should implement the template repositories.


text:
Reqesting full cloudformation example connected to 'AWS::Serverless::Function'

I'm sure others would benefit from an example where the FCK-NAT instance is hooked up and allows for lambda routing the greater internet.
.I have been struggling for 7+ days to get the FCK-NAT EC2 Instance working
.I get a timeout from my lambda function being able to communicate to the outside world.
.I previously had a working cloudformation template (1 week prior) that worked with NATGateway and have been quadruple checking and fiddling with policies etc every since.
I don`t have any errors in deployment, and I'm 100% certain it's my fault in regards to malformed cloudformation.
Here is a stackoverflow post explaining my problem thus far:
https://stackoverflow.com/questions/76581555/cloudformation-natgateway-replacement-traffic-blocked-from-vpc
All the best!

Based on your SO question, your issue ended up being with parts of your Cloudformation template outside of fck-nat. I can testify that the current documentation is accurate if copied correctly and a functional VPC is provided. The configuration of the VPC itself is explicitly outside the documentation which is where you seem to have run into issues. Glad you were able to get things working!
Resolving since requested documentation is out of scope.

Thanks for the reply. It was indeed an issue with the surrounding architecture.
Perhaps a 'use cases' section could be useful to help others on your docs website? I don't mind providing my complete template as a guide.

authors: AndrewGuenther JamieShelley

repo: AndrewGuenther/fck-nat


text:
Alternative class property definition error (1.0.0RC2)

I use an alternative way of declaring and documenting object properties. This is a short example illustrating what I'm doing. PHP's internal reflection support this while PHP-Token-Reflection does does not.
<?php
class PropertyClass {
	public
		/** Holds current length */
		$length = 0,

		/** Remembers current index */
		$index;
}

$rc = new ReflectionClass("PropertyClass");
foreach ($rc->getProperties() as $p) {
	var_dump(array(
		"name"      => $p->getName(),
		"doc"       => $p->getDocComment(),
		"modifiers" => Reflection::getModifierNames(
			$p->getModifiers())));
}

The output of this is:
runfalk@dev:~$ php -v
PHP 5.3.3-7+squeeze3 with Suhosin-Patch (cli) (built: Jun 28 2011 13:13:26)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
    with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans
    with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH
runfalk@dev:~$ php test.php
array(3) {
  ["name"]=>
  string(6) "length"
  ["doc"]=>
  string(27) "/** Holds current length */"
  ["modifiers"]=>
  array(1) {
    [0]=>
    string(6) "public"
  }
}
array(3) {
  ["name"]=>
  string(5) "index"
  ["doc"]=>
  string(30) "/** Remembers current index */"
  ["modifiers"]=>
  array(1) {
    [0]=>
    string(6) "public"
  }
}

If the file above is saved as test.php:
<?php
namespace TokenReflection;

spl_autoload_register(function($class) {
	require sprintf('%s.php', str_replace('\\', DIRECTORY_SEPARATOR, $class));
});

$tr = new Broker(new Broker\Backend\Memory());
$tr->processFile("test.php");

This yeilds:
PHP Fatal error:  Uncaught exception 'TokenReflection\Exception\Parse' with message 'The property name could not be determined.' in /usr/share/php/TokenReflection/ReflectionProperty.php:505
Stack trace:
#0 /usr/share/php/TokenReflection/ReflectionProperty.php(427): TokenReflection\ReflectionProperty->parseName(Object(TokenReflection\Stream\FileStream))
#1 /usr/share/php/TokenReflection/ReflectionBase.php(141): TokenReflection\ReflectionProperty->parse(Object(TokenReflection\Stream\FileStream), Object(TokenReflection\ReflectionClass))
#2 /usr/share/php/TokenReflection/ReflectionClass.php(1838): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\FileStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionClass))
#3 /usr/share/php/TokenReflection/ReflectionBase.php(154): TokenReflection\ReflectionClass->parseChildren(Object(TokenReflection\Stream\FileStream), Object(TokenReflection\ReflectionFileNamespace))
#4 /usr/share/php/TokenReflection/ReflectionFileNamespace.php(275): TokenReflection in /usr/share/php/TokenReflection/Broker.php on line 220

As this is perfectly valid code, as well as supported by PHP's internal reflection, I consider this a bug.

Thanks for the report. The bug should be fixed in the develop branch.

authors: Andrewsville runfalk

repo: Andrewsville/PHP-Token-Reflection

license_source: bigquery


text:
🛑 Andrisani Socios Admin is down

In 6b27678, Andrisani Socios Admin (https://socios.andrisani.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Andrisani Socios Admin is back up in d295022 after 24 minutes.

repo: AndrisaniSRL/upptime


text:
🛑 Immich is down

In c1f515b, Immich (https://photos.androz2091.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Immich is back up in 83548ec after 27 minutes.


text:
Could BrowserContext load iframe content automatic？

Now，it could not render iframe content in html page.

Yes, it can load the content automatically. You need to enable resource loading, however. I can only give you further advice if you provide more information (e.g., the configuration you pass on to the browsing context).

authors: FlorianRappl oienwav

repo: AngleSharp/AngleSharp

license: mit


text:
Websocket heartbeat timeout

Hi, in some cases client has to keep connection alive, is it possible to configure the websocket heartbeat timeout or it has to be implemented manually?

+1

anyone?
Thanks

authors: ashumilova cristianmad josh256

repo: AngularClass/angular-websocket


text:
typescript lint error does not lead to exit code != 0 (jenkins)

I am using the build chain inside jenkins.
Normally I do this to fail the job if a npm run exits with exit code != 0:
npm run build:prod
if [ $? -ne 0 ]
then
   echo "ERROR. EXIT."
   exit 1
fi

But here somehow if I am having linting errors it does not fail with an error code != 0.
When I do
npm run lint
if [ $? -ne 0 ]
then
   echo "ERROR. EXIT."
   exit 1
fi

It tells me I have no lint errors.
But when running build:prod at the end of webpacking stage it fails silently with exit code 0.

+1 Same problem with Teamcity.

authors: gruenebe jmiazga


text:
rename selector 'app' to 'app-starter'

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

rename selector 'app' to 'app-starter'

What is the current behavior? (You can also link to an open issue here)

'app'

What is the new behavior (if this is a feature change)?

'app-starter'

Other information:

see angular style guide: https://angular.io/styleguide#!#02-07
also, solves html validation error: "Element app not allowed as child of element div in this context. (Suppressing further errors from this subtree.)", see https://validator.w3.org/nu/

🎱 No, this is not the starter app, but a starter for your next project. So, let's keep it. I will close the PR.

authors: dherges katallaxie


text:
ERROR: Could not find a version that satisfies the requirement torch==1.9.0+cu111

Hi,
I'm trying to install UVR at Rocky Linux 9. However I receive an error during the installation. While torch=1.9.0+cu111 has been installed. Any idea how to solve this?
pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html
bash: The: command not found...
bash: If: command not found...
Looking in links: https://download.pytorch.org/whl/torch_stable.html
Collecting torch==1.9.0+cu111
Downloading https://download.pytorch.org/whl/cu111/torch-1.9.0%2Bcu111-cp39-cp39-linux_x86_64.whl (2041.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 GB 6.8 MB/s eta 0:00:00
Collecting torchvision==0.10.0+cu111
Downloading https://download.pytorch.org/whl/cu111/torchvision-0.10.0%2Bcu111-cp39-cp39-linux_x86_64.whl (23.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 23.1/23.1 MB 70.1 MB/s eta 0:00:00
Collecting torchaudio==0.9.0
Downloading torchaudio-0.9.0-cp39-cp39-manylinux1_x86_64.whl (1.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 13.9 MB/s eta 0:00:00
Requirement already satisfied: typing-extensions in /root/.conda/envs/xxx/lib/python3.9/site-packages (from torch==1.9.0+cu111) (4.9.0)
Requirement already satisfied: numpy in /root/.conda/envs/xxx/lib/python3.9/site-packages (from torchvision==0.10.0+cu111) (1.26.4)
Requirement already satisfied: pillow>=5.3.0 in /root/.conda/envs/xxx/lib/python3.9/site-packages (from torchvision==0.10.0+cu111) (9.3.0)
Installing collected packages: torch, torchvision, torchaudio
Attempting uninstall: torch
Found existing installation: torch 1.9.1+cu111
Uninstalling torch-1.9.1+cu111:
Successfully uninstalled torch-1.9.1+cu111
Attempting uninstall: torchvision
Found existing installation: torchvision 0.10.1+cu111
Uninstalling torchvision-0.10.1+cu111:
Successfully uninstalled torchvision-0.10.1+cu111
Attempting uninstall: torchaudio
Found existing installation: torchaudio 0.9.1
Uninstalling torchaudio-0.9.1:
Successfully uninstalled torchaudio-0.9.1
Successfully installed torch-1.9.0+cu111 torchaudio-0.9.0 torchvision-0.10.0+cu111
Preparing metadata (setup.py) ... done
ERROR: Could not find a version that satisfies the requirement torch==1.9.0+cu111 (from versions: 1.7.1, 1.8.0, 1.8.1, 1.9.0, 1.9.1, 1.10.0, 1.10.1, 1.10.2, 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1)
ERROR: No matching distribution found for torch==1.9.0+cu111

This can be closed. It has been solved.

Will UVR's system record the models I download? Please delete the model I downloaded and please reply to me immediately when you see this issue, thanks

authors: bdgra xiaokecai


text:
Text sended to a single person seems OK, same message in a group looks wrong

Description
Single person chat: (Ideal view)
2022-06-27T15:58:55.000Z
Altura de oleaje: 0.07m y dirección: 142.125 grados
Viento: 0 m/s y dirección: 177 grados
Temperatura: 44.28 ºC
Group chat:
2022'06'27T15Ñ58Ñ55.000Z
Altura de oleajeÑ 0.07m y direccinÑ 142.125 grados
VientoÑ 0 m-s y direccinÑ 177 grados
TemperaturaÑ 44.28 C
To Reproduce
Steps to Reproduce the Bug
Send some text with characters like :=/áéíóú
Maybe, the issue has someting related to the encode UTF-8.
Screenshots

Version Information

OS: MacOS 11.6.7
Browser: Google Chrome
Python: 3.8.5
PyWhatKit: 5.4

@gmartinr this might be a issue on pyautogui side

@Naman23-coder
UPDATE 08/18/2022: I've found something, if the keyboard is not English, this problems shows up. But why when i send a message to a single number the message string is pasted (looks like) in the Send Box, but when the i send the same message to a gruop the message is writed character by character?


text:
🛑 AnnAngela.cn is down

In 85ef62e, AnnAngela.cn (https://ping.annangela.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AnnAngela.cn is back up in a004911.


text:
Show version in console

Show GridEngine version in console for debugging purposes.

It would be also great if you could put the number inside a property of the GridEngine instance as well. It would be very helpful for feature detection, for example in the DevTools, where I currently test for the presence of a method before using it.

Yes, good point. I will expose the version as a string. For example "2.14.1".

Will be part of next release

repo: Annoraaq/grid-engine


text:
SyntaxError: Unexpected token function. Need help getting ASYNC/AWAIT in AWS

I'm trying to get async/await to work with AWS lambda (node 6.10)
async function myFunctionName(options, callback) {
      ^^^^^^^^
SyntaxError: Unexpected token function

I followed all the guides, tried all sorts of config settings, I keep getting this same error when I try to run this on AWS. It works locally, but I have node 8 installed locally.
babel.rc
{
  "plugins": ["source-map-support", "transform-runtime"],
  "presets": ["env", "stage-3"]
}

webpack.config.js
const path = require('path');
const slsw = require('serverless-webpack');
const WebpackPluginCopy = require('webpack-plugin-copy');
const nodeExternals = require("webpack-node-externals");

module.exports = {
  entry: slsw.lib.entries,
  target: 'node',
  // Generate sourcemaps for proper error messages
  devtool: 'source-map',
  // Since 'aws-sdk' is not compatible with webpack,
  // we exclude all node dependencies
  externals: [nodeExternals()],
  module: {
    rules: [
      {
        test: /\.js$/,
        loader: "babel-loader",
        include: __dirname,
        exclude: /node_modules/,
      }
    ]
  },
  plugins: [
    new WebpackPluginCopy([{
      copyPermissions: true, // necessary for AWS lambda
      from: 'bin/*',
    }])
  ]
};

{
  "name": "test-serverless",
  "version": "1.0.2",
  "description": "",
  "main": "handler.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC",
  "dependencies": {
    "async": "^2.6.0",
    "babel-runtime": "^6.26.0",
    "fs-extra": "^5.0.0",
    "glob": "^7.1.2",
    "lodash": "^4.17.5",
    "mime": "^2.2.0",
    "raven": "^2.4.1",
    "request": "^2.83.0",
    "serverless-sentry-lib": "^1.0.0",
    "source-map-support": "^0.5.3"
  },
  "devDependencies": {
    "aws-sdk": "^2.201.0",
    "babel-cli": "^6.26.0",
    "babel-core": "^6.26.0",
    "babel-loader": "^7.1.3",
    "babel-plugin-add-header-comment": "^1.0.3",
    "babel-plugin-array-includes": "^2.0.3",
    "babel-plugin-source-map-support": "^2.0.0",
    "babel-plugin-transform-async-to-generator": "^6.24.1",
    "babel-plugin-transform-es2015-destructuring": "^6.23.0",
    "babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
    "babel-plugin-transform-es2017-object-entries": "0.0.4",
    "babel-plugin-transform-object-rest-spread": "^6.26.0",
    "babel-plugin-transform-runtime": "^6.23.0",
    "babel-polyfill": "^6.23.0",
    "babel-preset-env": "^1.6.1",
    "babel-preset-es2015": "^6.24.1",
    "babel-preset-stage-0": "^6.24.1",
    "babel-preset-stage-3": "^6.24.1",
    "serverless-sentry": "^1.0.0",
    "serverless-webpack": "^4.3.0",
    "webpack": "^3.11.0",
    "webpack-async-await": "^1.1.0",
    "webpack-node-externals": "^1.6.0",
    "webpack-plugin-copy": "^1.0.1"
  }
}

I am using Travis to deploy. Does the node version matter? I tried travis with node 6.10 and 8.
I dont think it's transpiling my code. I can see the single js file it creates but the async function is written.

not sure what eventually fixed it.

Great thanks for letting me know. Closing this for now.

authors: jayair teebu


text:
User story

User story:
Als bezoeker van de website van Bieb in bloei wil ik voor Harry kunnen zorgen, zodat hij vrolijk mee kan om mij te begeleiden over de website.
Wire flow:

Idee voor design: De wolk schuift iets naar rechts (en dan misschien weer terug) on hover.
Ik zou nog nadenken over hoe je harry zn transitie van verdrietig naar blij gaat maken. Want van de ene naar andere foto wisselen is misschien niet heel mooi.
Je kan ook doen dat de achtergrond een iets lichtere kleur wordt als je op de wolk clickt.

Leuk idee, feedforward kan misschien voor sommige mensen een beetje onduidelijk zijn omdat niet is aangegeven hoe je voor Harry moet zorgen dus wellicht zou een pijltje naar de wolk kunnen helpen. Feedback is duidelijk door de verdwijnende wolk en omdat hij blij wordt


text:
Made the asked changes

Updated according to the request

Looks Good :)

authors: AnshumanFauzdar Digvijay-Singh-Dhanker


text:
Get RSpamd working

also get basic RSpamd working (remember to disable greylisting)

Got RSpamd working while removing greylist action from actions.conf

repo: AnsiMail/AnsiMail

license: ISC


text:
Add missing bias config options to attention Linear layers

A handful of Attention layers did not surface the attn_qkv_bias and attn_out_bias config options to their Linear layers.

LGTM
Thankfully this is only for padded versions (since the default of nn.Linear is True).

authors: NohTow warner-benjamin


text:
Update README.md

更新part3课程安排

更新part3课程安排

repo: Antalpha-Labs/zkp-academy


text:
More clear readme instructions

As a new user, the instructions confused me.
It gave me a false sense of how gpt-engineer handles paths.
Note: this assumes that code for improvement does not have to be in the projects/ folder, is this true?

We should develop this further after merging #650 to also include which output is generated where.

authors: ATheorell lukaspetersson

repo: AntonOsika/gpt-engineer


text:
中文字体“思源黑体 CN”不生效

除了这个中文字体之外都生效了，默认的字体太丑了真的受不了了！！有什么办法吗，我已经按要求安装主题了

可以使用release里的安装脚本试一下
或许是Windows环境下没有HiDPI的缘故，字体都看的模模糊糊的
，可以尝试 [右键] -> [检查元素] 查看是否确实生效
也可能是我遗忘了什么，不过在我这的确生效了

感谢，用了安装脚本重新装了一遍之后可以了

repo: AntonVanke/Typora-Cement-Theme


text:
Feat: Reveal items on scroll!!

issue #108
Login Page After Changes :
https://github.com/Anushkabh/krishiconnect/assets/154777864/c4366a46-1d71-4c3c-846f-a3be51a398a1

Index page after changes:
https://github.com/Anushkabh/krishiconnect/assets/154777864/175db888-a82c-40df-b092-4dfe17115694

faq page after changes:
faq page.zip

Cart page after changes:
https://github.com/Anushkabh/krishiconnect/assets/154777864/6aa9e678-91bf-44bf-8708-757880a603af

About page after changes:
about page.zip

Settings Page after changes:
https://github.com/Anushkabh/krishiconnect/assets/154777864/69994f26-911a-4bed-b520-421b4f84e0ed

Wishlist page after changes:
https://github.com/Anushkabh/krishiconnect/assets/154777864/d0006e16-d0b9-498e-b472-c4a03ea15278

good work  but do just one change.. undo the changes in index page .. rest all is good

done
On Fri, May 17, 2024 at 11:42 PM ANUSHKA BHANDARI @.***>
wrote:

good work but do just one change.. undo the changes in index page .. rest
all is good
—
Reply to this email directly, view it on GitHub
https://github.com/Anushkabh/krishiconnect/pull/161#issuecomment-2118148071,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BE43SCE6DJI372RA54T23N3ZCZCB7AVCNFSM6AAAAABH2TVULOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJYGE2DQMBXGE
.
You are receiving this because you were assigned.Message ID:
@.***>

repo: Anushkabh/krishiconnect


text:
fix: use python3 as pre-commit default language

What I did
Fix pre-commit specifying a specific python version
How I did it
python3.9 -> python3 under default_language_version
How to verify it
Should be able to run pre-commit without explicitly having Python 3.9.x
Checklist

[x] All changes are completed
[x] New test cases have been added
[x] Documentation has been updated

@fubuloubu just realized some of these repos don't require checks to complete before being able to merge, should they all be requiring that?

@fubuloubu just realized some of these repos don't require checks to complete before being able to merge, should they all be requiring that?

Yes, @unparalleled-js shpuld have access

Yes, @unparalleled-js shpuld have access

I'll put together a list of which ones didn't require checks to complete and send it over! cc @unparalleled-js

authors: fubuloubu helloibis

repo: ApeWorX/ape-optimism


text:
refactor: widen PyYAML pin to >=5.0,<7.0 [APE-947]

What I did
awscli depends on an older version of pyyaml, and I don't think we rely on any advanced behavior of this dependency, so opening up the pin seems safe

@fubuloubu merge this one too?

@fubuloubu merge this one too?

Yes I think this one is good to go, would help me with a pinning issue in chaos

authors: antazoey fubuloubu

repo: ApeWorX/ape


text:
[SBK-251] Store the last successfully processed block for fast restart

Overview
If the script restarts, you might want to know what the last successfully processed block was so you can continue from that point
Specification
Would be useful for a pattern like this
@app.on_startup()
def process_event(state):
    data = contract.MyEvent.query("*", start_block=state.last_block)
    ...

Dependencies
Include links to any open issues that must be resolved before this feature can be implemented.
SBK-251

Still not an expert on taskiq but learned a decent amount now.  This is my understanding:

"state" is something stored in memory, unique to that process (runner, worker, whatever).  It's useful for setting up things like connections to other services or keeping some kind of state of that process.  Storing anything here is ephemeral.
"Results backends" are just dumb storage of data blobs returned from the worker handlers (and some job metadata).   I believe this is a critical component when runner and worker are split.  Looks like the broker would normally store results here, and without configuring it the runner would never receive the results.  Results backends can be configured to be permanent stores, but the redis one defaults to "store until read" like a message queue.

Neither of these are especially fitting for our use case.  I think that leaves us with only one option; to implement our own state storage for Silverback.  That comes with the bonus of ultimate flexibility but I'm left wondering what other use cases it might have when thinking about the design.
My initial thought was that we could  use files in ~/.config.  I think Ape already leverages this design.  However, that requires filesystem persistence and that wouldn't be ideal in containerized services, like ApePay.  Redis might be a good option if we're expecting to utilize it for a results backend.  Rolling a DB would be major overkill to store a block number cursor.
@fubuloubu I could use your input and future-think on this.  Is there other state we might be interested in storing?  Other databases or storage options we might leverage for other things in Silverback?  Do we want to offer options to users or go for just what we need right now?

After writing all that up, I'm kind of leaning towards Redis being required for persistence in Silverback.  Maybe remove results backend settings and just offer up Redis connection settings to the user.  Then we either have Redis to do what we want with, or the whole configuration is ephemeral.

Hmm, so there's a few ways to look at this:

Reading results database to gain metrics from worker execution e.g. see the last successfully processed block. Persistence would be required for this, but instead of redis persistence we could migrate the redis result store into either a memory store in the runner or a more permanent datastore like postgres/sqlite (configurable via sqlalchemy) or Mongo.
The runner itself should implement a REST api to communicate metrics, status, etc. See #13. This result data is critical for filling in metrics for running apps and will be an important part of the Silverback SaaS platform. However, there should be a simple implementation of this, which is what I'm planning to do e.g. the runner hosts a FastAPI app using stored metrics in the runner implementation.

P.s. the data is read by the runner via the _handle_result

Reading results database to gain metrics from worker execution e.g. see the last successfully processed block. Persistence would be required for this, but instead of redis persistence we could migrate the redis result store into either a memory store in the runner or a more permanent datastore like postgres/sqlite (configurable via sqlalchemy) or Mongo.

The results backend isn't going to cut it for us.  We can't query it for what we want (e.g. last executed job).  There's also a chance that other results backends are more friendly to this (e.g. if there's a postgres one with metadata cols).  I'll look today.  But I suspect we'll need to move to our own persistence layer.

This result data is critical for filling in metrics for running apps and will be an important part of the Silverback SaaS platform. However, there should be a simple implementation of this, which is what I'm planning to do e.g. the built-in runners host a FastAPI app using stored metrics in the runner implementation.

Does this mean you're implementing the persistence layer or that you would leverage it as well?

Here's some roughing I did of what I'm thinking, with some psuedo-code.
We could have some kind of storage setup.  There might be something like this already we can use on top of mongo or redis or whatever k/v storage we find most fitting.
class BaseStorage(ABC):
    @abstractmethod
    def get(k: str) -> BaseModel:
        ...

    @abstractmethod
    def store(k: str, v: BaseModel):
        ...

A possible model of silverback instance state:
class RunnerState(BaseModel):
    instance: str # UUID, or tag, or deployment/network name?
    network: str
    block_number: int
    updated: datetime

A rough model of handler results:
class HandlerResult(BaseModel):
    return_value: T
    labels: Dict[str, str]
    execution_time: float
    network: str
    block_number: int
    instance: str

We'd still need something to handle relations.  We need a way to query "give me all events for this contract" which this doesn't cover.  Maybe we can tag results with block and event data that might allow us to fetch.  Or we add a contract model that has a list of event IDs or something.  Depends on the storage, really.
Rough example of how it might work in the runner:
    def _checkpoint(self, block_number: int) -> int:
        """Set latest checkpoint block number"""
        if block_number > self.latest_block_number:
            logger.debug(f"Checkpoint block #{self.latest_block_number}")
            self.latest_block_number = block_number

            self._storage.store(
                f"{self.instance}:runner_state",
                RunnerState(
                    instance=self.instance,
                    network=self.network,
                    block_number=result.result.block_number,
                    updated=datetime.utcnow(),
                ),
            )

        return self.latest_block_number

    def _handle_result(self, result: TaskiqResult):
        self._storage.store(
            f"{self.instance}:{result.task_id}:result",
            HandlerResult(
                instance=self.instance,
                network=self.network,
                block_number=result.block_number,
                execution_time=result.execution_time,
                labels=result.labels,
                return_value=result.return_value,
            ),
        )

@fubuloubu let me know if this sounds ok to you or if I'm barking up the wrong tree.

Beanie looks interesting if we're itching to go the mongo route.  Seems it fits well in with FastAPI and Pydantic.

Raw draft PR up at #45 for early feedback.

authors: fubuloubu mikeshultz

repo: ApeWorX/silverback


text:
print out topic number when a msg is received by reactor node

Signed-off-by: Evan Flynn evan.flynn@apex.ai
per discussion with @elfenpiff.
adds a print to each time the reactor node receives a msg and prints which topic number (input number) it came from.
commented out the other prints so I could more easily see these ones. just let me know if you'd like me uncomment them again or even switch them over to RCLCPP_INFO type prints.

This change is

@elfenpiff i realized we should probably continue to print in the command_node, so I switched it to a WARN instead to make it easier to read in the console:

also I aligned the numbers to make it easier to read

@elfenpiff it might also be better to have them all on individual RCLCPP_WARN calls so each line has matching formatting:

just let me know which format you like better

repo: ApexAI/reference-system-autoware


text:
Refactoring

Feck files will undergo a major refactoring:

[x] Database access will be using prisma instead of raw SQL queries
[x] Fontend will be switching to React.js instead of the current hacky templating
[x] Backend logic will be refactored into a more modular structure
[x] Users, private folders, deletion, and more will be introduced
[x] Critical security bugs shall be fixed

Yay! Let's hope I remember to do this.

Finished in 698fc97

Finished refactoring backend in 92b3185, currently doing some slight rework

Finished React.js client in 6d888a1

Fixed security bugs in 40467ec

Added users
Unlisted, public, and private uploads
Added file deletions for files owned by the user
Added a secured file download for private files
Folders will not be implemented at this time

repo: ApocalypseCalculator/Feck


text:
Delphi ESR Driver removed?

I see tons of references to modules:drivers:delphiESR,
However, I cannot find delphiESR driver anywhere in /modules/drivers?
I only see Conti, ultrasonic, and racobit
was it removed?

@snuffysasa yes we do not currently support Delphi Radar currently. Here are the 2 radars we support. The references will be removed from both documentation and code soon. Thank you for your patience.

@natashadsouza
Okay Thank you, will try to manually convert the Delphi data to similar format as the Conti and feed that into the radar processing subside and see what kind of results I get.

Thanks @snuffysasa ... Do let us know if you are able to successfully run Apollo with the Delphi radar and please share your findings with the rest of the community.

i think we do have a internal version driver for Delphi ESR  :)

Cool, we are still getting the Delphi ESR set up.
The general plan was to use the autonomouStuff driver to get tracked object ros messages, then try to build a converter to reformat that data to be in ContiRadar msg format:
https://github.com/ApolloAuto/apollo/blob/master/modules/drivers/proto/conti_radar.proto
and then send to the radar_process_subnode

The AStuff Delphi messages does not appear to have a probability of existence score.. And it appears the radar_subnode does use "probexist" value in the radar object builder. I am wondering how important is this value? What would happen to the fusion if I leave this score blank or put all to 100% or something?

authors: natashadsouza snuffysasa zhuangli1987

repo: ApolloAuto/apollo


text:
Missing Search Stored Procedure Causes Check Configuration Crash

The following error (screen shot) is produced when running checkconfiguration.aspx on a configuration that references a stored procedure in GPV50search.StoredProc, but that stored procedure does not exist.
Other missing stored procedures produce an error.  This one crashes Check Configuration.

Fixed

authors: andrewgbuck pgirard

repo: AppGeo/GPV


text:
abc Member added to xyz group , but xyz group is not returning by getAllChannelList()

I am adding one member say "abc" in group say "xyz"  by a member say "mnp" . "abc" has successfully added in group as i can see "abc" in "xyz" group from "mnp" 's group list. But after adding "abc" in "xyz" group , i am not getting "xyz" group in "abc" 's group list.
i am using that code to get groups list:-
let AlChanelServiceObj : ALChannelService = ALChannelService()
let arrGroups = AlChanelServiceObj.getAllChannelList()

@Jitendragts,
once you add a member to a group, new user's device will do group change sync after receiving  notification to device. Make sure you added support for APNS, If not getAllChannelList() will return correct result only if chat screen in foreground.

authors: Jitendragts adarshmishra

repo: AppLozic/Applozic-iOS-SDK


text:
Support cron format: every N (hours|mins|minutes) from (time) to (time)

https://ocd.appscale.com:8080/job/Daily Build/2002/

https://ocd.appscale.com:8080/job/Daily Build/2005/

https://ocd.appscale.com:8080/job/Daily Build/2008/

Nice! Do we parse the word 'synchronnized' anywhere?

@obino now we do.

:+1:

authors: cdonati menivaitsi obino

repo: AppScale/appscale


text:
Increase client timeout when making schema changes

Previously, the client would raise a timeout error after 10 seconds. On slow deployments, this was not enough time for the schema to settle.

https://ocd.appscale.com:8080/job/Daily Build/2930/
https://ocd.appscale.com:8080/job/Euca-Faststart/835/


text:
[MemoryDataSource] Add optional 'deleteData' parameter to constructor to allow management of 'data' parameter lifespan outside of libtheoraplayer

Allow more flexibility for managing lifespan of data parameter outside of libtheoraplayer.
This is helpful in the following situations:

Variable passed as data needs to live longer than the MemoryDataSource created from it.
Variable passed as data was allocated using a malloc family function.

In the destructor, data is freed using delete[], which assumes it was allocated using new[]. This creates a mismatch if the data parameter was allocated using a function from the malloc family.

The new deleteData parameter defaults to true so as not to have an impact on any internal theoraplayer source code. It must be explicitly set to false when calling the constructor.

I agree, it makes perfect sense, can't believe I didn't think of this case :)
Just adjust the code to match the library convention:

deleteData = true (space  between operators)
tabs instead of spaces for indentation, you can see in the git commit diff it doesn't match.
when set, I'll merge the pull request.

Done. I made sure all the line I added was indented with tabs to be consistent with your style, and I also fixed line 27 of the cpp file which was already incorrect in the process, but I missed line 21 which was also already incorrect.
With this new commit, I replaced all remaining 4-space indentations in these files with tabs (8 additional lines).

all is good now, merged! Thanks for your contribution :)

authors: jleveque kspes

repo: AprilAndFriends/theoraplayer


text:
AOS specific config in ztp-cumulus.sh

AOS specific configuration is in the ztp-cumulus.sh script that is called when cumulus-provision-url in DHCP options. This should be moved to the finally script in aos-aeonztps-addons.
function enable_mgmt_vrf(){
    if is_vrf_aware; then
            cat > /etc/network/interfaces << EOF
auto mgmt
iface mgmt
    address 127.0.0.1/8
    vrf-table auto
    post-up sudo service aos start

auto eth0
iface eth0 inet dhcp
    vrf mgmt
EOF
       ifreload -a
       ifdown eth0
       ifup eth0
    else
       install_vrf_deb
    fi
}

@bobbywatson3 - I am ok with this; but let's sync up offline re: some other changes proposed before we make this happen.  Thank you.

Resolved in #207

repo: Apstra/aeon-ztps


text:
KLA json

Hi
Do you perhaps have KLA jsons?
I tend to screw up making Angle Mod variants.
Thanks, Ian

I did not create any. Will consider it if you didn't already end up doing this by now. Thanks!

Trust it is correct :-)
https://www.keyboard-design.com/letterlayout.html?layout=canary.en.ansi

Trust it is correct :-)
https://www.keyboard-design.com/letterlayout.html?layout=canary.en.ansi

Yep, looks good!

authors: Apsu iandoug

repo: Apsu/Canary


text:
Make system/release doesn't work correctly with double-digit versions

I'm building from master:
# ./aptomi version
Git Version           	Git Commit                              	Build Date
dev-v0.1.9-81-geb7f5de	eb7f5de18a8d6a52e8f9d49c45564ba5c3d3ee8e	2018-02-22T21:06:36Z

It says 0.1.9, even though it should be 0.1.10?
# git describe --tags --long --dirty
v0.1.9-81-geb7f5de

I think we need to use something along the lines of:
# git tag -l --sort=v:refname
or
# git tag -l --sort=-v:refname

Nope, I've just checked it on a fresh git cloned repo, so, you just have local tags other then upstream tags. Run git fetch --tags --force to refresh your local tags.

authors: Frostman ralekseenkov

repo: Aptomi/aptomi


text:
Some radiant chest can't having name

I can't put name or item on some radiant chest, but others chets work fine
ErrorLog: https://gist.github.com/GuerreroCraft61/845ad812a9ab8efe67e3c5aa028c8be8

Does this happen without Sponge?

So, this appears to be a tile entity that doesn't properly exist or cannot be resolved on the server. I'd recommend breaking the tile and re-placing it. I've added a more informative message in the next release.

repo: AranaiRa/ArcaneArchives


text:
Add ability to give feedback on experimental commands

As Pax commands start becoming more experimental, and a little more invasive with on_message events, Some commands that are in early production might give false positives/be sent incorrectly.
An easy way to decorate a command as experimental should be created to ask active, verified members of the community to share their feedback with experimental commands. This feedback will be stored in the database and will be used by developers to evaluate their code before making it invasive/forced

Discussion relating to this feature happened here https://discord.com/channels/238956364729155585/791697255835893821/1139453976719405206

repo: Arborym/Pax-Academia


text:
[Feature] 💡dump Alconna  to json and generate Alconna from json

请确认：

[x] 新特性的目的明确
[x] 我已经阅读了文档 the wiki 并且找不到类似特性

Feature
概要

alc 导出为 json ，并在必要时可以从 json 产生实例
是否已有相关实现

暂无
其他内容

暂无

或许可以扔在arclet-alconna-tools里面

https://github.com/ArcletProject/Alconna-Notation

authors: Little-LinNian RF-Tar-Railt

repo: ArcletProject/Alconna


text:
Work around for Godot 4.3 Regression

Godot 4.3 had seen a big change with GraphEdits and GraphNodes, and as part of that, a new node has been introduced, but since it's not marked as internal, it will also return in GetChildren(), resulting in the important node being deleted, and subsequently attempting to write to invalid memory space, causing Godot to crash via a SIGSEGV signal.
This will fix issue #6 by providing the following workaround:

When evaluating children to remove in DialogueGraph.ClearTree(), filter out _connection_layer
When reconnecting nodes after loading data from the file system, check child indices in a list excluding _connection_layer

This has been tested with Start/Switch/Output Dialogue nodes, but not tested further with other nodes, and regression may be introduced in certain use cases.

Thanks so much for figuring out what was causing this issue! I'm going to be starting up development on this plugin again, so I'll probably implement a similar fix and submit everything to the asset library soon.


text:
Fix: use '-h' for robust lefthook (Go binary) existence checking

Call 'lefthook' Go binary returns failed retval because of 'subcommand is required'
How to reproduce:
$ go get github.com/Arkweid/lefthook
$ lefthook >/dev/null 2>&1
$ echo $?                                    # returns '1'
$ lefthook -h >/dev/null 2>&1
$ echo $?                                    # returns '0'

Other methods (bundle exec & npx) are fine without -h actually

Thanks for PR @fahrinh
Intresting, what OS do you have?

Thanks for PR @fahrinh
Intresting, what OS do you have?

macOS Mojave 10.14.6
ZSH 5.8
I think it's how spf13/cobra works. If rootCmd has not provided with 'Run', a subcommand is required (source)
Lefthook (Go binary) without subcommand:
It returns exit code 1
$ ~/go/bin/lefthook
After installation go to your project directory
and execute the following command:
lefthook install

Usage:
  lefthook [command]

Available Commands:
  add         This command add a hook directory to a repository
  help        Help about any command
  install     Write basic configuration file in your project repository. Or initialize existed config
  run         Execute group of hooks
  uninstall   Revert install command
  version     Show lefthook version

Flags:
  -a, --aggresive   remove all hooks from .git/hooks dir and install lefthook hooks
  -f, --force       reinstall hooks without checking config version
  -h, --help        help for lefthook
      --no-colors   disable colored output
  -v, --verbose     verbose output

Use "lefthook [command] --help" for more information about a command.
2020/03/08 15:54:52 subcommand is required

Lefthook (Go binary) with subcommand (-h for example):
It returns exit code 0
$ ~/go/bin/lefthook -h
After installation go to your project directory
and execute the following command:
lefthook install

Usage:
  lefthook [command]

Available Commands:
  add         This command add a hook directory to a repository
  help        Help about any command
  install     Write basic configuration file in your project repository. Or initialize existed config
  run         Execute group of hooks
  uninstall   Revert install command
  version     Show lefthook version

Flags:
  -a, --aggresive   remove all hooks from .git/hooks dir and install lefthook hooks
  -f, --force       reinstall hooks without checking config version
  -h, --help        help for lefthook
      --no-colors   disable colored output
  -v, --verbose     verbose output

Use "lefthook [command] --help" for more information about a command.

Lefthook (Ruby, gem) without subcommand:
It returns exit code 0
$ ~/.rvm/gems/ruby-2.6.3/bin/lefthook
/Users/fahrihidayat/.rvm/gems/ruby-2.6.3/gems/lefthook-0.7.1/libexec/lefthook-mac
After installation go to your project directory
and execute the following command:
lefthook install

Usage:
  lefthook [command]

Available Commands:
  add         This command add a hook directory to a repository
  help        Help about any command
  install     Write basic configuration file in your project repository. Or initialize existed config
  run         Execute group of hooks
  uninstall   Revert install command
  version     Show lefthook version

Flags:
  -a, --aggresive   remove all hooks from .git/hooks dir and install lefthook hooks
  -f, --force       reinstall hooks without checking config version
  -h, --help        help for lefthook
      --no-colors   disable colored output
  -v, --verbose     verbose output

Use "lefthook [command] --help" for more information about a command.

authors: Arkweid fahrinh

repo: Arkweid/lefthook


text:
Features

[ ] Create a method to decode a Morse code character, takes a string parameter, and return the corresponding character in uppercase (e.g. decode_char(".-") returns "A").

[ ] Create a method to decode an entire word in Morse code, takes a string parameter, and return the string representation. Every character in a word will be separated by a single space (e.g. decode_word("-- -.--") returns "MY").

[ ] Create a method to decode the entire message in Morse code, takes a string parameter, and return the string representation. Every word will be separated by 3 spaces (e.g.

  decode("-- -.--   -. .- -- .")

returns "MY NAME").

[ ] Reuse methods whenever possible. Make sure that your code is DRY.

[ ] Once your code is ready use it to decode the message from the old bottle:

.-   -... --- -..-   ..-. ..- .-.. .-..   --- ..-.   .-. ..- -... .. . ...

Hi @ArnaudBand ,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

authors: ArnaudBand AshakaE


text:
[2..7.3] Sidebar always show Chinese

No matter what language you choose, in the latest version 2.7.3, the Chinese language is always displayed

Hi, the next version v2.8.0, which includes the commit 0d35e66, will fix this issue. Thanks for your feedback! 😃

authors: bibicadotnet qwqcode

repo: ArtalkJS/Artalk


text:
invalid conversion from ‘__pyx_t_14_RandomForests_INT32* {aka long int*}’ to ‘const int*’

.pyxbld/temp.linux-i686-2.7/pyrex/_RandomForests.cpp:2112:861: error: invalid conversion from ‘__pyx_t_14_RandomForests_INT32* {aka long int*}’ to ‘const int*’ [-fpermissive]
 der.diminfo[1].strides))), __pyx_t_16, __pyx_v_fid, __pyx_v_thr, __pyx_v_gain);
                                                                              ^
In file included from .pyxbld/temp.linux-i686-2.7/pyrex/_RandomForests.cpp:451:0:
./_random_forests.h:3:6: note:   initializing argument 5 of ‘void forestFindThr(int, int, int, const float*, const int*, const float*, const int*, int, int&, float&, double&)’
 void forestFindThr(int H, int N, int F, const float *data, const int *hs,
      ^
.pyxbld/temp.linux-i686-2.7/pyrex/_RandomForests.cpp:2112:861: error: invalid conversion from ‘__pyx_t_14_RandomForests_INT32* {aka long int*}’ to ‘const int*’ [-fpermissive]
 der.diminfo[1].strides))), __pyx_t_16, __pyx_v_fid, __pyx_v_thr, __pyx_v_gain);

I have tried to run the example code but encounter the following error

any solution about this ?

Got the same error in MacOS. But it is working in Linux 64.

authors: AlvarHHM filamoon xiaofengzhiyu

repo: ArtanisCV/StructuredForests


text:
Nuke stopped working

I just realized that in my older version show didnt work since I updated in January 2019. I updated to the newest version. Now in today's version nuke doesn't work. Here is what I get:
Microsoft Windows [Version 10.0.17763.678]
(c) 2018 Microsoft Corporation. All rights reserved.
C:\Users\Michael>cd C:\Routine\kijijipy
C:\Routine\kijijipy>python kijiji_repost_headless -u user@name.ca -p XXXXXX nuke
Traceback (most recent call last):
File "C:\Users\Michael\AppData\Local\conda\conda\envs\p36\lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "C:\Users\Michael\AppData\Local\conda\conda\envs\p36\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "kijiji_repost_headless_main.py", line 204, in
main()
File "kijiji_repost_headless_main.py", line 51, in main
args.function(args)
File "kijiji_repost_headless_main_.py", line 196, in nuke
[api.delete_ad(ad['id']) for ad in all_ads]
File "kijiji_repost_headless_main_.py", line 196, in
[api.delete_ad(ad['id']) for ad in all_ads]
File "kijiji_repost_headless\kijiji_api.py", line 128, in delete_ad
'ca.kijiji.xsrf.token': get_xsrf_token(my_ads_page.text),
File "kijiji_repost_headless\kijiji_api.py", line 73, in get_xsrf_token
return yaml.load(m.group(1), Loader=yaml.FullLoader)['token']
AttributeError: module 'yaml' has no attribute 'FullLoader'
C:\Routine\kijijipy>

You need to update your pyyaml Python package to version 5.1 or newer.
See here for details.

authors: jackm michaelkuzmin

repo: ArthurG/Kijiji-Repost-Headless


text:
Make coverage annotation optional

Coverage annotations in the PR makes reviewing extremely difficult.
If there was an option to disable the annotation, that would be very helpful.

Checked the code, found annotations: 'failed-tests'.
It's missing in the docs.

@sidharthv96, annotations appeared in 2.0 version, which is currently not released officially, only pre-releases. The 2.x version's docs are here

repo: ArtiomTr/jest-coverage-report-action


text:
Misc Tome of Beasts Creature Errors/Errata

Zmey Headling is missing (Tome of Beasts p417) - also it should have the "forest, swamp" environments.
Also per the errata, there are a few type changes from what things currently are.
Clockwork Abomination is a "Fiend (Construct, Devil)" but should be a "Construct (Devil)".
Spawn of Arbeyach is an "Aberration" but should be a "Fiend (Devil)".
Map Mimic is an "Aberration" but should be a "Monstrosity".
Oculo Swarm is a "Monstrosity (Swarm)" but should be an "Aberration (Swarm)".

Thanks, these have all been updated!

authors: Asmor Zenshi


text:
Addition of Plataforma de Almeria station

@AdamRJensen can you review this?

Closes issue #76

The acronym seems strange. I would have put down PSA - where did you find the one you used?

This is the name they officially use.
See annual report page 155.

The acronym seems strange. I would have put down PSA - where did you find the one you used?

This is the name they officially use.
See annual report page 155.
https://www.psa.es/en/techrep/2022/Annual_Report_2022.pdf
https://www.dlr.de/en/images/institutes-1/institute-of-solar-research/sf-meteorological-measurement-station-metas

authors: AdamRJensen IoannisSifnaios

repo: AssessingSolar/solarstations


text:
Feature script framework

Resolve https://github.com/AstarNetwork/swanky-cli/issues/144 & https://github.com/AstarNetwork/swanky-cli/issues/134
What were changed

swanky script run [SCRIPT_NAME] added.
typedContracts folder moved from tests/typedContracts to typedContract at project root, so that both tests and scripts can use them.
flipper typedContractsare templated when a project initialized, so that a sample script00_deploy.tscan use for showcasing how to deploy contracts by using typedContracts (usually they're generated byswanky contract compile` where typechain-polkadot get executed).
typechain-polkadot >= 1.0.0-beta doesn't need artifacts such as .contract & metadata .json externally. They're embedded in contract-info folder generated by typechain-polkadot command. So, no need for having raw artifacts both in tests and scripts.

Same as swanky contract test, swanky script run also gets version duplication warnings.
This PR was for fixing dup warning except testing https://github.com/AstarNetwork/swanky-cli/pull/142.

repo: AstarNetwork/swanky-cli


text:
Using authentication on the mongo DB

Do you want to request a feature, improve documentation, or ask a question?
I want to ask a question. I am new in both FHIR, SMART FHIR and health record. But, based on my recent study, it seems this has very good future. And I want to use this for my application that I am trying to make.
Are you reporting a bug?
No.
I want to use authentication before someone can create Patient, or Organization. I have been reading blogs and googling and it seems the plan is to use SMART FHIR. But, I did not find any documentation explaining how can I use this.
Sorry for very generic question but I have been strugging with this since few days and wondering to get direction.
Regards,
Suresh

Hi @sureshHARDIYA
Are you having issues figuring out how to do authorization with our server or with the SMART FHIR specification?  SMART FHIR?
Our server is built with the SMART on FHIR specification.  We have a scope validator that will check every request and ensure you have the right permissions before you can create/read a resource.
Tips on how to enable auth for our server:
If you have access to an Open ID server you can use our strategy.  If you don't, you can create a Basic Strategy for the time being (username/password).
Our sample strategy OpenID Strategy.
To enable this strategy, uncomment the configuration in the config file.
Edit your env variables to give it the properties it needs.  If you're using docker, edit the docker-compose file
If this is set up correctly, everything should be working.  It takes a little while to learn the spec but once you do, it's not so bad.
Let me know if you need more information (auth endpoint / token endpoint).  There's still a lot involved if you're new to this.

@jonterrylee Thank you so much for a prompt reply. Really appreciate it.

Are you having issues figuring out how to do authorization with our server or with the SMART FHIR specification itself?
I am having an issue figuring out how to do the authorization with your server. which is based on SMART FHIR right? So, it should include an authorization module.

I can walk you through this if you need help.
That would be great.

Basically, what I am trying to do is, save all my EHR records in MongoDB, and only allow CREATE/READ/UPDATE/DELETE by authorized users.  With this server, I could run and CREATE patient based on the documentation but I do not seem to have an authentication built in this process. I am new to SMART FHIR concept. Which seems difficult to grasp at once. Traditionally, I am used to a client-server architecture where a client communicates with the server using REST API. I am trying to find how SMART fits into this architecture. I saw the diagrams on SMART FHIR, to be honest, but it seems quite abstract to me.

@sureshHARDIYA Did you get a solution to this? If yes can you please share the sample please.
@Zandahr Request your help to get a basic sample of authentication using bearer token and basic username password.

@jeetendra-choudhary I believe this discussion led to the creation of this node-fhir-server-core wiki page on Access Control (https://github.com/Asymmetrik/node-fhir-server-core/wiki/Access-Control). This should help you with defining an SOF bearer strategy.

authors: jeetendra-choudhary jonterrylee sshah-asymmetrik sureshHARDIYA

repo: Asymmetrik/node-fhir-server-mongo


text:
Implement test

Create test.yml

実装を変えるためクローズ


text:
Feature: Flashes: Moving flashes to Graphics; Slowing scrolling background during Air Force fight and Baren falls; add minimap high contrast option

Moving Remove Flashes from Misc to Graphics, so that they don't affect the seed. Converted all event flash changes from NOPS to Flash None (55 00).
Slowing scrolling background on Falling through clouds and Baren Falls backgrounds.
Video test of scrolling background changes:
https://www.youtube.com/watch?v=dw1HBKfxsw4 (note: this was an earlier change to Baren Falls with no palette swap changes)
https://www.youtube.com/watch?v=zDM8iaGub8w (this reflects the latest change to Baren Falls with the palette swap change)
Tested Misc->Graphics change by rolling seeds with 4 random characters but same -s. Ensured that the same random characters appeared regardless of having -frm, -frw, or neither of them.
-wmhc (World Minimap High Contrast):

Changed boss flash removal to only flash the monster sprite:
Boss Death: https://www.youtube.com/watch?v=Tl8HXJEFmQc&ab_channel=SilverThorn
Kefka death: https://www.youtube.com/watch?v=fYXLS3BXDcY&ab_channel=SilverThorn

Merged into ff6wc fork

repo: AtmaTek/WorldsCollide


text:
Many "Playback error (undefined)" responses on Ubuntu 14.04

Hello: I'm running the most updated version of Atraci and run into a lot of songs that won't play. I've checked on the site itself and the songs play. I'm listening to Donald Fagen now and have gotten a five such errors on a playlist I pulled down, and even more from just a general search.

Can you try clearing the cache?
For me it happens when I use some kinda unstable connection (3g on low signal)

I'll give it a go and see what happens. here's an image from a prefab sprout list and none of them will play:

No -- clearing the cache (selecting both reset database and reload without cache) had no effect.

I have the same issue with some songs. I also treide to clean the cache and to delete the whole atraci folder
OS: Arch Linux

I also have the same issue.

I'm getting this as well on both Xubuntu 14.04 and Windows 8.1 on a fast, stable connection. This is what the console displays on Windows:

Have the same issue on ubuntu 14.10 despite that works like a charm!

I don't know what to tell you guys, I'm not a dev but on fc21, I only faced this issue once when my ISP was doing a maintenance. Never seen that again :worried:

this happens many times a day for me I wonder can it be that it interferes with skype / lampp server / router settings?

Hi im face the same issue, on fedora 21 x86_64

Every api call outside of US currently running into this issues on several videos

@avihaymenahem I'm from outside the US (Bangladesh). Me and several friends of mine use Atraci on a regular basis (ditched itunes radio), and the api response is ok here

Same issue.

stable connection
tried reloading without cache and clearing the database, to no avail
from Croatia

The only tracks that seem to be playing are live performances or covers - never the main thing. I don't know why that is, maybe it's just a coincidence.

@corazza sounds like a VEVO issue to me

@fa7ad Yes, I'm pretty sure it is.

@corazza I think this has something to do with the ytdl version Atraci uses, try building with the latest ytdl (use David for reference)

authors: BOHverkill Hernanarce arneal1 avihaymenahem corazza cybbro fa7ad mimi89999 sopermed

repo: Atraci/Atraci


text:
Robert/upgrade infra

Untested. UI changes are highly speculative on my part.

replaced by #744

repo: AugurProject/turbo


text:
Freezing a mock does not override an injected instance

Current Behaviour
When injecting two concrete instances, the second instance overrides the first.
When injecting a concrete instance, followed by a mocked instance, the second instance does not override the first.
This makes the idea of performing some tests which use a mock and some tests which use an implementation (using a test class constructor to share a fixture between tests) fairly awkward.
Expected Behaviour
When injecting two concrete instances, the second instance overrides the first.
When injecting a concrete instance, followed by a mocked instance, the second instance overrides the first.
Example of Expected Behaviour
using System.Collections.Generic;
using AutoFixture;
using AutoFixture.AutoMoq;
using Moq;
using Xunit;

namespace SomeNamespace
{
	public class AutoFixtureTests
	{
		[Fact]
		// Passes
		public void Should_OverridePreviouslyInjectedString()
		{
			const string test1 = "test1";
			const string test2 = "test2";

			var fixture = new Fixture();

			fixture.Inject(test1);
			fixture.Inject(test2);

			Assert.Equal(fixture.Create<string>(), test2);
		}

		[Fact]
		// Fails
		public void Should_OverridePreviouslyInjectedInstance()
		{
			var fixture = new Fixture().Customize(new AutoMoqCustomization());

			var sut1 = new List<int>();

			fixture.Inject<IList<int>>(sut1);
			fixture.Freeze<Mock<IList<int>>>();

			var sut2 = fixture.Create<IList<int>>();

			Assert.NotSame(sut1, sut2);
		}
	}
}

Hi @charles-salmon,
Thank you for taking the time to report this.
The behaviour you're observing is by design. Allow me to explain. 🙂
If you look at the implementation of the Freeze<T> method:
var value = fixture.Create<T>();
fixture.Inject(value);
return value;

You'll see that all it's doing is creating a specimen of T and injecting it into the fixture. Indeed, the Freeze method came about as a handy shortcut to this very operation. As @ploeh wrote in his post introducing the Freeze method back in 2010:

It turned out that we used this coding idiom so much that we decided to encapsulate it in a convenience method. After some debate we arrived at the name Freeze, because we essentially freeze a single anonymous variable in the fixture, bypassing the default algorithm for creating new instances.

Given that, the fact that freezing the same type T as an injected instance yields the same instance is expected.
Now, to address your point:

This makes the idea of performing some tests which use a mock and some tests which use an implementation (using a test class constructor to share a fixture between tests) fairly awkward.

Given that a fixture represents the context in which a test runs, you certainly can have multiple tests share the same fixture; however, this comes at the cost of mixing multiple—and possibly conflicting—concerns.
The xUnit Patterns book sums it up nicely:

The biggest issue with a [Shared Fixture](url
http://xunitpatterns.com/Shared Fixture.html) is that it can lead to "collisions" between tests possibly resulting in Erratic Tests, since tests may depend on the outcomes of other tests. Another issue is that a fixture designed to serve many tests is bound to be much more complicated than the Minimal Fixture needed for a single test.

This "collision" is exactly what happens when a test expects an object of type T to be a specific instance, while another test expects T to be a fake object.
Since I can't think of a test scenario where it makes sense for the same type T to both be a mock and a concrete instance (although I'm happy to be proven wrong), I suggest you have these tests use different fixtures, each setup to serve their particular scenario.

authors: charles-salmon ecampidoglio

repo: AutoFixture/AutoFixture


text:
Make some AutoData constructor overloads protected

Like originally discussed in #458, some constructor overloads on the [AutoData] attributes are only meaningful if you derive from the attribute. This is the case for the constructor overloads that take an IFixture instance as argument:
public AutoDataAttribute(IFixture fixture)

Since you can't create an instance of IFixture when adorning a type or member with an attribute, this constructor overload is (close to) useless.
While it's fairly harmless that these constructor overloads are public, it may cause confusion with users. Making these constructor overloads protected would clearly signal that these overloads are only intended for use when deriving from the attribute.
This is a breaking change, so should only be done in AutoFixture 4. It can, however, be completed already today, by committing only to the v4 branch.
This change should be made for both AutoFixture.Xunit, AutoFixture.Xunit2, and AutoFixture.NUnit2.

Done in #534


text:
getting Key error 0

Hi @PriyabrataThatoi 👍
Can you please share a Colab notebook or GitHub notebook where I can test this and find out where the key error is coming from? If you cannot, then please provide some more input on what the data is (link) and what settings you used?
Thanks
Auto-TS

Hi @PriyabrataThatoi 👍
I noticed that you have entered 'catboost' as the input argument for category_encoders field. However, the correct input is 'CatBoostEncoder'. Can you please check your inputs and try again.
Here is the documentation for inputs to featurewiz:
https://github.com/AutoViML/featurewiz#api
Thanks,
Auto-TS

I tried that, now it is showing a different error:
Dataframe.iloc only supports selecting columns. It must be used like
‘df.iloc[:,column_indexer]
On Wed, Dec 8, 2021 at 8:19 AM AutoViz and Auto_ViML <
@.***> wrote:

Hi @PriyabrataThatoi https://github.com/PriyabrataThatoi 👍
I noticed that you have entered 'catboost' as the input argument for
category_encoders field. However, the correct input is 'CatBoostEncoder'.
Can you please check your inputs and try again.
Here is the documentation for inputs to featurewiz:
https://github.com/AutoViML/featurewiz#api
Thanks,
Auto-TS
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/AutoViML/featurewiz/issues/8#issuecomment-988854819,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM7RX3YPBUYITLOC4M7RSE3UP5SP7ANCNFSM5JME6NXA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--
Regards
Priyabrata Thatoi
Contact: +1(405) 762-6874

Hi @PriyabrataThatoi 👍
I hope all these problems have been fixed with the latest release. Just update featurewiz using:
pip install featurewiz --no-deps --ignore-installed
This will force featurewiz to be upgraded.
Hope this helps
AutoViML

authors: AutoViML PriyabrataThatoi

repo: AutoViML/featurewiz


text:
How can I reset job's ID?

My program has been running for a long time. Job's ID is closed to 100,000,000. So, I want to reset job's ID to 0.
(P.S: Is it necessary to reset to zero? ..haha.)
Thanks.

Quick suggestion-> delete the job, and creating a new one.
Treat them as constant once created and it's much easier.

authors: jingzhiMo victusfate

repo: Automattic/kue


text:
[OTHER] UI/UX improvement

What would you like to share or ask?
Hello,
I have been scrolling through the Taipy website, and I think the orange shadow design is not consistent or in sync with the overall UI design.

Here, the orange shadow SVG fits perfectly, but...

...here, I think the shadow around the email input element looks odd.

And the same goes for this one.
What i Suggest:
I believe that removing the orange shadow from the email input element and the "Start with Taipy Now" card would improve the design, something like this:

Code of Conduct

[X] I have checked the existing issues.
[X] I am willing to work on this issue (optional)

Hey @chaanakyaaM the website repo is not open for contributions.
Thanks though

Hey @chaanakyaaM the website repo is not open for contributions.
Thanks though

authors: RymMichaut chaanakyaaM

repo: Avaiga/website


text:
Add .container-sm style for smaller forms

closed in https://github.com/Availity/availity-uikit/pull/35

repo: Availity/availity-uikit


text:
[Bug][Documentation] pseudoclasses styling not working

I wanted to set the style for controls using pseudoclasses (:pointerover, :disabled,...).
However, I tried the example from the documentation and it's not working. In this example, pointer hover on the button should change the text color to red but it still shows the default grey-ish color.
https://docs.avaloniaui.net/docs/styling/styles#pseudoclasses

Seems like these pseudoclasses are not working properly

I'm using 0.10.4

Thanks, I updated this documentation page.
To keep this repo cleaner, you can create documentation related issues in https://github.com/AvaloniaUI/Documentation

repo: AvaloniaUI/Avalonia


text:
Feature Request: per profile installation

Avalonia extension as of now doesn't support installation per VS Code profile, instead it installs to default profile.
One must apply extension to all profiles to have in .net workload.
in the picture below it's actually installed through .net profile, but after shuffling between default than back to .net it disappeared

It does work though? i've also installed it only in one profile but it doesnt disappear after shuffling thru other profiles(default profile included)

It does work though? i've also installed it only in one profile but it doesnt disappear after shuffling thru other profiles(default profile included)

you are right, this maybe was an issue related with vs code, which is fixed in 1.83.1

repo: AvaloniaUI/AvaloniaVSCode


text:
🧑💻: google translator

It will change the language of whole website as we know in India even in world there are many language and our user can be from any place and some user doesn't understand english so it will be better if we provide them the content of our website in there native language

Please assign me i can work on this Default is english but user has a button on clicking he get option of language and we could select form that

It's not of informative website, just a resources website.

authors: Avdhesh-Varshney Sawan-Kushwah

repo: Avdhesh-Varshney/WebMasterLog


text:
🛑 Mojang Multiplayer Session Service is down

In 2298f4f, Mojang Multiplayer Session Service (http://session.minecraft.net) was down:

HTTP code: 429
Response time: 15 ms

Resolved: Mojang Multiplayer Session Service is back up in 97cfd5d after 17 minutes.

repo: AventiumSoftworks/helios-status-page


text:
🛑 Microsoft Minecraft API is down

In 05772cf, Microsoft Minecraft API (https://api.minecraftservices.com/authentication/login_with_xbox) was down:

HTTP code: 429
Response time: 73 ms

Resolved: Microsoft Minecraft API is back up in fcf2e04.


text:
Add font

@ghutchis Added Poppins font for better readability!

Isn't it cool?

As I said, please post at https://discuss.avogadro.cc (with screenshot) to make your argument for the rest of the community.

https://discuss.avogadro.cc/t/change-font-to-poppins/5563

@ghutchis Let's discuss this topic again after the project has developed further!

@rivercory - perfect. We'd definitely welcome font / style tweaks as the docs get closer to finish. Thanks!

authors: ghutchis rivercory