about code problem

This is t1_model  architecture , but the state load from t1_best_model.pt  like this:

so error is :

I don't know how to solve it , could tell me how to do and why ? Very Thanks

Hi @GorgeousMe
Thank you for your interests in our work. For the problem, I guess it is due to the DGL version. Different DGL versions have different implementations for the GATConv layer. Could you please use the packages indicated at https://github.com/ycjing/AmalgamateGNN.PyTorch/blob/main/requirements.txt and try again? Thanks!
Cheers,
Yongcheng


service.auth-notification auth notification "could not send email"}

Is there an existing issue for this?

[X] I have searched the existing issues

Version of Corteza
2022.9.9
Current Behavior
While deploying a fresh corteza project with proper SMTP settings, the value SMTP_FROM is not set in the auth-notification.
It is exactly(!) the same behavior as described in #372. Is there a quick fix? Yaren-IT has already asked this question in #372. There may be an answer by now.
Expected Behavior
No response
Steps To Reproduce
No response
Environment and versions
No response
Anything else?
No response

same problem here

Hello gerickt,
Pascal described me a solution to this problem in the penultimate post:
https://forum.cortezaproject.org/t/is-there-such-a-thing-as-a-demo-user-or-account/1336
Despite this, the behavior is sad. Especially with such a complex and well-made product.
Greetings,
Roman

I encountered the same problem.
For some reason the variables set in the .env file don't get passed down to the system container settings that are located in
corteza/provision/001_settings/auth.yml
That file still contains the<EMAIL_ADDRESS>address.
Manually editing that file gets me around this specific issue and I no longer get the "could not send email" error.
However, I'm still not getting an email. Could be directly related to this or not.
Regardless, it would be great if this issue could be fixed.
Version: 2023.3

Pascal described the solution. This works perfectly.
https://forum.cortezaproject.org/t/corteza-email-sending-failed/305/3
It's really a shame that it is the way it is. Especially because this project was funded with EU funds. I myself chose odoo as the platform for my project.

Thank you for the tip.


ObjectPool.cpp [4769]

I tried including all files as source for compiling Fast-RTPS. I am not much aware of why ObjectPool.cpp is not included for compilation. But in future if this needs to be included, some of the references this file includes needs to be corrected.
ex: CDRMessage_t.h doesnt exist in the path mentioned

#433 removes that old file. I will close this issue. Thanks.


Add Hotjar to the website

#{CU-4t5y2h}

Context
Add Hotjar to the website to track the users' behavior using the website.

Changes
I added a useEffect hook to initialize hotjar with the HJID and HJSV, and I also added two environment variables for each one of those values as well.

Regarding the connection between Hotjar and Google Analytics: When I approached this, I noticed that maybe adding Hotjar to GA will bring trouble with the actual GA connection. So I think the best thing we can do is first add Hotjar the simple way, and if the data is valuable, we might think about connecting it with GA without breaking any stuff.

Task linked: CU-4t5y2h [analytics] Add Hotjar to vercel


[Ontology] Have isDependency include information on direct or indirect or unknown

It is helpful in patch planning to know if the dependencies are direct or indirect. So as to know if the informatino gathered was flattened or not. Certain SBOMs do this and some don't and we want to encourage this information to be exposed as well as structure helps in patch planning.
https://github.com/google/deps.dev/issues/12

Updated isDependency schema to include  direct/indirect/unknown enum


perf: Prefer const border radius

What

Changed BorderRadius.circular(10) to achieve const BorderRadius.all(Radius.circular(10))

Codecov Report

Merging #2432 (647f814) into develop (2ea0da3) will decrease coverage by 1.33%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           develop   #2432      +/-   ##
==========================================
- Coverage     8.86%   7.52%   -1.34%
==========================================
  Files          161     204      +43
  Lines         6623    9762    +3139
==========================================
+ Hits           587     735     +148
- Misses        6036    9027    +2991

Impacted Files
Coverage Δ

...kages/smooth_app/lib/widgets/attribute_button.dart
0.00% <0.00%> (-92.00%)
:arrow_down:

...s/smooth_app/lib/data_models/user_preferences.dart
8.73% <0.00%> (-23.57%)
:arrow_down:

packages/smooth_app/lib/themes/smooth_theme.dart
60.00% <0.00%> (-22.98%)
:arrow_down:

...p/lib/generic_lib/dialogs/smooth_alert_dialog.dart
15.29% <0.00%> (-18.92%)
:arrow_down:

...mooth_app/lib/data_models/product_preferences.dart
24.65% <0.00%> (-6.78%)
:arrow_down:

packages/smooth_app/lib/main.dart
14.40% <0.00%> (-3.49%)
:arrow_down:

.../smooth_app/lib/pages/onboarding/welcome_page.dart
0.00% <0.00%> (-3.13%)
:arrow_down:

.../smooth_app/lib/pages/onboarding/scan_example.dart
0.00% <0.00%> (-2.28%)
:arrow_down:

...p/lib/pages/onboarding/consent_analytics_page.dart
0.00% <0.00%> (-1.57%)
:arrow_down:

...smooth_app/lib/pages/product/new_product_page.dart
0.00% <0.00%> (-0.88%)
:arrow_down:

... and 204 more

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 4aa3671...647f814. Read the comment docs.

Could you explain a little bit what it does and potentially add a screenshot @lsaudon ?

There is no change in the design.
This makes it possible to go to constant instead of not being constant.

(url)


Add Samyak2 as a maintainer, chaos-genius and toipe as projects

Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/india/blob/main/CONTRIBUTING.md.

Which change are you proposing?

[x] Adding/updating open source project/s
[x] Adding/updating maintainer/s

Adding/updating open source project/s

[x] The project was built in or receives significant contributions from India
[x] The project has at least 100 stargazers

Why should this open source project be featured?

Please replace this line with an explanation of why you think these changes should be made.

Adding/updating maintainer/s

[x] Maintainer's location on their GitHub profile indicates as India
[x] Maintainer has approved this PR to be included on the website

What open source project/s does the individual maintain?

https://github.com/Samyak2/toipe
https://github.com/chaos-genius/chaos_genius
https://github.com/browser-history/browser-history
https://github.com/pesos/grofer

Something that does not neatly fit into the binary options above

[ ] My suggested edits are not about an existing page, or at least not a single one

Please replace this line with an explanation of your proposed changes.

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

Rebased on upstream main

@Samyak2 Your PR has been deployed to githubindia.com :tada:

Thank you! ❤


fix(curriculum): Hide Ribbons for Legacy Curriculum Sections

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #54935

This pull request introduces a UI adjustment to the curriculum map component. It specifically omits the completion ribbons for the legacy courses from the super blocks.
Files Modified
index.tsx
Changes
The main change involves adding a check in the MapLi component to determine if a super block belongs to the legacy curriculum. If so, the completion ribbon is not rendered for that super block.
Here are the changes in action:

I would suggest using a prop, just like we do for showProgressionLines
So something like showRibbonIcon, set it to true by default and pass it false in the map for the SuperBlockStages.Legacy

Hey @lasjorg , thank you so much for your feedback and I can definetely see how we can design this better. I have addressed your feedback by now creating a boolean flag called showRibbonIcon which is set to true by default, however, in the map function for SuperBlockStages.Legacy it will be set to false.
I have tested this locally and the results are as we expect.
Thank you once again!

Closing as stale, if you want to continue working on this leave a comment and it can be reopened.


[Bug] fix count expansion for single file short-read-mngs

Fix count expansion for single file workflows

Thanks so much for fixing these issues!


The 'Pods-App' target has framworks with conflicting names: mobilertc.framework

After i insert pod 'ZoomSDK', '5.4.54802.0124.1' the error message shown that the pods-app target has framworks with conflicting names: mobilertc.framework. Which i did try to delete whole ZoomSDK folder and pod install, it still does not work Please Help

Did you have it in project before?


Change the documentation URL

Change the URL from https://www.criticalflaw.ca/TF2HUD.Editor/ to https://www.editor.criticalflaw.ca/

Reconfigured the documentation site to https://editor.criticalflaw.ca/


feat: add new icons

Adds the following icons in paragon & resolves
TNL-8554
TNL-8549
TNL-8548
TNL-8545

Coverage remained the same at 90.646% when pulling b47a3ae5069c6b7a314ddad157d9ec7a3407fbc5 on aj/feat-add-icons into 87402695a470d429dc0bd9f63e58c53c73e43d57 on master.

Sounds good @abutterworth

:tada: This PR is included in version 16.6.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Feature/149038 upgrade to v4

Action
Done?

Code compiles and unit tests all pass locally
✔/❌

Debug/console log code removed
✔/❌

Commented out code removed
✔/❌

Unit tests added/updated
✔/❌

README updated
✔/❌

Considered:  - Performance  - Security  - Logging
✔/❌

Licenses of any new/upgraded dependencies checked, with no copyleft dependencies introduced
✔/❌

Misc

Need to re run the project in the new repo as IIRC they were fine before the migration but will make sure that it still builds okay and update the PR template form

Tests re ran from resolving merge conflict from merging dev into feature branch


[BEAM-2817] BigQuery queries are allowed to run in either BATCH or IN…

…TERACTIVE mode
DESCRIPTION HERE

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand:

[ ] What the pull request does
[ ] Why it does it
[ ] How it does it
[ ] Why this approach

[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Closed the previous pull request and opened this one. Thanks
@chamikaramj @jkff

LGTM
Thanks for the contribution.
For reference, previous review is in https://github.com/apache/beam/pull/4226.

Run Java PreCommit

Please fix the Javadoc errors.
2018-02-06T20:26:53.975 [ERROR] Exit code: 1 - /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_MavenInstall@2/src/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIO.java:915: error: reference not found
2018-02-06T20:26:53.975 [ERROR] /** See {@link Read#usingInteractivePriority()}. /
2018-02-06T20:26:53.975 [ERROR] ^
2018-02-06T20:26:53.975 [ERROR] /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_MavenInstall@2/src/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIO.java:920: error: reference not found
2018-02-06T20:26:53.975 [ERROR] /* See {@link Read#usingInteractivePriority()}. */
2018-02-06T20:26:53.975 [ERROR] ^
https://builds.apache.org/job/beam_PreCommit_Java_MavenInstall/17572/console

Sure, thanks

Please let me know when it's ready.

Will do, I'll get to it tonight after work. Do I run Java Precommit to test it out?

This is ready @chamikaramj

Thanks. Merging.


Various fixes to circleci integration tests

Build the weave build container if we don't have it in the circle cache.  That way, when it changes, we just flush the circle cache.  It can be removed from the docker hub now.
Add some timeouts to the test runs and GCE destroy vm function; this should help prevent stranded VMs.
Checkin assert.sh instead of fetching it each time.  This allows us to modify it to expose test run time.  Its LGPL, so it should be fine.
Add a simple scheduler to decide what tests run on which shard in circle.  This should balance tests more accurately, and bring down total test run time down by about a minute or two.

Maybe a moving average, instead of all of history?

Update to use an exponential moving average.

Do we need total_runs anymore?

I do not, but I thought it would be nice to keep.

LGTM, then.

Tests on the different shards took 03:13 and 03:02 - yay for scheduler!


We are unable to perform your action because internal server errors have occured

Able  log-in to harbor successfully, but when attempting to select a projects through the UI,
get message " We are unable to perform your action because internal server errors have occured "
Able to run:
$ docker-compose down  -> Successful
$ docker-compose up -d --> Successful

Login to harbor ui  --> Successful
Select a project vi harbor ui, get "Internal Server Error"

Attempted to attach the log and config files  but would not allow uploads greater the 10MB.
docker version
Client:
Version:      18.03.1-ce
API version:  1.37
Go version:   go1.9.5
Git commit:   9ee9f40
Built:        Thu Apr 26 07:18:46 2018
OS/Arch:      linux/amd64
Experimental: false
Orchestrator: swarm
Server:
Engine:
Version:      18.03.1-ce
API version:  1.37 (minimum version 1.12)
Go version:   go1.9.5
Git commit:   9ee9f40
Built:        Thu Apr 26 07:16:59 2018
OS/Arch:      linux/amd64
Experimental: false
docker-compose version
docker-compose version 1.21.2, build a133471
docker-py version: 3.3.0
CPython version: 3.6.5
OpenSSL version: OpenSSL 1.0.1t  3 May 2016
docker-compose ps
   Name                     Command                       State                                   Port

harbor-adminserver   /harbor/start.sh                 Up (health: starting)
harbor-db            /usr/local/bin/docker-entr ...   Up (health: starting)   3306/tcp
harbor-jobservice    /harbor/start.sh                 Up (health: starting)
harbor-log           /bin/sh -c /usr/local/bin/ ...   Up (health: starting)   <IP_ADDRESS>:1514->10514/tcp
harbor-ui            /harbor/start.sh                 Up (health: starting)
nginx                nginx -g daemon off;             Up                      <IP_ADDRESS>:8888->443/tcp, <IP_ADDRESS>:4443->4443/tcp, <IP_ADDRESS>:84->80/tcp
registry             /entrypoint.sh serve /etc/ ...   Up (health: starting)   5000/tcp
ui.log
May 20 02:06:01 <IP_ADDRESS> ui[3218]: 2018-05-20T00:06:01Z [DEBUG] [security.go:286]: user information is nil
May 20 02:06:01 <IP_ADDRESS> ui[3218]: 2018-05-20T00:06:01Z [DEBUG] [security.go:300]: using local database project manager
May 20 02:06:01 <IP_ADDRESS> ui[3218]: 2018-05-20T00:06:01Z [DEBUG] [security.go:302]: creating local database security context...
May 20 02:06:01 <IP_ADDRESS> ui[3218]: 2018/05/20 00:06:01 #033[1;34m[router.go:829][D] | GET        | /api/systeminfo                          | 3.741443ms       | match      | /api/systeminfo                          | #033[0m
May 20 02:06:02 <IP_ADDRESS> ui[3218]: 2018-05-20T00:06:02Z [ERROR] [utils.go:102]: failed to connect to tcp://registry:5000, retry after 2 seconds :dial tcp <IP_ADDRESS>:5000: getsockopt: connection refused
May 20 02:06:04 <IP_ADDRESS> ui[3218]: 2018-05-20T00:06:04Z [ERROR] [utils.go:102]: failed to connect to tcp://registry:5000, retry after 2 seconds :dial tcp <IP_ADDRESS>:5000: getsockopt: connection refused
May 20 02:06:06 <IP_ADDRESS> ui[3218]: 2018-05-20T00:06:06Z [ERROR] [utils.go:102]: failed to connect to tcp://registry:5000, retry after 2 seconds :dial tcp <IP_ADDRESS>:5000: getsockopt: connection refused
May 20 02:06:08 <IP_ADDRESS> ui[3218]: 2018-05-20T00:06:08Z [ERROR] [utils.go:102]: failed to connect to tcp://registry:5000, retry after 2 seconds :dial tcp <IP_ADDRESS>:5000: getsockopt: connection refused
May 20 02:06:10 <IP_ADDRESS> ui[3218]: 2018-05-20T00:06:10Z [ERROR] [utils.go:102]: failed to connect to tcp://registry:5000, retry after 2 seconds :dial tcp <IP_ADDRESS>:5000: getsockopt: connection refused
May 20 02:06:12 <IP_ADDRESS> ui[3218]: 2018-05-20T00:06:12Z [ERROR] [utils.go:102]: failed to connect to tcp://registry:5000, retry after 2 seconds :dial tcp <IP_ADDRESS>:5000: getsockopt: connection refused
May 20 02:06:14 <IP_ADDRESS> ui[3218]: 2018-05-20T00:06:14Z [ERROR] [utils.go:102]: failed to connect to tcp://registry:5000, retry after 2 seconds :dial tcp <IP_ADDRESS>:5000: getsockopt: connection refused

This issue when a way.  About an hour later, it started working again.  Don't know way.


Post: Computer Securiry for Your Grandma

Explaining safe computing / browsing habits in a way your Grandma will understand.

Step one: spell security right.


Possible static linkage chosen when building shared lib using rb-sys

librb_sys-fe5430e22a32af2b.rlib(thread.o): relocation R_X86_64_TPOFF32 against `ruby_native_thread' can not be used when making a shared object; recompile with -fPIC

my Cargo.toml looks kinda like:
[lib]
crate-type = ["cdylib", "rlib"]

[dependencies]
magnus = { git = "https://github.com/matsadler/magnus", features = ["rb-sys-interop"] }

[dev-dependencies]
magnus = { git = "https://github.com/matsadler/magnus", features = ["embed"] }

So the solution to this is to ensure you set resolver = "2" in your Cargo.toml. Otherwise, Cargo will unify the magnus features, causing embed to be enabled, and thus Ruby to be linked. With a gem, you do not want to link libruby.
Hope this helps someone!


Disable Failing Doc Deploy Job in CircleCI

It looks like the deployment of the docs website to netlify is failing.
I suspect this is due to a token expiring but since I don't have access to netlify I'm not sure.
For now, this PR will disable the deploy job.

Closing as I've managed to resolve this.


closes #1714 : proper clean up when server store creation fails #1714

Good to go once rebased

rebased

Ran tests locally - ok to merge


Machines do not function when getting updated by external blocks/tile entities

This is a major issue from what I've noticed through playing All Of Fabric 3. Machines (the ones I've tested for getting rocket fuel, as well as the Alloy Smelter) can not process a recipe if the energy input is active, items are being added/removed, receiving/sending fluids etc.
Note: This is a similar issue to what is described in #300, but this is regardless of power input.
They all vary slightly between each machine but the issue is still the same. The most noticeable being the Alloy Smelter in this example. I have added a few screenshots as well as a .gif to illustrate the issue.
ALL MACHINES HAVE BEEN PROPERLY CONFIGURED!

Item one is already fixed in development, not sure about the fluids. Thank you for the clear images!

Item one is already fixed in development, not sure about the fluids. Thank you for the clear images!

I have noticed that using the mod Hwyla allows you to see the progress bar of the machines that uses the fluids in its recipe. And when it is not correctly functioning it might sometime even flash the bar at a seemingly random progress amount. Sometimes 1/3, others 2/3 etc. I wouldn't be surprised if the fluid/energy bug has a similar issue as the item progress one. Might be of help.

All solved.


Fixed #25227 -- Added ModelForm.get_updated_model()

Add utility method get_updated_model() to ModelForm
Additionally, add utility method get_updated_models() to FormSet
Rationale:
While doing the djangogirls tutorial, I noticed that ModelForm.save(commit=False) is given to newcomers as a reasonable way to acquire a form's populated model. This is an antipattern for several reasons:

It's counterintuitive. To a newcomer, it's the same as save(save=no).
It's a leaky abstraction. Understanding it requires understanding that the save method does two things: a) prepare the model, and b) save it to the database.
It doesn't name its effect or return well.

All these problems are addressed in the current patch. Changes:

Implement ModelForm.get_updated_model()
Implement FormSet.get_updated_models()
Refactor ModelForm.save() and FormSet.save() to allow the above.
Both the tests and contrib.auth have been modified: any call to save(commit=False) for the purpose of obtaining a populated model has been replaced by get_updated_model(). Tests still pass, I'm confident it's a successful refactor.
New tests have been added for the new methods in different contexts (from a ModelForm, from a FormSet, etc).
documentation has also been modified to showcase the new methods.

Notes:
Uses of ModelForm.save(commit=False) in the codebase have been left alone wherever it was used for its side effects and not for its return value.
The Djangogirls tutorial has a PR that depends on the changes in the present one:
https://github.com/DjangoGirls/tutorial/pull/450

Would it work to just use form.instance in this case? I'd rather see that documented as a pattern than add a method.

@collinanderson: It makes sense to just use form.instance. It just doesn't solve the root issue I tried to address, which is removing the save(save=False) antipattern from beginners' tutorials.
I'm working on rebasing this on @timgraham's https://code.djangoproject.com/ticket/25241, and taking some of the advice on method naming from the mailing list discussion. We'll see what this looks like then.

It doesn't look like you "rebased" your branch in the Git sense since the changes in my recent commit are appearing as changes in your branch. https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/working-with-git/ might help.

Hi, I don't know if only is with me, but when I'm building my ModelForm using a model with Foreignkey and Many-to-many fields, this fields aren't shown correctly in my template.
In my view I'm using form_class attr...

@CarMoreno Please see https://code.djangoproject.com/wiki/TicketClosingReasons/UseSupportChannels for ways to get help. This is not the place for that, thanks.

@timgraham Ok, thanks.

Based on the mailing list discussion, it seems a documentation change may be preferred. Closing this for now.


Lazily download game logos

Opening SAM and waiting for it to download 5k icons is no fun, perhaps it could be changed to only download icons for games in view?

Definitely possible, it downloading everything immediately is a holdover from when SAM was originally made and there weren't 5k icons to download. :smile:

IDK what internet you have, but for me all the icons pop in within 100ms. They're set to asynchronously load...


how to see the test result in csv , where are the results are stored in csv for testing

Hi,
I am trying to train on custom data, the model trains and test using the command and making the test flag to 1. but I can not find the results saved somewhere.
Could you please give me direction?
Thank you

Hi, make sure to read the section https://github.com/joeloskarsson/CGAN-regression#weights-and-biases-integration carefully, as I think that might answer your question. In short, the project is set up to log to Weights & Biases. Assuming that you are not using Weights & Biases and have then ran wandb off, the results are logged in a directory called something like wandb/dryrun-2020...wandb/dryrun-2020.... The exact path should be printed when the script is ran. Many things are also directly printed to std.-out.
Depending on the exact results/metrics you want to collect you might find it in the places mentioned above, otherwise you'll have to extend the implementation to save the things you want.


RNFIRMessaging.h:4:9: fatal error: 'Firebase.h' file not found

After last update which 13.1.0 it gives that error.
react-native: 0.51.0
react-native-fcm: 13.1.0
Real device: IPhone 5s.

https://github.com/evollu/react-native-fcm/commit/134404cc54d73ef4866489ded84108e69fd1ef3c

I have the same problem.
Solved for the moment revertingo to:
@import FirebaseCore;
@import FirebaseMessaging;
@import FirebaseInstanceID;

I was a little confused at first, so hopefully this will help the next person.
When you install Firebase manually following the Readme, put all the .framework files AND Firebase.h inside  /ios/Frameworks  folder.  Not just inside Xcode explorer in the Frameworks folder. Actually in a real folder called Frameworks inside the ios folder of your project. i.e. you can open up Finder and see this Frameworks folder.
react-native-fcm is specifically looking for Firebase.h in ios/Frameworks. As you can see in the image below, react-native-fcm has the following for Header Search Paths: (notice the 2nd path)

I think this is broken when following the instructions in the README using Cocoapods installation. I believe this is because the import is looking for Firebase.h, but the file in ios/Pods/Headers/Public is called FirebaseCore.h.

Following the instructions to manually link Firebase works fine.

@matt-oakes Firebase.h is under /Pods/Firebase/Core/Sources if you install through cocoapods

@evollu I can't check now because I went down the non-Cocoapods route, but following the instructions in the README from a fresh project caused the same error as this issue reports.

also having this issue, using cocoapods. @fnicastri' 's solution worked for me

@vonovak when you do pod install it should put header file there automatically. You don't need to do anything.

@evollu unfortunately, then I'm getting 'FirebaseAnalytics/FirebaseAnalytics.h' file not found. Note that I'm not using the podspect file that comes with the repo, because otherwise pods install React 0.11 in my dependencies.. Any idea? Thanks.

@vonovak yes, removing use_frameworks! should make it work. oh I remember some people were using swift and has to use module. I don't know if it has changed

I had it in my project which uses swift for a long time, but now I removed
and building still works, so I kept it removed :)
On Feb 16, 2018 17:34, "Libin Lu"<EMAIL_ADDRESS>wrote:

@vonovak https://github.com/vonovak yes, removing use_frameworks!
should make it work. oh I remember some people were using swift and has to
use module. I don't know if it has changed
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/evollu/react-native-fcm/issues/784#issuecomment-366286803,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABfmwwfne39ZHH7dphr7uqVnWXSND4xMks5tVa4KgaJpZM4R_Y4I
.

had the same issue. i also removed the frameworks requirement and avoided the invasive manual process (as it will be harder to remember to do this if im building from scratch). thanks @evollu  and @vonovak

@import FirebaseCore;
@import FirebaseMessaging;
@import FirebaseInstanceID;

Where exactly do I put this? I also stumbled on this error.

@wmonecke the example project is using cocoa pods integration, try compare your difference

@wmonecke no, i got it to work by removing the use_frameworks! line in the Podfile for iOS

@wmonecke you can add this in the RNFIRMessaging.h File replacing Line 3

If you don't want to manually link, you can try installing RNFirebase as a pod install directly:
pod 'RNFirebase', :path => 'path/to/node_modules/react-native-firebase/ios'
Changing or hardcoding HEADER_SEARCH_PATHS did not help me. When the error recurs, it's not necessary to rm -rf node_modules nor delete the pod file etc, I found it useful to clear the cache.


@vercel/blob - Folder entry coming through as blob

Hi,
When fetching the blobs using the list(), I noticed the sub folder (trending) containing the data coming through as an entry.
Folder structure in dashboard

Blob project

trending

...images

This happens for both folded and the default expanded modes.
config
import { list } from "@vercel/blob";

  const { blobs } = await list({
    mode: "folded",
    prefix: "trending/"
  });

Is this intended behaviour?

I also receive this error presumably because the blob's url entry isn't a valid image url.
The requested resource isn't a valid image for https://3gzqlfvwgaygv21a.public.blob.vercel-storage.com/trending/
received application/octet-stream

Thanks.

Same here


Wait for machines to be deleted

In the following test "[Suite:openshift/openstack] Bugfix bz_2073398: [Serial] MachineSet scale-in does not leak OpenStack ports" we introduce a bogus machineset (One that should fail)
It's possible that after deleting a bogus machineset a machine in stuck in Deleting phase.
We are waiting for the machine to get created and after the machineset is deleted make sure the machine is deleted as well

/approve
/lgtm

/retest


Add extra logging to help debug logging test issue

@quinton-hoole if you were kind enough to merge this then I would have a little bit of extra information to help me debug the unmarshalling error. Thank you kindly.

@fabioy since he is the on call and the actual meger.

Done. Such a risky change too... ;-)
On Mon, Jun 15, 2015 at 1:26 PM, Satnam Singh<EMAIL_ADDRESS>wrote:

@fabioy https://github.com/fabioy since he is the on call and the
actual meger.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/9812#issuecomment-112198276
.

--
-- Fabio Yeon

LGTM.


Small beta updates

I am not able to test these changes, since it these relies on the unstable test crate. In a separate branch I disabled the #[bench] testcases and everything is just fine in combination with rust-beta.
At least this PR makes it buildable for rust-beta.

I had this changes locally and accidentally was sure it works on beta.
Anyway, thanks a lot!


OP_REQUIRES failed due to missing tempstate or invalid argument

System information

Custom implementation of ALBERT for TF2.0
Training on DataBricks
TensorFlow installed from (source or binary): Binary pypi
TensorFlow version (use command below): 2.0-gpu
Python version: 3.7
CUDA/cuDNN version: 10.1
GPU model and memory: Databricks 4xGPU cluster X8

Describe the current behavior
Current behavior: Training proceeds through 3 epochs and barfs on Train Step 399/1330 in the _save_checkpoint routine. We are using ADLSgen2 to store data, and we are mounting to that filesystem. Filesystem works transparently for all tasks so far & we have DataBricks team support. There are many read/writes to this mount point so I am not quick to blame the filesystem - but it's still worth noting.
The actual error is:
2020-01-03 20:51:34.688654: W tensorflow/core/framework/op_kernel.cc:1622] OP_REQUIRES failed at save_restore_v2_ops.cc:137 : Invalid argument: /dbfs/mnt/devscoutprototype/eval_out/checkpoint/ctl_step_399.ckpt-3_temp_08f0418651184fbd97263e13fc11b45c/part-00001-of-00002.data-00000-of-00001.tempstate9461307533243821894; Invalid argument
When we navigate to this location we find the folder is genuinely there, however inside that folder there is not this temp file. Instead there are two files:
1)part-00000-of-00002.data-00000-of-00001
2)part-00000-of-00002.index
Describe the expected behavior
I would expect to see a new checkpoint at this step.
Code to reproduce the issue
This is made following the examples of https://github.com/kamalkraj/ALBERT-TF2.0
If you simply run this example top to bottom on DataBricks you will encounter this error.
Other info / logs
loss = 0.2804690897464752
I0103 20:48:47.790678<PHONE_NUMBER>36192 model_training_utils.py:346] Train Step: 396/1330  / loss = 0.3561434745788574
I0103 20:48:50.499201<PHONE_NUMBER>36192 model_training_utils.py:346] Train Step: 397/1330  / loss = 0.26206889748573303
I0103 20:48:53.168039<PHONE_NUMBER>36192 model_training_utils.py:346] Train Step: 398/1330  / loss = 0.3312344551086426
I0103 20:48:55.838387<PHONE_NUMBER>36192 model_training_utils.py:346] Train Step: 399/1330  / loss = 0.41013699769973755
2020-01-03 20:51:34.688654: W tensorflow/core/framework/op_kernel.cc:1622] OP_REQUIRES failed at save_restore_v2_ops.cc:137 : Invalid argument: /dbfs/mnt/devscoutprototype/eval_out/checkpoint/ctl_step_399.ckpt-3_temp_08f0418651184fbd97263e13fc11b45c/part-00001-of-00002.data-00000-of-00001.tempstate9461307533243821894; Invalid argument
Traceback (most recent call last):
File "/dbfs/mnt/devscoutprototype/ALBERT-TF2.0-master/run_classifer.py", line 455, in
app.run(main)
File "/databricks/conda/envs/databricks-ml-gpu/lib/python3.7/site-packages/absl/app.py", line 299, in run
_run_main(main, args)
File "/databricks/conda/envs/databricks-ml-gpu/lib/python3.7/site-packages/absl/app.py", line 250, in _run_main
sys.exit(main(argv))
File "/dbfs/mnt/devscoutprototype/ALBERT-TF2.0-master/run_classifer.py", line 356, in main
custom_callbacks = custom_callbacks)
File "/dbfs/mnt/devscoutprototype/ALBERT-TF2.0-master/model_training_utils.py", line 354, in run_customized_training_loop
checkpoint_name.format(step=current_step))
File "/dbfs/mnt/devscoutprototype/ALBERT-TF2.0-master/model_training_utils.py", line 33, in _save_checkpoint
saved_path = checkpoint.save(checkpoint_path)
File "/databricks/conda/envs/databricks-ml-gpu/lib/python3.7/site-packages/tensorflow_core/python/training/tracking/util.py", line 1889, in save
file_path = self.write("%s-%d" % (file_prefix, checkpoint_number))
File "/databricks/conda/envs/databricks-ml-gpu/lib/python3.7/site-packages/tensorflow_core/python/training/tracking/util.py", line 1819, in write
output = self._saver.save(file_prefix=file_prefix)
File "/databricks/conda/envs/databricks-ml-gpu/lib/python3.7/site-packages/tensorflow_core/python/training/tracking/util.py", line 1155, in save
file_prefix=file_prefix_tensor, object_graph_tensor=object_graph_tensor)
File "/databricks/conda/envs/databricks-ml-gpu/lib/python3.7/site-packages/tensorflow_core/python/training/tracking/util.py", line 1103, in _save_cached_when_graph_building
save_op = saver.save(file_prefix)
File "/databricks/conda/envs/databricks-ml-gpu/lib/python3.7/site-packages/tensorflow_core/python/training/saving/functional_saver.py", line 230, in save
sharded_saves.append(saver.save(shard_prefix))
File "/databricks/conda/envs/databricks-ml-gpu/lib/python3.7/site-packages/tensorflow_core/python/training/saving/functional_saver.py", line 72, in save
return io_ops.save_v2(file_prefix, tensor_names, tensor_slices, tensors)
File "/databricks/conda/envs/databricks-ml-gpu/lib/python3.7/site-packages/tensorflow_core/python/ops/gen_io_ops.py", line 1933, in save_v2
ctx=_ctx)
File "/databricks/conda/envs/databricks-ml-gpu/lib/python3.7/site-packages/tensorflow_core/python/ops/gen_io_ops.py", line 1970, in save_v2_eager_fallback
ctx=_ctx, name=name)
File "/databricks/conda/envs/databricks-ml-gpu/lib/python3.7/site-packages/tensorflow_core/python/eager/execute.py", line 67, in quick_execute
six.raise_from(core._status_to_exception(e.code, message), None)
File "", line 3, in raise_from
tensorflow.python.framework.errors_impl.InvalidArgumentError: /dbfs/mnt/devscoutprototype/eval_out/checkpoint/ctl_step_399.ckpt-3_temp_08f0418651184fbd97263e13fc11b45c/part-00001-of-00002.data-00000-of-00001.tempstate9461307533243821894; Invalid argument [Op:SaveV2]

CalledProcessError                        Traceback (most recent call last)
 in
----> 1 get_ipython().run_cell_magic('sh', '', "\n# Running classifier:\n\nexport GLUE_DIR='/dbfs/mnt/devscoutprototype/dataset/'\nexport ALBERT_DIR='/dbfs/mnt/devscoutprototype/models/base_2/'\nexport TASK_NAME='CoLA'\nexport OUTPUT_DIR='/dbfs/mnt/devscoutprototype/train_out'\nexport MODEL_DIR='/dbfs/mnt/devscoutprototype/eval_out/'\n\npython /dbfs/mnt/devscoutprototype/ALBERT-TF2.0-master/run_classifer.py --train_data_path=${OUTPUT_DIR}/${TASK_NAME}_train.tf_record --eval_data_path=${OUTPUT_DIR}/${TASK_NAME}_eval.tf_record --input_meta_data_path=${OUTPUT_DIR}/${TASK_NAME}_meta_data --init_checkpoint=${ALBERT_DIR}/tf2_model.h5 --spm_model_file=${ALBERT_DIR}/vocab/30k-clean.model --albert_config_file=${ALBERT_DIR}/config.json --output_dir=${MODEL_DIR} --do_train --task_name=${TASK_NAME} --do_eval --custom_training_loop --train_batch_size=64 --learning_rate=1e-5 --num_train_epochs=10\n")
/databricks/python/lib/python3.7/site-packages/IPython/core/interactiveshell.py in run_cell_magic(self, magic_name, line, cell)
2350             with self.builtin_trap:
2351                 args = (magic_arg_s, cell)
-> 2352                 result = fn(*args, **kwargs)
2353             return result
2354
/databricks/python/lib/python3.7/site-packages/IPython/core/magics/script.py in named_script_magic(line, cell)
140             else:
141                 line = script
--> 142             return self.shebang(line, cell)
143
144         # write a basic docstring:
</databricks/python/lib/python3.7/site-packages/decorator.py:decorator-gen-110> in shebang(self, line, cell)
/databricks/python/lib/python3.7/site-packages/IPython/core/magic.py in (f, *a, **k)
185     # but it's overkill for just that one bit of state.
186     def magic_deco(arg):
--> 187         call = lambda f, *a, **k: f(*a, **k)
188
189         if callable(arg):
/databricks/python/lib/python3.7/site-packages/IPython/core/magics/script.py in shebang(self, line, cell)
243             sys.stderr.flush()
244         if args.raise_error and p.returncode!=0:
--> 245             raise CalledProcessError(p.returncode, cell, output=out, stderr=err)
246
247     def _run_script(self, p, cell, to_close):
CalledProcessError: Command 'b"\n# Running classifier:\n\nexport GLUE_DIR='/dbfs/mnt/devscoutprototype/dataset/'\nexport ALBERT_DIR='/dbfs/mnt/devscoutprototype/models/base_2/'\nexport TASK_NAME='CoLA'\nexport OUTPUT_DIR='/dbfs/mnt/devscoutprototype/train_out'\nexport MODEL_DIR='/dbfs/mnt/devscoutprototype/eval_out/'\n\npython /dbfs/mnt/devscoutprototype/ALBERT-TF2.0-master/run_classifer.py

To clarify, "Databricks 4xGPU cluster X8" means there are 8 machines each with 4 GPUs attached? Or one machine with 4 GPUs and "cluster X8" refers to something else?
So presumably DBFS doesn't like moving and/or deleting files, which we do when saving checkpoints. S3 has possibly related issues, so you could try waiting for https://github.com/tensorflow/tensorflow/pull/36388 to get in and applying that "don't use temporaries" logic to DBFS too.
Or as a workaround you can save to a local directory and copy the resulting checkpoint to DBFS if there's only one machine involved.

FYI https://github.com/tensorflow/tensorflow/pull/36388 is in if you want to try doing something similar for DBFS. I'm probably not in the best position to test fixes for DBFS.

@birdmw,
Is this still an issue?
Could you please check @allenlavoie's workaround and let us know if you are still facing the issue. Thanks!


Ability to add Secondary Allocation Id for NGWs

Is your request related to a new offering from AWS?
Is this functionality available in the AWS provider for Terraform? See CHANGELOG.md, too.

Yes ✅: 5.10.0 (Unreleased)

Describe the solution you'd like.
The Terraform Provider for AWS recently just added the ability to specify additonal Allocation Ids for NGWs. It would be nice to have this feature added to this VPC Module.

👍 for this
I am intending on running some DNS resolvers inside AWS, so the ability to spread my outbound queries via secondary IPs is super important to avoid rate limiting by root nameservers etc

👍 fot his

👍

This would be much appreciated!

Upvote, we need that too!

We really need this too, please prioritise it.
Thanks


Check imu orientation field

Signed-off-by: Ian Chen<EMAIL_ADDRESS>🎉 New feature
Summary
related PRs

https://github.com/ignitionrobotics/ign-sensors/pull/142
https://github.com/ignitionrobotics/ign-gazebo/pull/899

Ign may not always publish imu orientation values (see PRs above). The changes here make sure that the bridge checks to see if the field exists before converting to the orientation field in the ROS imu msg. If the field does not exist, we set the 1st element of the orientation covariance matrix to -1 per ROS imu msg documentation
Checklist

[x] Signed all commits for DCO
[ ] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge

How about checking for -1 when the message comes from ROS?

yep added check in 5978fc2


Syntax highlighting is not working - Typescript  in May release

This is in Typescript...
After 200 lines, the syntax highlighting breaks.
It was all working in 1.23.1. This ain't a large file.  The file has no lint errors or compile errors.
I tried all the inbuilt themes. I don't have any theme extension.

VSCode Version: Version 1.24.0 (1.24.0)
OS Version: Mac OS 10.13.3
Typescript: 2.9.1

Steps to Reproduce:

Does this issue occur when all extensions are disabled?: Yes/No - No

@ramramps Can you attach the problematic code?

I have the file attached in the issue...There is no problematic code here.

Please include the code as text

+1
Typescript w/ a Node application.
Happened about an hour ago, immediately following an update.
Not sure what version I was coming from unfortunately.

Typescript: 2.9.1

VS Code: 1.24.0

OS: Windows 10 Pro

If this helps at all:
Commenting out this unfinished function declaration:

Uncommenting this unfinished function declaration:

Let me know if I can provide any more info.

@mjbvz I cannot add the code here. NDA must be signed.

Simplify it to a minimal repo that still demonstrates the problem. Just keep deleting stuff and confirming that the bug still exists after each step. You should be able to remove all the real logic and can even rename variables if you want


Add HealthChecker Callback

What does this PR do?
Adds a HealthChecker callback to monitor node health. Will log a warning if GPUs on a node appear to be in poor health. Provides an optional interface to send a message via Slack webhook.
Note: this adds the pynvml and slack_sdk to the dependencies. Unsure if this should be in the base install or a separate tag.
TODO:

[ ] Run some LLM 1B training runs to verify minimal throughput impact

Before submitting

[x] Have you read the contributor guidelines?
[ ] Is this change a documentation change or typo fix? If so, skip the rest of this checklist.
[x] Was this change discussed/approved in a GitHub issue first? It is much more likely to be merged if so.
[x] Did you update any related docs and document your change?
[x] Did you update any related tests and add any new tests related to your change? (see testing)
[x] Did you run the tests locally to make sure they pass?
[x] Did you run pre-commit on your change? (see the pre-commit section of prerequisites)

Can you please update callbacks.rst to include documentation?

Looks like its on your todo, but can you show a screenshot of a slack alert getting triggered?


Direct model queries not cached?

Noticed that method calls not found in the Eloquent or base repository are passed to the model, but that they're not cached. Is there any reason not to?
I tried the following code and it seems to work, but that's just a test of course.
/**
 * Dynamically pass missing methods to the model.
 *
 * @param string $method
 * @param array $parameters
 *
 * @return mixed
 */
public function __call($method, $parameters)
{
    return $this->executeCallback(get_called_class(), __FUNCTION__, func_get_args(), function() use($method, $parameters) {
        return call_user_func_array(['parent', $method], $parameters);
    });
}

And perhaps an entirely different issue, but caching is applied manually in each method at the moment. IMO this could be optimized by using a cache decorator and even using a technique (of which I forgot its name 🤐) that caches a method call and its parameters by a unique hash. I implemented this a while ago in my own repositories I then used and works like a charm. It allows you to cache every query and it's pretty simple to apply.

Yes, direct model queries isn't cached by default since you can do almost unpredictable things with the underlying model which maybe or maybe not Eloquent, so it's up to the developer to cache everything like your example above, or stick to the default.
By the way, I'm open to any ideas in simplifying the implementation, so please feel free to propose your better solutions or maybe send a PR 😉


Re: 'Bank Holidays'

Problem with 'Bank Holidays' (https://www.api.gov.uk/gds/bank-holidays/)
When loading the bank holidays in R there is typo  "New Yearâ€™s Day", it is not an issue at all :), but i thought i should let you know about this.

Hi Anton, thanks for raising this issue - this catalogue just documents details about the APIs and we don't have sight of the APIs themselves so unfortunately I can't help with this.


fix: add type to SfCheckBox properties

What is it?

[x] Feature / enhancement

Description
Fix types in SfCheckbox
Checklist:

[x] My code follows the developer guidelines of this project
[x] I have performed a self-review of my own code

👏 Great


Consider moving env vars for zos compiler to settings.mk

Opening this issue to discuss whether we move the env vars out of Jenkins files into TKG, to support command line running of zOS native testing
related: https://github.com/AdoptOpenJDK/openjdk-tests/pull/1478

Not needed, as it can be done in openjdk-tests repo (in jck.mk).


Generic json cannot initialize or read with std::array

Minimum example to reproduce:
    std::array<float, 3> coordinate = { 3.f, 4.f, 5.f };

    glz::json_t json = {
        // { "coordinate", coordinate }                                              // throws 'initializing': cannot convert from 'initializer list' to 'glz::json_t'
        { "coordinate_coorect", { coordinate[0], coordinate[1], coordinate[2] } } // correct
    };

    const auto coordinate_from_json = json["coordinate"].get<std::array<float, 3>>(); // throws 'return': cannot convert from 'void' to 'T &', see link 1 (Line 30)

Using MSVC 19.37.32824 for x64
Link1: https://github.com/stephenberry/glaze/blob/9e0ca4ea282b5182d23a7d2e95359086eec83295/include/glaze/json/json_t.hpp#L27-L31

It was explained very well actually, thank you so much!
The reason I chose to use glz::json_t is (de)serializing like the given example does will generate key strings at compile time, which is something I try to avoid. At the time of typing this, I just realized I can:
a.) hash the key to std::uint64_t and make it back to string at compile time
b.) use nonsense word for keys
I guess this can be closed now :>

Interesting use case, thanks for the info, and let me know if you run into limitations.

@Nukoooo would storing your data in a  std::map<std::string, std::array<float, 3>> accomplish what you're after?

@justend29 That did the job, thank you :)


Hb register component testing

This PR adds integration testing for the RegisterComponent event handling functionality, and builds out a testing environment that should be easily extended for further integration testing of future functionality.
Testing
To test the functionality of this PR, run "npm run test" and verify that jest runs error free and that all fourteen tests are passing. Probably also a good idea to make sure that all functionality from the previous PR is still working. (When run with an actual app instance in the browser, it should still produce the same three console logs of representations, instances, and 'capture snapshot' for each DOM update. All scripts in package.json should still run properly as well.)
Why
The previous iteration of automated testing for the backend had a handful of unit tests, but they were fairly trivial and not really getting at the thing we really want to be able to validate, which is the complete chain of events - capturing all the SvelteRegisterComponent events from a user app in the Router instance, transforming the event data about those components into usable representations in the SvelteEventParser instance, and storing relevant data for future use in the DataStore. We're currently manually inspecting this chain via console.logs in the browser, but this is time-consuming and error prone, so automation would be helpful. This PR should create the building blocks for greater speed and confidence in our backend system moving forward.
How
To do this kind of testing, we need a test environment where a running "mock" user app instance will build a DOM object and fire events just like it would in the browser . We also need to be able to run an instance of our Router class in the same context as the mock app, and access that Router instance from the testing context to be able to inspect internals of our backend system.
TestAppContext
The new "TestAppContext" file defines a class to create this environment. The constructor stores router and app instances so they can be shared with the test runner after the test setup occurs. The setup method takes a root-level Svelte component (referred to as the appInstance). It uses a package called happy-dom that creates a Node-runnable implementation of a web browser that can be run in the global context. Then it creates and stores a Router instance and an instance of the particular mock app that's been passed to it.
Test file
In the file containing the actual tests, I created an instance of TestAppContext so that the setup method and router and app instances are available to Jest. There's an outer "describe.each" block that acts a bit like a forEach loop - it's given an array of testing data, and will run the same set of functionality for each array element. In this case, the array contains mock Svelte apps coupled with expectations about their components to Jest can use to match against.
Within the "describe.each" block, the setup method from TestAppContext is invoked, creating the running app and router instances, and then there are a set of assertions to test that RegisterComponent events are being handled as they should be - specifically that the correct number of component instances and component representations with the correct labels are being stored, and that the instance and representation values have the correct form/type.
Testing Data
To give us some actual data to test against, I created a "mocks" folder containing several simple mock applications composed of some basic mock components that can be combined in different ways, and defined expectations in a file called "testData" about how our system should process each app. At this point the only functionality the devtool provides deals with the outer shell of the component instances themselves (ie. how many, what they're called...) so these are VERY simple components, but we'll be able to add new component functionality and more mock apps as needed to capture more devtool functionality moving forward.
Build Process for Testing
I also needed to create a version of the backend build that would allow us to access the Router instance. Normally we are building the backend system into a script for injection into the browser with no need to retain a reference to anything, so the entrypoint at "main.js" contains an IIFE that automatically creates a Router instance on injection and doesn't store or return the instance.
For testing purposes, we need the main function in our backend entrypoint to provide an exported function that we can directly invoke, and we need that function to return the Router instance so we have access to its internals. So I created an alternate entrypoint called "testMain.js" to alter the initialization function in this way, along with another webpack config called "scriptTest" that uses this new entrypoint and that emits a module library rather than a script.
package.json was updated to reflect a new script for this new build process, and to add that build script as a step in the "test" script. Running "test" will now build the test version of the current backend source files, and then run Jest once that test backend is ready. package.json also reflects some new packages necessary for testing - babel for transpiling JS files, svelte-jester for transpiling Svelte files, and happy-dom as mentioned above. A .babelrc config was added, and the Jest config file was updated to reflect these new packages.
Other Changes
I also updated the webpack config for the regular script build to allow switching between development and production modes, and updated the scripts for this build in package.json appropriately.
Finally, I made a handful of small changes to existing files in the backed src folder - mostly adding comments for clarity, and doing some light refactoring around ensuring that functions that can be pure are pure, and trying to better adhere to the principle of single responsibility.

The testing script works.


Feature request: zone buttons before game starts

It would be helpful to be able to see table quarters / center zones before starting the game.

Fixed in 8f7fcf9f3f54ff002a924b1f7011bae05fcdfdac, will close when v2.43 is published


Update MSDN links, Part 38

@NextTurn : Thanks for your contribution! The author, @unifycloud, has been notified to review your proposed change.

Hi @NextTurn - Thank you for your submission. We are addressing this item internally in the private repository in the near future. We'll close this pull request. Thanks again.
As far as I know, there's no need to create additional PRs for this issue. Thanks.


fix: Properties Section titles no longer showing

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Bugfix

Needs QA check

@kodadot/qa-guild please review

Context

[x] Closes #9214

Did your issue had any of the "$" label on it?

[x] My DOT address: Payout

Screenshot 📸

[x] My fix has changed UI

Copilot Summary
copilot:summary
copilot:poem

thanks!
pay 20 usd

😍 Perfect, I’ve sent the payout
💵 $20 @ 6.9 USD/DOT ~ 2.899 $DOT
🧗 16SjUbGKSdjCdWTy3NNT3JxbRVGGqD4mwkHpc6BD9U2Rp29Z
🔗 0x7bd38aad3e6baa665ff0aeb88065978cd1d43ff6784a67ec18efb428c5e57258
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Convert WebGL canvas to image byte array

I am currently trying to find a way to convert a WebGL canvas into a byte array so that I can recreate the image later in my code. I've tried searching up how to do this in javascript and using 'toDataUrl' seems like the best way to go but the image returned is always blank (even when I set 'preserveDrawingBuffer' to true). I'm assuming it has something to do with Blazor's async calls but I really just don't know enough about this to be sure and Blazor.Extensions does not seem to have an accessible 'toDataUrl' method within their canvas.
Two questions really. Is it possible to convert a canvas to an image without JS using C# only? If not, how do I go about doing it with JS?

I am having the same issue. Have you found a way to get this working? I am in need of it for my app.

Apologies to anyone who's had the same problem, I was able to solve it but never got around to updating this issue. I'm going to do my best to explain my solution but it has been well over a year since I solved it so sorry if I don't remember all of the details.
I've just checked and I have no references to 'preserveDrawingBuffer' in my code, so it seems it wasn't required. I created a 'CanvasToImage' method that I called at the very end of my 'LoadAnim' method. My 'LoadAnim' method sets the world and view matrices and then calls the following method:
/// <summary>
/// Do the batch process of drawing the canvas
/// </summary>
/// <returns></returns>
public static async Task DrawCanvas(this WebGLContext context, int vertexCount)
{
    await context.BeginBatchAsync();
    await context.ClearAsync(BufferBits.COLOR_BUFFER_BIT);

    await context.DrawElementsAsync(Primitive.TRIANGLES, vertexCount, DataType.UNSIGNED_SHORT, 0);
    await context.EndBatchAsync();
}

My 'CanvasToImage' method calls the following javascript function:
function CanvasToImage() {
    var canvas = document.getElementsByTagName("canvas")[0];
    var imageData = canvas.toDataURL();

    return imageData;
}

The 'imageData' returned would construct one of the following: a blank white canvas, a partially completed image, or the full canvas image. There didn't seem to be a way of ensuring that the completed image was created each time so my solution was to keep trying to create the image until the full image was outputted. I noticed that, depending on the result, the size of the data string returned would vary wildly. After a fair amount of trial and error, I found that if the length of the image data URL was greater than 100,000 characters the converted image would be the desired one. This is how I ended up with the following method:
public async Task CanvasToImage()
{
    _image3DSrc = await JsRuntime.InvokeAsync<string>("CanvasToImage");

    if (_image3DSrc.Length < 100000)
        await LoadAnim(true);
    else
        _captureImage = false;
}

I understand that this is far from a perfect solution and there is a lot about how I am using WebGL that I still don't understand but I hope this might help point someone in the right direction. Obviously, if anyone comes up with a better approach please add it to this thread. Any problems, let me know and I'll do my best to answer them if I can.

@mruch2 I hope you figured out a solution. Sorry, it took me so long to see this.

@JacobClinton I found a pretty descent way of doing this. Since the Canvas webgl rendering is double buffered you have to catch the drawn to buffer before it finishes the batch. So What I did was this.
`
private async callWithContext(context: any, method: string, args: any, canvas: HTMLCanvasElement): Promise {
const result = this.prototypes[method].apply(context, args != undefined ? args.map((value) => this.deserialize(method, value)) : []);
    if (method == 'createPattern') {
        const key = uuidv4();
        this.patterns.set(key, result);
        return key;
    }
    //console.log(method + " : " + this.SaveImageSnapshot);

    // save it at the end of the batch calls
    if (this.SaveImageSnapshot && method == 'drawArrays') {
        await this.saveImage(canvas);
    }

    return this.serialize(result);
}`

Keep in mind that I consumed the entire project. My buddy and I converted it to WebGL2 and are currently extending it to add support for dynamic scene creation.

@mruch2 Sounds interesting, thanks for your response. If I get a chance I might look further into it in the future.


501 Syntax error - line too long when using SMTP adapter

Hi there,
I am sending mails with the swoosh SMTP adapter for ages. Today I noticed that I could not send a HTML mail with a data URI image. The line is very long, and I get this error from the SMTP server: 501 Syntax error - line too long. I guess this is because lines may only be 998 characters long.
This looks like a bug to me? I don't think that a library user should care about the transport restrictions, should they?
Best regards,
CK

Could you use an inline attachment?

Maybe, I am working on that as a workaround

BTW, I don't consider it a bug in Swoosh, because in order to mitigate this problem, Swoosh would have to understand HTML. Swoosh obviously has nothing to do with HTML parsing.

Well, one could argue that quoted-printable or 7bit are simply not the right transfer encodings when a mail has lines longer than 998 characters. Maybe swoosh should choose base64 in this case?

By the way, using an inline image works as a workaround

By the way, using an inline image works as a workaround

Thanks. Glad to know.

Well, one could argue that quoted-printable or 7bit are simply not the right transfer encodings when a mail has lines longer than 998 characters. Maybe swoosh should choose base64 in this case?

Could you open a separate feature request for this one, so maybe someone will look into it and submit a PR?

Done

Thank you!


Handle empty files gracefully

Currently, if given no code, the interpreter responds with the error:

Unrecognized opcode '�' (at (0, 0))

I think it should be a little more explicit than that.

Fixed in aef66cde0e6246b5b4921a19492588079794f58c


getOSGBfromDec returns RangeError Exception

When using the getOSGBfromDec endpoint, I receive the following error:
Invalid value: Not in inclusive range 0..1114111: -78
I'm using the following lat/long values:
OSRef result = _converter.getOSGBfromDec(
    39.52251,
    -120.8139233
);

Upgrading Dart SDK from 2.7 to 2.10 does not resolve the problem.
These lat/longs are traditional types I thought. I then realized that I can pass in different Datums when calling this endpoint, but none of the available endpoints worked. What am I missing here?

Hi,
I can see the coordinates you're using are in the US. Unfortunately, the Ordnance Survey grid only covers the United Kingdom so coordinates from America produce results too far out of range. I should have made this clear in the readme, I'll write this into the package to make it clearer when the error is thrown, thanks for bringing this up and sorry for any confusion.
The different datums are to do with different coordinate systems around the world, if no datum is passed then the package uses WGS84, which is the default datum for GPS systems around the world.

Ok thanks for the response. Two additional questions:

So what package is available if I need to convert US cords?
Why would the getDegreeFromDecimal endpoint seem to work fine?

From the best of my knowledge, I don't think the US has a unique coordinate system but if they do I'm not aware of it, I only know they use GPS coordinates like the ones you have provided.
The getDegreeFromDecimal endpoint works because it doesn't convert coordinates from latitude and longitude to OS Grid, it just converts latitude and longitude coordinates from their decimal format and their degrees, minutes and seconds format. As long as the coordinates you provide are legitimate, the function should work.


FYI: Problem in MP2 calculation example (quickstart)

The following example https://pyscf.org/quickstart.html#correlated-wave-function-theory give the following error when executing
e_c2_df = mp2_c2_df.kernel()[0]
error message:
TypeError                                 Traceback (most recent call last)
Cell In[23], line 7
5 e_c2 = mp2_c2.kernel()[0]
6 mp2_c2_df = mp.MP2(rhf_c2_df)
----> 7 e_c2_df = mp2_c2_df.kernel()[0]
File ~/.conda/envs/myjupyter/lib/python3.10/site-packages/pyscf/mp/mp2.py:617, in MP2.kernel(self, mo_energy, mo_coeff, eris, with_t2)
614 if self.verbose >= logger.WARN:
615     self.check_sanity()
--> 617 self.dump_flags()
619 self.e_hf = self.get_e_hf(mo_coeff=mo_coeff)
621 if eris is None:
File ~/.conda/envs/myjupyter/lib/python3.10/site-packages/pyscf/mp/mp2.py:583, in MP2.dump_flags(self, verbose)
581 log.info('')
582 log.info('******** %s ********', self.class)
--> 583 log.info('nocc = %s, nmo = %s', self.nocc, self.nmo)
584 if self.frozen is not None:
585     log.info('frozen orbitals %s', self.frozen)
File ~/.conda/envs/myjupyter/lib/python3.10/site-packages/pyscf/mp/mp2.py:550, in MP2.nocc(self)
548 @property
549 def nocc(self):
--> 550     return self.get_nocc()
File ~/.conda/envs/myjupyter/lib/python3.10/site-packages/pyscf/mp/mp2.py:355, in get_nocc(mp)
353     return mp._nocc
354 elif mp.frozen is None:
--> 355     nocc = numpy.count_nonzero(mp.mo_occ > 0)
356     assert (nocc > 0)
357     return nocc
TypeError: '>' not supported between instances of 'NoneType' and 'int'

The attached Jupyter Notebook (please change .csv to .ipynb) is my attempt to translate the Quickstart page into German for myself. Therefore, some comments and notes are in German. I haven't translated them back. Since I read the remarks at the beginning of the document, I worked through the document systematically and stopped only at the solvation models because it became too much for me. I commented out some non-functioning lines of code. Not everything has been posted on GitHub, so the relevant line is also commented out here to help me progress in my work.
Quickstart-Seite.csv

Okay, we can't go through the whole notebook, but here's a minimal working example of the MP2 calculation from the Quickstart, using the necessary Mole and RHF calculations. This runs fine for me without errors.
from pyscf import gto, scf
mol_c2 = gto.M(atom = 'C 0 0 .625; C 0 0 -.625', symmetry = 'd2h')
rhf_c2 = scf.RHF(mol_c2)
rhf_c2.irrep_nelec = {'Ag': 4, 'B1u': 4, 'B2u': 2, 'B3u': 2}
e_c2 = rhf_c2.kernel()
rhf_c2_df = rhf_c2.density_fit(auxbasis='def2-universal-jfit')
e_c2 = rhf_c2_df.kernel()

# This is the MP2 section of Quickstart
from pyscf import mp
mp2_c2 = mp.MP2(rhf_c2)
e_c2 = mp2_c2.kernel()[0]
mp2_c2_df = mp.MP2(rhf_c2_df)
e_c2_df = mp2_c2_df.kernel()[0]

Many thanks. This example works also for me.
Thank You


notifySectionRemoved has a bug

I want to remove the last 5 sections in my adapter. Let's say from index 15 to index 19.
The first call I do adapter.notifySectionRemoved(19) works great. But when I call adapter.notifySectionRemoved(18) I have this stack trace:
Caused by: java.lang.IndexOutOfBoundsException: Invalid index 18, size is 15
   at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
   at java.util.ArrayList.get(ArrayList.java:308)
   at org.zakariya.stickyheaders.SectioningAdapter.notifySectionRemoved(SectioningAdapter.java:995)
   at com.example.Adapter$1.onRemoved(Adapter.java:227)
   at android.support.v7.util.BatchingListUpdateCallback.dispatchLastEvent(BatchingListUpdateCallback.java:62)
   at android.support.v7.util.BatchingListUpdateCallback.onChanged(BatchingListUpdateCallback.java:117)
   at android.support.v7.util.DiffUtil$DiffResult.dispatchUpdatesTo(DiffUtil.java:722)
   at com.example.Adapter.setData(Adapter.java:216)

The problem is that after the first notifySectionRemoved the Adapter recreates the ArrayList<Section> sections array from scratch. Using the current info provided with the adapter.

Problem solved here -> https://github.com/Sportner/StickyHeaders
but i am still having a similar issue, I am on it

I wrote my own LayoutManager: https://github.com/21Buttons/sticky-headers
We are using it in production and works perfectly. I don't know why I didn't write a proper documentation for it... I'll try to write it next week.


The Motion Generaion Code

Dear author, I am a follower of your work and am very interested in your dataset. I understand that you have conducted research on motion generation tasks using this dataset.
I am currently trying to conduct similar research, but I have encountered some difficulties, especially in the scene processing of the CIRCLE dataset. I would like to know if you have already opened up the code related to action generation in your paper, so that I can better understand and reference your work. If the relevant code is available, I would greatly appreciate it.

Hello @mengqing0312. Thank you for your interest in our work. Only the code to load the motion files into Habitat is currently available. I will prepare both the training and inference code for release, and let you know once that is done (hopefully during the course of next week).

I'm also instrested in your work and dataset, I'm having trouble splitting the rooms in the CIRCLE_assets folder for training,
is the training and inference code available soon?


Vanilla multisig is no panacea, as Appendix C claims

Appendix C claims "This allows all signatories storing private keys to view the user’s balance, because a copy of the redeem script must be kept with each private key. Vanilla multisig transactions would address this[...]"
Vanilla multisig, aka native multisig, puts the multisig script into the output scriptPubKey field at the time of funding, instead of in the scriptSig at redemption time.
Any signatory with a private key can find the matching public key using bitcoin-cli (using a sequence of importprivkey, getaddressesbyaccount, validateaddress). Since this pubkey is already in the blockchain, it can be located by a blockchain search. In the end, a knowledgeable signatory can still see the user's balance. (Granted, it's much more difficult than simply typing the P2SH address into a block explorer.)
Making it worse, the protocol needs a way for the user with M-of-N keys in his possession to find the unspent outputs for this wallet. The process would be exactly the same. A single key is enough to find all the UTXOs, and the protocol would need to walk the user through the process. A signatory with a single key could easily follow the same documented process to find the balance.
And finally, vanilla multisig is not widely supported among Bitcoin wallets, making the funding of such a wallet rather cumbersome.
Therefore, I recommend all the bits about vanilla multisig be removed. Shamir's algorithm is the only way I see to hide the balance from a signatory.
(Thanks to Eric Wall for pointing this out.)

I just realized that even using Shamir to hide the redemption script is insufficient if the owner has performed a test withdrawal as the protocol recommends. The test withdrawal will put the redemption script into the blockchain, and as explained above, anybody with a single private key can find it from there. Once they find the test withdrawal they will know the address, and hence the balance.
For complete privacy from nosy signatories, Glacier would need to be redone to shard the privkey itself using Shamir's algorithm. (At this point, multisig is no longer beneficial; it could be a single privkey using standard P2PKH.) This would be a huge change to Glacier and would require more crypto to be done on the quarantined laptops, something the protocol strives to avoid for security and trust reasons.
I'm not suggesting that anybody should implement this; I'm suggesting that Appendix C be updated to explain what would be required for proper privacy.


Row Validation : Field Comparison between SQL server and Big query for random 2200 records throws error

Description :
For a source (SQL Server) and target table (Bigquery) having record count of ~13 mn, when row validation performed for random 2200 rows with 7 columns, it was throwing error whereas when done for 2000 record, it ran successfully. Below command ran :
data-validation validate row
-sc MSSQL_CONN
-tc BQ_CONN
-tbls tempdb.dbo.dvt_prices=paras-sandbox-364713.dlp.dvt_prices
--primary-keys sr_no
-comp-fields symbol,log_date,close_stock,volume,adjusted,stock_load_date,is_active
-rr
-rbs 2200
--bq-result-handler paras-sandbox-364713.data_validator.results
Is there any limit on random records for SQL Server?

Duplicate of #711


EnabledDates not work

Hello
Little time to work with this control seems very iteresante ago, but my problem is when I only want to show days available that has a program where you insert the dates available under the enabledDates owned nothing happens, you should let me active only those dates and other disabled if they could help me with this problem.

Please submit a jsfiddle of your issue. You can fork this fiddle to get started.

$('#circuit-date').datetimepicker({
enabledDates: [outputdates]
});
this is an example of the code I use, the outputdates variable is an array of available dates.
What I want to achieve ess only available dates are activated.

please check the dev branch and let me know if you still have this issue

$('#dob').datetimepicker({
format: 'YYYY-MM-DD',
enabledDates : ["02/23/2015","02/28/2015","03/02/2015"]
});
hello, please check this, using dev brach, i can't choose next month enabled dates (march 2015). I can only choose current month enabled dates (february 2015). Thank you.

Maybe try this fiddle which shows some interesting behaviour:
http://jsfiddle.net/fafoLkkz/
I noticed that on "datepicker2", you if you go to January 2015, then the button to go to february is disabled - I think it is because 1 Feb would be disabled, it being a sunday. You also can't select February from the months view, or go back to February from March.

Hi i have same experience, when i choose some dates to be enabled. I expected the rest of the dates to be disabled. But that does not seem to happen.
Se my fiddle for example: http://jsfiddle.net/sqagg9jp/

Hi, the only solution I had was to do the reverse process, generate a set date and I excluded that sets the dates I want who are enabled, then that result is what I set the disabledDates property that works well for me. Do not know if this solution suits you, so expect future versions.

How would you make that line of code?
Can't figure out how to disable all dates except thoose i want to allow.
Can you show on fiddle?

please check the dev branch. Except for the bug that @gungp720 mentioned the enabled dates is working there.

Don't seem to work, i updated the bootstrap-datetimepicker.min.js to the one from the dev branch.
But it still don't disable all other dates than thoose i choose to enable.

I have a same Issue like I passes a date String in
$(".datetimepicker").datetimepicker({
format: 'MM/DD/YYYY',
            disabledDates: [moment(disabledSpecificDays)],

})
where disabledSpecificDays is Date string like ",10/01/2013,10/03/2013,10/05/2013,10/07/2013,10/09/2013,10/08/2013,10/11/2013,"  but It is not working

I have a same Issue like I passes a date String in
$(".datetimepicker").datetimepicker({
format: 'MM/DD/YYYY',
            disabledDates: [moment(disabledSpecificDays)],

})
where disabledSpecificDays is Date string like ",10/01/2013,10/03/2013,10/05/2013,10/07/2013,10/09/2013,10/08/2013,10/11/2013,"  but It is not working

en/disabledDates expects an array of string, Data, or moment. It should be disabledDates: ['date1','date2'] etc

it gets a date, as i wrote in my earlier post: http://jsfiddle.net/sqagg9jp/

@mathiassen1990 my last comment was directed at @mahipatsinh007

Okay, fair enough :) But then he still got the same problem as me.
Cause i have the array of dates, and it still dont work. Even though i have the dev version.

@mathiassen1990
http://jsfiddle.net/sqagg9jp/1/
isn't this working as you expect?

It is, what version is that? didn't work earlier..

it is the version (not the minified one) on the development branch. On your jsfiddle you where using the master branch version

Cool Thanks! i will give it a try, ill be back if it still don't work :)


config: Consolidate factory category names into common header file

Prerequisite for PR #9301
Part of fixing #8332
Risk Level: Low
Testing: Unit Tests
Docs Changes: N/A
Release Notes: N/A
Signed-off-by: Yan Avlasov<EMAIL_ADDRESS>

Feel free to reopen if we want to do some subset of this PR, thanks.


"Sign in to continue" dialog popping up after Dynamics 365 CE Wave 2 2022 update

Question
I updated our sandbox to 2022 Wave 2 update. When I tried to run my automation, I get this popup again and again and I can't run the automation. I ran the automation on different sandbox that was not updated and it I didn't see this issue. This happens in chrome incognito mode.

I search online and found one reddit link, nothing else. here is reddit link https://www.reddit.com/r/Dynamics365/comments/w5jyr9/some_components_of_this_app_require_you_to_sign/
Anyone have seen this issue? Any suggestions?

Yes one of my colleague mentioned he come across the same error after Wave 2 update. I didn't get chance to investigate yet but I will find more details about it.
Worth trying the following options

check if it is same issue in both incognito mode and normal mode
try enable the cookies and see if that helps any thing.

Sorry not much helpful but I will come back to as soon as I get an access to the instance where I can reproduce this.

Thanks @RaviYenumula for your suggestions.  Cookie settings did the trick. I set the CookieСontrolsMode to "0" in browserOptions.cs files.

Thanks @ZiaRahman & @RaviYenumula . This really helped!


glasslib: make type declaration only have a default export

https://github.com/glass-platform/promptfile/pull/492


Fine-tuning code

Lead - Kyle
Write scripts to fine-tune the different models to be profiled on the fine-tune splits.

outdated


Uploading dialog isn't pretty

A very minor improvement. As I was using the OSF extension to upload an EDF file (which worked beautifully and automatically!) I noticed that the upload dialog isn't very pretty: It doesn't have a name, nor an icon.

I can look into this, but I’m using a default function that creates this dialog box for me, so I’m not really sure how much control I have over its appearance. I’m glad it works in any case (we didn’t test it before with EDF files).

The dialog is revamped from 1.1.6 onwards!

Bim!


Change v1 api version to 1.2.0

Signed-off-by: Cherry Wang<EMAIL_ADDRESS>PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our guidelines: https://wiki.edgexfoundry.org/display/FA/Contributor's+Guide
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[x] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: #2436
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Are there any specific instructions or things that should be known prior to reviewing?
Other information

recheck

@tsconn23 could you please help review this PR?
We currently update SwaggerHub when each PR merged.
However, it always set the document to private, so our API document link becomes broken.
https://app.swaggerhub.com/apis-docs/EdgeXFoundry1/core-command/1.1.0
We plan to maintain v1.1 manually and always set it as public, and let the Jenkins job keeps updating v1.2 as private until we release v1.2.


Save Most Recent Message - documentation bug

in section "Save Most Recent Message" of node documentation, the example is missing "Keep Newest Messages" feature enabled. It results in returning oldest message instead of most recent.
with regards

Good catch, thanks. I assume you have fixed this in your copy of the flow and are ok with the results. I have been working on a bug-fix update of the node, so it will be a few days before the GitHub and npm versions are corrected.

Yeah, since it was the major feature I wanted to use your node for, it was pretty easy to spot and set properly. Thanks for asking.


The "Custom Plugin" option doesn't work.

Describe the bug
The "Custom Plugin" option doesn't work.
To Reproduce
Steps to reproduce the behavior:

Go to "Plugins"
Click on "Custom Plugin"
Enter for example "https://www.instacart.com/.well-known/ai-plugin.json" or "https://ai.listennotes.com/.well-known/ai-plugin.json"
See the error "Could not validate OpenAI manifest. Failed to fetch https://ai.listennotes.com/.well-known/ai-plugin.json"

Expected behavior
Possibility of adding a custom plugin
Platform

OS: [e.g. Windows]

Looks like a CORS issue. i tried it myself and am getting these errors on in browser console window:
Access to fetch at 'https://ai.listennotes.com/.well-known/ai-plugin.json' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
ai.listennotes.com/.well-known/ai-plugin.json:1

        Failed to load resource: net::ERR_FAILED
localhost/:1  Access to fetch at 'https://ai.listennotes.com/.well-known/ai-plugin.json' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
ai.listennotes.com/.well-known/ai-plugin.json:1

        Failed to load resource: net::ERR_FAILED


Cannot read property id of undefined

https://prnt.sc/15z8a4l

@ajmeese7

What did you do to get this error?

What did you do to get this error?

3 seconds after I run the bot I get this error

Do you have the latest version of the bot? What steps did you take to get that error?

Do you have the latest version of the bot? What steps did you take to get that error?

Yes, I have the latest version of the bot,I just followed the instructions

I can no longer get the screenshot to load, can you paste the image here?

I understand what the error message is, I need to see your whole console to see where it is coming from

https://prnt.sc/18bbkcx

I just cloned the repository locally and followed the directions from scratch and everything worked, I don't know what to tell you. The error you are experiencing was fixed as a response to this issue in this commit. Updating to the latest version worked for this gentleman, I think you may need to re-download the repository from the master branch and try again.

Hi, so this error is not generated from source code. It's a error that is triggered if you have stage channel in your server.

One easy solution is to delete the stage channel 🤣
Another is too update discord.js to latest version if you don't wanna get this error, but then you have another problem that is discord.js latest version doesn't support self bot

Just a hypothesis, force checking if guild.channel.id is true might work but haven't tested it yet, if anyone wanna give it a try please share the result with us. Thanks.

Closing due to inactivity


Title Deduplication

Issue Type

[ ] Bug
[X] Enhancement

Description
I have noticed that DefectDojo will mark findings as duplicates if the first two words in the title are the same. Regardless if the rest of the title is different. For example the findings "Weak SSL Protocol" and "Weak SSL Ciphers" are being marked as duplicate findings. I would like DefectDojo to analyze the entire title and not just the first two words of the title.

Perhaps this Dojo API script will help? It merges findings with identical titles. To use this script, set the engagement product ID in the URL.
mergebytitle.py.txt

I believe it is matching CWE here rather than title. For DD to dedupe on titles they must be exactly the  same. There is a PR open that has numerous dedupe improvements https://github.com/DefectDojo/django-DefectDojo/pull/1043 which should be merged this week. Please feel free to reopen if you continue to have issues.


Add support for Laravel 8

With this PR we're dropping supports for lower versions of Laravel

A new inspection was created.

The inspection completed: No new issues


Parabolic transition

When creating parabolic transition between two cross_sections, incorrect transition is generated when the width of cross_section1 is wider than that of cross_section2.
Workaround is possible by making sure the width in cross_section1 is narrower than that in cross_section2, and use the right port to connect to other component.
Here is the code modified from the tutorial example
# Create our first CrossSection
s0 = gf.Section(width=3.0, offset=0, layer=(1, 0), name="wg", port_names=("o1", "o2"))
s1 = gf.Section(width=0.5, offset=0, layer=(3, 0), name="slab")
x1 = gf.CrossSection(sections=(s0, s1))

# Create the second CrossSection that we want to transition to
s0 = gf.Section(width=0.5, offset=0, layer=(1, 0), name="wg", port_names=("o1", "o2"))
s1 = gf.Section(width=3.0, offset=0, layer=(3, 0), name="slab")
x2 = gf.CrossSection(sections=(s0, s1))

# Create the transitional CrossSection
xtrans = gf.path.transition(cross_section1=x1, cross_section2=x2, width_type="parabolic")
# Create a Path for the transitional CrossSection to follow
p3 = gf.path.straight(length=15, npoints=100)

# Use the transitional CrossSection to create a Component
straight_transition = gf.path.extrude_transition(p3, xtrans)
straight_transition.plot()

Seems to work for me


Add Moya's branch guidelines

Per #1408 this section of Contributing.md outlines our thinking around how and why we maintain master and develop branches.

Is it in the right place in the document?
Clearly titled?
Clearly worded?

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1449   +/-   ##
=======================================
  Coverage   88.41%   88.41%
=======================================
  Files           5        5
  Lines         164      164
=======================================
  Hits          145      145
  Misses         19       19

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 3a0f513...22d6bb0. Read the comment docs.

Yes that occurred to me as I wrote this one - can do.

On Nov 7, 2017, at 5:20 PM, Ash Furrow<EMAIL_ADDRESS>wrote:
@ashfurrow approved this pull request.
I like it! I just had a thought: should we make a change to Pull_request_template.md adding an explanation of which branch to select?
In Contributing.md:

@@ -18,6 +18,18 @@ As an organization contributor, you can merge other people's pull requests, or o

This project is not continuously deployed, there is space for debate after review too. Offering everyone the chance to revert, or make an amending pull request. If it feels right, merge.
+#### Bug fixes and Release cycles
+
+We maintain two major branches: master and develop.
"major" doesn't quite capture what I think you're trying to say here. I would say "persistent" or "permanent" maybe? We might want to add that they are protected as well.
We maintain two permanent, protected branches: master and develop.
In Contributing.md:

@@ -18,6 +18,18 @@ As an organization contributor, you can merge other people's pull requests, or o

This project is not continuously deployed, there is space for debate after review too. Offering everyone the chance to revert, or make an amending pull request. If it feels right, merge.
+#### Bug fixes and Release cycles
+
+We maintain two major branches: master and develop.
+
+master is for working on the current release, so any bug fixes or documentation spelling fixes should be merged into this branch.
It's such a shame that HTML dictionary lists never became widely used enough to be in the markdown spec.
In Contributing.md:

@@ -18,6 +18,18 @@ As an organization contributor, you can merge other people's pull requests, or o

This project is not continuously deployed, there is space for debate after review too. Offering everyone the chance to revert, or make an amending pull request. If it feels right, merge.
+#### Bug fixes and Release cycles
+
+We maintain two major branches: master and develop.
+
+master is for working on the current release, so any bug fixes or documentation spelling fixes should be merged into this branch.
+
+develop is where we stage work for the next release, i.e. breaking API changes and related documentation updates. Contributors should gently encourage new pull-requests to point to the appropriate branch, and to rebase onto that branch if necessary.
+
+When a new version is ready to be released, please create a pull request to merge develop into master, named something like "Release 10.0". Then we can have some final discussion before we merge it into master and push the release out to the public.
+
+Since develop is a shared branch, it is important not to ever rebase this branch onto master. If a bug fix is applied to master it can be merged into develop using good old simple git checkout develop && git merge master. Yes this will clutter the history a little bit, but it also provides important context to know how/when a patch was applied. Merge commits can be considered necessary historical data, not warts on an idealized history graph.
Not to be the "you should write a blog post about this" guy, but you should think about writing a blog post about this!
―
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I agree all around!
A blog post, eh? Boy it’s been a while since I exercised that part of my brain! But talking about merge vs rebase would be fun. I’m very opinionated about all things git, especially the history rewriting.
I’ll check back in soon, these changes are easy. Thanks all! 🙏

On Nov 7, 2017, at 7:05 PM, Steven Deutsch<EMAIL_ADDRESS>wrote:
@SD10 commented on this pull request.
In Contributing.md:

@@ -18,6 +18,18 @@ As an organization contributor, you can merge other people's pull requests, or o

This project is not continuously deployed, there is space for debate after review too. Offering everyone the chance to revert, or make an amending pull request. If it feels right, merge.
+#### Bug fixes and Release cycles
+
+We maintain two major branches: master and develop.
+
+master is for working on the current release, so any bug fixes or documentation spelling fixes should be merged into this branch.
+
+develop is where we stage work for the next release, i.e. breaking API changes and related documentation updates. Contributors should gently encourage new pull-requests to point to the appropriate branch, and to rebase onto that branch if necessary.
+
+When a new version is ready to be released, please create a pull request to merge develop into master, named something like "Release 10.0". Then we can have some final discussion before we merge it into master and push the release out to the public.
+
+Since develop is a shared branch, it is important not to ever rebase this branch onto master. If a bug fix is applied to master it can be merged into develop using good old simple git checkout develop && git merge master. Yes this will clutter the history a little bit, but it also provides important context to know how/when a patch was applied. Merge commits can be considered necessary historical data, not warts on an idealized history graph.
I really like this last paragraph too because it stresses the importance of merge vs rebase on the development branch and this is something I did not know 👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Any more thoughts on Contributing.md and Development.md?  Should those two docs be consolidated into one?  Development just has a small snippet about running tests - that could go in Contributing or the Readme.

We don't have to keep this Development.md / Contributing.md merger, but thought I would throw it up here for consideration.

@AndrewSB I'm not a Carthage user, so I'm not quite comfortable putting my name on changes to carthage commands... I'll leave that to another PR 😉 (hint hint!)
Rebasing before merge, I think it'll need another approval before I can merge, we'll see.

Haha sounds good @colinta


issue with resizing hotspot image connector pop up html window

when a user resizes a hotspot image connector pop-up html window it snaps shut and then when the hotspot is clicked again opens with just the header showing and not the contents. If the user tries to resize again it just closes again. However it seems to vary a bit by what size and shape the pop-up is resized and sometimes when repeating the process the pop-up does reopen back to its default size.
Haven't tested in all browser but have tested in Chrome and Firefox.

This should be fixed when we upgrade the version of jQuery we use: https://bugs.jqueryui.com/ticket/7514

Hi @ronm123
This appears to fix this long standing bug by using "auto" for the dialog box height. Can you please check that it doesn't break something else?
https://github.com/thexerteproject/xerteonlinetoolkits/commit/067f63ce7fa015e227bf2760e210eea930a2eac9
John

In fact that first commit, while apparently working, threw up lots of console errors where jQuery didn't appear to like "auto" dispite it being an option in the dialog plugin...
Since height was originally being set to undefined, simply removing it completely appears to fix things and retain the functionality that once a window is resized then it stays that size after closing and re-opening.

@JohnSmith-LT for me when I resize the popup with Chrome it just closes and then reopens original size.

Yeah I think that's a bug with the jQuery UI library that may not be fixable at this version. What I was seeing before this commit was that occasionally when you went to resize it would close the window however when you reopened it it had collapsed to just a title bar and you couldn't get it back without reloading the LO. I can't make that happen anymore though - it always comes back at original size which should be the minimum to show all the content so perhaps the window would then never need resizing? Do you get any popups on any LOs/pages that still has a scrollbar and might need resizing?

@JohnSmith-LT agree that at least having the popup open at original size and not just the title bar is better. Yes I think I have seen some examples where ideally the end user would resize either because there is a lot of content and therefore scrolling or just because they want to move and resize the window to be able to see the underlying content as well as the popup content. Will have a look later if I can find a suitable example but have to go offline now until later this afternoon.


This layout preserves some strengths of the Dvorak layout. It provides
easy access to the most common keys and common bigrams are dispersed.
At the same time, this keyboard is recognizable (once you see what is
happening) for those familiar with the Dvorak layout.

Thanks. Can you share a screenshot of this?

I removed the red bug using Gimp to get these:
https://gist.github.com/joukewitteveen/969816b7190e026dfd6d693d742c2ae5

Is there something special preventing this from being merged?
Here are the sreenshots included in that gist link:

Can I somehow try this with F-Droid version before it gets morged and a new release happens?
I am having a problem of having unlearned Qwerty on virtual keyboard while learning Svorak (Swedish Dvorak with åäö also suitable for Finnish (my biggest problem with Colemak)) and my backup phone has small display making it uncomfortable to type and easier to make spelling mistakes.

I have added a debug build to the gist.
By the way, this layout is also a sort of dumbed-down T9. With T9, context is used to determine which of the letters on a key was meant. With this layout, the most likely letter (disregarding context) is always the first, and the occurrence of bigrams on one key is minimized.

thanks


No reference files for fluid.buf2list and fluid.list2buf

With the newschool method of doing stuff, as well as having to concatenate buffers manually (without counting indices) these objects are a lot more "core" in their usage now.
So they should probably have (mini) reference files and/or fuller documentation (e.g. I didn't know you could set the max size of fluid.buf2list as per #213).

The aim is to have these by beta7!

As an aside there is a little bit of cruft introduced in our plumbing when dealing with anything one-off (objects specific only to Max) because flucoma-docs is designed to deal with documentation. We should have it sorted though.

Solved with merge of https://github.com/flucoma/flucoma-max/pull/250


Odd behavior with channels when receiver times out

Description:
I'm trying out the basic channel example here - https://ballerina.io/learn/by-example/channels-correlation.html
After running the server, you can send and receive without any issue. Then if a receiver times out, subsequent sends will succeed but throws an error at the server side. Then any receive after that will not get any message.
Steps to reproduce:

Put the example here to a .bal file and start it - https://ballerina.io/learn/by-example/channels-correlation.html (I've changed the resource paths in below example)
Start the receiver and let it times out

$ curl localhost:9090/channelSvc/receive
Server time out

Then do a send

$ curl -X POST localhost:9090/channelSvc/send -H "Content-type: application/json" -d '{"message": "TestMe"}'
{"send":"Success!"}

Following error message can be observed at the server side

2019-04-25 14:13:54,352 ERROR [] - Error sending response : {ballerina/http}HTTPError {message:"Connection between remote client and host is closed"}

Now if you try to do the receive operation again, no messages are received

Affected Versions:
Ballerina 0.991.0
OS, DB, other environment details and versions:
macos Mojave

Channels have been deprecated with the PR https://github.com/ballerina-platform/ballerina-lang/pull/16390


Adding Portuguese (Brazil) files

Hi. I'm using this generator and I started to fix issues related to the new Angular version, but it seems that its already solved. So, as I did the internationalization for Portuguese (Brazil) anyway, I'm pushing it.
Please let me know if you need more details.
Thanks.

Ok... Is there any action I can do to fix it?


SNP validation incorrectly flags duplicate SNPs

The SNP validation seems to be incorrectly identifying SNPs as duplicates within the same study, when they are actually present in more than one different study.
Example
SNPs uploaded for 3 studies:

Error report:

The SNPs in bold are flagged as "Duplicate SNP in study" but that is not correct. They are repeated in different studies (i.e. with different study tags), which is allowed, and should not be flagged as an error.

Tested again for this submission: https://wwwdev.ebi.ac.uk/gwas/depo-curation/submissions/61e985a2911f5a0001f7dac2
Can confirm that the validation now works as expected.