com.impetus.kundera.KunderaException: Entitymatadata should not be null

I'm playing around with Kundera for the first time, using 2.6-SNAPSHOT on Cassandra.  My entity class looks like this:
@Entity(name = "User")
@Table(name = "users", schema = "dev@KunderaTests")
public class User implements Serializable {
private static final long serialVersionUID = -6949475495725775621L;

@Column(name = "user_name")
private String name = null;

@Column(name = "user_age")
private int age = 0;

@Id
private String id = null;

...getters & setters....
}
...and my persistence.xml looks like this...

<persistence-unit name="KunderaTests">
	<provider>com.impetus.kundera.KunderaPersistence</provider>
	<properties>
		<property name="kundera.nodes" value="localhost" />
		<property name="kundera.port" value="9160" />
		<property name="kundera.keyspace" value="dev" />
		<property name="kundera.dialect" value="cassandra" />
		<property name="kundera.client.lookup.class"
			value="com.impetus.client.cassandra.pelops.PelopsClientFactory" />
		<property name="jboss.entity.manager.factory.jndi.name"
			value="java:/KunderaTestsEntityManagerFactory" />
		<!-- <property name="kundera.cache.provider.class" value="com.impetus.kundera.cache.ehcache.EhCacheProvider"
			/> <property name="kundera.cache.config.resource" value="/ehcache-test.xml"
			/> -->
	</properties>
</persistence-unit>

My project starts up just fine, with no errors or exceptions.  However, when I run this code:
	EntityManagerFactory emf = Persistence
			.createEntityManagerFactory("KunderaTests");
	EntityManager em = emf.createEntityManager();

	User u = new User();
	u.setAge(30);
	u.setName("Test");
	u.setId(String.valueOf(System.currentTimeMillis()));

	em.persist(u);
	em.close();
	emf.close();

I get an Exception saying, "com.impetus.kundera.KunderaException: Entitymatadata should not be null" and I see the following line written to my logs:
"No Entity metadata found for the class class com.test.User. Any CRUD operation on this entity will fail.If your entity is for RDBMS, make sure you put fully qualified entity class name under  tag in persistence.xml for RDBMS persistence unit. Returning null value."
I looked at the "Getting Started" guide and everything seems to be in order according to the examples.  Any idea why I'm getting this?

Hi, can anyone just explain a little like, where do we have to place the jar file consisting of the entity classes and if we don't place the jar file like this, then only adding the class tag in persistence.xml would be sufficient or not ? Kindly help!

It should be in the classpath of your project else , when placed externally you need to add it's path in persistence.xml by using
<jar-file>/home/impetus/perf_n.jar</jar-file> <jar-file>/home/impetus/perf.jar</jar-file>

Chhavi


Export window is recalculating a lot with each letter in the filename

I am crunching this huge file.
I am trying to name it. Each letter takes about 5 seconds. I think it is recomputing the vertices from this massive file each time.

Fixed in #304


[CARBONDATA-2117]Fixed Syncronization issue in Carbon ENV

Problem: When creating multiple session (100) session initialisation is failing with below error
java.lang.IllegalArgumentException: requirement failed: Config entry enable.unsafe.sort already registered!
Solution: Currently in CarbonEnv we are updating global configuration(shared) and location configuration in class level synchronized block. In case of multiple session class level lock will not work , need to add global level lock so only one thread will update the global configuration

[ ] Any interfaces changed?

[ ] Any backward compatibility impacted?

[ ] Document update required?

[ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3425/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2186/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/3292/

LGTM


Have a command list in every plugin that the bot can query if needed

The bot can, e.g., present the user with a list of known commands collected over all plugins when !help is called. Maybe this !help command should also be a plugin and not hardcoded in the bots.

Actually I want to do that differently and make the plugins register commands at the bot, therefore closing this


xfce.xfce4-wavelan-plugin: init at 0.6.3

Description of changes

https://docs.xfce.org/panel-plugins/xfce4-wavelan-plugin
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

@ofborg eval

I don't use Nix anymore.


Cylindrical to cartesian coordinate calculator

I would like to add calculator to convert cylindrical coordinates to cartesian cooriantes

@sairish2001 I have done this issue.

@Amit366 can u pls referr the PR?

@khareyash05 what happened??

Can you pls share the PR no. @Amit366


Release/1.0.0 beta.56

@aramallo or @alejandro-miguez
This has not been approved and I am not even sure if I can then merge it.. Looks like I am not authorized.


IGNORE TEST APPVEYOR

@MarcoFalke just for check, is the gui repo added to bitcoin-core's account in ci.appveyor.com ?

@MarcoFalke just for check, is the gui repo added to bitcoin-core's account in ci.appveyor.com ?

Only DrahtBot has an account, and the project is here: https://ci.appveyor.com/project/DrahtBot/bitcoin-core-gui

Only DrahtBot has an account, and the project is here: https://ci.appveyor.com/project/DrahtBot/bitcoin-core-gui

Only DrahtBot has an account, and the project is here: https://ci.appveyor.com/project/DrahtBot/bitcoin-core-gui

Right.
Looking at commit history in this repo I did not notice Appveyor builds even for last summer commits. Has DrahtBot a proper access to the gui repo?

Only DrahtBot has an account, and the project is here: https://ci.appveyor.com/project/DrahtBot/bitcoin-core-gui

Right.
Looking at commit history in this repo I did not notice Appveyor builds even for last summer commits. Has DrahtBot a proper access to the gui repo?


[Changed] Resize query panel table height on panel resize

Overview
Resolves https://github.com/innoverio/vscode-dbt-power-user/issues/129

I have seen that linting automatically ran, I can reset the style if you see this as a problem to review the PR
Checklist

[x] I have run this code and it appears to resolve the stated issue
[ ] README.md updated and added information about my change

I have seen that linting automatically ran, I can reset the style if you see this as a problem to review the PR

Ideally this should be automated and run as pre-commit hook, maybe this can be done another PR or instead you could first add this and then the resize changes?
For the rest it looks good, note that I didn't test it yet.

I have seen that linting automatically ran, I can reset the style if you see this as a problem to review the PR

Ideally this should be automated and run as pre-commit hook, maybe this can be done another PR or instead you could first add this and then the resize changes?
For the rest it looks good, note that I didn't test it yet.

Ok, I'll do it in two steps ;)

@jlpjavi : PTAL


Go Live | July 16

Push to live

Docs Build status updates of commit c830868:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/build-and-test/apps-localization.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Cold/Flu: API End Points

User Story
A short, simple description of a feature or issue told from the perspective of the user.
“As a user wanting to register my worksite for a clinic, I did find my worksite listed but I have reasons to register our team as a separate clinic”
Methods:

GET

[ ] PATH xxx/user
return logged in user information (first, last, email, phone, job title)

[ ] PATH xxx/ministry
return array of ministries

[ ] PATH xxx/address/{ministryId}
return array of addresses under the specified ministry

[ ] PATH xxx/contact/{worksiteId}
return array of contacts under the specified address

[ ] PATH xxx/registration/{worksiteId}
return form object

[ ] PATH xxx/registration/{employeeId}
return form object

[ ] PATH xxx/roles
return array of site admins

POST

[ ]  PATH xxx/address
input: Google Maps response
return address in db

[ ] PATH xxx/registration
input: form object
return record id

[ ] PATH xxx/contact
input: contact object
return contact id

PUT

[ ] PATH xxx/record
return record id

[ ] PATH xxx/contact/{contactId}
input: contact object
return success message

Acceptance Criteria

[ ] data is successfully and correctly passed from BE to FE

@ca-liu @EduardoRamirezBC
We need to set up a sync call with the PeopleSoft team developers (Mike / Patrick) and Digital Journey developers (Chris, Bhumin, Andrew).
From ticket #1010 got to know from Mike that we are revising database structure hence API endpoints work is pause for a while.
We are performing CRUD operations on Clinic, Contact, and Address tables. Mike will be developing API endpoints for the same. Hence we need to know when we(Digital Journey) can call which API endpoints from the Form(Digital Journey). It required to indicate which API and Form component are relate with each other.
Also from ticket #1007 found that we need revision history.
Question: If the data stores on PeopleSoft, Do we need to stores revisions on the Digital Journey database? or it will be handle on the PeopleSoft, and we(on Digital Journey) can retrive that data using GET API?
For reference how Peopesoft APIs are connected with Digital Journey system (High level diagram).

cc: @Stella-Archer @DonMoffatt @chriscaldwell-psa @MeghanStothers

@ca-liu @EduardoRamirezBC We need to set up a sync call with the PeopleSoft team developers (Mike / Patrick) and Digital Journey developers (Chris, Bhumin, Andrew).
From ticket #1010 got to know from Mike that we are revising database structure hence API endpoints work is pause for a while.
We are performing CRUD operations on Clinic, Contact, and Address tables. Mike will be developing API endpoints for the same. Hence we need to know when we(Digital Journey) can call which API endpoints from the Form(Digital Journey). It required to indicate which API and Form component are relate with each other. Also from ticket #1007 found that we need revision history. Question: If the data stores on PeopleSoft, Do we need to stores revisions on the Digital Journey database? or it will be handle on the PeopleSoft, and we(on Digital Journey) can retrive that data using GET API?
For reference how Peopesoft APIs are connected with Digital Journey system (High level diagram).
cc: @Stella-Archer @DonMoffatt @chriscaldwell-psa @MeghanStothers

H Bhumin,
PeopleSoft is not part of this. We have a data warehouse containing the Influenza database and that Influenza database will be  populated by this form: it is not connected to PeopleSoft.  Just replace the PeopleSoft in your diagram with "Data Warehouse".
Don

@DonMoffatt
a quick question here.
Who will work on "Data Warehouse" database and provide API endpoints so we can connect it to "Digital journey" system?

@DonMoffatt
a quick question here.
Who will work on "Data Warehouse" database and provide API endpoints so we can connect it to "Digital journey" system?

@DonMoffatt a quick question here. Who will work on "Data Warehouse" database and provide API endpoints so we can connect it to "Digital journey" system?

Hi Bhuman - I am constructing the new tables in the Influenza db on the DEV server in the Data Warehouse this morning and Mike is my contact for the API endpoints. I will notify him when it is ready. I will loop you in on related emails to Caleb et al. as this proceeds. I am juggling multiple projects but hope to complete this by noon our time.

@DonMoffatt Thank you for your quick response :)

@mikeshi-bcgov
based on today's discussion.
We need below API Endpoints to get go in the ongoing sprint.

GET: get registered clinics under selected worksite. #990
POST and PUT: Worksite + clinic information (In the PSA Digital journey we have ApplicationID that help us to uniquely identify all the submission for create and update) #998
POST and PUT: Clinic registration under existing worksite. (for all submission we have applicationID as unique field) #999

Note:
In point 2 & 3. We send applicationID in the PUT request which help you to identify existing data in database.
So you need to add "applicationId" column in worksite and clinic/registration table as well.
We have done the same in "Senior leadership review form". Patrick worked on it.
I'm currently using below endpoints,
ODS_Datamart_influenza_ministry (list all ministries)
ODS_Datamart_influenza_city (list all cities)
ODS_Datamart_influenza_worksite (list and filter worksites basedn ministryId[mID]).

@bhumin-fw
Based on the current version of ERD, API endpoints for all tables have been created as below, "telework" has GET/POST/PUT/DELETE permissions, please let me know what else you need.
https://analytics-testapi.psa.gov.bc.ca/apiserver/api.rsc/ods_datamart_influenza_contacts/
https://analytics-testapi.psa.gov.bc.ca/apiserver/api.rsc/ods_datamart_influenza_ministries/
https://analytics-testapi.psa.gov.bc.ca/apiserver/api.rsc/ods_datamart_influenza_registrations/
https://analytics-testapi.psa.gov.bc.ca/apiserver/api.rsc/ods_datamart_influenza_worksites/
https://analytics-testapi.psa.gov.bc.ca/apiserver/api.rsc/ods_datamart_influenza_worksite_ministries/

@bhumin-fw
FYI: The old API endpoints based on the legacy schema have been removed:
ODS_Datamart_influenza_ministry
ODS_Datamart_influenza_city
ODS_Datamart_influenza_worksite

@mikeshi-bcgov
for ods_datamart_influenza_registrations/ and ods_datamart_influenza_worksites/
Will you be able to provide me endpoint that work like point 2 & 3 in above comment?

POST and PUT: Worksite + clinic information (In the PSA Digital journey we have ApplicationID that help us to uniquely identify all the submission for create and update) #998
POST and PUT: Clinic registration under existing worksite. (for all submission we have applicationID as unique field) #999

Note:
In point 2 & 3. We send applicationID in the PUT request which help you to identify existing data in database.
So you need to add "applicationId" column in worksite and clinic/registration table as well.
We have done the same in "Senior leadership review form". Patrick worked on it.

@mikeshi-bcgov
for point 2. in which I'll send worksite and registration both details for new record creation. You need to add separate endpoint.
for point 3, I guess I can use ods_datamart_influenza_registrations/ endpoint only.
Requirement: in POST it should accept applicationID and save on both worksite & registration table and in PUT request it accept applicationID to update data on ODS end points.

We have done the same in "Senior leadership review form". Patrick worked on it.

You can connect with Patrick regarding the same.

@bhumin-fw
is the applicationID integer?

@mikeshi-bcgov yes it is integer only. let me match schema with form so I can create sample request for you.
are you preparing new and point? to create worksite and registration in same endpoint.
As that will be required, if worksite does not exist then we will have form that contain all fields for worksite and registration in single object.

@bhumin-fw
We are working on this

@bhumin-fw
The new endpoint for creating records for worksite and registration in single object has been created, please test.
https://analytics-testapi.psa.gov.bc.ca/apiserver/api.rsc/ods_datamart_influenza_insert_worksite_registration/
Request Example:
var postdata = { "application_id": 1, "city": "city_2", "closed_reason": "closed_reason_3", "country": "country_4", "is_closed": "is_closed_5", "last_modified_date_time": "2023-04-12T13:17:57-07:00", "ministry_id": 7, "number_of_employees": 8, "place_id": "place_id_9", "postal_code": "postal_code_10", "primary_contact_id": 11, "province": "province_12", "relocating": "relocating_13", "secondary_contact_id": 14, "special_instructions": "special_instructions_15", "street_name": "street_name_16", "street_number": "street_number_17", "submitted_date_time": "2023-04-12T13:17:57-07:00", "year": 19};
Response:
{ "value": [{ "registrations_id": 1, "wm_id": 2, "worksite_id": 3}]}

@mikeshi-bcgov

The new endpoint for creating records for worksite and registration in single object has been created, please test.
https://analytics-testapi.psa.gov.bc.ca/apiserver/api.rsc/ods_datamart_influenza_insert_worksite_registration/

Your sample request object.
{
"application_id": 1,
"city": "city_2",
"closed_reason": "closed_reason_3",
"country": "country_4",
"is_closed": "is_closed_5",
"last_modified_date_time": "2023-04-12T13:17:57-07:00",
"ministry_id": 7,
"number_of_employees": 8,
"place_id": "place_id_9",
"postal_code": "postal_code_10",
"primary_contact_id": 11,
"province": "province_12",
"relocating": "relocating_13",
"secondary_contact_id": 14,
"special_instructions": "special_instructions_15",
"street_name": "street_name_16",
"street_number": "street_number_17",
"submitted_date_time": "2023-04-12T13:17:57-07:00",
"year": 19
}
Object that I can generate from PSA Digital journey form submission system.
{
/* Worksite Details */
"street_number": "2 is street number",
"street_name": "abbot is street name",
"city": "Vancouver",
"postal_code": "234 vt5",
/* Primary and secondary contact details */
"primary_first_name": "PFirst",
"primary_last_name": "PLast",
"primary_phone": "(111) 111-1111",
"primary_email"<EMAIL_ADDRESS>"secondary_first_name": "SFirst",
"secondary_last_name": "Slast",
"secondary_phone": "(222) 222-2222",
"secondary_email"<EMAIL_ADDRESS>/* registration details */
"number_of_employees": "45",
"ministry_id": 8,
"is_closed": "closed",
"closed_reason": "justification on cloased",
"relocating": "yes",
"special_instructions": "Special instruction",
"application_id": "327",
/* extra fields */
"application_status": "Resubmit",
"change_fields": "No data has been changed",
"do_not_see_your_worksite_hidden": "true",
"is_registration_open": True,
"your_ministry_or_organization": None,
"select_your_worksite": None
}
Note: In above object bold value match directly with your suggested request object. /you can ignore the extra fields/
Request to add logic for contact add/update.
Here I can send full detail of primary and secondary contact details. You need to add logic that get contact id or create contact details in database, same like worksite and registration.
Same apply for update (PUT) request.
in put request url will look like /ods_datamart_influenza_insert_worksite_registration(327) and data object will be same as above.

@bhumin-fw
The log shows you are still calling the 3 old endpoints today, as I have communicated they have been replaced with new ones based on the new schema.

@mikeshi-bcgov all the old endpoints just stopped and replace it with new one. In recent couple hours it didn't trigger any old point. Do let me know if it trigged in last 2 hours so I can check DEV environment again for the same.

In above object below data will be used to fetch primary_contact_id
"primary_first_name": "PFirst",
"primary_last_name": "PLast",
"primary_phone": "(111) 111-1111",
"primary_email"<EMAIL_ADDRESS>Pick primary_email and look up contacts table. If found, fetch and assign it to primary_contact_id key.
If no data found for email on contacts table. Add data using above keys & data. retrive newly created records id and assign it to primary_contact_id.
Same apply for the secondary_contact_id too.

@bhumin-fw
What is the time calling? I don't see in the log.

@mikeshi-bcgov
Just triggered it, see below error on DEV.
Error has been observed at the following site(s):
*__checkpoint ⇢ 500 from POST https://analytics-testapi.psa.gov.bc.ca/apiserver/api.rsc/ods_datamart_influenza_insert_worksite_registration

@bhumin-fw Logged:
{
"error" : {
"date" : "2023-04-13T10:57:49-07:00",
"code" : "200",
"message" : "[22001] Data too long for column 'relocating' at row 1 (1406)",
"resource" : "/apiserver/api.rsc/ods_datamart_influenza_insert_worksite_registration",
"pathinfo" : "/ods_datamart_influenza_insert_worksite_registration",
"request" : "{"primary_first_name":"PFirst","relocating":"yes","secondary_last_name":"Slast","city":"Vancouver","change_fields":"No data has been changed</p>","secondary_email":"[bhumin1008@mailinator.com](mailto:bhumin1008@mailinator.com)","street_name":"abbot street name","primary_phone":"(111) 111-1111","app_base_url":"[http://localhost:3000/\](http://localhost:3000/)","secondary_phone":"(222) 222-2222","closed_reason":"justification on closed","application_status":"Resubmit","secondary_first_name":"SFirst","primary_last_name":"PLast","is_closed":"closed","is_registration_open":false,"special_instructions":"Special Utility","application_id":"345","do_not_see_your_worksite_hidden":"true","number_of_employees":"45","your_ministry_or_organization":"undefined","select_your_worksite":"undefined","street_number":"9887","primary_email":"[bhumin1007@mailinator.com](mailto:bhumin1007@mailinator.com)","ministry_id":36,"postal_code":"234 vt5"}"
}
}

@mikeshi-bcgov

"message" : "[22001] Data too long for column 'relocating' at row 1 (1406)",

"relocating":"yes" its length is 3 only.
In your example it shows "relocating": "relocating_13".
not sure why it throws this error, could you help me to understand this error if you have any idea.

@bhumin-fw
The API endpoint does not recognize data type bit from MySQL, have just adjusted to bool. Can you please pass values true/false or 1/0. and try again? for both fields is_closed and relocating

@bhumin-fw
Based on the data elements you are able to generate from PSA DJ form submission, the API endpoint was re-created.
HTTP POST (https://analytics-testapi.psa.gov.bc.ca/apiserver/api.rsc/ods_datamart_influenza_insert_worksite_registration/)
var postdata = { "application_id": 1, "city": "city_2", "closed_reason": "closed_reason_3", "country": "country_4", "is_closed": "is_closed_5", "ministry_id": 6, "number_of_employees": 7, "postal_code": "postal_code_8", "primary_email": "primary_email_9", "primary_first_name": "primary_first_name_10", "primary_last_name": "primary_last_name_11", "primary_phone": "primary_phone_12", "province": "province_13", "relocating": "relocating_14", "secondary_email": "secondary_email_15", "secondary_first_name": "secondary_first_name_16", "secondary_last_name": "secondary_last_name_17", "secondary_phone": "secondary_phone_18", "special_instructions": "special_instructions_19", "street_name": "street_name_20", "street_number": "street_number_21"};
All fields included are required, if there is data please passed blank, for instance for Province and Country.
Below is an example what I have tested using Postman, it worked:
{"application_id": 999, "city": "Victoria", "closed_reason": "Not Closed", "country": "canada", "is_closed": "false", "ministry_id": 10, "number_of_employees": 5, "postal_code": "V4E2B3", "primary_email"<EMAIL_ADDRESS>"primary_first_name": "mike", "primary_last_name": "shi", "primary_phone": "604-111-1111", "province": "BC", "relocating": "false", "secondary_email"<EMAIL_ADDRESS>"secondary_first_name": "michael", "secondary_last_name": "shi", "secondary_phone": "778-111-1111", "special_instructions": "special_instructions_19", "street_name": "Second st", "street_number": "11111"}

@bhumin-fw
Sorry, correct the saying in last comment: "All fields included are required, if there is NO data for that field please passed blank, for instance for Province and Country."

Thank you, Mike!
Tagging @iman-jamali-fw for awareness

Deployed Bhumin's PR so hopefully call to the old endpoint should not happen. Will test out the new endpoints today and will update the ticket.

Iman to focus on this ticket today - to ensure issue is resolved.

@mikeshi-bcgov
question: How to filter worksites based on the selected ministry or organization?
Context: In the form, there are two dropdowns. One allows users to select a ministry/organization and another one, lists all worksites. I wonder if there is a way to filter those worksites based on the selected ministry/organizations.
ministry/organizations are fetched from ods_datamart_influenza_ministries endpoint and return list of following objects:
{
      "ministry_id": 1,
      "is_active": true,
      "m_name": "Advanced Education, Skills and Training"
    },

And worksites are fetched from ods_datamart_influenza_worksites, returning list of objects with following schema:
{  "worksite_id": 1,
        "city": "Victoria",
        "country": "Canada",
        "place_id": "ChIJpeEBgZF0j1QRtRjzzSgGSw0",
        "postal_code": "V8W 9B5",
        "province": "BC",
        "street_name": "Humboldt St",
        "street_number": "835",
        "application_id": null
    }

@iman-jamali-fw
Example:
https://analytics-testapi.psa.gov.bc.ca/apiserver/api.rsc/ods_datamart_influenza_vw_worksites_ministries_joined?$filter=ministry_id eq 20

@mikeshi-bcgov
This is great! Thank you

@mikeshi-bcgov
I was able to send a POST request to https://analytics-testapi.psa.gov.bc.ca/apiserver/api.rsc/ods_datamart_influenza_insert_worksite_registration with applicationId of 8384. Could you please confirm that it actually received?
The initial issue, from our end, was that two fields were missing, country and province. I added them to the form, but not sure if it's a requirement. This a question for tomorrow's standup, I guess.
Also, there is some mismatch between what we currently send (in the following) and the example you shared in Postman a few comments above:

Fields
What we are sending
In your example

application_id
string
integer

is_closed, relocating
boolean for example true
boolean in double quotes for example "true"

Another thing I learned is that for the current optional fields in the form (country, city, primary_phone, province, secondary_phone, special_instructions, street_number, postal_code) I can send null values and post request pass with no problem. But one optional item, ministry_id broke the request which I changed to a required field. Could you please check the mentioned optional fields to see if it is OK to send null values or do I need to make changes to the form?

@mikeshi-bcgov  @ca-liu
Based on what I learned from tables shcema, what needs to pass for registration is worksite_ministry_id wm_id. Currently only ministry_id is passed which I think needs to change. Let me know what you think.

Iman was able to register a worksite but there are questions about field - work with Mike and Caleb to sort out details.

@iman-jamali-fw
Confirm 3 registrations received, 8383/8384/8385

@iman-jamali-fw
In table schema for "registrations" , there is field "year", do you have the value for it on the form?
@ca-liu is the "year" mandatory?

@iman-jamali-fw
In table schema for "registrations" , there is field "year", do you have the value for it on the form?
@ca-liu is the "year" mandatory?

Hey @mikeshi-bcgov, yes, we need the year as it will help filter data for 2024 registrations.
Thanks for checking!

@mikeshi-bcgov  @ca-liu
I don't see year in the form. Do you want it to be added by the user in the form or added in the background based on some logic, like the current year during submission)?
@ca-liu
Another question, I forgot to mention in standup is about two required filed in the registration API, country and province. We currently don't have these fields captured (temporarily added to pass submission). in the form. Do you want me to add the fields to the form?

@mikeshi-bcgov  @ca-liu
I don't see year in the form. Do you want it to be added by the user in the form or added in the background based on some logic, like the current year during submission?
@ca-liu
Another question, I forgot to mention in standup is about two required filed in the registration API, country and province. We currently don't have these fields captured (temporarily added to pass submission). in the form. Do you want me to add the fields to the form?

Hey @iman-jamali-fw year should be a row in the registrations table 🙂
I've added the logic requirement to ticket #1005 - yes, current year would suffice. Not sure if it was added to the FE.
We are using Google Maps (just getting approvals from Privacy right now), the Google Maps API response would provide the country and province:
https://developers.google.com/maps/documentation/geocoding/requests-geocoding
Thank you!! 🙂

@ca-liu  @mikeshi-bcgov
I added year to the submission. It's an integer representing the current year during the submission.
One follow-up question for you @ca-liu
Do you want the year to capture the initial submission or updated it each time a submission is resubmitted (if that is even supported for this form)?

@ca-liu  @mikeshi-bcgov
I added year to the submission. It's an integer representing the current year during the submission.
One follow-up question for you @ca-liu
Do you want the year to capture the initial submission or updated it each time a submission is resubmitted (if that is even supported for this form)?

Hey @iman-jamali-fw,
Great question! Year would be the year that the form was submitted. We also have a "last_modified" row in the database to capture changes. 🙂

@iman-jamali-fw
The endpoint now will accept value for "year"

Great question! year would be the year that the form was first submitted. We also have a last_modified_date_time row in the database to capture changes.

Perfect! I added year, a hidden field in the form with logic that only captures the year during the initial submission.

@iman-jamali-fw
Based on the updated ERD Caleb has shared, the Endpoints updated accordingly. Please let me know if you run any issues

Thank you so much, @mikeshi-bcgov  and @iman-jamali-fw

@mikeshi-bcgov
Works great! Thanks.
There is just one change in the URL, the last word in the insert URL has an extra n. Can you fix that? `\testapi.psa.gov.bc.ca/apiserver/api.rsc/ods_datamart_influenza_insert_worksite_registrationn

@iman-jamali-fw
Sorry, corrected

@iman-jamali-fw and @bhumin-fw
A new API endpoint for existing Worksite is now available for your test
HTTP POST (https://analytics-testapi.psa.gov.bc.ca/apiserver/api.rsc/ods_datamart_influenza_insert_registration_existing_worksite/)
Request Example:
var postdata = { "application_id": 1, "closed_reason": "closed_reason_2", "date_modified": "2023-04-19T09:23:55-07:00", "date_submitted": "2023-04-19T09:23:55-07:00", "is_closed": "is_closed_5", "is_relocating": "is_relocating_6", "ministry_id": 7, "number_of_employees": 8, "primary_email": "primary_email_9", "primary_first_name": "primary_first_name_10", "primary_last_name": "primary_last_name_11", "primary_phone": "primary_phone_12", "secondary_email": "secondary_email_13", "secondary_first_name": "secondary_first_name_14", "secondary_last_name": "secondary_last_name_15", "secondary_phone": "secondary_phone_16", "special_instructions": "special_instructions_17", "worksite_id": 18, "year": 19}
Response:
{ "value": [{ "primary_contact_id": 1, "registrations_id": 2, "secondary_contact_id": 3}]}

@mikeshi-bcgov

HTTP POST (https://analytics-testapi.psa.gov.bc.ca/apiserver/api.rsc/ods_datamart_influenza_insert_registration_existing_worksite/)

So this endpoint will actually update an existing registration? Because it's a post I thought it is adding a new entry.

@iman-jamali-fw
This endpoint will add a new entry in table "registration" based on an existing WorkSite.

@mikeshi-bcgov
Ok. I think I don't know the exact requirement of adding based on the existing worksite feature. Can you help me understand the difference between insert_registration and insert_existing_registration? Does the existing  require an existing worksite_id in the body?

@iman-jamali-fw
Base on existing WorkSite, not existing Registration. Which assuming you already have ministry_id and worksite_id.

@iman-jamali-fw
Actually you can also use those basic endpoints for each table to achieve the same, just a few more steps on Form side.

@mikeshi-bcgov
That makes sense. Thank you

@iman-jamali-fw
Should be BLANK

@iman-jamali-fw
For instance, here are what we received for fields "closed_reason" and "special_istructions" for application_id 8415/8437, not sure what you have posted, if no value for the field should like closed_reason.

@mikeshi-bcgov

A new API endpoint for new worksite and registration
HTTP POST https://analytics-testapi.psa.gov.bc.ca/apiserver/api.rsc/ods_datamart_influenza_insert_worksite_registration

Do we have update endpoint ready for the same? we will pass same object again in request body.
We call above same url using PUT method
HTTP PUT https://analytics-testapi.psa.gov.bc.ca/apiserver/api.rsc/ods_datamart_influenza_insert_worksite_registration(301)
note: 301 is an application id
Same for below too.

A new API endpoint for existing Worksite is now available for your test
HTTP POST (https://analytics-testapi.psa.gov.bc.ca/apiserver/api.

rsc/ods_datamart_influenza_insert_registration_existing_worksite/)

@bhumin-fw
Because this kind of endpoint dealing with multiple tables is based on Stored Procedure, will only accept POST request. How about I create a separate endpoint named like "https://analytics-testapi.psa.gov.bc.ca/apiserver/api.rsc/ods_datamart_influenza_update_worksite_registration"?
If this works for you, I will create tomorrow.

@mikeshi-bcgov
Yes Mike, Separate endpoints work fine.
Please consider that I'll be able to send same object in update request like which sending in POST.
Please keep it in your list that we need both endpoints with update requirements.

worksite and registrations
https://analytics-testapi.psa.gov.bc.ca/apiserver/api.rsc/ods_datamart_influenza_insert_worksite_registration

registration under existing worksite
https://analytics-testapi.psa.gov.bc.ca/apiserver/api.rsc/ods_datamart_influenza_insert_registration_existing_worksite/

@bhumin-fw
sounds good, will work on these tomorrow, and update you when available

@bhumin-fw
Endpoint HTTP POST (https://analytics-testapi.psa.gov.bc.ca/apiserver/api.rsc/ods_datamart_influenza_update_worksite_registration/) has been created, please test.

@mikeshitelus @mikeshi-bcgov
I did send 2 request one for _insert and one for _update.
Could you please check and let me know both received on your end or not?
One more can we connect on a call to discuss about other API? let me know what is a preferred way to connect with you on a call.

@bhumin-fw
seems only received the _insert request, record was inserted.

@bhumin-fw
Endpoint
HTTP POST (https://analytics-testapi.psa.gov.bc.ca/apiserver/api.rsc/ods_datamart_influenza_update_registration_existing_worksite/) is now available for testing too.

@mikeshitelus @mikeshi-bcgov
I'm checking issue for sending second request for the update on server.
Thank you so much for the quick response here on other _update endpoints too.

@bhumin-fw
Actually every time once you have inserted/updated, you can query to confirm by yourself, if you need more fields to be expose through those joined views please let me know.
eg. https://analytics-testapi.psa.gov.bc.ca/apiserver/api.rsc/ods_datamart_influenza_vw_registrations_worksites_joined?$filter=application_id eq 8511

@bhumin-fw
I will be available Monday anytime after 10:00AM, please let me know what time work for you?

@mikeshitelus @mikeshi-bcgov
I'm having my onboarding task on that day. how about 2 or 2:30pm on Monday?

@bhumin-fw
Ok, let's meet 2:30 PM Monday

@bhumin-fw
Endpoint for registration soft deletion is now available:
HTTP POST (https://analytics-testapi.psa.gov.bc.ca/apiserver/api.rsc/ods_datamart_influenza_delete_registration/)
var postdata = { "application_id": 1};

@mikeshi-bcgov @mikeshitelus
Thank you for your quick response here.
Is that apply in get registration related API too (ignore soft deleted registration in the GET API list endpoint /ods_datamart_influenza_vw_registrations_worksites_joined?worksite_id=1)?
I'll update workflow and check delete registration by tomorrow afternoon. I'll keep you posted if I have any query in that.

Thank you, @mikeshi-bcgov  and @bhumin-fw for going over the endpoint details today!
As discussed, I have updated the ticket to include the expected input/output for the end points.

@bhumin-fw
Yes, the "deleted" registrations will be ignored from endpoint /ods_datamart_influenza_vw_registrations_worksites_joined. As for endpoint /ods_datamart_influenza_registrations/, because it is directly with table, you need to apply filter "deleted_ind Eq null"

@bhumin-fw
Wondering if this ticket can move to review? It's blocking other tickets and we need to start wrapping up this project.

@mikeshi-bcgov Thank you for all the back and forth update on endpoints. Appreciate that.
Thank you @iman-jamali-fw  for your follow up and pick some conversation while I was away.
I'm moving this ticket to peer review and I guess we can close this ticket in next standup.

Bhumin and I went through the form today and all the data pulls in well. He has a few other things to do based on work from other tickets. This ticket can be closed.

Thanks to all for working on the famous #1000 - this one was a lift of many hands.

@Stella-Archer Yes it include edit functionality in submit. We can close this ticket.


disable sending txs to yourself

Is your feature request related to a problem? Please describe.

Not required for testing anymore.
Describe the solution you'd like

Show error on Send modal

was this a feature for testing? i don't see any reason to stop users from doing this if they want to. maybe a warning message if the addresses match - but this seems fine to me.

I’m fine with showing a warning message


Customize the CONTRIBUTING.md

The architecture of coderadar is updated. Furthermore the database is
changed to the graph database Neo4j. Thus the CONTRIBUTING.md must be
adapted. In order to simplify the development of coderadar for everyone,
a Git Workflow is also defined. For following changes of the file the
file was adapted to the usual Markdown conventions (line break after
point, blank line after heading).

The overview of the components must be updated, after that the PR can be merged.

I will close this PR, because a lot has changed in the meantime. Nice work! I'm looking forward to a first version that can actually be used in a project.
If you want to use parts of this PR, you are welcome to copy from it.


fix: upgrade to JCS3

Upgrade to JCS3 to resolve cache misses in the gradle implementation. Additionally, this allows easier control over the JCS logging - as the logs are now routed to slf4j.
This is a draft PR as we must wait until JCS 3.2 is released due to a bug in the JCS logging.
Resolves https://github.com/jeremylong/DependencyCheck/issues/5096
Resolves https://github.com/dependency-check/dependency-check-gradle/issues/293

JCS 3.2 has been released 3 days ago.
@jeremylong : Will the upgrade make it into 8.0.0 milestone?

3.2 does not appear to be in central yet (see failing build)

My mistake. I was happy to see a stable version among tags. But as it looks a release should have a rel/ prefix. So the one from above was merely for preparation.

Asked about the release date here: https://issues.apache.org/jira/browse/JCS-233

I just rebased this PR. I'll re-review what I did and likely merge this tomorrow (along with cutting the next release).


Library-wise exception type

Please consider declaring a common exception type for the library (like SharpCompressException) and inheriting all specific exception types from it instead of subclassing base Exception class in different places.
It would improve user experience, as now users need to catch (Exception) which could mask actual errors such as hypothetical NullReferenceException in SharpCompress or exceptions thrown from some unrelated code residing in the same try block.

Sounds good

Base exception:
SharpCompressException from ApplicationException
Need to see what other exceptions I define as there seem to be some specific ones but mostly using framework ones


Animation BlendTree blend2 node unexpected behaviour

Godot version
v4.0.beta17.official [c40020513]
System information
Windows 10
Issue description
When blending between 2 animations, there is unexpected movement. I suspect the reset pose is affecting the positioning. The extremes are correct and blending between the same animation seems to work correctly.

Steps to reproduce
Use a blend2 node to blend 2 Skeleton3D animations in an Animation Tree.
Minimal reproduction project
b17_blend_bug.zip

I don't know what is wrong. Having trouble getting your feet into the ground? The calculation is done correctly, and I think that blending on Blender will give the same result.
In such cases, I think it's common practice to add a transition animation from standing to sitting as a StateMachine or Transition in between.

You are correct, I was mistaken and will close. Your suggested 'common practice' is not suitable for my purposes as this is just part of a much larger setup.


Rename CHIP_CONFIG_MAX_DEVICE_ADMINS to CHIP_CONFIG_MAX_FABRICS.

That's what it really means.  There can be multiple "admins" per fabric.
Problem
Confusing naming.
Change overview
Say what we mean, and mean what we say.
Testing
No behavior changes expected.

/rebase

/rebase

/rebase

/rebase


Incorrect statements about App Service log

Regarding following description,  different from current App Service log behavior.

Networking considerations
If you secure your Azure Storage account by only allowing selected networks, it can receive logs from App Service only if both of the following are true:

The Azure Storage account is in a different Azure region from the App Service app.
All outbound addresses of the App Service app are added to the Storage account's firewall rules. To find the outbound addresses for your app, see Find outbound IPs.

(details)
The documentation says to specify storage in a different region when using App Service log with Firewall configured for storage.
https://docs.microsoft.com/en-us/azure/app-service/troubleshoot-diagnostic-logs#enable-application-logging-windows

If your Azure Storage account is secured by firewall rules, see Networking considerations.

But in practice, it is not possible to specify the Azure Storage account in a different Azure region from the App Service app as the log output destination.
Could you please modify it to match the current App Service log behavior?
(confirm procedure)
Step1. Prepare storage account for two different regions.
Step2. Prepare App Service in the same region as the storage on one side.
Step3. When trying to select storage as output destination for App Service log, only storage in the same region is shown. (not shown the other regions storage)
*I tried the same configuration using the following Azure CLI command, but it was unavailable as well. (specified same regions storage: OK, different regions storage: NG)
$logConfigResourceId = az webapp log show --name "MyAppServiceName" --resource-group "MyResourceGroup" --query 'id' -o json
az resource update --ids $logConfigResourceId --set properties.httpLogs.azureBlobStorage.sasUrl="MyStorageContainerSasUrl"
az resource update --ids $logConfigResourceId --set properties.httpLogs.azureBlobStorage.enabled=true

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

ID: bfc316af-0d30-b449-a04f-3019b7a16bc1
Version Independent ID: 01c4c435-fda9-374a-70b3-f1d7f13c7651
Content: Enable diagnostics logging - Azure App Service
Content Source: articles/app-service/troubleshoot-diagnostic-logs.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

@syukumoto Thanks for the feedback! We are currently investigating and will update you shortly.

@syukumoto Check this detailed blog on explaining App Service to Storage Account Connection Condition Summary

@syukumoto Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please let me know.

@SnehaAgrawal-MSFT Sorry for late reply. I confirmed following document, but web server log of App Service logs could not be output storage account.
[Issue]
https://techcommunity.microsoft.com/t5/apps-on-azure-blog/app-service-to-storage-account-connection-condition-summary/ba-p/2968642

Follow the above document, I tried condition 3 and 4. But neither worked well.

Requirement

Web server log of App Service logs output to Storage Account.
My Storage Account require the Firewall. And the Storage Account and Azure App Service are in the same region due to App Service logs can only be output to storage in the same region.

Result of condition 3 (Service Endpoint)
App Service logs output fails with 403 error.
I think that the reason is App Service and Storage Account communication use private IP in the same region.
Result of condition 4 (Private Endpoint)
App Service logs output fails.

As described in the following document, I believe the solution is to put App Service and Storage Account in different regions in the past.
But currently, App Service logs can only be output to Storage in the same region.
https://docs.microsoft.com/en-us/azure/app-service/troubleshoot-diagnostic-logs#networking-considerations

[Question]

Do I need to disable the Firewall to output App Service logs (web server log) to Storage Account?
I believe the solution of "The Azure Storage account is in a different Azure region from the App Service app." in the above document at least is incorrect. Could you please correct it to the correct solution?

Any updates on this?


Add a --domain function for the AR code.

Like the wiimmfi patcher, which you can use to patch a game with a certain domain (Like I made BeanJrFi do), maybe add this type of thing to the patcher so instead of patching just http, patch http and the domain.

Adding a domain to the code would make it considerably longer, as now the entire domain would need to be included in the code. And what about games that connect to multiple different servers, or to different subfolders of a server? If the size of the code grows too large, the chance of finding a code cave that's big enough goes down. This is an issue especially for newer games which call SWI functions from the ARM9 binary 0x800 bytes junk area, like Pokémon Black 2/White 2.
Can you give an example of how this would work? How would the URL be changed?

Well, we could do what most other patchers do:
Check for all references of nintendowifi.net, and change them to the domain...
If the domain is smaller than nintendowifi.net, pad it


Fix issue running TLS integration tests on macOS

What this PR does:
Running make test on my macOS machine fails, with a few of the TLS integration tests failing:
time="2022-11-10T11:52:56+11:00" level=info msg="server listening on addresses" grpc="[::]:52898" http="[::]:52899"
time="2022-11-10T11:52:56+11:00" level=info msg="server listening on addresses" grpc="[::]:52906" http="[::]:52907"
2022/11/10 11:52:56 http: TLS handshake error from [::1]:52908: remote error: tls: bad certificate
2022/11/10 11:52:56 http: TLS handshake error from [::1]:52910: remote error: tls: bad certificate
--- FAIL: TestServerWithLocalhostCertNoClientCertAuth (0.51s)
    --- FAIL: TestServerWithLocalhostCertNoClientCertAuth/HTTP/no-config (0.04s)
        tls_integration_test.go:566:
            	Error Trace:	/Users/charleskorn/Repositories/Grafana/dskit/crypto/tls/test/tls_integration_test.go:566
            	            				/Users/charleskorn/Repositories/Grafana/dskit/crypto/tls/test/tls_integration_test.go:125
            	Error:      	"Get \"https://localhost:52907/hello\": x509: “server” certificate is not trusted" does not contain "x509: certificate signed by unknown authority"
            	Test:       	TestServerWithLocalhostCertNoClientCertAuth/HTTP/no-config
    --- FAIL: TestServerWithLocalhostCertNoClientCertAuth/HTTP/grpc-tls-enabled (0.01s)
        tls_integration_test.go:566:
            	Error Trace:	/Users/charleskorn/Repositories/Grafana/dskit/crypto/tls/test/tls_integration_test.go:566
            	            				/Users/charleskorn/Repositories/Grafana/dskit/crypto/tls/test/tls_integration_test.go:125
            	Error:      	"Get \"https://localhost:52907/hello\": x509: “server” certificate is not trusted" does not contain "x509: certificate signed by unknown authority"
            	Test:       	TestServerWithLocalhostCertNoClientCertAuth/HTTP/grpc-tls-enabled
    --- FAIL: TestServerWithLocalhostCertNoClientCertAuth/GRPC/grpc-tls-enabled (0.01s)
        tls_integration_test.go:566:
            	Error Trace:	/Users/charleskorn/Repositories/Grafana/dskit/crypto/tls/test/tls_integration_test.go:566
            	            				/Users/charleskorn/Repositories/Grafana/dskit/crypto/tls/test/tls_integration_test.go:162
            	Error:      	"rpc error: code = Unavailable desc = connection error: desc = \"transport: authentication handshake failed: x509: “server” certificate is not trusted\"" does not contain "x509: certificate signed by unknown authority"
            	Test:       	TestServerWithLocalhostCertNoClientCertAuth/GRPC/grpc-tls-enabled
time="2022-11-10T11:52:57+11:00" level=info msg="server listening on addresses" grpc="[::]:52924" http="[::]:52925"
2022/11/10 11:52:57 http: TLS handshake error from [::1]:52926: remote error: tls: bad certificate
2022/11/10 11:52:57 http: TLS handshake error from [::1]:52928: remote error: tls: bad certificate
2022/11/10 11:52:57 http: TLS handshake error from [::1]:52930: remote error: tls: bad certificate
--- FAIL: TestServerWithoutLocalhostCertNoClientCertAuth (0.41s)
    --- FAIL: TestServerWithoutLocalhostCertNoClientCertAuth/HTTP/no-config (0.02s)
        tls_integration_test.go:566:
            	Error Trace:	/Users/charleskorn/Repositories/Grafana/dskit/crypto/tls/test/tls_integration_test.go:566
            	            				/Users/charleskorn/Repositories/Grafana/dskit/crypto/tls/test/tls_integration_test.go:125
            	Error:      	"Get \"https://localhost:52925/hello\": x509: “server-no-localhost” certificate is not trusted" does not contain "x509: certificate is valid for my-other-name, not localhost"
            	Test:       	TestServerWithoutLocalhostCertNoClientCertAuth/HTTP/no-config
    --- FAIL: TestServerWithoutLocalhostCertNoClientCertAuth/HTTP/grpc-tls-enabled (0.01s)
        tls_integration_test.go:566:
            	Error Trace:	/Users/charleskorn/Repositories/Grafana/dskit/crypto/tls/test/tls_integration_test.go:566
            	            				/Users/charleskorn/Repositories/Grafana/dskit/crypto/tls/test/tls_integration_test.go:125
            	Error:      	"Get \"https://localhost:52925/hello\": x509: “server-no-localhost” certificate is not trusted" does not contain "x509: certificate is valid for my-other-name, not localhost"
            	Test:       	TestServerWithoutLocalhostCertNoClientCertAuth/HTTP/grpc-tls-enabled
    --- FAIL: TestServerWithoutLocalhostCertNoClientCertAuth/GRPC/grpc-tls-enabled (0.01s)
        tls_integration_test.go:566:
            	Error Trace:	/Users/charleskorn/Repositories/Grafana/dskit/crypto/tls/test/tls_integration_test.go:566
            	            				/Users/charleskorn/Repositories/Grafana/dskit/crypto/tls/test/tls_integration_test.go:162
            	Error:      	"rpc error: code = Unavailable desc = connection error: desc = \"transport: authentication handshake failed: x509: “server-no-localhost” certificate is not trusted\"" does not contain "x509: certificate is valid for my-other-name, not localhost"
            	Test:       	TestServerWithoutLocalhostCertNoClientCertAuth/GRPC/grpc-tls-enabled
time="2022-11-10T11:52:57+11:00" level=info msg="server listening on addresses" grpc="[::]:52944" http="[::]:52945"
2022/11/10 11:52:57 http: TLS handshake error from [::1]:52946: tls: client didn't provide a certificate
2022/11/10 11:52:57 http: TLS handshake error from [::1]:52948: tls: client didn't provide a certificate
2022/11/10 11:52:58 http: TLS handshake error from [::1]:52969: tls: client didn't provide a certificate
time="2022-11-10T11:52:58+11:00" level=info msg="server listening on addresses" grpc="[::]:52981" http="[::]:52982"
FAIL
FAIL	github.com/grafana/dskit/crypto/tls/test	4.308s

These test failures are caused by the fact that error messages returned by the crypto/x509 package vary depending on the OS, but the tests only expect one error message.
I'm not super happy with the change - very open to feedback. (I also considered adding a errorContainsAnyOfStrings(...) method, but felt that being specific about what message we expect in what situations is best, rather than accepting anything from a list of possibilities.)
Which issue(s) this PR fixes:
(none)
Checklist

[n/a] Tests updated
[n/a] CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

I just ran make test on my MacBook Pro (OSX Ventura 13.0), without a hitch. I wonder how come it fails for you?


Textures glitch out on Intel Arc A770 (16GB)

The textures glitch out completely (see screenshots).
I'm observing this issue on every driver I have tried so far, including the latest beta driver (<IP_ADDRESS>35).
If further testing or info is required, please let me know. I'm willing to help.

Quick follow up: Would be helpfull to know if this is a driver issue as Intel is only willing to check it out if its noted as a driver issue

Hate to dig up a year old post, but an open issue is an open issue. This appears to have been fixed. I'm on driver version 5590, and on both Mupen64-plus-next on Retroarch and simple64 I don't to have this issue any more. I don't think anything changed with this plugin during that time, so I assume that Intel did something to their Vulkan driver in the last year that fixed this.

My power usage is very high though, anywhere from 60 to 100 watts on native res in Mario 64, which is a lot more than I expected. Don't know if that's just how demanding Parallel RDP is, or it's some sort of severe inefficiency on the driver side.


Briv Gem Farm appears to erronously reset sub level 100 occasionally

I am having an issue where occasionally (maybe 20% of the time?) I have seen Script Hub reset the run claiming it was stuck. At the time I could not see anything that would cause it to consider itself stuck. It usually happens between levels 35-70 and it will restart the whole run from level. What are the trigger conditions for the game to be "stuck" and should a stuck condition cause it to restart the whole run rather than just restart the app or toggle auto advance?

There isn't enough information for us to discern if this is an issue with the script, user error requiring troubleshooting, or something else. We recommend you join the IC official discord, join the scripting channel, and see if the community can help you flesh out this problem. Thanks.


How to add content to the layout

The justified layout is great, but I don't know how to add content to the layout and can you give an example?

The demo page uses the returned geometry to render boxes.
Here's the crux of the code:
var geometry = justifiedLayout(input, config);
var boxes = geometry.boxes.map(function (box) {
   return  `<div class="box" style="width: ${box.width}px; height: ${box.height}px; top: ${box.top}px; left: ${box.left}px"></div>`;
}).join('\n');

@jimwhimpey Why not put that sample in README.md ?


feat: animations

Add support for the new animation sequencing capabilities of ngAnimate. Work with the Material Design team and Matias to ensure that we can handle the full breadth of page transition animations.

Closing this now.
I'll need bindings for 2.x, but I'll cross that bridge when I come to it.


Cascading List stops working with the preview feature "New Boards Hubs" enabled

I've been using the cascading list extension for a number of years with no difficulty.  When I went to implement this in a new organization however, I was not able to get it to work initially.
The json file was accurate and did specify the exact name of the Custom.FieldName(s) and was saved and shown as valid.  When I went to test the cascading list though, the sub field did not get properly entered.  Example:
ParentField
SubField
{
"version": "1",
"cascades": {
"Custom.ParentField": {
"Option 1": {
"Custom.SubField": [
"General"
]
},
"Option 2": {
"Custom.SubField": [
"General"
]
},
"Option 3": {
"Custom.SubField": [
"General",
"Not General"
]
}
}
}
}
Obviously the json was fine.  Those fields were added to my work item with the exact name as specified above, but it didn't work.
I found out after a lot of investigation that the preview feature "New Boards Hubs" was enabled, and turning this off actually fixed my issue temporarily at least.  If this feature is introduced into ADO going forward, we will no longer have to option to disable it.
Please investigate why this breaks the cascading lists please.

Thank you for entering this.  I tried and my issue got closed because it can't be recreated and I am not allowed by our security team to screen record and send outside of our company to demo.  Hopefully someone will investigate this.

I just tested it, and it worked as expected for me. Could you please describe your environment and provide screenshots of the console log and network?

I am unable to provide screenshots of the console log and network.  The environment I am using is an SaaS solution in the cloud but located on Defense 365 and contains information that I am not able to give you access to.
I can try and describe more info though for you to be able to reproduce.

Installed Cascading list extension
Created two custom fields that contained all values;  Field one containing Option 1, Option 2 and Option 3 and Field two containing General and Not General (Fictional data of course)
Configured .json file correctly as above (Saved, no errors)
Created new work item, and selected Option 1, this should just list general but listed both general and not general.
Attempted to modify an existing work item, same thing
Tried on Windows 10, Windows 11 on latest version of Edge, Chrome and FireFox, same results
Tried recreating the fields to ensure there was no spelling errors or anything else that would cause this
Repeated all steps above
Finally after googling for quite some time, I found a post that said to try to turn off "New Boards Hubs" from preview features.  As soon as I did this, the Cascading lists worked as expected.

If I have some time today, I will try to recreate in a sandbox environment with no security concerns and send you screenshots from the fictional data.  I'm not exactly sure how to send you console logs and information on a complete SaaS solution given it exists with Microsoft in the cloud.  If you can explain how that is done, I can attempt to do that from the sandbox environment also.

Hi, I just tested it again, and it worked as expected.
https://github.com/microsoft/azure-devops-extension-cascading-picklist/assets/54841342/e26c6bd2-ef4a-4e2c-939e-78db5924e2be
{
"version": 1,
"cascades": {
"Custom.MajorRelease": {
"Release Blue": {
"Custom.MinorRelease": [
"Blue.1",
"Blue.2",
"Blue.3"
]
},
"Release Red": {
"Custom.MinorRelease": [
"Red.A",
"Red.B",
"Red.C"
]
},
"Release Yellow": {
"Custom.MinorRelease": [
"Yellow.A",
"Yellow.B",
"Yellow.C"
]
}
}
}
}

@AminTi
Did you have the specific preview feature disabled "New Boards Hubs" and are you working in the cloud because this definitely does not work in any environment for me factoring in those two things as previously described and demonstrated through the pictures and exact scenario I provided.  Your video capture does not show the Preview Features.

Hi, as mentioned, it worked as expected. Please check that you made the correct configuration/field.
https://github.com/microsoft/azure-devops-extension-cascading-picklist/assets/54841342/a8774d17-8a83-4180-b007-07fec22e326e


After the cache disk is recovered, write data times out for 5 minutes

What happened:
Use writeback mode
1、fio randwrite
fio --name=big-file-multi-write --directory=/var/lib/juicefs/volume/pvc-618dce8f-e2a1-4847-93e8-8a4a7ce247b9-ttbxpf --rw=randwrite --refill_buffers --bs=4k --size=1G --numjobs=1 --end_fsync=1
2、Simulated cache disk failure

name: juicefs-io-fault
templateType: IOChaos
ioChaos:
action: fault
mode: one
selector:
namespaces:
- kube-system
labelSelectors:
app.kubernetes.io/name: juicefs-mount
labelSelectors:
chaostest: "true"
volumePath: /data/cache
path: /data/cache/**/*
errno: 5
percent: 1

3、fio is stuck. Return to EIO
4、Restore cache disk, wait a few minutes to write fio again, still stuck to return to EIO
log.tar.gz
Uploading log.tar.gz…
5、But after waiting for a long time, I can read and write normally
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?
Environment:

JuiceFS version (use juicefs --version) or Hadoop Java SDK version:
Cloud provider or hardware configuration running JuiceFS:
OS (e.g cat /etc/os-release):
Kernel (e.g. uname -a):
Object storage (cloud provider and region, or self maintained):
Metadata engine info (version, cloud provider managed or self maintained):
Network connectivity (JuiceFS to metadata engine, JuiceFS to object storage):
Others:

Should be fixed by #4871


not working in v5

error:
Cannot read properties of undefined (reading 'toString')

@tuke307 Ok, I will have to look into it, the tests were using alpha<EMAIL_ADDRESS>so maybe something changed.

@tuke307 Should work for express5 again, the nested route path name will not though as exp5 doesn't include that info :(

@labithiotis thank you very much! Amazingly fast!


UNIQUE constraint failed error in create or get StripeUser

i think we have a issue in backend/venv/lib/python3.10/site-packages/drf_stripe/stripe_api/customers.py

in _get_or_create_stripe_user_from_user_id_email method when customer_id set None i got error:

@kazem3d you found a resolution to this?

no , actualy

Help me understand, you are saying you are creating a StripeUser but it has None for customer_id?

Help me understand, you are saying you are creating a StripeUser but it has None for customer_id?

yes, exaclty

Help me understand, you are saying you are creating a StripeUser but it has None for customer_id?

yes, exaclty

If customer_id is None, why are you creating StripeUser in the first place? the StripeUser is a model for a stripe customer.

so why customer_id default value is set None in _get_or_create_stripe_user_from_user_id_email() function

so why customer_id default value is set None in _get_or_create_stripe_user_from_user_id_email() function

I think I misread the original problem (I'm on my phone). It appears that the StripeUser already contains an existing instance with that same user_id, but the customer_id being different (not null).
Can you post the full stack trace?

Hi fyi this is supper possible
We had the web hook sometimes override customer ids causing catastrophic issues on our end
We finally made a switch to a full custom version in the interest of time to market but I wanted to bring this up as a problem is the current logical model of this package
basically stripe doesn't really care about emails being unique
for them what customer means is a "Org/a user profile etc"(something that a single user can have multiple of) on the package end this is basically not a viable option


recent updates in the indigo distribution

@rojkov Please review, test and merge.

Successfully built core-image-ros-world with
Build Configuration:
BB_VERSION        = "1.33.4"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "fedora-25"
TARGET_SYS        = "i586-oe-linux"
MACHINE           = "qemux86"
DISTRO            = "nodistro"
DISTRO_VERSION    = "nodistro.0"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta              = "master:ba2884f6ad3a4e746fc80cbd707f83fa8abd4210"
meta-oe
meta-python
meta-multimedia   = "master:2cdea6c5bb09aa90184c17c9157f4fed0e10b3c2"
meta-ros          = "bulwahn-indigo-updates-v1:55a8df60fa35e5046c542fad7974b933e03c1b91"


New option --only-matching.

New grep-like option to only display the text that matched the input regex.

This is already implemented, see docs.
@KingDuckZ or @ggreer, you can guys close this one :-)


Bump pywemo to 0.4.33 (expanded port range fixes dimmers on latest firmware)

Description:
Related issue (if applicable): fixes #
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here>
Example entry for configuration.yaml (if applicable):

Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.

If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

If the code does not interact with devices:

[x] Tests have been added to verify that the new code works.

Hi @meatheadmike,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Please add a link to library changes


add standalone months to ngLocale

Cleaned up version of #3744. We could also add STANDALONESHORTMONTHS, but I don't think that's worth it.

this looks fine, but do you plan on adding the support for this at dateFilter?

I didn't think of that at all actually. I proposed it because a few people pointed out that it wasn't available. Can we add the support for dateFilter at a later time?

LGTM - merging

(For some reason the second commit added a full stop after kr currencies. I have reverted those changes when merging.)


object has no attribute 'items' error when executing g8client blueprint

Blueprint:
g8client__uk:\n  g8.url: uk-g8-1.demo.greenitglobe.com\n  g8.login: yves\n  g8.password: ****\n  g8.account: Account of Yves
Same if I drop the "g8." prefix:
g8client__uk:\n url: uk-g8-1.demo.greenitglobe.com\n login: yves\n password: ****\n account: Account of Yves

Error comes from the new format of config used in JumpScale now.
This is fixed on master  by :https://github.com/Jumpscale/jumpscale_core8/commit/c7c774ecc7c78a746a0c606dc477d609abc6f7da
But not in the sandbox yet. the sandbox need to be updated and reviewed to make sure it works with the new configuration system


Clean up Helm deployment recipe

Remove no-longer-used Helm templates and entries in values.yaml as the Helm chart inches closer to parity with the guickstart guide.

@bcfriesen Have you or anyone else tested this?  I'm not set up for testing k8s at the moment.  It would be good to have a reviewer let us know that it isn't broken before we merge.

@bcfriesen Have you or anyone else tested this? I'm not set up for testing k8s at the moment. It would be good to have a reviewer let us know that it isn't broken before we merge.

It does work for me locally, although I have a parallel branch set up that deploys the Helm chart into a GKE environment and then tears it down - it would be better to merge that first, so that the CI can tell you if it works.


initialise variables locally to help taf

What changes does this PR introduce?
bug fix after a  taf update 5.1.1
What is the current behaviour?
taf dropped some initialisations in mom_vecvinmd before calling mom_calc_hdiv that lead to
Program received signal SIGFPE: Floating-point exception - erroneous arithmetic operation.
Backtrace for this error:
#0  0x2AAAABB58287
#1  0x2AAAABB5888E
#2  0x2AAAAC57865F
#3  0x117F19E in mom_vi_hdissip_ at ad_taf_output.f:204244
#4  0x11211C0 in mom_vecinvmd_ at ad_taf_output.f:200351

in verification_other/global_oce_llc on some platforms.
What is the new behaviour
verification experiment should work again with current taf versions.
Does this PR introduce a breaking change?
No, except that it may circumvent a bug in TAF
Other information:
Suggested addition to tag-index
o pkg/mom_common/mom_calc_hdiv.F: initialise hdiv again to help TAF

This seems like an extremely straightforward PR, so I think it should be merged. I've never seen this though, is there a particular setup where you get this error?

I will check in the coming days that it does fix the problem I saw with llc90 (verification_other) and with the Open64 compiler on engaging.

I checked that, with latest version of TAF (5.2.9), the 2 experiments that had problems are now good:

obcs_ctrl with open64 compiler and "-devel" (--> un-initialised variables are set to -nan, => Floating-Point error when copying hDiv to comlev1_bibj_k_hdiv_14h which is real*4).
global_oce_llc90 with gfortran compiler and "-devel", on 32 procs. Here I suspect some blank tiles require to initialize hDiv everywhere (which is done in fwd code but gone in _md version), otherwise resulting in Floating-point error.

I am still waiting for the last of the 4 tests to finish, but I agree with @timothyas that this could be merged soon.
One detail: I am going to put the new piece of hdiv initialisation within ifdef ALLOW_AUTODIFF (since hDiv is already initialised
in calling S/R); I think it would make it more clear this way.

I agree with the #ifdef ALLOW_AUTODIFF, definitely clearer that way. And maybe we want a comment within the ifdefs like:
C This re-initialisation is necessary due to a TAF issue.
? But I am fine with whatever you find necessary.

@mjlosch fourth test is good too. I also made my little change.

@jm-c I just though of this, sorry for the late comment, and it's not a big deal: Wouldn't it be enough to just set the part of the array to zero that is not filled in this routine, like this:
      DO j=1-OLy,sNy+OLy
       hDiv(sNx+OLx,j) = 0. _d 0
      ENDDO
      DO i=1-OLx,sNx+OLx
       hDiv(i,sNy+OLy) = 0. _d 0
      ENDDO

@mjlosch just setting the last row and last column should be enough ; but might not save much time (and it's less clear an adjoint compiler that the full array is set).

About to merge this as it is.


feat: add jackson annotations additionalProperties

Adds @JsonAnySetter and @JsonAnyGetter annotations to additionalProperties

Description
Adds these annotations so that Jackson can marshall and unmarshall additional properties.
Checklist

[ ] The code follows the project's coding standards and is properly linted (npm run lint).
[ ] Tests have been added or updated to cover the changes.
[ ] Documentation has been updated to reflect the changes.
[x] All tests pass successfully locally.(npm run test).

Hi, thanks for taking a look. What would unwrapped mean in this context?
In my tests any unknown key/value pair was given its own entry in the map, and any object value would become a map of its own.

{additionalProperties: {test: '123'}} should become {test: '123'}.
if it's not possible we should just ignore the property and add it to the documentation

In that case it does some wrapping/unwrapping. What happens is now (pseudocode):
Json to deserialize:
{
  "defined_property": "defined property value",
  "undefined_property": "undefined property value"
}

Java class to unmarshal the JSON into:
class JavaClassRepresentation {
// getters/setters/annotations and other methods omitted for brevity
  private String definedProperty = "defined property value";
  private Map<String, Object> additionalProperties = Map.of(
    Entry.of("undefined_property", "undefined property value")
  );
}

Json serialized from the Java class:
{
  "defined_property": "defined property value",
  "undefined_property": "undefined property value"
}

The one edge case I am uncertain about is if an additional property is actually named additionalProperties and has an object value. In that case it can either merge the maps and lose the wrapping/unwrapping, or it will have to lose data.

@jonaslagoni The @JsonAnyGetter annotation ensures that the properties from the additionalProperties map are unwrapped on serialization. Do you think this change could be added?

@memdal thats perfect yea: https://www.tutorialspoint.com/jackson_annotations/jackson_annotations_jsonanygetter.htm
My bad for not realizing it before :v:

@all-contributors please add @memdal for code, test


Added "AddDataLoader<TService, TImplementation>" executor overload that takes a factory

Summary of the changes (Less than 80 chars)

Adds an executor overload for dataloaders that allows an implementation factory to be provided

Should a separate PR be made into main?
Should the executor extensions using the GreenDonut extension methods so code isn't being written twice?

The difference in GreenDonut is a call to TryAddDataLoaderCore which would be superfluous in this case


flock and timeout cron-send-create-app

Make sure we do not run this check twice as it will fail on both instance resulting in an alert.
In the future we should monitor the execution time of this check.

@mwoodson can you have a look?

ok to test

needs rebasing


Spacing Issue

The current website has spacing issues, please correct the spacing to match www.theboringcompany.com

@Quantumf0x by website I mean this repository! Please correct the spacing like www.theboringcompany.com

If this issue is still available, I'd like to tackle it.  Thanks!

can you plz tell me what type of spacing issue is present on the website so that I can help you with this issue.

Headder Spacing issue solve
added to the style sheet
margin: 0 auto;
and also decrease padding: 80px; to padding: 40px;
Now its look like the boring company
and also added  after menu end so the spacing issue of header solve

Modify:

menu css #linknav
iframe css on mobile

Delete:
Col around menu

Thank you for your all your help guys


imctutorial squidpy environment install fail

Hi,
I have tried to create a conda environment with the environment.yml file at
https://github.com/theislab/squidpy_notebooks/blob/master/environment.yml
As per the IMC tutorial instructions https://squidpy.readthedocs.io/en/latest/auto_tutorials/tutorial_imc.html
However, I get the following error and cannot create the environment
ERROR: Could not find a version that satisfies the requirement rasterio>=1.1.8 (from squidpy)
ERROR: No matching distribution found for rasterio>=1.1.8

failed

CondaEnvException: Pip failed

Hi @mezwick ,
could it be because we had wrongly specified the conda installation command (was: conda create -f ..., should be conda env create -f ..., see #56 .
I've also tried to create the environment, didn't encounter the issue (my conda version is 4.9.2, pip version inside is 21.0.1).

Hi @michalk8
It seems to be an issue to do with pip install rasterio that has popped up in a few places...
https://github.com/azavea/raster-vision/issues/518
https://github.com/azavea/raster-vision/issues/598
Will see if i can work around

The issue installing Squidpy that arises because rasterio and GDAL fail to install can be circumvented by manually downloading rasterio and GDAL files, then pip installing them locally. This answer was provided by @byander https://github.com/mapbox/rasterio/issues/1963#issuecomment-672262445
rasterio and GDAL binaries (unofficial) can be downloaded from here
https://www.lfd.uci.edu/~gohlke/pythonlibs/

thank for the info @mezwick
we're considering using dask_image in https://github.com/theislab/squidpy/issues/296 , so in the future, there'd be no rasterio dependency


Block edge 4.3.40

4.3.40 needs to be disabled:
3 clusters currently failing (15%),  3 gone (15%),and 12 successful (60%), out of 20 who attempted the update over 7d
Currently failing classification:
* Down nodes: 2
* Node pressure: 1
* SDN issue: 2
* Single master: 1
* Slow etcd: 1
* UPI router degraded: 1
* Version retarget: 1
* volumesnapshots v1alpha1: 1

4.3.40 can be enabled again:
2 clusters currently failing ( 9%),  4 gone (18%),and 16 successful (73%), out of 22 who attempted the update over 7d
Currently failing classification:
* Down nodes: 1
* Node pressure: 1
* SDN issue: 1
* Single master: 2
* Slow etcd: 1
* Version retarget: 1
* volumesnapshots v1alpha1: 1


Changed Nodeunit running part as using Timer in order to use QT.quit()

In order to terminate properly in QT/QML test, running tests with Component.onCompleted was not appropriate. So I use a  trigger in Timer for using QT.quit(). This function doesn't work in onCompleted.
Enable noteunit qt test in .travis.yml

With @ehoogerbeets advice, I've tested separately per feature category. It's possiblly out of memory with qmlscene But It's soooooo randomly failed a QT/QML test with Travis. Only one time It passed every testcase except collation feature. Please check this link. Mostly tests failed just with Segmentation fault and I can't get any meaning information. I also left issues to travis-ci.  I've tested with docker for shooting, The result is same as Travis. The things It passed 100% on my Local linux machine....

We've decided to make QT/QML tests disabled with Travis.  Segmentation fault occurs only for Travis, not even docker.  But When iLib released, before making an iLib build for release, all of QML test must be 100% passed on a local machine.


Allow b-cdn.net

Energized Protection - block ⚡

Let's make an annoyance free, better open internet, altogether!

Issue Submit Form

  Provide the following info properly, which will help us to resolve your issue quickly.

Issue(s):
Type x in between [ ] and make sure there isn't any space between brackets. Example; for Your Selected Issue(s), type like this - [x]
You can select more than one category of issues if you need to!

[x] Whitelist
[ ] Blacklist
[ ] App Broken
[ ] Website Broken
[ ] Request
[ ] Other Issue

Pack(s):
Write the name of the pack(s) you are using.

Pack(s) Name: Spark

Extension(s):
Also name the extension(s) if you are using any. If you don't then leave it blank.

Extension(s) Name:

Domain(s):
If you are submitting this issue for whitelist/blacklist issue, send us the domain(s) for whitelisting/blacklisting here. Kindly use the Code Tag to prevent tracking.

Domain(s):

b-cdn.net

Your Config:
Just to ensure there is no issues or conflicts with other app/software/magisk module/extension/source list.
Make sure you are running Energized Protection Service only.

Client: NextDNS

Version:  22.10.277

Detail:
Write us a lil bit more about your issue or query. You can attach any screen shot or log of the issue or advert, this will help to highlight it.

Your Issue Detail:

Looking at the domain list for Spark and all Spark-based domain lists, I see b-cdn.net listed. This is the domain used by BunnyCDN for a variety of websites. I discovered it when www.ctrl.blog was blocked. Blocking it is akin to blocking Cloudflare: it hosts all sorts of content, both legitimate ad adware.

Thank you for making Energized Protection great, with your kind help!
A project by Ador with ❤

Same here - I was going to open a new ticket for this issue.

It occurs in two places b-cdn.net in the list maintained by Energized itself https://github.com/EnergizedProtection/block/blob/9505cadca6d17a10f64b4df4f01a20da038aa70b/assets/sources/sources.json#L59
and in this list as www.b-cdn.net https://github.com/EnergizedProtection/block/blob/9505cadca6d17a10f64b4df4f01a20da038aa70b/assets/sources/sources.json#L245 from which energized pulls
Maybe submit an issue there as well.
Energized is not being heavily maintained, see # 916

+1
englishhome.com is working incorrectly.
add to whitelist: b-cdn.net


Add 2 player charting

I've been looking for an alt to arrowvortex recently and this is the best i could find but this doesnt support 2 player charting. Can you add that please>

Multi-player charting is something that was considered at one point but it requires a significant amount of work and is also something that very few people would be likely to use. While it would be a cool feature to have it's not really something we can realistically do.


[suggestion] Make examples more consistent

There are a wide variety of examples.
However, they are not consistent for me from the perspective of

Support for resuming training from a snapshot of training.Trainer or a pair of model and optimizer

custom loop examples sometimes ignore args.out and/or args.resume

Use of extensions.PlotReport

I have gone through the tutorials of Chainer and am ready to work on this. Can you help me get stated? @crcrpar

@shreyas-kowshik
The below will be almost done in #6399.

1. Support for resuming training from a snapshot of `training.Trainer` or a pair of model and optimizer

   * custom loop examples sometimes ignore `args.out` and/or `args.resume`

So, how about working on 2: make examples with Updater and Trainer to use extensions.PlotReport like mnist example?
Here are code blocks from mnist example that are related to PlotReport:

https://github.com/chainer/chainer/blob/aea60d8ac7777c3e57d9b8c19dc5146c75275e51/examples/mnist/train_mnist.py#L68-L69
https://github.com/chainer/chainer/blob/aea60d8ac7777c3e57d9b8c19dc5146c75275e51/examples/mnist/train_mnist.py#L122-L130


RaPiD: a toolkit for reliability analysis of non-deterministic systems

RaPiD: a toolkit for reliability analysis of non-deterministic systems
Link to paper: http://dl.acm.org/citation.cfm?id=2635868.2661668&coll=DL&dl=GUIDE&CFID=464701544&CFTOKEN=55037057
Link to Data: http://www.comp.nus.edu.sg/~a0068192/ResearchWork/RaPiD.html
Lin Gui, Jun Sun, Yang Liu, Truong Khanh Nguyen, Jin Song Dong
Pages: 727-730
doi>10.1145/2635868.2661668
Full text: PDFPDF
Non-determinism in concurrent or distributed software systems (i.e., various possible execution orders among different distributed components) presents new challenges to the existing reliability analysis methods based on Markov chains. In this work, ... expand

ToolKit


Add spans with OrderId when broadcasting TXs

Otherwise it is very hard to associate transactions with CFDs.

bors r+


ditch phantom and cruft in npm tarball

bump grunt-contrib-jasmine to ditch phantom in favor of headless chrome. (thanks 🎩 @stdavis!)
ditch .npmignore in favor of an explicit pkg.files array.
update tests
stop pushing to s3 when we release

resolves #308

i dont understand why its a 'successful' travis check when grunt jasmine_node returns 0 and grunt jasmine bombs out. i also don't understand why puppeteer needs sudo on the travis box.
but i dont really have time to dig in further though.

 It was a joint effort with @steveoh.
Not sure about the false positives that you mention but I also found it strange about the sudo requirement. I believe that it has something to do with sandboxing in Chrome.

about the false positives

i moved off grunt-jasmine-node entirely in #310. that should make the test runs more predictable.
either way, thx again!


Update scales.json

Added a few scales, changed the order to correspond to melodic minor modes and changed the main name of some other scales to reflect the most commonly used.

Codecov Report

Merging #64 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #64   +/-   ##
=======================================
  Coverage   99.39%   99.39%
=======================================
  Files          13       13
  Lines         494      494
  Branches      144      144
=======================================
  Hits          491      491
  Misses          3        3

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 433bb45...79cc40e. Read the comment docs.

@gabrocheleau  this is a great suggestion. I was also missing the half-full/symmetrical diminished scale.
https://www.thejazzresource.com/symmetrical_diminished.html
I would very much enjoy if this pull request would be included into tonal.
However it might be tough because you are changing the api by changing the names of scales. Maybe some users of the library are already relying on the fact that "diminished" refers to the whole-half scale and not the half-whole. My suggestion:

leave the previous name ("diminished") to still point to the whole-half scale, so existing users of this scale are not affected by your change
add the name "whole-half diminished" as alias for this existing scale, this gives more clarity
add the new half-whole scale with the name "symmetrical diminished"
add an alias for this new scale to be ""half-whole diminished"

What do you think? Do any other users have opinions on that?

@m-emm Great input! I've reverted back the name of the diminished scale with the compatibility issue in mind, and added whole-half as an alias. However, it doesn't seem clear to me that the name "symmetrical diminished" is an accepted name for "half-whole diminished", so I think it might be best to use "half-whole diminished". I've  seen the name "dominant diminished" used quite often for the half-whole (as it fits over a Dominant b9 chord), so I've added that name as an alias.

I‘m glad I could help. Regarding „symmetrical Diminished“: I came across this in an online course of Berklee College. Now I wanted to give a reference to literature to support my point. I opened my copy of „Mulholland, Hojnacki : The Berklee Book of Jazz harmony“. They dedicate a whole page (p. 162) to the „Symmetric Diminished“ scale (aha my firs mistake „symmetric“ not „symmetrical“) - but looking at it in this book this decribes the whole-half scale, sorry I was wrong here. In the same book on p. 36 they explain the „Symmetric Dominant Scale“- and this is the half-whole scale, the same as your alternative name.
So the way you suggest seems good to me. I‘m looking forward to being able to use this scale in tonal - thanks for helping to improve one of my favourite libraries.

Thanks for the PR! 👍 Although scales.json file needs some good refactor (see https://github.com/danigb/tonal/pull/56) this is a good improvement.
(and sorry for the delay, I've been quite busy lately...)


module 'imgui' has no attribute 'create_context'

Hello, I'm having this strange issue where create_context seem to be missing, testing the example source code : "integrations_glfw3.py"
$ python
Python 3.5.3 (v3.5.3:1880cb95a742, Jan 16 2017, 16:02:32) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

$ pip install imgui[full]
Collecting imgui[full]
  Downloading https://files.pythonhosted.org/packages/ae/de/89cada9bd84843bf289dfb45e64a8d9c3bae8f0b2e75cdd2d534d27a115a/imgui-0.1.0-cp35-cp35m-win_amd64.whl (777kB)
     |████████████████████████████████| 778kB 6.8MB/s
Collecting pygame; extra == "full" (from imgui[full])
  Downloading https://files.pythonhosted.org/packages/45/a5/580578790aa2f8f274855d45b4c89ffb910f1c72ddb754873b2ae8d7fc7f/pygame-1.9.6-cp35-cp35m-win_amd64.whl (4.3MB)
     |████████████████████████████████| 4.3MB ...
Collecting cocos2d; extra == "full" (from imgui[full])
  Using cached https://files.pythonhosted.org/packages/26/9b/c4985afa0d4ed56a468d9cbf658b8f97514c7bed31d0afe1f7e5dfe38b13/cocos2d-0.6.5.tar.gz
Collecting Cython<=0.28.2,>=0.24; extra == "full" (from imgui[full])
  Downloading https://files.pythonhosted.org/packages/14/63/594da894d3825390e15c8fad53e1c7a68b8a6e8cbddcea028252f3a039f8/Cython-0.28.2-cp35-cp35m-win_amd64.whl (2.4MB)
     |████████████████████████████████| 2.4MB ...
Collecting PySDL2; extra == "full" (from imgui[full])
  Using cached https://files.pythonhosted.org/packages/eb/08/8a81128ff6ca89019de9771425638bc197a28f40c1e377f03626baa5d729/PySDL2-0.9.6.tar.gz
Collecting glfw; extra == "full" (from imgui[full])
  Downloading https://files.pythonhosted.org/packages/a6/66/586a5c0f234128a0e1eb8ee959448f06fe34521cfaaff0cd19b859e55049/glfw-1.8.0-py2.py3-none-win_amd64.whl (63kB)
     |████████████████████████████████| 71kB 4.8MB/s
Collecting PyOpenGL; extra == "full" (from imgui[full])
  Using cached https://files.pythonhosted.org/packages/9c/1d/4544708aaa89f26c97cc09450bb333a23724a320923e74d73e028b3560f9/PyOpenGL-3.1.0.tar.gz
Collecting six>=1.4 (from cocos2d; extra == "full"->imgui[full])
  Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting pyglet>=1.2 (from cocos2d; extra == "full"->imgui[full])
  Using cached https://files.pythonhosted.org/packages/1c/fc/dad5eaaab68f0c21e2f906a94ddb98175662cc5a654eee404d59554ce0fa/pyglet-1.3.2-py2.py3-none-any.whl
Collecting future (from pyglet>=1.2->cocos2d; extra == "full"->imgui[full])
  Using cached https://files.pythonhosted.org/packages/90/52/e20466b85000a181e1e144fd8305caf2cf475e2f9674e797b222f8105f5f/future-0.17.1.tar.gz
Building wheels for collected packages: cocos2d, PySDL2, PyOpenGL, future
  Building wheel for cocos2d (setup.py) ... done
  Stored in directory: C:\Users\Regis\AppData\Local\pip\Cache\wheels\52\c3\70\37a1539ad4fefa156f4b8552fe8b7184f30a2a6b18c2c44852
  Building wheel for PySDL2 (setup.py) ... done
  Stored in directory: C:\Users\Regis\AppData\Local\pip\Cache\wheels\fd\fe\9b\dae62e373920a057fb8e046b304ff39fcf5edce9ff9eac547d
  Building wheel for PyOpenGL (setup.py) ... done
  Stored in directory: C:\Users\Regis\AppData\Local\pip\Cache\wheels\6c\00\7f\1dd736f380848720ad79a1a1de5272e0d3f79c15a42968fb58
  Building wheel for future (setup.py) ... done
  Stored in directory: C:\Users\Regis\AppData\Local\pip\Cache\wheels\0c\61\d2\d6b7317325828fbb39ee6ad559dbe4664d0896da4721bf379e
Successfully built cocos2d PySDL2 PyOpenGL future
Installing collected packages: pygame, six, future, pyglet, cocos2d, Cython, PySDL2, glfw, PyOpenGL, imgui
Successfully installed Cython-0.28.2 PyOpenGL-3.1.0 PySDL2-0.9.6 cocos2d-0.6.5 future-0.17.1 glfw-1.8.0 imgui-0.1.0 pygame-1.9.6 pyglet-1.3.2 six-1.12.0

$ python integrations_glfw3.py
[...]\Python-3.5\lib\site-packages\imgui\integrations\__init__.py:15: FutureWarning:
    Integration layer in imgui.integrations is still in experimental mode.
    Expect mayor changes in future versions. For safety it is recommended
    to use code vendoring for specific integration impementation.

    This subpackage should become stable in 1.0.0 version.

  """, FutureWarning
Traceback (most recent call last):
  File "integrations_glfw3.py", line 81, in <module>
    main()
  File "integrations_glfw3.py", line 10, in main
    imgui.create_context()
AttributeError: module 'imgui' has no attribute 'create_context'

If I comment "imgui.create_context()" and "imgui.end_frame()", things seem to work. Is this related with a recent change that may not be propagated yet in the packages in pip repository ?

Yes, these are due to latest changes that haven't been release yet as a stable version on PyPI.
You can either install a pre-release version (see installation info) or use examples from latest stable version tag.

Perfect, thank you !

Released as 1.0.0


camel-mybatis: add outputHeader parameter (CAMEL-8192)

Thanks for this PR. It has been merged. Do you mind closing this.

Cool thanks


chore: Use @carbon/styles

See upgrade guide here: https://carbondesignsystem.com/migrating/guide/develop
As proposed in https://github.com/carbon-design-system/carbon-components-svelte/pull/1881 we can now start adopting v11 styles and merge incremental changes and fixes onto next/v11-styles branch. I would propose to merge small steps onto this new branch and discuss separte topics individually. This allows many contributors to propose small changes.
The v11 style adoption should be held as minimal as possible since many components already have some notable changes in Carbon v11.

It seems that we can take larger steps. See #1881


Manually dispatched workflow to commit openapi spec

Summary
This PR adds a workflow that imports the DJ app and outputs the OpenAPI spec (which is retrieved by calling app.openapi()) to a file called  openapi.json that's then committed to the root of the repository. The workflow does not run automatically and for now, I think it's ok that we just manually run it whenever we update any of the API routes.
Test Plan
I added the workflow to a personal repo and ran it a few times.

[x] PR has an associated issue: #234
[x] make check passes
[x] make test shows 100% unit test coverage

Deployment Plan
The workflow will only run when triggered manually.

Nice! This should be in .github/workflows if we want to run it manually from the GitHub page, no?

Whoops! Thanks for catching that 😅 (fixed)


auto_channel_message not working when other identity joins first

The "auto_channel_message" feature is not working correctly when "mute_when_alone" is set to 1.
Steps to reproduce this error:

connect to a server with any identity
connect to the server with your music bot identity (unique ID set in settings INI file) in a new tab
you will see that the current song won't be printed to the channel

fixed issue


useAsyncData in combination with --coverage (istanbul) causes syntax error

Error: SyntaxError: Expecting Unicode escape sequence \uXXXX (1:1)
Happens when using the @vitest/coverage-istanbul coverage provider. V8 Does work (but i have never been able to create accurate coverage reports with that)
Even when using useLazyAsyncData or // useAsyncData
reproduction: https://stackblitz.com/edit/nuxt-starter-1ens2b
run pnpm run test
I hope I did this correctly, but for me it seems with latest version & latest nuxt you can reproduce this anywhere if you just add // useAsyncData I guess that is because of the auto imports.
Stacktrace example:
FAIL  app.test.ts [ app.test.ts ]
SyntaxError: Expecting Unicode escape sequence \uXXXX (1:1)
 ❯ pp$4.raise node_modules/.pnpm/vite@4.4.9_@types+node@20.5.7/node_modules/vite/dist/node/chunks/dep-df561101.js:25027:13
 ❯ pp.invalidStringToken node_modules/.pnpm/vite@4.4.9_@types+node@20.5.7/node_modules/vite/dist/node/chunks/dep-df561101.js:27176:10
 ❯ pp.readWord1 node_modules/.pnpm/vite@4.4.9_@types+node@20.5.7/node_modules/vite/dist/node/chunks/dep-df561101.js:27340:16
 ❯ pp.readWord node_modules/.pnpm/vite@4.4.9_@types+node@20.5.7/node_modules/vite/dist/node/chunks/dep-df561101.js:27359:19
 ❯ pp.readToken node_modules/.pnpm/vite@4.4.9_@types+node@20.5.7/node_modules/vite/dist/node/chunks/dep-df561101.js:26647:19
 ❯ pp.nextToken node_modules/.pnpm/vite@4.4.9_@types+node@20.5.7/node_modules/vite/dist/node/chunks/dep-df561101.js:26640:15
 ❯ Parser.parse node_modules/.pnpm/vite@4.4.9_@types+node@20.5.7/node_modules/vite/dist/node/chunks/dep-df561101.js:22063:8
 ❯ Function.parse node_modules/.pnpm/vite@4.4.9_@types+node@20.5.7/node_modules/vite/dist/node/chunks/dep-df561101.js:22114:35
 ❯ TransformContext.parse node_modules/.pnpm/vite@4.4.9_@types+node@20.5.7/node_modules/vite/dist/node/chunks/dep-df561101.js:43962:27
 ❯ TransformContext.transform node_modules/.pnpm/@nuxt+vite-builder@3.7.0_vue@3.3.4/node_modules/@nuxt/vite-builder/dist/shared/vite-builder.d6a45f81.mjs:947:24

This issue appears for me as well on Node.js 18.19.1 only on GitLab CI, the runner platform is amd64/linux.

Do we have any updates, workarounds, or fixes planned?
I'm facing the same error.

I could make it fail with a small project. I'll push it tomorrow just in case someone wants an easy way to reproduce it 👍
@rubennaatje, I did not use any useAsyncData on my test project, do you have any other tips?

Sorry for the long delay.
I hope we can give this issue more attention. Using @rubennaatje's solution seems to be the way to go for now, but it feels a bit weird to use it as a final solution.
Here is the project In case someone wants to see the error happening.
In my opinion, this issue causes significant confusion, making it difficult to test the code and reducing confidence in the libraries/frameworks. If a company relies on testing as part of its workflow, it could face major setbacks because of this issue.
Hey! @manniL first of all love your videos! Have you ever faced something like this before?