MSFT Build of OpenJDK 17.0.3 (Windows on Arm) not opening JAR file (host is Mac OS X running parallels)

Hi:
Windows 11 ARM (running in parallels on Mac M1 Max).
Installed MS Java 17 from MS:
C:\tmp>java -version
openjdk version "17.0.3" 2022-04-19 LTS
OpenJDK Runtime Environment Microsoft-32931 (build 17.0.3+7-LTS)
OpenJDK 64-Bit Server VM Microsoft-32931 (build 17.0.3+7-LTS, mixed mode)
C:\tmp>echo %JAVA_HOME%
C:\Program Files (Arm)\Microsoft\jdk-<IP_ADDRESS>-hotspot\
My problem is trying to open a Jar file. Nothing happens. No error but the task manager show a couple of Java processes that immediately close.
I can run simple java programs:
c:\tmp>java sample3.java
Hello World!
But trying to open a jar produces no results.
C:\tmp>java -jar BBjBaristaAddonDemos2202_07-06-2022_1802.jar
Any help will be greatly appreciated.
ES
Originally posted by @edgarjsanchez in https://github.com/microsoft/openjdk/discussions/296

@edgarjsanchez any chance you can share the JAR with us? If not, can you please run java -verbose:class -jar <jarfile> ?

Hi:
It's a large jar but it's shareable.
https://drive.google.com/file/d/1gXGRfi0SeGfWYent95xyrOxUzVcdUqkP/view?usp=sharing
[image: image.png]
Using the verbose stops at the shown line.
FYI, I ended up using the x64 version of Java in order to be able to run
the jar.
Regards,
Edgar
On Thu, Jul 28, 2022 at 5:43 PM Bruno Borges @.***>
wrote:

@edgarjsanchez https://github.com/edgarjsanchez any chance you can
share the JAR with us? If not, can you please run java -verbose:class
-jar  ?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/openjdk/issues/298#issuecomment-1198698592,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKWD4DZP4DLH2TOZKBTU2OTVWMEHZANCNFSM545CC55A
.
You are receiving this because you were mentioned.Message ID:
@.***>

@edgarjsanchez I just tried running this on my Intel Mac with Java 17 and the app pops up a splash screen stating that only Java 11 is supported.  I think you'll need to ask the authors of the program for their plans to upgrade to Java 17.

@edgarjsanchez I just tried running this on my Intel Mac with Java 17 and the app pops up a splash screen stating that only Java 11 is supported. I think you'll need to ask the authors of the program for their plans to upgrade to Java 17.

Closing due to no response and it's a 3rd party support issue.


Fix Object Pool example

Sorry for adding typo fixes in this PR :(

@leonklingele no problem at all, its perfect! thank you :smile:


Add logs and parity tests for new validator

To help us gain confidence that the new validator is working correctly, this PR adds more detailed logging around performance and correctness differences between it and the current validator.  Also, cleaned up several edge cases around null handling and primitive extensions, to lay the foundation for future enhancements

coverage: 94.146% (+0.04%) from 94.104% when pulling a4d483004c83bb5ef4e5c3fc9f253074ca8d71f5 on validator_logs into d3b92ba206f987d68a9682e906c92a4f3bcd8dc1 on main.

Related: https://github.com/medplum/medplum/discussions/2006


Ubuntu 14 or 15?

I'm new to Ubuntu (via Digital Ocean) not sure 14 or 15 is recommend for production?
Any input is welcome.
Thanks.

Go for 14
On Tue, Aug 18, 2015 at 11:00 PM katopz<EMAIL_ADDRESS>wrote:

I'm new to Ubuntu (via Digital Ocean) not sure 14 or 15 is recommend for
production?
Any input is welcome.
Thanks.
—
Reply to this email directly or view it on GitHub
https://github.com/arunoda/meteor-up/issues/605.

@arunoda Cool Thanks for input! I'm set 14 up and running now :D


feat: also export types from gamut-illustrations

Overview

Also export the gamut-illustrations types file (so, IllustrationProps) so consumers can import it.

One last thing; I noticed it'd be easier for me to set up the confirm page illustrations...
PR Checklist

~[ ] Related to designs:~
~[ ] Related to JIRA ticket: ABC-123~
~[ ] I have run this code to verify it works~
~[ ] This PR includes unit tests for the code change~

📬Published Alpha Packages<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5fd90f918eaa99499eb41d18--gamut-preview.netlify.appDeploy Logs


Example Mining

Remaster of #97 due to its long stale.
Changes from prior MR:

There is no BPSpecimenRegistry anymore. Copies of specimen are added and resolved with BPSpecimenCopy which returns a copy when requesting the specimen
Pragmaselectors no longer need to be manually generated, as well as the active state in asPragma
Extracts methods here and there to shorten long methods. Mainly toolbuilder methods through buildPanelSpecContaining: aCollectionOfChildren with: aBuilder
BPTestCaseExample is a subclass of BPSingleRunExample instead of BPExample as the hierarchy was extented to be more generic inbetween MRs
Recolor of button labels on theme changes added when necessary
All added methods in the existing packages are extension methods
Deletes uncalled serialization methods, see  issue #152
Adds ExampleMining Package to baseline / squot / ston etc

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 65.057%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1199

Relevant Lines:
1843

💛  - Coveralls


when i run the train_alternate.py  cv2.error  , but i test opencv indenpendenly  it runs well

/home/tukrin/mxnet/example/rcnn/data/VOCdevkit/VOC2007/JPEGImages/000005.jpg
OpenCV Error: The function/feature is not implemented (Unknown/unsupported array type) in type, file /home/tukrin/Downloads/opencv-3.1.0/modules/core/src/matrix.cpp, line 1879
Traceback (most recent call last):
File "train_alternate.py", line 110, in
main()
File "train_alternate.py", line 107, in main
args.rcnn_epoch, args.rcnn_lr, args.rcnn_lr_step)
File "train_alternate.py", line 29, in alternate_train
train_shared=False, lr=rpn_lr, lr_step=rpn_lr_step)
File "/home/tukrin/mxnet/example/rcnn/rcnn/tools/train_rpn.py", line 42, in train_rpn
for image_set in image_sets]
File "/home/tukrin/mxnet/example/rcnn/rcnn/utils/load_data.py", line 10, in load_gt_roidb
roidb = imdb.gt_roidb()
File "/home/tukrin/mxnet/example/rcnn/rcnn/dataset/pascal_voc.py", line 83, in gt_roidb
gt_roidb = [self.load_pascal_annotation(index) for index in self.image_set_index]
File "/home/tukrin/mxnet/example/rcnn/rcnn/dataset/pascal_voc.py", line 101, in load_pascal_annotation
size = cv2.imread(roi_rec['image'])
cv2.error: /home/tukrin/Downloads/opencv-3.1.0/modules/core/src/matrix.cpp:1879: error: (-213) Unknown/unsupported array type in function type
Environment info
Operating System:Ubuntu 14.04   python 2.7
MXNet version: 0.9

I got the same error today in example/ssd/dataset/pascal_voc.py
my config previous : Mxnet 0.9.3 / ubuntu 16.04 / python 2.7.9 / opencv <IP_ADDRESS>
I switch to :
Mxnet 0.9.3 / ubuntu 16.04 / python 3.5.2 / opencv 3.2
and the error disappear.
maybe a encoding problem ? I can't test right now if adding # encoding : utf-8 can solve the problem

Try using python3.

@apache/mxnet-committers: This issue has been inactive for the past 90 days. It has no label and needs triage.
For general "how-to" questions, our user forum (and Chinese version) is a good place to get help.

I tested the ssd example with latest master, I confirm it was working. Can you try again after upgrading mxnet?

@indhub can you please close this issue? Thanks!


Repo setup for contribution is not working

Hi, so I said in the last gov tool meeting, I would give a try at setting up the repo as an external contributor and provide some feedback. I will be blunt, my honest feedback is that it is quite messy, and I gave up after not even managing to set up the frontend tools.
First, the contributing guideline is extremely verbose, list all constraints about bug reports, conventions, pull request workflow, versioning, and other mildly important subjects (most of time a link to a standard would suffice) but for the code contribution section, there is nothing, just a TODO.
Also, one section title reads "Merge Commit PRs and Rebase Branches on top of Main".
But everywhere else, only the "develop" branch is mentioned, which seems to be the correct one according to the default one set in the GitHub repo, not "main".
So, getting back to the root repo readme, we learn that the project is split into different parts, backend, frontend, etc.
I get into the Backend part, to check what I would need to do to set it up. There I learn that the backend is a Haskell project, and that the setup requires, nix and direnv. Unfortunately, I don’t use these. And my understanding of the dev scene is that you will find very few people willing to contribute to a Web project based on that stack. If wide open source contribution are a goal, I’d suggest basing the backend stack on more widely used platforms. There are plenty of easy to install and use indexers, such as Kupo for example, which is available via brew, docker, or statically compiled executables, and much lower-resource, so easier to run on personal laptops.
So then I tried the Frontend part.
The second instruction I was already lost. Fill .env based on env.example file. There is a typo since it’s .env.example (starting with a dot), but what should I put in these VITE configs? Nowhere I found any explanation on what to put there.
The line after, we are told to cd into govtool/frontend. But in fact, that folder does not exist, it should be govtool/govtool/frontend.
After getting there, and as instructed I tried to install the frontend dependencies:
❯ yarn install
yarn install v1.22.22
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version "20 || >=22". Got "18.20.4"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

As you can see, it’s failing. The lts/hydrogen specified in the .nvmrc is v18, so how is that possible if the minimatch@10 in the lock file depends on node >= 20 ? How do you guys manage to install the js dependencies?
Then there is a developing section. Why put versions of everything here while they should be in the package.json instead. Putting that in two places almost guaranties that one of them will get outdated.
Then we get to the pre-requisites. Why is this after the installation steps?
At this point I basically gave up trying to set it up. But out of curiosity, I still went reading the Infra readme. On this I might very well be wrong but I feel like we are bringing a flamethrower to light a candle. Is Terraform really necessary to deploy a tool that rarely has more than 100 concurrent users? Maybe the descriptive nature of the TF justifies it. This is just my 2 cents, because I’m really not a devops guys.

@mpizenberg I honestly appreciate and value this feedback, thank you!
We'll analyze it piece by piece and act on it.


Constraints added to Stack View are not working properly.

Constraints added to Stack View are not working properly.

This only happens if you add the subviews in the wrong order, and they have constraints (in my case in a storyboard). This is user error in my view. I solved my problem by ensuring the stack views were added by the storyboard in the order they should be displayed (if visible).


Update for conda 4.4

Description
(Brief description on what this PR is about)
Checklist
Essentials

[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage
[ ] Code is well-documented

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

Job PR-222/2 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-222/2/index.html


Remove renderCell method as it's no longer needed and causes errors

@dangrous please review
Details
Based on the discussion here, we're removing adding z-indexes to the message cells within a chat, since there is no issue with them being cut off without them, and they're causing an issue with the context menu escaping the cursor.
Fixed Issues
$ https://github.com/Expensify/App/issues/12687
Tests/QA

Open up a chat with more than 50 messages, scroll up to load paginated messages
For all the messages in the chat, hover over the context menu
Make sure that the context menu can interacted with easily (if the context menu is not working just add the changes from this PR - it's a known and separate issue)
Add new messages to the chat, make sure you can do so without error/crashing
Make sure you can hover onto and interact with the context menu for those new chats.

[ ] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] iOS / native
[x] Android / native
[x] iOS / Safari
[x] Android / Chrome
[x] MacOS / Chrome
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product was added in all src/languages/* files
[x] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

PR Reviewer Checklist
The reviewer will copy/paste it into a new comment and complete it after the author checklist is completed

[ ] I have verified the author checklist is complete (all boxes are checked off).
[ ] I verified the correct issue is linked in the ### Fixed Issues section above
[ ] I verified testing steps are clear and they cover the changes made in this PR

[ ] I verified the steps for local testing are in the Tests section
[ ] I verified the steps for Staging and/or Production testing are in the QA steps section
[ ] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[ ] I checked that screenshots or videos are included for tests on all platforms
[ ] I included screenshots or videos for tests on all platforms
[ ] I verified tests pass on all platforms & I tested again on:

[ ] iOS / native
[ ] Android / native
[ ] iOS / Safari
[ ] Android / Chrome
[ ] MacOS / Chrome
[ ] MacOS / Desktop

[ ] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[ ] I verified proper code patterns were followed (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[ ] I verified any copy / text shown in the product was added in all src/languages/* files
[ ] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I verified that this PR follows the guidelines as stated in the Review Guidelines
[ ] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[ ] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[ ] All JSX used for rendering exists in the render method
[ ] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[ ] If a new CSS style is added I verified that:

[ ] A similar style doesn't already exist
[ ] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots

Web
https://user-images.githubusercontent.com/4741899/201433948-b8dac47b-1760-42ec-bd4b-43516c9993bc.mp4
Mobile Web - Chrome
https://user-images.githubusercontent.com/4741899/201435677-dcb195af-23b0-4e5b-867a-dcf2b1b1aee3.mp4
Mobile Web - Safari
https://user-images.githubusercontent.com/4741899/201435207-55a1df62-5abc-4369-8d30-37c5f926127e.mp4
Desktop
https://user-images.githubusercontent.com/4741899/201434358-c91b27c7-af99-40f0-8be4-299057ab953f.mp4
iOS
https://user-images.githubusercontent.com/4741899/201435098-25b7439c-1bbf-4cd6-a1a4-72a012c8ee63.mp4
Android
https://user-images.githubusercontent.com/4741899/201435666-59bd1b06-d351-4cb1-8be6-40190c0165d4.mp4

Reviewer Checklist

[ ] I have verified the author checklist is complete (all boxes are checked off).
[ ] I verified the correct issue is linked in the ### Fixed Issues section above
[ ] I verified testing steps are clear and they cover the changes made in this PR

[ ] I verified the steps for local testing are in the Tests section
[ ] I verified the steps for Staging and/or Production testing are in the QA steps section
[ ] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[ ] I checked that screenshots or videos are included for tests on all platforms
[ ] I included screenshots or videos for tests on all platforms
[ ] I verified tests pass on all platforms & I tested again on:

[ ] iOS / native
[ ] Android / native
[ ] iOS / Safari
[ ] Android / Chrome
[ ] MacOS / Chrome
[ ] MacOS / Desktop

[ ] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[ ] I verified proper code patterns were followed (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[ ] I verified any copy / text shown in the product was added in all src/languages/* files
[ ] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I verified that this PR follows the guidelines as stated in the Review Guidelines
[ ] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[ ] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[ ] All JSX used for rendering exists in the render method
[ ] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[ ] If a new CSS style is added I verified that:

[ ] A similar style doesn't already exist
[ ] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

Mobile Web - Chrome

Mobile Web - Safari

Desktop

iOS

Android

🚀 Cherry-picked to staging by @thienlnam in version: 1.2.27-3 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Cherry-picked to staging by @thienlnam in version: 1.2.27-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to production by @roryabraham in version: 1.2.27-4 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
cancelled 🔪

🕸 web 🕸
success ✅

🚀 Deployed to production by @roryabraham in version: 1.2.27-4 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Cherry-picked to staging by https://github.com/AndrewGable in version: 1.3.28-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to production by https://github.com/AndrewGable in version: 1.3.28-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


dotnet coverage merge leads to filenames with the leading characters "/_/" in the filenames which bricks other tools

I have got 2 projects in one solution. The first project is the source code and the second project is the xunit test project.
Reproduction Steps:

dotnet test -c Release --collect:"Code Coverage"
dotnet coverage merge ./**/*.coverage -f cobertura -o mergedResult.cobertura.xml

The unit test files are getting the absolute path as filenames:

the source code files are getting a relative path with leading /_/

Then Sonarqube for example can't find the files.

Thanks for reporting this. I've fixed issue in https://dev.azure.com/dnceng/public/_artifacts/feed/test-tools/NuGet/Microsoft.CodeCoverage/overview/17.10.0-preview-24120-01. I've added logic to resolve full paths by default. There is also configuration flag DeterministicReport to skip resolving and keep relative paths.

@jakubch1 We still experience this issue with the latest version 17.11.3. Do you have an idea why?


MNIST MLBox.

An MNIST MLBox example that is compatible with mlbox_local_run.py runner.
This MLBox implements two tasks - downloaddata and train:

Download data
python ./mlbox_local_run.py ../examples/mnist:download/default

Train MNIST model.
python ./mlbox_local_run.py ../examples/mnist:train/default

@bitfort @sergey-serebryakov is this PR only for reference ? Just asking since It has been 3 months and there has been no further activity.

@sub-mod
This PR should probably be removed. I keep my test implementations of runners and mlboxes in my fork here - https://github.com/sergey-serebryakov/mlbox/tree/feature/mlbox_runners_v2.

Closing because there's a newer branch - https://github.com/sergey-serebryakov/mlbox/tree/feature/mlbox_runners_v2


Add the possibility to choose the language of the calendar.

Thanks for this library ! it's very useful, I'm using it in one of my applications, it works well but the problem is that the language of days and months is only English.
It would be great if we could choose the language for example in the constructor of kalendarConfig.
I tried to implement this feature and it works if possible I can open a PR.
Thanks !

Hey, thanks for the review. If you have already implemented please feel free to open a PR. Or else I will try to do it in near future.

Hey @YvesKalume ,
You can check the requested feature here : https://github.com/hi-manshu/Kalendar/pull/22
I hope this is what you were looking for!

@hi-manshu yes that's right

It does not support Turkish yet.
Hi there, how can I extend Local'e to Turkish ?
thanks.

Locale is not working in 1.3.2, in fact the list of months is a simple enum
private val WeekDays = listOf("M", "T", "W", "T", "F", "S", "S")
Am I missing something?


TypeError: new_block() got an unexpected keyword argument 'previous_hash'

Getting this error  when I try to run my project, no idea how or why it occur and few solutions exist that even remotely resemble it.
Traceback:
(venv) C:\Users\Kanverse\PycharmProject\blockchain>python blockchain.py
Traceback (most recent call last):
File "blockchain.py", line 146, in
blockchain = Blockchain()
File "blockchain.py", line 18, in init
self.new_block(previous_hash='1', proof=100)
TypeError: new_block() got an unexpected keyword argument 'previous_hash'
Any help would be greatly appreciated.

(venv) C:\Users\Kanverse\PycharmProject\blockchain>python blockchain.py Traceback (most recent call last):   File "blockchain.py", line 146, in <module>     blockchain = Blockchain()   File "blockchain.py", line 18, in __init__     self.new_block(previous_hash='1', proof=100) TypeError: new_block() got an unexpected keyword argument 'previous_hash'

Files hadn't indexed in IDE


added o1 support in OpenAI API provider

Description
added o1 API support in OpenAI API provider
Type of Change

[ ] 🐛 Bug fix (non-breaking change which fixes an issue)
[x] ✨ New feature (non-breaking change which adds functionality)
[ ] 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] 📚 Documentation update

Pre-flight Checklist

[x] Changes are limited to a single feature, bugfix or chore (split larger changes into separate PRs)
[x] Tests are passing (npm test) and code is formatted and linted (npm run format && npm run lint)
[x] I have reviewed contributor guidelines

Screenshots

Additional Notes

Thanks for the PR! We'll need to remove formatting artifacts and then display the o1 reasoning parameter only when o1 is selected.


Fix Popup hover and height calculation are off by some pixels

Fixes: https://github.com/godotengine/godot/issues/86140
This was caused by an incorrect calculation of the v_separation where it was not needed.
To better understand the issue, this is how the v_separation is used:

Every item has a top separation of 5, and a bottom separation of 5 (v_separation = 10).
Therefore the following statement is true: 1x item has 1x v_separation, which is also the fix for both calculation issues.

Thanks!


Additional installation option

Feature request
Currently you cannot use composer to require php-cs-fixer without tying your dependancies together.
Deployer currently uses a distribution repository to allow you to install deployer via composer: https://github.com/deployphp/distribution
Could php-cs-fixer use the same strategy, this way it could be a dev dependancies within a project and would only include the relevant php-cs-fixer.phar?

Hey ! Thanks for your request.
We already agreed to have such solution, but not yet live.
I will close this thread as duplicate of https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/5998


Does not run on my computer.

Tried to run it on my computer, didn't even open, no window or anything. Tried compatibility mode for windows 7 & 8, as well as running in administrator. I also tested both 32 and 64 bit releases. I'd assume it should work without the need of a VR headset connected as the FAQ claims it would run in a simulated VR window.
Here's my specs:
Processor: i5 3230-M 2.6GHz
RAM: 8GB
GPU: Intel HD Graphics 4000
OS: Windows 10 Home x64

Hey, thanks for opening this.  It would be interesting to figure out if it's related to the executable itself or if it's something related to rendering (there hasn't been much testing on Intel GPUs).  Some questions that might help narrow things down:

Does lovr --version print anything out when you run that from cmd.exe?  If it does, then at least the executable is working properly and it's getting into the C main function.
If you make a project (folder with main.lua) and put some print statements in there, do those show up?  In that case, the framework is booting up properly and it's probably something wrong with the graphics module.

running "lovr --version" did not output anything, neither did printing from main.lua in the function lovr.load() I'm assuming this does have to do with openVR because it was said it wasn't supported for intel graphics or something.
https://github.com/ValveSoftware/openvr/issues/451


Escaping in buildUrl, createLink

We need to improve the encoding of parameters into the url and prevent problems when special characters like ? and & are included in the parameters.
See
https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/encodeURI
and
https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent

the difference is that buildUrl is used for building urls that are sent to the relay server whereas createLink is used for building links that are sent to other users such as a link to a contact. but yea theoretically just one function can be used.

done


Typings problem on v0.11

Hi all,
I'm having an issue trying to upgrade kheopswap to PAPI v0.11
I've been using a handy method pattern to get a typed api object based on a id since the very beginning, and this is not working after i upgrade to v0.11.
Not sure if this a typing bug/regression, a new limitation, or maybe a design problem on my side that got unveiled by this release.
Could you please have a look to help me find out why it's not working ?
Papi v0.11 bump PR is here : https://github.com/kheopswap/kheopswap/pull/1
⚠ this is a new (public) repo!
screenshot of the TS error from the 'provision-zombienet.ts', though these are all over the place :

getApi method is here : https://github.com/kheopswap/kheopswap/blob/eede053ca6422ad12cb365ed243e910f4ad261f0/scripts/src/common/getApi.ts

On first sight, I think it's related to a change I made to prevent users from using compatibilityTokens from one chain into another.
I'll investigate this, see if there's a way of letting join chains like your example, as I think it does make sense.

Will be released into 0.12, because we added a change in the CLI before so we can't raise it as a patch (and we're not doing release branches yet)


I want to know how to get tweet text, not only image...

Hi MeiqiGuo, i have some question about how to get tweet text, too.
I looked at the json file provided, and it is a json file, so it was easy to import the image directly, but I don't know how to import the text.
I also read the readme provided, but couldn't solve it. I was curious if there was a way, so I contacted them. Is there one?
thank you!

Hi, the tweet text can be retrieved through Tweet Developer API by the tweet_id. Please let me know if you have other questions. Thank you!


[Request] Pause/Stop for Curtain

I noticed the app has a pause button to stop the curtain during movement. Is it possible to get this as well?

@duceduc I'll add it in a few days.

@duceduc I'll add it in a few days.

Thank you for the adding the pause function. Working on my setup.

Thank you for the adding the pause function. Working on my setup.


Fix(redis): be sure to keep track the job context

Ensure proper tracking of potential updates to context data (e.g.: Attempts) by deleting the job with hdel before executing the hsetnx command, as it does not perform data updates.
Context
The context of this issue revolves around building a tower Service/Layer for retry backoff functionality. To achieve this, the following steps are necessary:
fn call(&mut self, request: Request<J>) -> Self::Future {
......
                let value = attempt.increment();
                request.insert(value);
                storage.reschedule(request, next_backoff).await.unwrap()
}

However, the reschedule function utilizes hsetnx, which doesn't update data if the job data is already set (previously done by push). Consequently, we lose the context data in this scenario.

I need to clean the code and be sure it is working as I want.
Does that make sense?

No worries. Do you want it merged as is or we wait for those changes?

Also it might be wise to add a test to check that it works as expected.


fixed color_0 typo (back -> black) and added missing color_10 (bright_green)

fixed color_0 typo (back -> black) and added missing color_10 (bright_green)
Signed-off-by: David Ward<EMAIL_ADDRESS>

@Mofiqul Thank you! :)

@errantepiphany - Welcome


Unified rc12 testing: np.int error on Perlmutter

Running into the following on global_time_series on Perlmutter:
Traceback (most recent call last):
  File "/global/cfs/cdirs/e3sm/forsyth/zppy_test_complete_run_output/v2.LR.historical_0201/post/scripts/global_time_series_18\
50-1860_dir/coupled_global.py", line 603, in <module>
    run(sys.argv)
  File "/global/cfs/cdirs/e3sm/forsyth/zppy_test_complete_run_output/v2.LR.historical_0201/post/scripts/global_time_series_18\
50-1860_dir/coupled_global.py", line 587, in run
    PLOT_DICT[plot_list[i]](ax, xlim, exps)
  File "/global/cfs/cdirs/e3sm/forsyth/zppy_test_complete_run_output/v2.LR.historical_0201/post/scripts/global_time_series_18\
50-1860_dir/coupled_global.py", line 295, in plot_max_moc
    plot(ax, xlim, exps, param_dict)
  File "/global/cfs/cdirs/e3sm/forsyth/zppy_test_complete_run_output/v2.LR.historical_0201/post/scripts/global_time_series_18\
50-1860_dir/coupled_global.py", line 374, in plot
    [year, var] = getmoc(exp["moc"])
  File "/global/cfs/cdirs/e3sm/forsyth/zppy_test_complete_run_output/v2.LR.historical_0201/post/scripts/global_time_series_18\
50-1860_dir/coupled_global.py", line 29, in getmoc
    for iyear in range(np.int(time0[0]), np.int(time0[-1]) + 1):
  File "/global/common/software/e3sm/anaconda_envs/base/envs/e3sm_unified_1.9.0rc12_pm-cpu/lib/python3.10/site-packages/numpy\
/__init__.py", line 305, in __getattr__
    raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'int'.
`np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this \
will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to speci\
fy the precision. If you wish to review your current use, check the release note link for additional information.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
    https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'inf'?

This np.int issue was resolved by https://github.com/E3SM-Project/zppy/pull/466/files#diff-a10da0e74d3b76ccfa4c61b3666ceb36b458e72e82820d85c357507070820badL29, so it shouldn't be an issue in Unified rc12...

/global/common/software/e3sm/anaconda_envs/base/envs/e3sm_unified_1.9.0rc12_login/lib/python3.10/site-packages/zppy/templates/coupled_global.py:
for iyear in range(int(time0[0]), int(time0[-1]) + 1):
/global/cfs/cdirs/e3sm/forsyth/zppy_test_complete_run_output/v2.LR.historical_0201/post/scripts/global_time_series_1850-1860_dir/coupled_global.py:
for iyear in range(np.int(time0[0]), np.int(time0[-1]) + 1):

Compare to Compy:
/compyfs/fors729/zppy_test_complete_run_output/v2.LR.historical_0201/post/scripts/global_time_series_1850-1860_dir/coupled_global.py:
for iyear in range(int(time0[0]), int(time0[-1]) + 1):

$ conda list zppy
# packages in environment at /global/common/software/e3sm/anaconda_envs/base/envs/e3sm_unified_1.9.0rc12_login:
#
# Name                    Version                   Build  Channel
zppy                      2.3.0rc5           pyh51c0ceb_0    conda-forge/label/zppy_dev

I'm looking at the source code in rc12.
/global/common/software/e3sm/anaconda_envs/base/envs/e3sm_unified_1.9.0rc12_pm-cpu/lib/python3.10/site-packages/zppy/templates/coupled_global.py
The script is up-to-date.
It seem like we can rule out that:

zppy is executed in an old e3sm-unified rc
The coupled_global.py script in run directory is newly generated.
Then I'm out of ideas.

I guess, it is worthwhile to try create an result empty directory and re-test the run.

Thanks @chengzhuzhang. Yeah, I'll try re-running.

@forsyth2, please keep me posted on this.  I can't find anywhere in e3sm_diags or zppy that np.int is mentioned.  This is the last issue I know of before we can release E3SM-Unified.

I moved the post directory from the previous run and reran. Still running into the same issue.
$ cd /global/cfs/cdirs/e3sm/forsyth/zppy_test_complete_run_output/v2.LR.historical_0201/post/scripts
$ grep -v "OK" *status
global_time_series_1850-1860.status:ERROR (5)
$ tail -n 17 global_time_series_1850-1860.o14019357
Traceback (most recent call last):
  File "/global/cfs/cdirs/e3sm/forsyth/zppy_test_complete_run_output/v2.LR.historical_0201/post/scripts/global_time_series_1850-1860_dir/coupled_global.py", line 603, in <module>
    run(sys.argv)
  File "/global/cfs/cdirs/e3sm/forsyth/zppy_test_complete_run_output/v2.LR.historical_0201/post/scripts/global_time_series_1850-1860_dir/coupled_global.py", line 587, in run
    PLOT_DICT[plot_list[i]](ax, xlim, exps)
  File "/global/cfs/cdirs/e3sm/forsyth/zppy_test_complete_run_output/v2.LR.historical_0201/post/scripts/global_time_series_1850-1860_dir/coupled_global.py", line 295, in plot_max_moc
    plot(ax, xlim, exps, param_dict)
  File "/global/cfs/cdirs/e3sm/forsyth/zppy_test_complete_run_output/v2.LR.historical_0201/post/scripts/global_time_series_1850-1860_dir/coupled_global.py", line 374, in plot
    [year, var] = getmoc(exp["moc"])
  File "/global/cfs/cdirs/e3sm/forsyth/zppy_test_complete_run_output/v2.LR.historical_0201/post/scripts/global_time_series_1850-1860_dir/coupled_global.py", line 29, in getmoc
    for iyear in range(np.int(time0[0]), np.int(time0[-1]) + 1):
  File "/global/common/software/e3sm/anaconda_envs/base/envs/e3sm_unified_1.9.0rc12_pm-cpu/lib/python3.10/site-packages/numpy/__init__.py", line 305, in __getattr__
    raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'int'.
`np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
    https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'inf'?

@forsyth2, can you post your exact set of commands that is causing this error?  Starting with cloning the zppy repo and creating a conda environment if that is part of the workflow?  It feels to me like the testing process itself might be messing things up and bringing in the incorrect template from somewhere else.

@xylar I'm following the directions at https://github.com/E3SM-Project/zppy/pull/440/files#diff-b84f28870c999d293db6137dfb571c070d7e3b9ccdb1b8263e32a3c3e45f8dd6 (docs/source/dev_guide/pre_release_testing.rst):
# Step 1
# Log into Perlmutter

# Step 2
$ cd /global/homes/f/forsyth/zppy # Repo already exists

# Step 3
$ git fetch upstream main
$ git checkout -b test_unified_rc12 upstream/main
$ git log # check the commits match https://github.com/E3SM-Project/zppy/commits/main
# Most recent: https://github.com/E3SM-Project/zppy/commit/49933f97cd80ab81c436a16bdf85fa9d114f9690 (bump to rc5)

# Step 4
$ cd ../e3sm_diags
$ git checkout main
$ git fetch upstream
$ git reset --hard upstream/main
$ git log # Should match https://github.com/E3SM-Project/e3sm_diags/commits/main
# Most recent: https://github.com/E3SM-Project/e3sm_diags/commit/6aaa7c27dcf65393dd07e258ef2e7da21a660e87 (bump to rc3)
$ mamba clean --all
$ mamba env create -f conda-env/dev.yml -n e3sm_diags_20230816
$ conda activate e3sm_diags_20230816
$ pip install .

# Step 5
$ cd ../zppy
$ emacs tests/integration/utils.py
# 1. Confirm last line includes `generate_cfgs(unified_testing=True)`
# Under `def get_perlmutter_expansions(config):`, set:
# 2. "diags_environment_commands": "source /global/homes/f/forsyth/miniconda3/etc/profile.d/conda.sh; conda activate e3sm_diags_20230816"
# 3. "environment_commands_test": "source /global/common/software/e3sm/anaconda_envs/test_e3sm_unified_1.9.0rc12_pm-cpu.sh",

# Step 6
# Use Unified rc12 rather than zppy dev environment:
$ source /global/common/software/e3sm/anaconda_envs/test_e3sm_unified_1.9.0rc12_pm-cpu.sh

$ Step 7
$ python -u -m unittest tests/test_*.py
# Unit tests pass

$ Step 8 (this is the step I repeat to re-test
# Follow directions at https://github.com/E3SM-Project/zppy/blob/main/tests/integration/generated/directions_pm-cpu.md:
$ rm -rf /global/cfs/cdirs/e3sm/www/forsyth/zppy_test_complete_run_www/v2.LR.historical_0201 # Or move somewhere else
$ rm -rf /global/cfs/cdirs/e3sm/forsyth/zppy_test_complete_run_output/v2.LR.historical_0201/post # Or move somewhere else
$ python tests/integration/utils.py # only did the first time. Have a hard-coded time increase for MPAS-Analysis at the moment
$ zppy -c tests/integration/generated/test_complete_run_pm-cpu.cfg
# [wait for this to run]
$ cd /global/cfs/cdirs/e3sm/forsyth/zppy_test_complete_run_output/v2.LR.historical_0201/post/scripts
$ grep -v "OK" *status
global_time_series_1850-1860.status:ERROR (5)
$ tail -n 17 global_time_series_1850-1860.o14019357
Traceback (most recent call last):
  File "/global/cfs/cdirs/e3sm/forsyth/zppy_test_complete_run_output/v2.LR.historical_0201/post/scripts/global_time_series_1850-1860_dir/coupled_global.py", line 603, in <module>
    run(sys.argv)
  File "/global/cfs/cdirs/e3sm/forsyth/zppy_test_complete_run_output/v2.LR.historical_0201/post/scripts/global_time_series_1850-1860_dir/coupled_global.py", line 587, in run
    PLOT_DICT[plot_list[i]](ax, xlim, exps)
  File "/global/cfs/cdirs/e3sm/forsyth/zppy_test_complete_run_output/v2.LR.historical_0201/post/scripts/global_time_series_1850-1860_dir/coupled_global.py", line 295, in plot_max_moc
    plot(ax, xlim, exps, param_dict)
  File "/global/cfs/cdirs/e3sm/forsyth/zppy_test_complete_run_output/v2.LR.historical_0201/post/scripts/global_time_series_1850-1860_dir/coupled_global.py", line 374, in plot
    [year, var] = getmoc(exp["moc"])
  File "/global/cfs/cdirs/e3sm/forsyth/zppy_test_complete_run_output/v2.LR.historical_0201/post/scripts/global_time_series_1850-1860_dir/coupled_global.py", line 29, in getmoc
    for iyear in range(np.int(time0[0]), np.int(time0[-1]) + 1):
  File "/global/common/software/e3sm/anaconda_envs/base/envs/e3sm_unified_1.9.0rc12_pm-cpu/lib/python3.10/site-packages/numpy/__init__.py", line 305, in __getattr__
    raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'int'.
`np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
    https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'inf'?

Thanks @xylar  for the suggestion for @forsyth2 to share the testing steps.  I'm trying to locate central piece, which is configuration file  tests/integration/generated/test_complete_run_pm-cpu.cfg (link)on the branchtest_unified_rc12.
It has environment_commands = "source /lcrc/soft/climate/e3sm-unified/test_e3sm_unified_1.9.0rc9_chrysalis.sh" in [default] session. I'm wondering if this is why coupled_global.py gets numpy.int which was only in older rcs of zppy.

The test_unified_rc12 branch might be outdated, but in tests/integration/utils.py only def get_compy_expansions(config) has the latest diags and unified environments

@forsyth2,
I tried out your steps but I don't have permission to access:
/global/cfs/cdirs/e3sm/forsyth/E3SMv2/v2.LR.historical_0201

so I get:
ncclimo: ERROR specified input directory "/global/cfs/cdirs/e3sm/forsyth/E3SMv2/v2.LR.historical_0201/archive/atm/hist" does not exist

and similar.
I don't the this relates to the problem but I don't understand the need for step 4.  Don't you want to be testing e3sm_diags from E3SM-Unified 1.9.0rc12, too, not from e3sm_diags/main?  In this particular situation I think they're the same but there could be differences between the latest e3sm_diags RC and its main, and there could also be a difference between its conda package and installing it from source with pip.  We want to test with the production environment wherever possible.
I will keep digging...

@chengzhuzhang, I think @forsyth2's instructions above involve modifying tests/integration/utils.py, which will then modify tests/integration/generated/test_complete_run_pm-cpu.cfg.  I think the issue is that different branches on different machines step on each other's toes so the branch on the main zppy repo isn't necessarily the one @forsyth2 is using for testing on Perlmutter.

@forsyth2, can you run a simple, manual test that just involves a simple config file for zppy and no zppy or e3sm_diags repo?  For example, can you log in to a fresh terminal, copy your tests/integration/generated/test_complete_run_pm-cpu.cfg somewhere else and use it to run zppy just using
source /global/common/software/e3sm/anaconda_envs/test_e3sm_unified_1.9.0rc12_pm-cpu.sh

for e3sm_diags and any other environment you need?

@forsyth2, what do you see when you run:
> grep templateDir global_time_series_1850-1860.settings
  'templateDir': '/global/common/software/e3sm/anaconda_envs/base/envs/e3sm_unified_1.9.0rc12_login/lib/python3.10/site-packages/zppy/templates',

from the zppy_test_bundles_output/v2.LR.historical_0201/post/scripts directory?  As you can see, I can see that the templates come from the expected place where zppy in installed in e3sm_unified_1.9.0rc12_login.  I can also see that there are no np.int() calls in:
/global/common/software/e3sm/anaconda_envs/base/envs/e3sm_unified_1.9.0rc12_pm-cpu/lib/python3.10/site-packages/zppy/templates/coupled_global.py

I tried to test this zppy run on perlmutter but don't have permission for input data: --input=/global/cfs/cdirs/e3sm/forsyth//E3SMv2/v2.LR.historical_0201/archive/atm/hist

Posting for @forsyth2 (he's having computer issues this morning)

yes, the testing branches differ between machines so what’s on GitHub might not match up
the reason for the E3SM Diags environment is for the one test that specifically tests “environment_commands”. The rest of the sub tasks use the latest release

Thanks, that sounds reasonable.
Please let me know if any progress gets made on tracking down where the np.int() is sneaking in from.

I'm trying to locate the central piece, which is configuration file tests/integration/generated/test_complete_run_pm-cpu.cfg (link)on the branchtest_unified_rc12.

The branch test_unified_rc12 is for #486 (testing code specific to Compy). I named the test-fixes branches on all the machines test_unified_rc12, so I'm going to need to rename them if I want a pull request for each up at the same time. I made a comment (https://github.com/E3SM-Project/zppy/pull/440/files#r1298974933) to update the release-testing docs to specify that the branch name should include the machine.

The test_unified_rc12 branch might be outdated, but in tests/integration/utils.py only def get_compy_expansions(config) has the latest diags and unified environments

Yes, since test_unified_rc12 really should have been named test_unified_rc12, only Compy's parameter dictionary was updated on that branch.

I don't have permission to access

I just ran chmod -R o+r /global/cfs/cdirs/e3sm/forsyth/E3SMv2/v2.LR.historical_0201, so you should be have read-access now.

I don't understand the need for step 4

Step 4 is specifically for the subtask that checks environment_commands is working properly. That subtask is [[ atm_monthly_180x360_aave_environment_commands ]], which includes environment_commands = "#expand diags_environment_commands#". See template file: https://github.com/E3SM-Project/zppy/blob/main/tests/integration/template_complete_run.cfg#L96. The other E3SM subtasks all use whatever is set for environment_commands for the rest of the test, which in this case is the "environment_commands_test": "source /global/common/software/e3sm/anaconda_envs/test_e3sm_unified_1.9.0rc12_pm-cpu.sh" specified in tests/integration/utils.py.

I think the issue is that different branches on different machines step on each other's toes so the branch on the main zppy repo isn't necessarily the one @forsyth2 is using for testing on Perlmutter.

Yes -- see points 1,2 above. It's not so much that the changes are mutually exclusive as it is that on Chrysalis I make the changes Chrysalis needs, on Compy I make the changes Compy needs, and on Perlmutter I make the changes Perlmutter needs. Really, it could all be one branch but it would get annoying to keep it updated amongst three machines.

can you run a simple, manual test that just involves a simple config file for zppy

Yes, I'll try running a simplified cfg on Perlmutter.

I don't actually see any reference to the e3sm_diags environment in test_complete_run_pm-cpu.cfg, so that must get used somewhere else?

From the version on main: https://github.com/E3SM-Project/zppy/blob/main/tests/integration/generated/test_complete_run_pm-cpu.cfg#L95:
  [[ atm_monthly_180x360_aave_environment_commands ]]
  environment_commands = "source /global/homes/f/forsyth/miniconda3/etc/profile.d/conda.sh; conda activate e3sm_diags_20230728"

what do you see when you run

# Complete-run test directory
$ cd /global/cfs/cdirs/e3sm/forsyth/zppy_test_complete_run_output/v2.LR.historical_0201/post/scripts
$ grep templateDir global_time_series_1850-1860.settings
  'templateDir': '/global/homes/f/forsyth/.local/lib/python3.10/site-packages/zppy/templates',

# Bundles test directory
$ cd /global/cfs/cdirs/e3sm/forsyth/zppy_test_bundles_output/v2.LR.historical_0201/post/scripts
$ grep templateDir global_time_series_1850-1860.settings
  'templateDir': '/global/homes/f/forsyth/.local/lib/python3.10/site-packages/zppy/templates',

$ grep -n "np.int" /global/homes/f/forsyth/.local/lib/python3.10/site-packages/zppy/templates/coupled_global.py
29:        for iyear in range(np.int(time0[0]), np.int(time0[-1]) + 1):

Indeed, this does not match yours.... I'm not quite sure how this is happening.

don't have permission for input data

See point 3 above. You should be able to access now.

I just ran chmod -R o+r /global/cfs/cdirs/e3sm/forsyth/E3SMv2/v2.LR.historical_0201, so you should be have read-access now.

I also ran chgrp -R e3sm /global/cfs/cdirs/e3sm/forsyth//E3SMv2/v2.LR.historical_0201/ (https://github.com/E3SM-Project/zppy/issues/485#issuecomment-1687199901).

Yes, I'll try running a simplified cfg on Perlmutter.

$ cd /global/homes/f/forsyth/zppy_test
$ source /global/common/software/e3sm/anaconda_envs/test_e3sm_unified_1.9.0rc12_pm-cpu.sh
$ zppy -c test_np_int.cfg
$ cd /global/cfs/cdirs/e3sm/forsyth/zppy_test_np_int_output/v2.LR.historical_0201/post/scripts
$ grep -v "OK" *status
global_time_series_1850-1860.status:ERROR (5)
$ tail global_time_series_1850-1860.o14204061
  File "/global/cfs/cdirs/e3sm/forsyth/zppy_test_np_int_output/v2.LR.historical_0201/post/scripts/global_time_series_1850-1860_dir/coupled_global.py", line 374, in plot
    [year, var] = getmoc(exp["moc"])
  File "/global/cfs/cdirs/e3sm/forsyth/zppy_test_np_int_output/v2.LR.historical_0201/post/scripts/global_time_series_1850-1860_dir/coupled_global.py", line 29, in getmoc
    for iyear in range(np.int(time0[0]), np.int(time0[-1]) + 1):
  File "/global/common/software/e3sm/anaconda_envs/base/envs/e3sm_unified_1.9.0rc12_pm-cpu/lib/python3.10/site-packages/numpy/__init__.py", line 305, in __getattr__
    raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'int'.
`np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
    https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'inf'?
$ grep "templateDir" global_time_series_1850-1860.settings
  'templateDir': '/global/homes/f/forsyth/.local/lib/python3.10/site-packages/zppy/templates',
$ grep -n "np.int" /global/homes/f/forsyth/.local/lib/python3.10/site-packages/zppy/templates/coupled_global.py
29:        for iyear in range(np.int(time0[0]), np.int(time0[-1]) + 1):

From my zppy run on Perlmutter:

global_time_series task completed successfully. I can't reproduce the nump.int error. At this point, @forsyth2  I think the problem might be induced by our local environment...
I can confirm that the e3sm_diags runs completed in reasonable time

real    51m28.987s
user    269m16.914s
sys     22m36.063s

It is indeed odd that only Chrysalis has longer than usual e3sm_diags run time.

@forsyth2, the fact that you are getting python packages from:
/global/homes/f/forsyth/.local/lib/python3.10/site-packages/

suggests that your environment on Perlmutter has become misconfigured somehow.  Your packages from .local are taking priority over those from conda environments.  A first step would be to move your .local to something like old-local` and try again.
But it would be worth figuring out what workflow of yours is installing packages there in the first place.  Whatever is causing that to happen, it does not seem to be a workflow that is compatible with conda environments. It would be worth checking in your .bashrc, .bash_profile, .bashrc.ext, .bash_profile.ext, etc. to see if there is also something that is making this happen, like loading the module for NERSC's anaconda package or some sort of alternative activation besides what Mambaforge would provide.
My first guess about what would cause this is using NERSC's Anaconda module to create your own conda environments that get installed in your .local.  Even so, that doesn't explain why the are not in their own environment but are just in .local/lib directly, which I don't think is the usual behavior for Anaconda (but I don't use it myself so I'm not sure).
Another possibility is that you care creating environments using another tool like virtualenv or pip that I'm not very familiar with.  I know that pre-commit installs things in your home directory somewhere and doesn't use conda (or mamba) to do it.  But that wouldn't explain how zppy got installed there!
In any case, I really want to get to the bottom of this because it has slowed down the E3SM-Unified release by approximately a week.

$ cd /global/cfs/cdirs/e3sm/forsyth/zppy_test_np_int_output/v2.LR.historical_0201/post/scripts
$ grep -v "OK" *status
# No failures

@xylar Thank you, that fix appears to work!!

Marking this as resolved, since removing the .local directory is a decent work-around until #490 can be looked into more thoroughly.


Adapter not replacing list

final List filteredModelList = filter(contacts, query);
mAdapter.edit()
.replaceAll(filteredModelList)
.commit();
It is not replacing the filtered list, I dont have any log information, it was working previously, I already debuged the filteredList has the values filtered but the replaceAll is not working, do you know if its working with API level 26?

mAdapter.edit().removeAll();
mAdapter.edit()
.add(filteredModelList)
.commit();
doesnt work either

Thanks for the wonderful library. However, I have the same issue too. During the debugging, it works well. When ever I 'run' the filter does not seems to be working.

As far as I know it should work on any device with any relevant API level. I would suggest you try running this example project: Link to GitHub Repository. If the issue persists then it's most likely device specific. In that case it would be interesting to know on what kind of device you are testing on! If it works with the example project then there is probably something wrong somewhere in your code.


[UI Admin] add new columns into Users page: SpentTime , DoneExercises

[UI Admin] add new columns into Users page:
SpentTime, minutes: Int
DoneExercises: Int

done


Debug console no longer scrolls when output received

VSCode Version: 1.6
OS Version: Windows 10

Steps to Reproduce:

run our VS Code API tests
Note the output in the debug console

=> console no longer scrolls when output goes beyond visible number of lines

Dup of #11833


fix: Update acceptance_test.yml to reflect new -cli.jar naming.

Summary:
As part of issue #1139, PR #1147 changed how shadow jar artifacts are named.  We updated that naming in all GitHub workflows except for one place in acceptance_test.yml where it continued to reference the jar produced on the master branch with the old naming scheme.  Now that PR #1147 is in on the master branch, we can resolve the TODO there to reference the new jar naming scheme.
Closes #1139.

[X] Run the unit tests with gradle test to make sure you didn't break anything
[X] Format the title like "feat: [new feature short description]". Title must follow the Conventional Commit Specification(https://www.conventionalcommits.org/en/v1.0.0/).
[X] Linked all relevant issues

Oh, just realized this is still marked as "draft". Was it ready for review?

@barbeau I was just waiting to see if the Acceptance Test actually ran successfully before flipping over for review.  It looks like it's working!
@maximearmstrong or @isabelle-dr any chance you could review?  I think Acceptance Test will continue to fail until we get this in.


idk what to title this...

portals made with this mod active are completely nonfunctional they dont provide a window into the nether and dont even transport you... it spawns the associated blocks but they are just invisible and nothing happens

Does this issue occur with only immersive portals mod installed?

i have no clue... but i will check on it now

it works with only this mod installed but i have no clue what would conflict with this mod in such a way


[FLINK-31470] Add integration tests for Externalized Declarative Reso…

https://issues.apache.org/jira/browse/FLINK-31470

Thanks for the review @zentol, ready for another pass

@flinkbot run azure


documize-community: 2.2.1 -> 2.4.1

Motivation for this change
bump to recently released version 2.4.1
/cc @Ma27
Things done

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

[x] NixOS
[x] macOS
[ ] other Linux distributions

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

Built and deployed to my documize setup :+1:

@elseym thanks!


Issues with downloading flow

Issue received via email follow after break

I am trying to download the videos of epic kitchen and create the gulp
files. Due to limitations in memory space i modified the snakemake in
order to treat separately train, test seen and unseen, flow and rgb. At
the moment i am trying to download only the rgb training set.
For some reason i am not able to complete the download using Snakemake.
Seems that a file is missing.
I get the following print out:
HTTP request sent, awaiting response... 200 OK
Length: 98283520 (94M) [application/x-tar]
Saving to: ‘/tmp/data/raw/flow/P29/P29_04.tar’

/tmp/data/raw/flow/P29/P29_04.tar 0%[
] 0 --.-KB/s in 0s

Cannot write to ‘/tmp/data/raw/flow/P29/P29_04.tar’ (Success).
Waiting at most 60 seconds for missing files.

Any clue about the causes?

Your first step would be to check whether you have any partially downloaded files in that directory (/tmp/data/raw/flow/P29/), does it exist?
It looks like you have permission errors writing to that directory, perhaps change tmp_dir in config.yml to data (so that files are extracted to the ./data dir in your current working directory instead of to /tmp), I presume you changed tmp_dir to /tmp?
Providing /tmp/data/raw/flow/P29/ exists, can you provide the output of the following commands:

ls -lah /tmp/data/raw/flow/P29/`
echo $USER

Dear Will, thanks for your quick answer. I found the mistake, that was actually silly. I just ran out of memory space. I let to you the decision to erase this issue or just close it.

Hi @Schiboni, no worries, easily done.
I'll leave the issue as this can happen when you have insufficient space in the tmp_dir directory.


Fixes for responsiveness

Hi @ShweataNHegde, I started fixing the responsiveness stuff. It's all going to be better soon. Please check if the main problem of not seeing the burger menu on the top right is fixed.
Next: I'm going to make all embedded content responsive and think about a solution for the Gist embedding.

👷 Deploy Preview for semanticclimate processing.

Name
Link

🔨 Latest commit
52f72dc326bb29af3acf6a52c5dd5640726e09b6

🔍 Latest deploy log
https://app.netlify.com/sites/semanticclimate/deploys/6345b8cc0ca66b0008035bed

Great, thanks, @xldrkp!


Swift 1.2 compatibility

This includes patches from softdevstory, omor1, Cooper Geng, sballan, and myself.
There seems to be a lot of these...

For the pull requests I merged: #39, #41, #43, and #45.

Fantastic, thanks.


⚠ NCAA has degraded performance

In 2d09674, NCAA (https://www.ncaa.com) experienced degraded performance:

HTTP code: 200
Response time: 964 ms

Resolved: NCAA performance has improved in 1753013.


Pass message that caused exception to error handler

In the error handler, it would be useful to know what chat message caused the exception.
If maintainers :+1: the proposal/API, I'll add the test coverage quickly.
/cc @jimmycuadra

Thanks for the PR! Unfortunately, this is backwards-incompatible since it changes the signature of the error handler.

What do you think would be the best way to pass the message to error handler?

Depends on what kind of error was raised. See #163 for similar discussion. If you explain more about what you're trying to do I might be able to provide some other suggestions.

You could check the handler arity for backward compatibility.

It's different case from #163. If user types "somecommand somearg1 somearg2" in Slack and the handler crashes, I would like to know which command caused the crash.
Since we all use error tracking services, it would look like:
Errbit.notify(e, context: { message: message_that_caused_error })

I agree with byroot's comments. Let's make the third argument a hash so it can contain any data that might be useful in the future. I'm still thinking on how I want to handle backwards compatibility for the arity change. While checking arity will work for both cases, I'd rather move things forward, possibly via the feature flag system I'm planning (#105).

Thanks!


deps: Upgrade graceful-fs dependency to the latest

graceful-fs used to monkey-patch node's core fs module.
This has been fixed in the version 4.
Related: https://github.com/nodejs/node/pull/2714

Merged as 032a98d. Thanks!


Update documentation

Update documentation for old_password validation skip.

@iMerica This was a patch PR. The patch for #23 PR.
Although this PR has been merged, can you review the PR #23 and merge it, otherwise this PR is of no use and can be removed.


Update trips_performed.schema.json

Update the description of trips_performed.trip_id_performed to clarify its the meaning and use.  Resolves #51 .

Fixed typos.


Bonfire: Where do I belong

Challenge http://www.freecodecamp.com/challenges/bonfire-where-do-i-belong has an issue.
Way back I cleared the challenge and all tests passed. While revisiting/ code review test# 4,5,6 fail.
please check last three tests as values seem misplaced. This is the code which passed initially and seems right.
function where(arr, num) {
arr.sort(sortNumber);
var index;
for(i=0; i<arr.length; i++)
{
if (num >= arr[i] && num <= arr[i+1])
{
if(arr[i] == num)
{ index = i; }
else {
index = i + 1;
}
}
}
return index;
}
function sortNumber(a,b) {
return a - b;
}

@asdal Thank you for your report.
Tests cases are right. The problem that your function return undefined when num is bigger or smaller than all elements in arr.

Thanks a  lot @dmytroyarmak. I have fixed my code.
But still wondering why did the tests pass previously ?
Only thing I can think of is if test cases been revised//updated ?
Does FreeCodeCamp revise / improve its previous challenges / tests requirement ?

@asdal if your problem is solved feel free to close this issue, thanks!

Please review the Guidelines for Contributing, thank you!.


Missing planes after stitching

In some cases planes are missing after stitching.
plate = ZAdjustedStackAcquisition(
    acquisition_dir=config.acquisition_dir,
    trace_log_files=config.trace_log_files,
    alignment=TileAlignmentOptions.STAGE_POSITION,
    n_planes_in_stacked_tile=16,
)

converter = ConvertToNGFFPlate(
    ngff_plate=NGFFPlate(
        root_dir=config.output_dir,
        name=basename(config.acquisition_dir),
        layout=PlateLayout.I384,
        order_name=config.order_name,
        barcode=config.barcode,
    ),
    yx_binning=1,
    warp_func=stitching_utils.translate_tiles_2d,
    fuse_func=stitching_utils.fuse_linear,
    client=client,
)

The planes are not missing, but some planes get assigned the same ZIndex after the auto-focus correction. The issue can be tracked down to a rounding error in ZAdjustedStackAcquisition._parse_files().
Currently, we compute the updated ZIndex for each acquired plane. Which, in combination with the rounding error, can lead to a situation where the same ZIndex is used by multiple planes and some ZIndices are skipped.
After discussing the issue with @imagejan we concluded that we should compute the Z-Index offset for each field-stack once and shift all Z-indices belonging to one field and well together. Like this the acquired stack stays together.


Add better extension support for WebSocketServerProtocol

This allows one to provide extra keyword arguments to the socket handler or do extra authentication/validation during the handshake and bail out if needed.
For example:
class CustomServerProtocol(WebSocketServerProtocol):
    """ WebSocketServerProtocol that also verifies the current user
         by retrieving and validating `token` value from query parameters.
    """
    def get_handler_kwargs(self, path, get_header):
        query_dict = parse_qs(urlparse(path).query)
        session_key = query_dict.get('token', [''])[0]

        if not is_valid_session(session_key):
            raise websockets.InvalidOrigin("User not authenticated")

        return {
            "session_key": session_key,
        }

@asyncio.coroutine
def client_handler(ws, path, session_key):
    while ws.open:
        # This is only an example
        yield from ws.send({'hello': 'world'})

server = websockets.serve(client_handler, 'localhost', 8001, klass=CustomServerProtocol)
asyncio.get_event_loop().run_until_complete(server)
asyncio.get_event_loop().run_forever()

Note: i also tried running the tests, but got 54 failures with the following exception:
OSError: [Errno 98] error while attempting to bind on address ('<IP_ADDRESS>', 8642): address already in use

Look at the first test failure.
Everything else just fails because the crashing test prevents the port from being reused.

It seems to me that this would be more explicit and readable like this:
def authenticate(path):
    query_dict = parse_qs(urlparse(path).query)
    session_key = query_dict.get('token', [''])[0]
    if is_valid_session(session_key):
        return session_key
    else:
        raise AnyExceptionWillDo()

@asyncio.coroutine
def client_handler(ws, path):
    session_key = authenticate(path)
    ...

This version could easily be abstracted into a decorator:
@asyncio.coroutine
@require_authentication
def client_handler(ws, path, session_key):
    ...

It's unclear to me that your proposal would be a good abstraction, amenable to solving a wide range of problems in an intuitive way. For starters, I have no idea how to document it.

Currently raising any exception from the handler will cause my error log to be filled with Exception in connection handler messages:
try:
    yield from self.ws_handler(self, path)
except Exception:
    logger.error("Exception in connection handler", exc_info=True)
    yield from self.fail_connection(1011)
    raise

So to use your solution i would need to be able to bypass the error log somehow. E.g. by raising a specific exception.

You should be able to write a decorate that simply doesn't call the handler if the user isn't authenticated.

I'm still unconvinced that the changes in this PR create a good API, so I'm going to close it, but I'm open to discussing the use case further and making sure there's a decent solution.


fix(scripts): use a more precise method of grepping

Github recently changed the output of the releases page.
grepping for the exact  tag fixes the issue where the wrong tag was being filtered.
closes #5477

[x] this PR has been manually tested

Instead of grepping the HTML output, could we instead use Github's URL redirection to our benefit? You can achieve this with curl as I stated here in my issue: https://github.com/helm/helm/issues/5476#issuecomment-474663546

@danyim Instead of scraping the web page, I would recommend using the github API:
https://api.github.com/repos/helm/helm/releases/latest

@danyim, your proposal in #5476 sounds great. I'll play around with that, but it shouldn't block this from going through. That does look like a better long-term solution though.

RE: GitHub API, I responded to that in https://github.com/helm/helm/issues/5477#issuecomment-474715254. Let me know what you think.

The parsing logic in this PR is pretty complicated, and will probably break again
if GitHub changes the HTML in their web page.
Going with https://github.com/helm/helm/pull/5479 simplifies the parsing logic, because api.github.com returns JSON.
Although there are API limits, according to https://developer.github.com/v3/#rate-limiting :
For unauthenticated requests, the rate limit allows for up
to 60 requests per hour. Unauthenticated requests are associated
with the originating IP address, and not the user making requests.

I doubt that more than 60 requests per hour are running the helm get script from the same IP address.   So for an initial solution for helm, I think that https://github.com/helm/helm/pull/5479 is OK.

This bug is breaking the CI for my project which is an internal devops tool for testing installation of Kubernetes clusters, so please fix as soon as you can get to it.

All the core maintainers are on pacific/mountain time and are sleeping at this time. In the meantime, please use the workarounds provided or feel free to pull down this patch instead. Thanks for your patience!

I'm going to "break glass in case of emergency" and merge this patch in lieu of our LGTM policy as it's a blocker for many people overseas and it does not affect the behaviour of helm in any form. I have manually tested this patch and it fixes the issue.
Thank you everyone for your suggestions. We will take them into consideration. Please feel free to PR your suggestions as well. Thanks!

It seems the fix broke the installation. Receiving below error
VirtualBox:~$ ./get_helm.sh  Downloading https://kubernetes-helm.storage.googleapis.com/helm-tooltipped-s btn-primary v2.13.0-linux-amd64.tar.gz curl: (3) Illegal characters found in URL Failed to install helm         For support, go to https://github.com/kubernetes/helm.

Helm tooltipped-s is available. Changing from version v2.13.0.

That was the original issue with the get script. Can you check and see if you have the latest version of the script? How are you invoking it?


i128 fields only accept number types on functioncall argument serialization

Describe the bug When you want to pass an i128 field to functionCall as a param in near-api-js, the field only accepts the number type, problematic for reporting high precision numbers
To Reproduce Pass an i128 field as a parameter and call the function using near-api-js
Expected behavior The field should accept a stringified version of the number of BN.js to accept large ints
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information): MacOs 12.5.1
Additional context Add any other context about the problem here.

Can you please share an example of what you were trying to call? Thanks.

Does https://docs.near.org/tools/near-api-js/quick-reference#call-contract help?

        },
      },
      DEFAULT_FUNCTION_CALL_GAS,
      new BN(0)
    );

If I try to use a BN for mantissa, I recieve:
`Smart contract panicked: panicked at 'Failed to deserialize input from JSON.: Error("invalid number", line: 1, column: 314)', src/lib.rs:47:1``

Same error when trying to use string for mantissa

Using 'near_sdk::json_types::I128' allows you to pass in larger values as strings

@mgild Ken and I were writing at the same time. Maybe his answer is what you need.
Otherwise, the reason I pointed to https://docs.near.org/tools/near-api-js/quick-reference#call-contract is because it gives an example like:
await contract.method_name(
  {
    callbackUrl: 'https://example.com/callback', // callbackUrl after the transaction approved (optional)
    meta: 'some info', // meta information NEAR Wallet will send back to the application. `meta` will be attached to the `callbackUrl` as a url search param
    args: {
        arg_name: "value" // argument name and value - pass empty object if no args required
    },
    gas:<PHONE_NUMBER>00000, // attached GAS (optional)
    amount:<PHONE_NUMBER>000000000000000 // attached deposit in yoctoNEAR (optional)
  }
);

If you're using near-api-js, I'm curious if using that approach instead of functionCall( would help.


swiftDialog 2.0 RC1 - Notifications off by default

Installed pkg remotely via MDM. Installs fine and tests of dialog pop up work, but when I attempt to test the notification function. I get the following error in the terminal [screen attached as well]:
% /usr/local/bin/dialog --notification Notifications are not available: Optional("Notifications are not allowed for this application")

I have attempted to whitelist/enable notifications via mobileconfig profile using "au.bartreardon.dialog" as the bundleID, to no avail.
In my testing I also manually installed the pkg. When I do this, and then run the above command Dialog appears in the Sys Pref>Notification panel, and is disabled:

Toggling the notifications on here, and then running the above command leads to the expected result. However, this is not feasible for mass deployment.
Can you offer some guidance? I am not seeing a lot of documentation about this feature in your wiki (presuming as it is still RC). Thank you!

on the release page there are a couple of mobileconfig profiles. One for if you want to set using banner style and one for alert style. Did you deploy one of those from your MDM?
Full documentation will be available when 2.0 is released

Magical - that did the trick. Only wish I had seen before submitting this issue. Appreciate the fast response, coffee on its way to you!
On an aside, when I manually triggered the notification I did NOT receive a popup asking if I wanted to enable notifications - potential bug? Anyway, I now I have a mobileconfig file that is very much fit for purpose (using with https://github.com/SecondSonConsulting/Renew ) thanks again!

@FogdogIT can you take a look at this docco and let me know what you think? https://github.com/bartreardon/swiftDialog/wiki/Notifications#updating-the-default-notification-icon

Hey Bart - replying to this with my personal acct. Just tested the above and it worked like a charm! Thank you!


No webpage was found for the web address: https://localhost:5001/

From @donhuvy on December 12, 2018 1:11
Steps to reproduce
Use Windows 10 Pro, Visual studio 2019 Preview
dotnet new webapi
dotnet restore
dotnet run

Expected  behavior
https://localhost:5001/ Show webpage
Actual behavior
https://localhost:5001/ Error
Environment data
dotnet --info output:
C:\Users\donhuvy>dotnet --info
.NET Core SDK (reflecting any global.json):
 Version:   2.1.600-preview-009426
 Commit:    48b4f2105d

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.16299
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\2.1.600-preview-009426\

Host (useful for support):
  Version: 2.1.6
  Commit:  3f4f8eebd8

.NET Core SDKs installed:
  2.1.600-preview-009426 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

Copied from original issue: dotnet/cli#10464

From @donhuvy on December 12, 2018 1:13

D:\_dotnetCli\secondapp>dotnet run
Using launch settings from D:\_dotnetCli\secondapp\Properties\launchSettings.json...
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[0]
      User profile is available. Using 'C:\Users\donhuvy\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
Hosting environment: Development
Content root path: D:\_dotnetCli\secondapp
Now listening on: https://localhost:5001
Now listening on: http://localhost:5000
Application started. Press Ctrl+C to shut down.
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/1.1 GET http://localhost:5000/
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
      Request finished in 10.839ms 307
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/1.1 GET https://localhost:5001/
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
      Request finished in 152.6794ms 404
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/1.1 GET https://localhost:5001/
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
      Request finished in 0.2651ms 404
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/1.1 GET https://localhost:5001/
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
      Request finished in 0.1234ms 404
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/1.1 GET http://localhost:5000/
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
      Request finished in 0.1627ms 307
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/1.1 GET https://localhost:5001/
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
      Request finished in 0.079ms 404
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/1.1 GET https://localhost:5001/
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
      Request finished in 0.1723ms 404
Application is shutting down...
^C
D:\_dotnetCli\secondapp>dotnet new webapi
Creating this template will make changes to existing files:
  Overwrite   appsettings.Development.json
  Overwrite   appsettings.json
  Overwrite   secondapp.csproj
  Overwrite   Controllers/ValuesController.cs
  Overwrite   Program.cs
  Overwrite   Properties/launchSettings.json
  Overwrite   Startup.cs
  Overwrite   wwwroot

Rerun the command and pass --force to accept and create.

D:\_dotnetCli\secondapp>dotnet restore
  Restore completed in 73.09 ms for D:\_dotnetCli\secondapp\secondapp.csproj.

D:\_dotnetCli\secondapp>dotnet run
Using launch settings from D:\_dotnetCli\secondapp\Properties\launchSettings.json...
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[0]
      User profile is available. Using 'C:\Users\donhuvy\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
Hosting environment: Development
Content root path: D:\_dotnetCli\secondapp
Now listening on: https://localhost:5001
Now listening on: http://localhost:5000
Application started. Press Ctrl+C to shut down.
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/1.1 GET https://localhost:5001/
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
      Request finished in 77.5827ms 404
dbug: HttpsConnectionAdapter[1]
      Failed to authenticate HTTPS connection.
System.IO.IOException: The handshake failed due to an unexpected packet format.
   at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.PartialFrameCallback(AsyncProtocolRequest asyncRequest)
--- End of stack trace from previous location where exception was thrown ---
   at System.Net.Security.SslState.ThrowIfExceptional()
   at System.Net.Security.SslState.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Net.Security.SslState.EndProcessAuthentication(IAsyncResult result)
   at System.Net.Security.SslStream.EndAuthenticateAsServer(IAsyncResult asyncResult)
   at System.Net.Security.SslStream.<>c.<AuthenticateAsServerAsync>b__51_1(IAsyncResult iar)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionAdapter.InnerOnConnectionAsync(ConnectionAdapterContext context)
dbug: HttpsConnectionAdapter[1]
      Failed to authenticate HTTPS connection.
System.IO.IOException: The handshake failed due to an unexpected packet format.
   at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.PartialFrameCallback(AsyncProtocolRequest asyncRequest)
--- End of stack trace from previous location where exception was thrown ---
   at System.Net.Security.SslState.ThrowIfExceptional()
   at System.Net.Security.SslState.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Net.Security.SslState.EndProcessAuthentication(IAsyncResult result)
   at System.Net.Security.SslStream.EndAuthenticateAsServer(IAsyncResult asyncResult)
   at System.Net.Security.SslStream.<>c.<AuthenticateAsServerAsync>b__51_1(IAsyncResult iar)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionAdapter.InnerOnConnectionAsync(ConnectionAdapterContext context)
dbug: HttpsConnectionAdapter[1]
      Failed to authenticate HTTPS connection.
System.IO.IOException: The handshake failed due to an unexpected packet format.
   at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.PartialFrameCallback(AsyncProtocolRequest asyncRequest)
--- End of stack trace from previous location where exception was thrown ---
   at System.Net.Security.SslState.ThrowIfExceptional()
   at System.Net.Security.SslState.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Net.Security.SslState.EndProcessAuthentication(IAsyncResult result)
   at System.Net.Security.SslStream.EndAuthenticateAsServer(IAsyncResult asyncResult)
   at System.Net.Security.SslStream.<>c.<AuthenticateAsServerAsync>b__51_1(IAsyncResult iar)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionAdapter.InnerOnConnectionAsync(ConnectionAdapterContext context)
dbug: HttpsConnectionAdapter[1]
      Failed to authenticate HTTPS connection.
System.IO.IOException: The handshake failed due to an unexpected packet format.
   at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.PartialFrameCallback(AsyncProtocolRequest asyncRequest)
--- End of stack trace from previous location where exception was thrown ---
   at System.Net.Security.SslState.ThrowIfExceptional()
   at System.Net.Security.SslState.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Net.Security.SslState.EndProcessAuthentication(IAsyncResult result)
   at System.Net.Security.SslStream.EndAuthenticateAsServer(IAsyncResult asyncResult)
   at System.Net.Security.SslStream.<>c.<AuthenticateAsServerAsync>b__51_1(IAsyncResult iar)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionAdapter.InnerOnConnectionAsync(ConnectionAdapterContext context)
dbug: HttpsConnectionAdapter[1]
      Failed to authenticate HTTPS connection.
System.IO.IOException: The handshake failed due to an unexpected packet format.
   at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.PartialFrameCallback(AsyncProtocolRequest asyncRequest)
--- End of stack trace from previous location where exception was thrown ---
   at System.Net.Security.SslState.ThrowIfExceptional()
   at System.Net.Security.SslState.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Net.Security.SslState.EndProcessAuthentication(IAsyncResult result)
   at System.Net.Security.SslStream.EndAuthenticateAsServer(IAsyncResult asyncResult)
   at System.Net.Security.SslStream.<>c.<AuthenticateAsServerAsync>b__51_1(IAsyncResult iar)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionAdapter.InnerOnConnectionAsync(ConnectionAdapterContext context)
dbug: HttpsConnectionAdapter[1]
      Failed to authenticate HTTPS connection.
System.IO.IOException: The handshake failed due to an unexpected packet format.
   at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.PartialFrameCallback(AsyncProtocolRequest asyncRequest)
--- End of stack trace from previous location where exception was thrown ---
   at System.Net.Security.SslState.ThrowIfExceptional()
   at System.Net.Security.SslState.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Net.Security.SslState.EndProcessAuthentication(IAsyncResult result)
   at System.Net.Security.SslStream.EndAuthenticateAsServer(IAsyncResult asyncResult)
   at System.Net.Security.SslStream.<>c.<AuthenticateAsServerAsync>b__51_1(IAsyncResult iar)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionAdapter.InnerOnConnectionAsync(ConnectionAdapterContext context)
dbug: HttpsConnectionAdapter[1]
      Failed to authenticate HTTPS connection.
System.IO.IOException: The handshake failed due to an unexpected packet format.
   at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.PartialFrameCallback(AsyncProtocolRequest asyncRequest)
--- End of stack trace from previous location where exception was thrown ---
   at System.Net.Security.SslState.ThrowIfExceptional()
   at System.Net.Security.SslState.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Net.Security.SslState.EndProcessAuthentication(IAsyncResult result)
   at System.Net.Security.SslStream.EndAuthenticateAsServer(IAsyncResult asyncResult)
   at System.Net.Security.SslStream.<>c.<AuthenticateAsServerAsync>b__51_1(IAsyncResult iar)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionAdapter.InnerOnConnectionAsync(ConnectionAdapterContext context)

It's saying Failed to authenticate HTTPS connection.
Try: https://docs.microsoft.com/en-us/aspnet/core/security/enforcing-ssl?view=aspnetcore-2.2&tabs=visual-studio#trust-the-aspnet-core-https-development-certificate-on-windows-and-macos

This is dotNET Core preview version 2.1.600-preview-009426, not release version. I close this issue.