Exploding entropy temperature

Hi,
When I set the automatic_entropy_tuning to be true in an environment with action space of shape 1, my entropy temperature explodes and increases exponentially to a magnitude of 10^8 before pytorch fails and crashes the run. Any ideas as to why it is so?

Did you ever manage to solve this problem? I'm encountering similar exploding temperature for my environment no matter what value I choose, eventually the policy reaches that entropy, and temperature starts increasing...

Hi, not at the moment. I also compared the implementation to OpenAI's baselines and experimented with theirs but with similar results. Working on multiple things at the moment but will provide an update if I find anything.

I found it can be solved by delete "self.action_scale" in line 103 of model.py.
In SAC paper, this item does not exist.

I find it can be solved by delete "self.action_scale" in line 103 of model.py.
In SAC paper, this item does not exist.

I am facing the same problem. It is not solved yet, however, I can locate the issue:
In GaussianPolicy -> sample(): The policy output x_t is transformed by tanh(x_t). If you look at the shape of tanh() then you will find out that this is equal to 1 or -1 for most of the arguments besides a small area between -5 and 5. As a result, we receive a clipped y_t. The actions are "fixed" to the action_space constraints. The algorithm stops exploring and is therefore increasing the temperature-factor alpha. This leads firstly to an exploding temperature factor and secondly to an exploding critic loss.
The solution should be to replace action by x_t in the return statement of the sample() method. However, this is leading to an error (underneath):
I am trying to solve this and let you know if there are updates from my side. If you have any thoughts or inputs on this, please let me know.
Traceback (most recent call last):
File "/Users/hammlerp/PycharmProjects/SupplyChainOptimization/src/Optimization/SoftActorCritic/sac_main.py", line 94, in
action = agent.select_action(state)  # Sample action from policy
File "/Users/hammlerp/PycharmProjects/SupplyChainOptimization/src/Optimization/SoftActorCritic/sac.py", line 48, in select_action
action, _, _ = self.policy.sample(state)
File "/Users/hammlerp/PycharmProjects/SupplyChainOptimization/src/Optimization/SoftActorCritic/model.py", line 98, in sample
normal = Normal(mean, std)
File "/Users/hammlerp/opt/anaconda3/envs/SupplyChainOptimization/lib/python3.8/site-packages/torch/distributions/normal.py", line 50, in init
super(Normal, self).init(batch_shape, validate_args=validate_args)
File "/Users/hammlerp/opt/anaconda3/envs/SupplyChainOptimization/lib/python3.8/site-packages/torch/distributions/distribution.py", line 53, in init
raise ValueError("The parameter {} has invalid values".format(param))
ValueError: The parameter loc has invalid values

this is equal to 1 or -1 for most of the arguments besides a small area between -5 and 5

Can you explain a little bit more what you meant by that ? I am also trying to fix it on my side

Hi, not at the moment. I also compared the implementation to OpenAI's baselines and experimented with theirs but with similar results. Working on multiple things at the moment but will provide an update if I find anything.

The OpenAI implementation have also the temperature exploding ?

this is equal to 1 or -1 for most of the arguments besides a small area between -5 and 5

Can you explain a little bit more what you meant by that ? I am also trying to fix it on my side.

The issue is solved on my side. Are you using a custom environment? My problem was related to the environment. Make sure to punish your agent when it proposes a value outside the desired interval.

this is equal to 1 or -1 for most of the arguments besides a small area between -5 and 5

Can you explain a little bit more what you meant by that ? I am also trying to fix it on my side.

The issue is solved on my side. Are you using a custom environment? My problem was related to the environment. Make sure to punish your agent when it proposes a value outside the desired interval.

I am confused, I thought that the aim of the squashed guaussian was to not go outside of the interval ? So the code is working on your side with the learned temperature and w/o modification ?
(I am trying to use it on the 'LunarLanderContinuous-v2' right now, the scores hover around 0 and to solve it you need to have >200)

So the code is working on your side with the learned temperature and w/o modification ?

Yes. It works without modification. If I have time in the evening I'll check LunarLander for you.

Oh, my bad, it is working 😶 Thank you though :)


feat: add support for IAM identity center permission set session duration

Related to https://github.com/aquasecurity/trivy/discussions/5877
Adds new AWS service for IAM Identity Center Permission Set to address NIST CPRT SP 800-53 Release 5.1.1 AC-12

could you resolve the merge conflict?

merge conflict resolved. The Meta struct is not present in my branch in the /pkg/providers/aws/aws.go file so please confirm it should remain.

merge conflict resolved. The Meta struct is not present in my branch in the /pkg/providers/aws/aws.go file so please confirm it should remain.

You have to rebase on latest master branch.

rebase complete. Should be good for review now.

rebase complete. Should be good for review now.

tests are still red. Could you look into it? Might have to run go mod tidy and commit changes, if any.

go mod tidy is giving the following errors:
github.com/aquasecurity/defsec/internal/adapters/cloudformation/aws/iamidentitycenter imports
        github.com/aquasecurity/defsec/pkg/scanners/cloudformation/parser: no matching versions for query "latest"
github.com/aquasecurity/defsec/internal/adapters/terraform/aws/iamidentitycenter tested by
        github.com/aquasecurity/defsec/internal/adapters/terraform/aws/iamidentitycenter.test imports
        github.com/aquasecurity/defsec/internal/adapters/terraform/tftestutil: no matching versions for query "latest"

Not sure what I can do with this at this point.

go mod tidy is giving the following errors:
github.com/aquasecurity/defsec/internal/adapters/cloudformation/aws/iamidentitycenter imports
        github.com/aquasecurity/defsec/pkg/scanners/cloudformation/parser: no matching versions for query "latest"
github.com/aquasecurity/defsec/internal/adapters/terraform/aws/iamidentitycenter tested by
        github.com/aquasecurity/defsec/internal/adapters/terraform/aws/iamidentitycenter.test imports
        github.com/aquasecurity/defsec/internal/adapters/terraform/tftestutil: no matching versions for query "latest"

Not sure what I can do with this at this point.

Sorry about that. We're in the middle of a project restructure and you caught us. Eventually the policies should live in the new repo https://github.com/aquasecurity/trivy-policies and any adapters in this repo https://github.com/aquasecurity/trivy-iac
I'll get to your PR shortly, I might have to recreate it for you but that's fine as I realize it's probably easier for me to do so and would also help us to document how someone can contribute externally. Appreciate the patience.

@simar7 Curious if there is any ETA that can be provided on when the new PR can go in?

@simar7 Curious if there is any ETA that can be provided on when the new PR can go in?

We need these two changes merged before we can merge this PR.

https://github.com/aquasecurity/trivy/pull/6005
https://github.com/aquasecurity/trivy/pull/6006

At the moment, I don't have an ETA for you but we'll get to it when the above are merged.

@simar7 any updates you can provide on ETA for when we can get this PR completed?

@simar7 any updates you can provide on ETA for when we can get this PR completed?

@gantta defsec and other iac ancillary repos have been merged into trivy. If you could open a PR against the trivy repo we can help you merge it. Thanks for the understanding.


NavBar is not transparent on Android

Version
Tell us which versions you are using:

react-native-router-flux v3.34.0
react-native v0.31.0

Expected behaviour
Navbar background is transparent on both platforms.
Actual behaviour
Fine on iOS. Inspector says background color is transparent on Android but it's actually a shade of white.

Are you up for a pull request?

+1 , also here too problem on Android.

Set backgroundColor: 'transparent' didn't work on Android, still shows a white background.
Any ideas?

Same here, tried to change it in navigationBarStyle and in NavBar.js
https://github.com/aksonov/react-native-router-flux/blob/master/src/NavBar.js#L65
and still no luck
+1

Did you guys solve that? I also have this problem.

Same ^

Hey, @aksonov, this is still not working here.


add link from the readthedocs site to this documentation github repo

For those who start at the rendered readthedocs site https://translator-developer-documentation.readthedocs.io/en/latest/, it is not currently obvious how to get back to this repo to add/edit content.  I suggest adding a link to the footer or the nav bar.

Done


GroundItems breaks after opening bank interface in certain areas

The most notable example is the Gnome Stronghold bank near Nieve. If you drop an item, open the bank, and close it, the overlay will no longer show up anywhere.
I've done some investigation and haven't found the cause yet. Widget.isHidden() seems to be working correctly - it may have something to do with the plane/region requests, but the overlay still works in Lumbridge Castle (2nd floor) bank, which makes me think it's not related to your level/floor on the map.
I'd appreciate if someone else could try looking into this as well.

Resolved with merge from #160


Problems pane collapses whitespace

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

VS Code Version:
OS Version:

Version: 1.93.1 (Universal)
Commit: 38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40
Date: 2024-09-11T17:20:05.685Z
Electron: 30.4.0
ElectronBuildId: 10073054
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 23.6.0
As an extension author, diagnostics undergo unexpected formatting specifically in the problems pane. In the screenshot, you can see what should be a graphql query with various levels of indentation with all of its leading whitespace collapsed. This issue isn't limited to only leading whitespace though - it seems like any whitespace per line is collapsed down to a single space.

Steps to Reproduce:

Clone https://github.com/trevor-scheer/vscode-repro-whitespace
Run extension with F5
Open sample file sample-demo.rs
Open problems pane
Observe malformed diagnostic with collapsed whitespace
(Side note: the whitespace is even preserved in the tooltip when you hover over the problem)

@sandy081 can you point me in the right direction for where you think the issue might lie? I'd be happy to fix and open a PR but I had a hard time finding where the code for this is. Thanks!

@trevor-scheer You can start from here that renders the message and details of a problem
https://github.com/microsoft/vscode/blob/1e80dd664a0e5346012ebe4097a3d32079ac050c/src/vs/workbench/contrib/markers/browser/markersTreeViewer.ts#L363

Thanks @sandy081 - just opened a PR. Would you mind taking a look? I'm not sure how to recommend testing this change out locally, let me know if you have any thoughts there.

Thanks for the PR. Will look into this next month.

looks good, although i wonder about the lines on the very left? seems like they are characters placed there so there is a character to indent on?

@justschen the lines were a part of the reproduction to demonstrate that it wasn't just leading whitespace that was collapsed, but all. The reproduction and the fix are still relevant if the lines are removed.
Does that answer your question?


Issue with the get started button

The urls are different (binder works on ploomber/ske and not on jupysql):
https://binder.ploomber.io/v2/gh/ploomber/sklearn-evaluation/master?urlpath=lab/tree/docs/quickstart/classification.md (this is similar to the jupysql one)
https://binder.ploomber.io/v2/gh/ploomber/binder-env/main?urlpath=git-pull%3Frepo%3Dhttps%253A%252F%252Fgithub.com%252Fploomber%252Fprojects%26urlpath%3Dlab%252Ftree%252Fprojects%252Fguides/intro-to-ploomber%252FREADME.ipynb%26branch%3Dmaster
https://binder.ploomber.io/v2/gh/ploomber/jupysql/master?urlpath=lab/tree/doc/quick-start.md
Inside the pods it says: No web browser found: could not locate runnable browser.

Ok, so it seems like jupysql is the only one broken.
ske (works): https://binder.ploomber.io/v2/gh/ploomber/sklearn-evaluation/master?urlpath=lab/tree/doc/quickstart/classification.md
jupysql (doesn't work):  https://binder.ploomber.io/v2/gh/ploomber/jupysql/master?urlpath=lab/tree/doc/quick-start.md

After the docker image is built, binder redirects to a new URL. If we follow the JupySQL URL from above, it takes us to:
https://hub.binder.ploomber.io/user/ploomber-jupysql-iy1e7kik/lab/tree/doc/quick-start.md
which shows:

even this fails:
https://hub.binder.ploomber.io/user/ploomber-jupysql-iy1e7kik
In contrast, ske takes us to:
https://hub.binder.ploomber.io/user/ploomber-sklearn-evaluation-pjyh6dhv/lab/tree/doc/quickstart/classification.md
which works.
even if I cut the latest part of the URL, this still works:
https://hub.binder.ploomber.io/user/ploomber-sklearn-evaluation-pjyh6dhv

It seems that binder is creating temporary users. so perhaps we reached a limit and it's unable to create new ones? At this point it's clear that the URL format isn't the problem because ske works with the same format.

for reference, here are the binder scripts: https://github.com/ploomber/pcloud-backend/tree/main/cdk/infrastructure/binderhub


Problem moving from temp cert to permanent cert

On Windows 2012 R2 IIS8.5 - IdSrv4 with temp cert (SetTemporarySigningCredential) works fine with Cordova and browser clients. Trying to make it work with a self-signed cert (SetSigningCredential("CN=IDServ")). I see keys at jwks_uri. I open a client, enter credentials in the IdSrv login form, and then I get an error upon return. I tried from Cordova (popup) and browser (redirect) - neither works with the permanent cert but do work with the temp cert. The error is:
System.Security.Cryptography.CryptographicException: OpenCSP failed with error code<PHONE_NUMBER>.
at Internal.NativeCrypto.CapiHelper.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeProvHandle()
at System.Security.Cryptography.RSACryptoServiceProvider.get_SafeKeyHandle()
at System.Security.Cryptography.RSACryptoServiceProvider..ctor(Int32 keySize, CspParameters parameters, Boolean useDefaultKeySize)
at Internal.Cryptography.Pal.CertificatePal.<>c.b__59_0(CspParameters csp)
at Internal.Cryptography.Pal.CertificatePal.GetPrivateKey[T](Func2 createCsp, Func2 createCng)
at Internal.Cryptography.Pal.CertificateExtensionsCommon.GetPrivateKey[T](X509Certificate2 certificate, Predicate`1 matchesConstraints)
at Microsoft.IdentityModel.Tokens.X509SecurityKey.get_PrivateKey()
at Microsoft.IdentityModel.Tokens.X509SecurityKey.get_HasPrivateKey()
at Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider..ctor(SecurityKey key, String algorithm, Boolean willCreateSignatures)
at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.CreateProvider(SecurityKey key, String algorithm, Boolean willCreateSignatures)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateEncodedSignature(String input, SigningCredentials signingCredentials)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.WriteToken(SecurityToken token)
at IdentityServer4.Services.Default.DefaultTokenCreationService.CreateJwtAsync(JwtSecurityToken jwt)
at IdentityServer4.Services.Default.DefaultTokenCreationService.d__2.MoveNext()

I have seen similar issues before - search the dotnet repos if this has been fixed or not.

I found your reference to the issue in CoreFx but the issue there is from 1.5 years. Can you tell me if you have run IdSrv4 with .Net Core on a server with a permanent self-signed cert. If yes, what Windows and IIS? Thanks.

Not sure what platform they are using on Azure Web Apps - but both temp credentials and X509 works fine there.
Closing for now - feel free to re-open when you have more info/questions

@ninagran Did you solve this issue? I'm experiencing the same thing.

This particular issue with certs has been fixed in 1.1.1

@dsund We have not solved that for the original IdSrv. I just started a new one with "IdentityServer4.AspNetIdentity": "1.0.0", hopefully that will work.


How to make it work without wdio.conf.js ?

Describe your question with as much detail as possible
A clear and concise question that doesn't require too much conversation.
If it's about a specific piece of code, try and include some of it to support your question.
[...]
Environment (please complete the following information):

Node.js version: [e.g. 14.15.3]
NPM version: [e.g. 14.15.3]
Appium version: [e.g. 1.20.2]
Platform name and version: [e.g. Android 10]
WebdriverIO version: [e.g. 7.2.0]
wdio-ocr-service version: [e.g. 0.1.0]

Additional context
Add any other context about the problem here.
I'm using wdio like this:
const opts = {
	path: '/wd/hub',
	port: 4723,
	capabilities: {
		udid: '<IP_ADDRESS>:5555',
		platformName: 'Android',
		platformVersion: '10',
		appPackage: '',
		appActivity: '',
		automationName: 'UiAutomator2',
		noReset: true,
		fullReset: false,
		dontStopAppOnReset: false,
		test
	},
	services: ['ocr'],
};

async function main() {
	const driver = await wdio.remote(opts);
	driver.ocrClickOnText('Vende');

	await driver.deleteSession();
}

but it's not working it gives me
TypeError: driver.ocrClickOnText is not a function
I installed "wdio-ocr-service": "0.1.0" into my dev dependencies too
{
  "name": "apium",
  "version": "1.0.0",
  "main": "index.js",
  "license": "MIT",
  "dependencies": {
    "webdriverio": "^7.16.10"
  },
  "devDependencies": {
    "wdio-ocr-service": "0.1.0"
  }
}

Hi @SABRYX
Thanks for this question, the standalone runner of WDIO does not support services.
Going to close this but it's still open for discussion


Added classification metrics and a function to print feature importance.

Implemented three new functions:
ml_binary_classification_eval- returns the area under the ROC or PR curve based on predicted scores
ml_classification_eval  - computes the accuracy of a multiclass or binary classifier based on predicted labels
ml_tree_feature_importance - returns the feature importance for our tree models

Thanks!

@slopp and @kevinushey
Thanks for your contribution. Is there a way to find the optimal cutoff probability value, where type 1 and type 2 error are well balanced.
Please help how can I get the optimum probability threshold.
Thanks!


Take a look at my work so far

Please check my work so far.

Hey @deut31v6 I'll take a look.

Thanks for the tip @deut31v6


[CP][beta channel] A few pub client fixes

commit(s) to merge: https://dart-review.googlesource.com/c/sdk/+/185100
merge instructions: clean merge
What is the issue: This fixes

https://github.com/dart-lang/pub/issues/2854 that would lead pub get to require network access even if the cache is pupulated.
An issue with argument parsing where pub broken_argument would show a stack trace in addition to the nice error message

Why cherrypick: These seem low-risk but high-value polish for the pub client.
Risk: The fixes themselves might be buggy.
Link to original  issue(s):

https://github.com/dart-lang/pub/issues/2854
https://github.com/dart-lang/pub/issues/2868 lead to the second fix. It is however not the reason for cherry-picking.

/cc @kevmoo @mit-mit @whesse @athomas @vsmenon @franklinyow

@sigurdm @jonasfj - do you have specific concerns on "The fixes themselves might be buggy" beyond the usual risk of a cherry pick?

lgtm


Add option to skip null geometry

Fixes #115

/cc @yohanboniface thoughts on this implementation, would this fit your usecase?

Sounds perfect, thanks a lot! :)


Move ProductAttributesContainer to oscar.apps.catalogue.attributes.

Refactor the attribute container to reduce the number of queries
done in the save() call.

Closed since it was already done in 7d3a6439017f7de17214ba1ccd72e32d4530e10b.


Testing Form Input Value

Describe the bug
I have a form, with input and textarea components, but when I want to check their values inside tests (that they are rendered properly, for example), I can't find the values.
Using svelte, @testing-library/svelte and vitest.
Not sure if this is related to the way @testing-library/svelte is rendering, or the way vitest is running the test.
If you believe it's related to @testing-library/svelte, I apologize and I will close this
Reproduction
I created a very minimal reproduction repo: https://github.com/Gil3co/form-test-values
Steps to reproduce:

Clone the repo.
Run npm i.
Run npm run test.

See that the text (12) is not found.
If you run npm run dev you will see the text in the browser.
Any help is appreciated
System Info
System:
    OS: macOS 13.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 68.69 MB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.16.1 - ~/.nvm/versions/node/v18.16.1/bin/node
    npm: 9.7.2 - ~/.nvm/versions/node/v18.16.1/bin/npm
    bun: 1.0.8 - ~/.bun/bin/bun
  Browsers:
    Chrome: 119.0.6045.159
    Safari: 16.2
  npmPackages:
    vite: ^4.4.2 => 4.5.0
    vitest: ^0.34.0 => 0.34.6

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Have you tried with getByDisplayValue? https://testing-library.com/docs/queries/bydisplayvalue
I think that query method is more appropriate here.

That did return two results! Which means it works. Thanks!
Could you explain why?
I've used getByText with React and RTL (not Vitest, mind you).
Do you think the difference is Svelte, or Jest/Vitest?

These queries are both part of testing library's core API, I don't think there is a difference in their behaviour across these frameworks/test runners. The reason it didn't work initially is because byText queries are looking at the textContent of elements. To find elements by input value you should use the byDisplayValue queries.

I get it now, thanks a lot!


Remove flicker of Edit Widget when clicking to Edit a record

Not sure if this is just a limitation of the Edit Widget right now, but when you click to edit a record, there is a brief time in the UI when it displays the UI from the Edit widget where you can select existing records and then it loads the form to edit the record. If we can't do anything about this now, it would be great if we could get this feedback to the JS team for an enhancement to the widget for a future release.

Looked at how they are handling this in the Web Editor right now, as they have this similar "select a feature using a separate select tool to update its attributes" workflow.
Looks like they'd have the same flicker as well, but they have a mask and a loading indicator as well while the attributes are being loaded.
https://qawebgis.esri.com/web-editor/editor-workbench/builds/main/index.html?webmap=56cf45a606484a0188d5f073b133af74

Verified in devext


Bug Report: Dies on BOTPLAY

If you are playing a downloaded version of the game, what operating system are you using?
Windows (x86), Windows (x86_64), Linux, or macOS? Specify below.
Windows 11 x64
What version of the game are you using? Look in the bottom left corner of the main menu.
A custom 1.5.1 build just to add custom characters and disable the update thing
Have you identified any steps to reproduce the bug? If so, please describe them below. Use images if possible.
https://user-images.githubusercontent.com/90060358/149205329-ec32dce6-9a0c-4689-a936-40f7b78d206c.MOV

skill issue /s
ok sarcasm aside. I think that's a matter of your chart, considering botplay died from a LOT of notes that also lagged the game, which can also lag input from botplay

My friend just do this chart on BOTPLAY too but it lagged like me and he didn't died

what the hell are you making, Soulless XVII?


[Feature Request] Force Bastion tab on character sheets. v4.1.1

Hi everyone,
With the recent update to 5e 4.1.1 I would love to have an option to force enable bastion sheet on the character sheet (in the special traits tab for example).
Currently only level 5 characters can I have this option enabled and in my campaing, the players already have some system similar to the bastion but they are not level 5 yet.
Thanks!

Making a change to the CONFIG.DND5E.facilities.advancement object via a world script or small module would, I think, allow this (not that a UI option would not be nice). For instance,
foundry.utils.mergeObject(CONFIG.DND5E.facilities, {
  advancement: {
    basic: { 0: 2 },
    special: { 0: 2 }
  }
}

should allow two special facilities at level 1. Additional changes could be made to special if you preferred to moderate the number of built facilities socially rather than mechanically, like:
CONFIG.DND5E.facilities.advancement.special = { 0: 6 };

should unlock all 6 special facility slots (the default max) at level 1.


push notification channel

Need assistance on how to implement notification channel in ionic 1 using cordova and  firebase.

Sorry to be a jerk but I'm now closing issues that don't follow the issue submission guidelines. This plugin takes a lot of work to maintain and I can't afford the time required to solicit the required info from everyone.
I'm closing this issue but please feel free to re-open the issue if you provide the requested details from the new issue submission guidelines.
https://github.com/phonegap/phonegap-plugin-push/blob/master/.github/ISSUE_TEMPLATE.md


Enhance Point-Stat HiRA to support CDP thresholds by leaving rps_thresh unset.

I ran into an issue testing the computation of RPS using binned climatology CDP thresholds in HiRA in Point-Stat.  Need to pass along the climo mean and stdev values when computing the fractional coverage value.
Also update config/PointStatConfig_climo_WMO to write RPS HiRA output for the unit test.

Fixed this in develop and added a unit test to exercise it.


VB-230: Add initial tiles

Contains some basic tests, although this is a very basic page layout.

Looks good! Just looking at the header, the one in the MoJ pattern library (https://design-patterns.service.justice.gov.uk/components/header/) has blue bar at the bottom unlike the one pulled in from the template app. Should we be using that? (I tried swapping out contents of header.njk and it worked OK...)

Looks good! Just looking at the header, the one in the MoJ pattern library (https://design-patterns.service.justice.gov.uk/components/header/) has blue bar at the bottom unlike the one pulled in from the template app. Should we be using that? (I tried swapping out contents of header.njk and it worked OK...)

@tpmcgowan I don't think so, the DPS/template one is an update from GDS.


Port brackets changes to registry_utils

lastVersionDate was changed in https://github.com/adobe/brackets/pull/7745, here I added a FakeDate function and the brackets file to change the code less possible. I'm not sure is it worth or maybe we should leave as it was.
authorInfo was changed last in https://github.com/adobe/brackets/pull/5153
formatDownloadURL was added in https://github.com/adobe/brackets-registry/pull/59 so I left untouched.

Blocked by https://github.com/adobe/brackets-registry/pull/70#issuecomment-246128092


Make it possible to turn a select_one into a select_multiple without …

This PR is response to the discussion at https://github.com/opendatakit/javarosa/issues/263#issuecomment-369019465.
Note that this is will prevent existing forms from converting, so it's a breaking change. If it helps, ODK Build also does not allow spaces for select choices.

And considering some platforms like onadata allow form replacements - it might be ideal to figure out how to accommodate this change for existing forms - as a completely not allowing the replacement would be out of the question. I am wondering if it should be a warning instead?

I'm not sure I understand what form replacements have to do with this. Can you describe the scenario you are worried about in greater detail?

I have a form with select one choices, and some of the choices have spaces in them already; for example, the choice "mushroom rocks". If I happen to modify the form such that I do not change the select one, and it's choices, with this check, I will not be allowed to replace or create a new version of the form unless I change the choice from "mushroom rocks" to perhaps "mushroom_rocks" which has no spaces.  If I had already hundreds of submissions with the choice "mushroom rocks",  I will now have data that has both "mushroom rocks" and "mushroom_rocks" which means the same thing but complicates already existing workflows when you do data analysis. You are also very likely to treat the two choices differently in the analysis if there is no transformation. I consider this a breaking change on other platforms in the analysis of already existing data other than pyxform alone during transformation.
The reason we have validation for select multiples choices not have spaces is because the data is stored as a space separated list. Perhaps we may want to reconsider the approach on how we allow choices with spaces to be represented; it could give us a different take on a solution to this issue.

Reworking how we deal with spaces in multiple choices a big ecosystem change. I don't think the benefits outweigh the costs.
I think for this narrow issue, a warning is the best approach. But, the warning message doesn't seem particularly compelling. "Warning: Using a space in a select_one choice list makes it slightly harder use the same list for a select_multi."
@MartijnR Hate to throw you under the 🚌, but this was your idea. Do you still think it's compelling? What wording would you use for the prose?

@ukanga makes a good point about form replacements and data analysis consequences, that I never thought of. I cannot think of a good way of dealing with this and disallowing spaces in select_single.
I think a warning would have to be strong to avoid creating such forms, as a first step, so that we can quite safely (?) disallow spaces in a few years. Something like "Warning: a select_one option name contains a space. We strongly advice to not use spaces. They will be disallowed in the future."
I think it's worth making this warning step if the long-term goal is still to ban spaces. It will be nice and logical to not have different list requirements for select_one/select_multiple (and count-selected(select1) would eventually work correctly).

I like @MartijnR's approach and can't think of anything better that can be done currently. I don't love "We strongly advice to not use spaces" because it leads to questions like "who is 'we'" and "why." How about also listing up to 3 options that have spaces to make it easier to address? I'm thinking something like
Warning: a select_one option name contains a space (option 1, option 2, option 3, ...). To simplify analysis and make select ones convertible to select multiples, spaces in option names will be disallowed in the future.

Had to delete my repo to fix some local git problems. 😭
Closing in favor of this new PR: https://github.com/XLSForm/pyxform/pull/364.


[UI] Add Switzerland locations to Azure as new region

What kind of request is this (question/bug/enhancement/feature request):
Enhancement
Steps to reproduce (least amount of steps as possible):
N/A
Result:
N/A
Other details that may be helpful:
Switzerland region in Azure must be explicitly activated in subscribers quota profile and is only available to paying subscribers. Therefore adding it as another cloud region, same as Germany/China/USGov, and not in PublicCloud is recommended.
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):
Rancher Version  v2.3.4 - rancher/rancher:latest
Installation option (single install/HA):
HA

@superseb & @bashofmann Are there any updates to this feature request?

@superseb  @bashofmann  @meyerf99 is there some way this can be custom-added to an existing rancher deployment?

I rebased this PR to current master to resolve conflict with UAE AZ cluster provider.
For folks who want to add this to their existing rancher deployment: I'm afraid you have to build your own Docker images of rancher ui with my patched lib/shared/addon/utils/azure-choices.js until someone from the rancher devs authorizes this PR.

Tested with Rancher server rancher\rancher:master-head version a1acca856
Switzerland North and Switzerland West are available in Azure node template.

Also observed azure config set to correct locations:
Switzerland North:
"azureConfig": {
"availabilitySet": "docker-machine",
"clientId": "",
"customData": "",
"diskSize": "30",
"dns": "",
"dockerPort": "2376",
"environment": "AzurePublicCloud",
"faultDomainCount": "3",
"image": "canonical:UbuntuServer:18.04-LTS:latest",
"location": "switzerlandnorth",
"managedDisks": false,
"noPublicIp": false,
"nsg": "rancher-managed-hmH9AoOJ",

Switzerland West:
"azureConfig": {
"availabilitySet": "docker-machine",
"clientId": "",
"customData": "",
"diskSize": "30",
"dns": "",
"dockerPort": "2376",
"environment": "AzurePublicCloud",
"faultDomainCount": "3",
"image": "canonical:UbuntuServer:18.04-LTS:latest",
"location": "switzerlandwest",
"managedDisks": false,
"noPublicIp": false,
"nsg": "rancher-managed-hmH9AoOJ",


fix: Fixed docs guiding devs to use typeorm command.

Updated package.json to provide a typeorm script.

Closes #28

Closes #28


Arrays and items

Is the datatype = 'array' and items: {} format a product of the opensdk format?
I ask because it's a little bit funky. By that I mean that you might end up having to code some logic in your client code to deal with arrays. For example when to set a value in datatype vs items.datatype.
I'm doing this for the hub UI and it gets pretty complicated.

I agree, it is funky.   I also found it complex to cope with it.  And yes, it's part of the whole JSON Schema thing.  On the other hand, there must be code out there that deals with this exact structure, since it is indeed part of JSON Schema...

anything more to do with this issue @paxtonhare ?


Update note in readme

node-webkit is renamed to NW.js
also mention electron

Thanks @stevemao . Merging.


Common: change Travis distribution to Trusty #88

Installing oraclejdk8
162$ export JAVA_HOME=~/oraclejdk8
163$ export PATH="$JAVA_HOME/bin:$PATH"
164$ ~/bin/install-jdk.sh --target "/home/travis/oraclejdk8" --workspace "/home/travis/.cache/install-jdk" --feature "8" --license "BCL"
165Ignoring license option: BCL -- using GPLv2+CE by default
166install-jdk.sh 2019-09-17
167Expected feature release number in range of 9 to 14, but got: 8
168The command "~/bin/install-jdk.sh --target "/home/travis/oraclejdk8" --workspace "/home/travis/.cache/install-jdk" --feature "8" --license "BCL"" failed and exited with 3 during .
169
170Your build has been stopped.

https://github.com/snowplow-incubator/snowplow-snowflake-loader/issues/88


Hardcoded Strings -> Constant

'price' and 'volume' had several occurrences.
Decreases future workload

Not sure why @theimo1221 but after this merge it's only showing the data for ETH/USD (the first pair). I think it may have to do with the PR you put in to functionalize the callbacks. I'll look into it but let me know if you have any ideas as to what caused it.


Will not run code just for comments

Challenge http://www.freecodecamp.com/challenges/waypoint-comment-your-javascript-code has an issue. I type in both type of comment functions // and /**/ click run code and nothing happens it will not load the next step in the map.

I cannot replicate this right now i think it's fixed! Please open a new pull request if this persists. Thanks for reporting!

It happens in IE 11 google chrome fixed it

IE is completely broken with FCC we're working to fix it!


Added dark mode #515

Fixes Issue🛠
Fixed issue #515
Description👨💻
I have implemented dark mode functionality and added feature-specific icons for each page.

@Premonvitha-Sai You should take latest Pull of the code and resolve conflicts.

@Nihal4777 can you tell me clearly how to do it?
Because I don't know how to do it.


Enabling smoke tests to run on all ado build pipelines.

Currently, smoke tests only run on darwin builds. We should enable them on windows and linux pipelines as well.

@aasimkhan30 Could you please link to the relevant VS Code pipelines as well so we can use that as a starting point?


Improve handling of Init's config arguments

Changes

Remove remaining usage of config instead of config_dict_or_path
Add note in docstring that config is deprecated
Fix typo in docstring

Explanation
I figured out that when using transformers, as of DeepSpeed commit e08c239, I was having issues loading models for training as fp32. I figured out that transformers is still using the config parameter, even though it does not function the way it did back before the commit. This causes InsertPostInitMethodToModuleSubClasses.dtype to default to torch.half, even though the class should take ds_config.fp16_enabled into account.
My fix here is to treat config as a deprecated alias for the new config_dict_or_path parameter. This seems reasonable given a comment on another PR: https://github.com/microsoft/DeepSpeed/pull/1271#discussion_r683837140. In addition, from #1008 and #1271, it seems that there only needs to be one instance of DeepSpeedConfig in the method, so I removed the second one.
I added a runtime warning so users can see that the parameter that they were using should be changed. I will be putting a PR out to transfer to the new parameter in transformers after this PR is merged and released. I'm guessing that the old config parameter should be removed at some point in the future, but I have no clue about the deprecation policy for this library.

It seems that #1373 was released and merged after this, so one of the core problems this PR fixes no longer exists. However, it still fixes a related bug, so I think that it is still relevant. I've rebased to incorporate the changes from the merged PR.

The bug and the main documentation fix in this PR were solved when #1407 was merged. No need to include this now, then.


PIXI.mesh.NineSlicePlane display error when its width less than its center block width.

see online test:
http://jc-space.com/testnsp/
when the image's width / height is set to less than the width of it's nine slice center, it shows a weird display.  i think in this siutation the image should be scaled like a normal image which does not have a nineslice setting.

Feel free to change it: https://github.com/pixijs/pixi.js/blob/dev/src/mesh/NineSlicePlane.js
If you add less than 50 lines of code for that, I suppose we can merge it. Otherwise, its a good idea for a plugin.

i'll try it ,man

I'll help if you have any questions about that code.

Also, you may just make a simple patch or make your own class that extends PIXI.mesh.Plane, I can help with converting it onto our code style.

fixed, so close


 from regression between 0.2.164 and 0.2.180

I use  in codegen components in a React project, and my $ctx. variables are not accessible anymore by the children in the compiled project (undefined variables). They are working fine in the Plasmic editor though, I can see the values in the dynamic property selection dialog.
The regression happened between @plasmicapp/react-web 0.2.164 and 0.2.180.
I use DataProvider from the module "@plasmicapp/loader-react" version 1.0.215

Hi! Could you try removing @plasmicapp/loader-react from your package.json?  You should be able to import DataProvider from @plasmicapp/react-web/lib/host instead.

Thank you Chung, that fixed it!


Broken link on https://atom.io/packages/fsharp

This one:

Fixed in 0.1.6 https://github.com/fsprojects/FSharp.Atom/commit/c43efbfec50f67de2fa82731f20c95d5dcdfa804


@size variable is null in select

Expected behavior and actual behavior
select @size from #33:1
where the record is binary record

----+------
#   |@CLASS
----+------
0   |null
----+------

i can't know the size of the binary record
Steps to reproduce the problem
select @size from #33:1
Important Questions

[ ] v2.0.x - Please specify last number:
[x ] v2.1.x - Please specify last number: 2.1.18
[ ] v2.2.x - Please specify last number:

Operating System

[x ] Linux
[ ] MacOSX
[ ] Windows
[ ] Other Unix
[ ] Other, name?

Java Version

[ ] 6
[ ] 7
[x ] 8

in addition
this select
select 1 as prova from (select from binarycluster )

----+------
#   |@CLASS
----+------
0   |null
1   |null
2   |null
3   |null
4   |null
5   |null
6   |null
7   |null
8   |null
9   |null
10  |null
11  |null
12  |null
13  |null
14  |null
15  |null
16  |null
17  |null
18  |null

probably also other special attributes starting with @  are not visible

Hi @publicocean0
I fixed this in 2.2.x, the fix will be released with 2.2.5
Thanks
Luigi

[INFO] OrientDB ........................................... SUCCESS [  5.478 s]
[INFO] OrientDB Test Commons .............................. SUCCESS [  3.232 s]
[INFO] OrientDB Core ...................................... SUCCESS [ 17.477 s]
[INFO] OrientDB Client .................................... SUCCESS [  1.404 s]
[INFO] OrientDB Object .................................... SUCCESS [  2.420 s]
[INFO] OrientDB Tools ..................................... SUCCESS [  1.828 s]
[INFO] OrientDB Server .................................... SUCCESS [  3.871 s]
[INFO] OrientDB GraphDB ................................... SUCCESS [  4.612 s]
[INFO] OrientDB Tests ..................................... FAILURE [  3.173 s]
[INFO] OrientDB Distributed Server ........................ SKIPPED
[INFO] OrientDB Lucene full text index .................... SKIPPED
[INFO] OrientDB JDBC Driver ............................... SKIPPED
[INFO] OrientDB ETL ....................................... SKIPPED
[INFO] OrientDB Community Distribution .................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 43.676 s
[INFO] Finished at: 2016-07-17T11:56:24+02:00
[INFO] Final Memory: 83M/483M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project orientdb-tests: Could not resolve dependencies for project com.orientechnologies:orientdb-tests:jar:2.2.5-SNAPSHOT: Could not find artifact com.orientechnologies:orientdb-core:jar:tests:2.2.5-SNAPSHOT in sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn  -rf :orientdb-tests

mmm... this is strange, I have no problems to build here.
Could you please try
mvn clean

and then
mvn install

Thanks
Luigi

ok, it seems we have some problems with the build, I'll keep you posted
Thanks
Luigi

hi , already done yesterday but it is not working.
Probably if you go to your .m2/repository directory and you delete the 2.2.5 snapshot forcely from your local system ... then
mvn clean install -Dmaven.test.skip=true you might to see the problem

Hi @publicocean0
yep, I reproduced it, it's a problem with the build  due to one of our last commits (not related to this issue). We are working to fix it
Thanks
Luigi

Hi @publicocean0
the problem with the build should be fixed
Thanks
Luigi

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] OrientDB ........................................... SUCCESS [  4.315 s]
[INFO] OrientDB Test Commons .............................. SUCCESS [  4.449 s]
[INFO] OrientDB Core ...................................... SUCCESS [ 27.637 s]
[INFO] OrientDB Client .................................... SUCCESS [  2.411 s]
[INFO] OrientDB Object .................................... SUCCESS [  3.476 s]
[INFO] OrientDB Tools ..................................... SUCCESS [  2.812 s]
[INFO] OrientDB Server .................................... SUCCESS [  6.155 s]
[INFO] OrientDB GraphDB ................................... SUCCESS [  4.984 s]
[INFO] OrientDB Tests ..................................... FAILURE [  3.798 s]
[INFO] OrientDB Distributed Server ........................ SKIPPED
[INFO] OrientDB Lucene full text index .................... SKIPPED
[INFO] OrientDB JDBC Driver ............................... SKIPPED
[INFO] OrientDB ETL ....................................... SKIPPED
[INFO] OrientDB Community Distribution .................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:00 min
[INFO] Finished at: 2016-07-21T21:22:16+02:00
[INFO] Final Memory: 87M/670M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project orientdb-tests: Could not resolve dependencies for project com.orientechnologies:orientdb-tests:jar:2.2.6-SNAPSHOT: Could not find artifact com.orientechnologies:orientdb-core:jar:tests:2.2.6-SNAPSHOT in sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn  -rf :orientdb-tests

Maybe do  you set core with scope test?

https://oss.sonatype.org/content/repositories/snapshots/com/orientechnologies/orientdb-core/2.2.6-SNAPSHOT/maven-metadata.xml

i read pom in tests module. I think there the pom definition could be not corrrect.

i solved ... there is a problem in tests and lucene modules

remove type attribute from those module pom

i tested also the fix
but there is ....
orientdb {db=streamer}> select sum(@size) from (select  expand(data)  from 36:149)
+----+----+
|#   |sum |
+----+----+
|0   |    |
+----+----+

sum function is not executed

in addition is there a way for calculating a accumulative sum?

Hi @publicocean0
with current execution layer it's quite tricky to support complex expression evaluation for binary records, I risk to give you wrong results, this is why I only implemented basic cases.
In v 3.0 the problem root cause of the problem will be removed, so the problem will be completely fixed.
For now, I suggest you to use a subquery:
SELECT sum(size) from (select @size as size from  (select expand(data) from 36:149) )
Thanks
Luigi

yes also this works select from ( select sum(data.@size) from 36:149 unwind data ) it works.
but the sum is global. is there a way for creating a function or a method for calculatiing a incremental sum for every row?

row 1 10
row 2  20
row 3 5
result
10
30
35

Mmm... got the point
Try this
select $p  from (SELECT FROM ... ) let $p = eval("$p + @size")

But please consider that it is a very extreme usage of LET assignment and that this behavior could change in 3.0 as we are re-writing the engine
Thanks
Luigi

ok thanks for the info. sorry last question :)
In addition i would ask you if you foresee for version 3.0 lucene will have index on  embedded properties ( i can search also a property inside dinamically )? and eventually what is the deadline (about) for version 3?
i have to decide if create a new lucene module or not based on you answer. :)

Indexes on embedded properties are in the roadmap, so the answer is "yes".
Our goal is to release it in Q4 2016
Thanks
Luigi

wow so you evoid a lot of work to do :)

Considering you want remake orientdb engine i posted also a problem actually difficult to solve with orientdb. Maybe remaking it you can design a global solution including also it.
https://github.com/orientechnologies/orientdb/issues/5136#problem


Merge pull request #2 from vivitek/develop

Adding Containers
Added DNS Lookup for pcap testing IPs purpose

Details
New container that contains NextJS app that perform a DNS lookup action and displays the result
Container accessible on port 4000

Good


Provide an option to always pull the elastic agent docker image

Usually, docker images used with the elastic agents are versioned. So, if a new image needs to be used, the elastic profile is updated with the right tag and the jobs start to use the new image. If the tag is not versioned, the newer image is not pulled down.
Have image pull policies to either pull the elastic agent docker image always and to pull the image if not present on the machine.

@varshavaradarajan -- can we use pod yaml to specify the pod configuration for the elastic profile?
for example:
apiVersion: v1
kind: Pod
metadata:
  name: pod-name-prefix-{{ POD_POSTFIX }}
  labels:
    app: web
spec:
  containers:
    - name: gocd-agent-container-{{ CONTAINER_POSTFIX }}
      image: {{ GOCD_AGENT_IMAGE }}:{{ LATEST_VERSION }}
      imagePullPolicy: Always

Yeah. But, I thought it was a common enough scenario to show it in the Config Properties section.
And also, does it make sense for other elastic agents?

There are a lot of kubernetes configurations/parameters which user can configure. And it's not feasible to provide all the options under config properties. Hence we have pod yaml way of specifying the profile.
Until users have a way of configuring all the parameters (either via config properties or pod yaml) its fine.


Cannot figure out how to install, build and test

In your build descriptions you describe the following steps:
1. Run `gulp build` to transpile.
2. Run `gulp test-cover` to run tests.

However I run into 2 problems when executing these steps.

The first one is when running any Gulp command I get the error Local gulp not found in C:\Dev\cols-agent-tasks. Try running: npm install gulp.
This is easily solved by running npm install gulp, but I can't shake the feeling that this shouldn't be necessary and that I'm doing something wrong.
The second error is (after installing gulp): No gulpfile found and I'm stumped on this one.
Are the build instructions perhaps outdated? Shouldn't I use Gulp?

I apologise if this is a stupid question, but I simply don't have much experience with Gulp and this problem is stopping me from making a contribution. I would really like to run my tests locally before submitting them. :)

Nevermind, yarn test still fails:
 1 failing

  1) replaceTokens should succeed with default inputs:
     Error: done() invoked with non-Error: (node:4504) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:4504) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:4504) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:4504) Warning: Use Cipheriv for counter mode of aes-256-ctr

      at Context.it (tests\_testsuite.ts:28:12)

Hi @nphmuller - I am going to update the build/test docs. Also, I had the same issue with the Cipheriv warning, which unfortunately is a dependency issue (so there is some deep dependency that is using an old version of Cipheriv). The only way I could get around it is to ignore warnings (see the NODE_NO_WARNINGS=1 here).

Thanks! Much clearer now!


Create Exercise Page

Done here, just needs a merge. Going to assign myself to next task related to this page.


Integer MIN_VALUE cannot be assigned

The following statement of assigning the MIN_VALUE of an integer to a variable produces an error in the parse.
	int a = -2147483648;

This is due to the parser parsing the '-' value and '2147483648' separately and when parsing '2147483648' to an Integer it produces NumberFormatException since the MAX_VALUE for an Integer in java is<PHONE_NUMBER>.
Need to address in the ballerina grammer to use 'SignedInteger' in these assignments.

Fixed in v0.89


Anvil doesn't work well with swiperefreshlayout after first render cycle

at the first cycle,the order of SRL's children is [CircleImageView,CustomView].
however,the order changes to [CustomView,CircleImageView] after that,but the viewIndex of the CustomView's node is 1.

I've recently added a method skip() aimed to ignore all the child views created outside of Anvil.
I was able to reproduce the issue you're describing, and with the new skip() method an example would look like this:
    private class TestSwipeRefreshLayout extends RenderableView {
        private boolean mRefreshing;
        public TestSwipeRefreshLayout(Context c) {
            super(c);
        }
        public void view() {
            swipeRefreshLayout(() -> {
                size(FILL, FILL);
                onRefresh(() -> {
                    mRefreshing = true;
                    postDelayed(() -> {
                        mRefreshing = false;
                        Anvil.render();
                    }, 3000);
                });
                refreshing(mRefreshing);
                skip();
                textView(() -> {
                    size(FILL, FILL);
                    text(mRefreshing ? "refreshing" : "done");
                });
                skip();
            });
        }
    }

I had to use skip() twice, because as you've stated initially CircleImageView is placed before the child view, then it's placed after it.
Ideally, skip() should be called from inside the swipeRefreshLayout() function before and after calling the child renderable, but that would require adding some quirks to the DSL generator, which I would prefer to do after we release Anvil 0.5.0.

now it works


Branch doesnt recognise link on app launch Android

If there is a bug or error in this repo, please file the issue here.
If you need assistance integrating a Branch SDK, please email<EMAIL_ADDRESS>Thank you.
Question #1:
So basically if app is launched via user clicking a deep link https://*.app.link/*
it launches the app but branch.subscribe doesn't see it at all.
However if I execute
branch.getLatestReferringParams().then(params =>  console.log(params))
It returns the following:
+is_first_session: false
+clicked_branch_link: false
+non_branch_link: https://*.app.link/*

How can I properly react to an incoming deep link when app is completely closed?
On iOS it works just as expected even if app is completely closed.
Here is what I do on componentDidMount():
// Subscribe to incoming links (both Branch & non-Branch)
    this._unsubscribeFromBranch = branch.subscribe(({ error, params }) => {
      console.log({params, error}) // Doesnt do anything on first app launch :/
      if (params && !error) {
        if (!params['+clicked_branch_link'] && !params['+non_branch_link']) return
        this.navigate(params.$deeplink_path)
        // grab deep link data and route appropriately.
      }
    })
    branch.getLatestReferringParams().then(params =>  console.log(params)) // This returns the above

Question #2:
How can I use deeplinks within the app?
When app is in a foreground and deeplink is clicked, on Android I have to move an app into the background and bring it back to the foreground in order branch.subscribe grab it and navigate accordingly.
On iOS it just sends me to Safari where I click Get the app button (default branch template) and it brings me back to the app and navigates accordingly.
Thanks a lot in advance! 👍 👍 👍
Update:
Question #1:
I'm not too sure if it is a proper way of doing:
componentDidMount(){
    // Subscribe to incoming links (both Branch & non-Branch)
    this._unsubscribeFromBranch = branch.subscribe(({ error, params }) => {
      if (params && !error) {
        if (!params['+clicked_branch_link'] && !params['+non_branch_link']) return
        this.navigate(params.$deeplink_path)
        // grab deep link data and route appropriately.
      }
    })

if (Platform.OS === 'android') {
      branch.getLatestReferringParams().then(params => {
        if (!params['+clicked_branch_link'] && !params['+non_branch_link']) return
        this.navigate(params.$deeplink_path)
        return params
       })
}

}

So in that case if app is launched from the link, it will be handled by getLatestReferringParams().
If not it will be handled by branch.subscribe.
However on iOS in both cases its true, so the routing will happen twice, so I put Platform check.
Is this the right approach ? I guess in a scenario when I will want ot know if the app was installed by following the shared link, I wouldn't know if it was the case on iOS ?

Hi @Amurmurmur. Sorry for the delay. This seems to work fine in webview_example. Maybe you can see if you have the same problem using webview_example with your keys and domains. You might want to try comparing your setup to the examples in the repo to see what differs. I think the reason for your #2 is probably related to #1.
This is all handled at the native level. Whenever the native code receives notification that a link was opened, it passes an event to the RN runtime, which results in the branch.subscribe listener being called back. If this isn't happening, the native layer is probably not generating the event, which can happen if you forget certain setup steps. In particular, in your activity, you need to call RNBranch.initSession in onStart and setIntent in onNewIntent. I'd also double-check the settings in your Android manifest. Make sure that you are using singleTask for your main activity and that your keys and intent-filters are set up correctly. See the README in the repo for more details on setting up an Android project.

@jdee Just checked everything, and especially singleTask mode.
I guess its just the way it works, and my current approach is the only way to make it work. I copied exactly the setup for android from the example folder.
Last question:
@jdee How do you think would be the best to handle opening deeplinks inside the app.
The idea is that if you scan QR image with that branch link, and instead of Linking.openURL(branch_link_here) that you've read from the QR image
actually do a silent request to get the link data such as deeplinking url and other data set in the dashboard.
Is there any workaround that problem? Or maybe its best to just set the routing in the QR code and avoid branch completely, and manage analytics in a different way ?

I think this may essentially be a duplicate of #216. I do not recommend calling getLatestReferringParams inside the subscriber. This is another async call that adds response time. For now, if you have something working, use what you need to use. I'll try to expedite fixing that bug.
I'm working on adding a method to the SDK to programmatically open links, e.g. from a QR reader or a push notification. That should be available soon.


Microsoft.OperationsManagement/solutions resource

Can you give information on why is there a Microsoft.OperationsManagement/solutions resource created in the sample code?
The Sample topic says nothing on solutions resource:
Following is a sample of a solution that includes the following resources:
Saved search
Schedule
Action group

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

ID: 926fc77a-c2ae-4fce-899d-d8feb2729edb
Version Independent ID: dc8fce2e-038e-5ff3-c872-bf736e155ae3
Content: Saved searches and alerts in management solutions
Content Source: articles/monitoring/monitoring-solutions-resources-searches-alerts.md
Service: monitoring
GitHub Login: @bwren
Microsoft Alias: bwren

Ok I get it, this is a part of the larger monitoring solution.

@jozoSlejko We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


%%2089 Value Resolution in password_never_expires.yaml clarification

Describe the bug
The resolved value of User account properties of %%2089 in the "password_never_expires.yaml" rule apparently resolves to "Don't expire password" setting being disabled, however it seems some sources dispute this?
For example - this source explicitly states that 2089 resolves to Don't Expire Password - Enabled, meaning password never expires is set. This is slightly confusing. See below:
// 2089 value indicates the Don't Expire Password value has been set   | where UserAccountControl has "%%2089"    | extend Value_2089 = iff(UserAccountControl has "%%2089","'Don't Expire Password' - Disabled", "Not Changed")

@kaovd - I believe this is a typo and it should be "'Don't Expire Password' - Enabled".  We will test and confirm.

Additonally to mention I believe the "has in" on line 27 | where UserAccountControl has "%%2089"  excludes everything that dosen't have that in the query? I.e if only password not required is set on a user account, this will not show up within the query.

@kaovd - this is fixed in PR #1532.  In relation to the line 27, this is by design, we only want events with 2089, but often the UAC value will have other value accompanying the 2089, so we parse and label those for context.


v4 - Localization with moment

Hi,
localization with moment non working for me:
$("#dt1").datetimepicker({
locale:moment.locale("it"),
minDate: moment(),
format: "DD/MM/YYYY",
daysOfWeekDisabled: [0,6]
});
Thanks

it should be locale: 'it'.
As per the contrib doc, please provide a js fiddle of your problem

not work.
http://jsfiddle.net/h2aen016/2/

read what I said:
it should be locale: 'it'
$("#dt1").datetimepicker({
        locale: 'it',
        minDate: moment(),
        format: "DD/MM/YYYY HH:mm",
        daysOfWeekDisabled: [0, 6]
    });

Be sure to include moment-with-locales.js or it.js

Read and tried, but not work.
Thanks

yup it does: http://jsfiddle.net/Eonasdan/h2aen016/3/

moment.js was in conflict.
Thank you

I18N is broken now: http://jsfiddle.net/Eonasdan/h2aen016/3/

@xiongxoy no, you fiddle is broken.There are errors in the console

You are right. I forgot to include moment-with-locales in my project. I18N works now.
But the fiddle is not mine, you posted that fiddle. I don't know why the fiddle is broken


ERRO the genesis block hash for chain tevmos has changed from X to Y since the last time we ran, component: BlockStore

Do you want to request a feature or report a bug?
bug
What is the current behavior?
I'm running a self hosted instance connected to TEVMOS. I use docker compose I get: ERRO the genesis block hash for chain tevmos has changed from c1d935da5a718994263a95c6e811b869b2f4225638a85d34520af70176dab6c0 to 0x64ebab8b5ca43670c08744902bece6feb9e4b2fd2af998091be7eb4fc8bfd4cb since the last time we ran, component: BlockStore.
Full log
subgraph-graph-node-1  | Jun 13 13:06:51.870 INFO Graph Node version: 0.26.0 (2022-04-05)
subgraph-graph-node-1  | Jun 13 13:06:51.872 WARN GRAPH_POI_ACCESS_TOKEN not set; might leak POIs to the public via GraphQL
subgraph-graph-node-1  | Jun 13 13:06:51.874 INFO Generating configuration from command line arguments
subgraph-graph-node-1  | Jun 13 13:06:51.875 WARN No fork base URL specified, subgraph forking is disabled
subgraph-graph-node-1  | Jun 13 13:06:51.876 INFO Starting up
subgraph-graph-node-1  | Jun 13 13:06:51.877 INFO Trying IPFS node at: http://ipfs:5001/
subgraph-graph-node-1  | Jun 13 13:06:51.882 INFO Creating transport, capabilities: archive, traces, url: https://eth.bd.evmos.dev:8545, provider: tevmos-rpc-0
subgraph-graph-node-1  | Jun 13 13:06:51.887 INFO Successfully connected to IPFS node at: http://ipfs:5001/
subgraph-graph-node-1  | Jun 13 13:06:52.327 INFO Connecting to Postgres, weight: 1, conn_pool_size: 10, url: postgresql://graph-node:HIDDEN_PASSWORD@postgres:5432/graph-node, pool: main, shard: primary
subgraph-graph-node-1  | Jun 13 13:06:52.328 INFO Pool successfully connected to Postgres, pool: main, shard: primary, component: Store
subgraph-graph-node-1  | Jun 13 13:06:52.354 INFO Setting up fdw, pool: main, shard: primary, component: ConnectionPool
subgraph-graph-node-1  | Jun 13 13:06:52.360 INFO Running migrations, pool: main, shard: primary, component: ConnectionPool
subgraph-graph-node-1  | Jun 13 13:06:52.364 INFO Migrations finished, pool: main, shard: primary, component: ConnectionPool
subgraph-graph-node-1  | Jun 13 13:06:52.366 INFO Mapping primary, pool: main, shard: primary, component: ConnectionPool
subgraph-graph-node-1  | Jun 13 13:06:52.406 INFO Connecting to Ethereum to get network identifier, capabilities: archive, traces, provider: tevmos-rpc-0
subgraph-graph-node-1  | Jun 13 13:06:52.593 INFO Connected to Ethereum, capabilities: archive, traces, network_version: 9000, provider: tevmos-rpc-0
subgraph-graph-node-1  | Jun 13 13:06:52.598 ERRO the genesis block hash for chain tevmos has changed from c1d935da5a718994263a95c6e811b869b2f4225638a85d34520af70176dab6c0 to 0x64ebab8b5ca43670c08744902bece6feb9e4b2fd2af998091be7eb4fc8bfd4cb since the last time we ran, component: BlockStore
subgraph-graph-node-1  | Jun 13 13:06:52.601 INFO Creating LoadManager in disabled mode, component: LoadManager
subgraph-graph-node-1  | Jun 13 13:06:52.602 INFO Starting block ingestors with 1 chains [tevmos]
subgraph-graph-node-1  | Jun 13 13:06:52.602 ERRO Not starting block ingestor (chain is defective), network_name: tevmos
subgraph-graph-node-1  | Jun 13 13:06:52.603 INFO Starting firehose block ingestors with 0 chains []
subgraph-graph-node-1  | Jun 13 13:06:52.604 INFO Starting firehose block ingestors with 0 chains []
subgraph-graph-node-1  | Jun 13 13:06:52.604 INFO Starting job runner with 4 jobs, component: JobRunner
subgraph-graph-node-1  | Jun 13 13:06:52.611 INFO Starting JSON-RPC admin server at: http://localhost:8020, component: JsonRpcServer
subgraph-graph-node-1  | Jun 13 13:06:52.615 INFO Starting GraphQL HTTP server at: http://localhost:8000, component: GraphQLServer
subgraph-graph-node-1  | Jun 13 13:06:52.616 INFO Starting index node server at: http://localhost:8030, component: IndexNodeServer
subgraph-graph-node-1  | Jun 13 13:06:52.616 INFO Starting GraphQL WebSocket server at: ws://localhost:8001, component: SubscriptionServer
subgraph-graph-node-1  | Jun 13 13:06:52.617 INFO Starting metrics server at: http://localhost:8040, component: MetricsServer

My configuration is here https://github.com/TelediskoDAO/subgraph/tree/fix/7/evmos-compatibility
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Hopefully running my repo will give you the same result.

If I delete ./data (that contains ipfs and postgres data) I still have the issue. If I remove all containers then it starts from scratch again.

I'm having the same issue with a local hardhat node

Same here, any solution???

When graph-node connects to a configured network, it issue a JSON-RPC request to get genesis block hash: curl -H 'Content-Type: application/json' -d '{"params":["0x0",false],"method":"eth_getBlockByNumber","jsonrpc":"2.0","id":"0x1"}' <provider_url>.
The first time it sees this network, it saves the received block's hash into the database as the network's genesis block hash. The next and upcoming times graph-node restarts, it reconnects again to a provider of the network  and issue the same request. If the received block hash is different than the one saved in database, it complains.
I used https://eth.bd.evmos.dev:8545 to issue the initial request and it complains that available height is 709050
{"jsonrpc":"2.0","id":"0x1","error":{"code":-32000,"message":"height 1 is not available, lowest height is 709050"}}

So it's rather strange as the request seems to fail here.  Maybe you have GRAPH_ETHEREUM_GENESIS_BLOCK_NUMBER set, in this case if this value changed over 2 restart, it will cause the shown error.
From the error message, it says that:

Blockc1d935da5a718994263a95c6e811b869b2f4225638a85d34520af70176dab6c0:
curl -s -H 'Content-Type: application/json' -d '{"params":["0xc1d935da5a718994263a95c6e811b869b2f4225638a85d34520af70176dab6c0",false],"method":"eth_getBlockByHash","jsonrpc":"2.0","id":"0x1"}' https://eth.bd.evmos.dev:8545 | jq -r '"\(.result.number)"' | to_dec
1671525

Changed to 0x64ebab8b5ca43670c08744902bece6feb9e4b2fd2af998091be7eb4fc8bfd4cb:
curl -s -H 'Content-Type: application/json' -d '{"params":["0x64ebab8b5ca43670c08744902bece6feb9e4b2fd2af998091be7eb4fc8bfd4cb",false],"method":"eth_getBlockByHash","jsonrpc":"2.0","id":"0x1"}' https://eth.bd.evmos.dev:8545 | jq -r '"\(.result.number)"' | to_dec
1 715 751

So either by misconfiguration of `GRAPH_ETHEREUM_GENESIS_BLOCK_NUMBER` or by a a wrong inconsistent JSON-RPC response from one (or different) providers, the response of `curl -H 'Content-Type: application/json' -d '{"params":["0x0",false],"method":"eth_getBlockByNumber","jsonrpc":"2.0","id":"0x1"}' <provider_url>` over 2 or more starts of `graph-node` led to different block hash being returned.

I'll close as not a bug until further evidence shows the contrary. Don't hesitate to continue the conversation for further investigation.

I think the initial block hash is stored in the container settings the first time the containers run. Deleting the containers solve the problem. Deleting the mapped volume does not.
Solution:
docker-compose down
docker container prune

Solution :
docker-compose rm -f
docker-compose pull
docker-compose up --build -d

I'm seeing this issue happen in production for fantom, what's the right way to fix it?
Jan 05 13:00:00.269 ERRO the genesis block hash for chain fantom has changed from<PHONE_NUMBER>0003e83fddf1e9330f0a8691d9f0b2af57b38c3bb85488488a40df to 0x0000000000000000c20dbfb2ec18ae20037c716f3ba2d9e1da768a9deca17cb4 since the last time we ran, component: BlockStore


Bug: Unable to compile package generated by smithy-typescript

After creating a NPM package using software.amazon.smithy.typescript:smithy-typescript-codegen:0.8.0, we can run npm install, but we get the following error while running npm run build:

../../../../../../node_modules/@types/pino-pretty/index.d.ts:8:10 - error TS2614: Module '"pino"' has no exported member 'LogDescriptor'. Did you mean to use 'import LogDescriptor from "pino"' instead?
8 import { LogDescriptor } from "pino";
~~~~~~~~~~~~~
../../../../../../node_modules/@types/pino/index.d.ts:197:8 - error TS2709: Cannot use namespace 'SonicBoom' as a type.
197     ): SonicBoom;
~~~~~~~~~
../../../../../../node_modules/@types/pino/index.d.ts:205:57 - error TS2709: Cannot use namespace 'SonicBoom' as a type.
205     function extreme(fileDescriptor?: string | number): SonicBoom;
~~~~~~~~~
Found 3 errors.
error Command failed with exit code 2.

We were able to fix it by modifying our smithy-build.json file with @types/pino dependency:
"packageJson": {
  "license": "UNLICENSED",
  "devDependencies": {
    "downlevel-dts": "0.7.0",
    "rimraf": "^3.0.0",
    "typescript": "^4.4.4",
    "@types/node": "^12.7.5",
    "@types/pino": "6.3.12"
  }
}

There's no reference to pino in any of our code generators in this repository or aws-sdk-js-v3, so the generated code can't have a reference to it. Are you manually adding code to your client package to reference it?

No, we are using the typescript codegen plugin as is, but there is some internal reference to the @types/pino and not the pino library itself. You can reproduce the error by building from this commit here and you will see the exact message I posted into this issue.

The linked commit is forked off of a sample package I set up to mess around with the dev experience. After making a few changes to the various package.jsons to point at the correct generated folders (full diff at [1]), npm run build in the root of the project runs without issue, which generates and compiles all of the code in the project.
Right now all of the generated packages expect yarn to be the package manager used, so even npm run build will delegate to yarn. In the 0.9 version of the generator we are introducing a configuration option to generate npm-only packages with no dependency on yarn.
In any event, I've been unable to reproduce against that commit, and there are no occurrences of pino in the source of either of the repositories for our code generators.
[1]
diff --git a/model/build.gradle b/model/build.gradle
index 17db2e2..6cce7d6 100644
--- a/model/build.gradle
+++ b/model/build.gradle
@@ -17,6 +17,9 @@ buildscript {
     repositories {
         mavenCentral()
     }
+    dependencies {
+       classpath("software.amazon.smithy:smithy-cli:1.15.0")
+    }
 }

 plugins {
diff --git a/server/package.json b/server/package.json
index a62efde..34c4fcb 100644
--- a/server/package.json
+++ b/server/package.json
@@ -14,8 +14,9 @@
     "pretest": "yarn build",
     "test": "jest",
     "generate-ssdk": "cd codegen && ./gradlew clean build",
-    "build:ssdk": "cd codegen/build/smithyprojections/codegen/ts-server/typescript-ssdk-codegen && yarn install && yarn build",
-    "regenerate:ssdk": "yarn generate-ssdk && yarn build:ssdk",
+    "build:compute-ssdk": "cd codegen/build/smithyprojections/codegen/compute-server/typescript-ssdk-codegen && yarn install && yarn build",
+    "build:string-ssdk": "cd codegen/build/smithyprojections/codegen/string-server/typescript-ssdk-codegen && yarn install && yarn build",
+    "regenerate:ssdk": "yarn generate-ssdk && yarn build:compute-ssdk && yarn build:string-ssdk",
     "build": "yarn regenerate:ssdk && tsc && jest",
     "prepare": "cd .. && husky install server/.husky"
   },
@@ -25,6 +26,7 @@
   "dependencies": {
     "@aws-smithy/server-apigateway": "^1.0.0-alpha.3",
     "@aws-smithy/server-common": "^1.0.0-alpha.3",
+    "@smithy-demo/compute-service-ssdk": "workspace:server/codegen/build/smithyprojections/codegen/compute-server/typescript-ssdk-codegen",
     "@smithy-demo/string-wizard-service-ssdk": "workspace:server/codegen/build/smithyprojections/codegen/string-server/typescript-ssdk-codegen",
     "@types/aws-lambda": "^8.10.85"
   },
@@ -63,6 +65,6 @@
   },
   "workspaces": [
     "codegen/build/smithyprojections/codegen/string-server/typescript-ssdk-codegen",
-    "codegen/build/smithyprojections/codegen/compute-service/typescript-ssdk-codegen"
+    "codegen/build/smithyprojections/codegen/compute-server/typescript-ssdk-codegen"
   ]
 }
diff --git a/typescript-client/package.json b/typescript-client/package.json
index 17d06cc..8089d15 100644
--- a/typescript-client/package.json
+++ b/typescript-client/package.json
@@ -8,14 +8,16 @@
   "private": true,
   "scripts": {
     "generate": "cd codegen && ./gradlew clean build",
-    "build:client": "cd codegen/build/smithyprojections/codegen/ts-client/typescript-codegen && yarn install && yarn build",
-    "build": "yarn generate && yarn build:client && tsc"
+    "build:compute-client": "cd codegen/build/smithyprojections/codegen/compute-client/typescript-codegen && yarn install && yarn build",
+    "build:string-client": "cd codegen/build/smithyprojections/codegen/string-client/typescript-codegen && yarn install && yarn build",
+    "build": "yarn generate && yarn build:compute-client && yarn build:string-client && tsc"
   },
   "bin": {
     "str-length": "./dist/length.js"
   },
   "dependencies": {
-    "@smithy-demo/string-client": "workspace:typescript-client/codegen/build/smithyprojections/codegen/ts-client/typescript-codegen"
+    "@smithy-demo/compute-client": "workspace:typescript-client/codegen/build/smithyprojections/codegen/compute-client/typescript-codegen",
+    "@smithy-demo/string-client": "workspace:typescript-client/codegen/build/smithyprojections/codegen/string-client/typescript-codegen"
   },
   "devDependencies": {
     "@tsconfig/node12": "^1.0.9",
diff --git a/yarn.lock b/yarn.lock
index 3a8d56d..9d6173c 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2189,9 +2189,90 @@ __metadata:
   languageName: node
   linkType: hard

-"@smithy-demo/string-client@workspace:typescript-client/codegen/build/smithyprojections/codegen/ts-client/typescript-codegen":
+"@smithy-demo/compute-client@workspace:typescript-client/codegen/build/smithyprojections/codegen/compute-client/typescript-codegen":
   version: 0.0.0-use.local
-  resolution: "@smithy-demo/string-client@workspace:typescript-client/codegen/build/smithyprojections/codegen/ts-client/typescript-codegen"
+  resolution: "@smithy-demo/compute-client@workspace:typescript-client/codegen/build/smithyprojections/codegen/compute-client/typescript-codegen"
+  dependencies:
+    "@aws-crypto/sha256-browser": 2.0.0
+    "@aws-crypto/sha256-js": 2.0.0
+    "@aws-sdk/config-resolver": 3.40.0
+    "@aws-sdk/fetch-http-handler": 3.40.0
+    "@aws-sdk/hash-node": 3.40.0
+    "@aws-sdk/invalid-dependency": 3.40.0
+    "@aws-sdk/middleware-content-length": 3.40.0
+    "@aws-sdk/middleware-host-header": 3.40.0
+    "@aws-sdk/middleware-logger": 3.40.0
+    "@aws-sdk/middleware-retry": 3.40.0
+    "@aws-sdk/middleware-serde": 3.40.0
+    "@aws-sdk/middleware-stack": 3.40.0
+    "@aws-sdk/middleware-user-agent": 3.40.0
+    "@aws-sdk/node-config-provider": 3.40.0
+    "@aws-sdk/node-http-handler": 3.40.0
+    "@aws-sdk/protocol-http": 3.40.0
+    "@aws-sdk/service-client-documentation-generator": 3.38.0
+    "@aws-sdk/smithy-client": 3.41.0
+    "@aws-sdk/types": 3.40.0
+    "@aws-sdk/url-parser": 3.40.0
+    "@aws-sdk/util-base64-browser": 3.37.0
+    "@aws-sdk/util-base64-node": 3.37.0
+    "@aws-sdk/util-body-length-browser": 3.37.0
+    "@aws-sdk/util-body-length-node": 3.37.0
+    "@aws-sdk/util-user-agent-browser": 3.40.0
+    "@aws-sdk/util-user-agent-node": 3.40.0
+    "@aws-sdk/util-utf8-browser": 3.37.0
+    "@aws-sdk/util-utf8-node": 3.37.0
+    "@types/node": ^12.7.5
+    downlevel-dts: 0.7.0
+    jest: ^26.1.0
+    rimraf: ^3.0.0
+    ts-jest: ^26.4.1
+    tslib: ^2.3.0
+    typedoc: ^0.19.2
+    typescript: ~4.3.5
+  languageName: unknown
+  linkType: soft
+
+"@smithy-demo/compute-service-ssdk@workspace:server/codegen/build/smithyprojections/codegen/compute-server/typescript-ssdk-codegen":
+  version: 0.0.0-use.local
+  resolution: "@smithy-demo/compute-service-ssdk@workspace:server/codegen/build/smithyprojections/codegen/compute-server/typescript-ssdk-codegen"
+  dependencies:
+    "@aws-crypto/sha256-browser": 2.0.0
+    "@aws-crypto/sha256-js": 2.0.0
+    "@aws-sdk/config-resolver": 3.40.0
+    "@aws-sdk/fetch-http-handler": 3.40.0
+    "@aws-sdk/hash-node": 3.40.0
+    "@aws-sdk/invalid-dependency": 3.40.0
+    "@aws-sdk/middleware-content-length": 3.40.0
+    "@aws-sdk/middleware-retry": 3.40.0
+    "@aws-sdk/middleware-serde": 3.40.0
+    "@aws-sdk/middleware-stack": 3.40.0
+    "@aws-sdk/node-http-handler": 3.40.0
+    "@aws-sdk/protocol-http": 3.40.0
+    "@aws-sdk/service-client-documentation-generator": 3.38.0
+    "@aws-sdk/smithy-client": 3.41.0
+    "@aws-sdk/types": 3.40.0
+    "@aws-sdk/url-parser": 3.40.0
+    "@aws-sdk/util-base64-browser": 3.37.0
+    "@aws-sdk/util-base64-node": 3.37.0
+    "@aws-sdk/util-body-length-browser": 3.37.0
+    "@aws-sdk/util-body-length-node": 3.37.0
+    "@aws-sdk/util-utf8-browser": 3.37.0
+    "@aws-sdk/util-utf8-node": 3.37.0
+    "@aws-smithy/server-common": 1.0.0-alpha.3
+    "@types/node": ^12.7.5
+    downlevel-dts: 0.7.0
+    jest: ^26.1.0
+    rimraf: ^3.0.0
+    ts-jest: ^26.4.1
+    tslib: ^2.3.0
+    typedoc: ^0.19.2
+    typescript: ~4.3.5
+  languageName: unknown
+  linkType: soft
+
+"@smithy-demo/string-client@workspace:typescript-client/codegen/build/smithyprojections/codegen/string-client/typescript-codegen":
+  version: 0.0.0-use.local
+  resolution: "@smithy-demo/string-client@workspace:typescript-client/codegen/build/smithyprojections/codegen/string-client/typescript-codegen"
   dependencies:
     "@aws-crypto/sha256-browser": 2.0.0
     "@aws-crypto/sha256-js": 2.0.0
@@ -2235,9 +2316,9 @@ __metadata:
   languageName: unknown
   linkType: soft

-"@smithy-demo/string-wizard-service-ssdk@workspace:server/codegen/build/smithyprojections/codegen/ts-server/typescript-ssdk-codegen":
+"@smithy-demo/string-wizard-service-ssdk@workspace:server/codegen/build/smithyprojections/codegen/string-server/typescript-ssdk-codegen":
   version: 0.0.0-use.local
-  resolution: "@smithy-demo/string-wizard-service-ssdk@workspace:server/codegen/build/smithyprojections/codegen/ts-server/typescript-ssdk-codegen"
+  resolution: "@smithy-demo/string-wizard-service-ssdk@workspace:server/codegen/build/smithyprojections/codegen/string-server/typescript-ssdk-codegen"
   dependencies:
     "@aws-crypto/sha256-browser": 2.0.0
     "@aws-crypto/sha256-js": 2.0.0
@@ -7819,7 +7900,8 @@ __metadata:
     "@aws-cdk/core": 1.134.0
     "@aws-smithy/server-apigateway": ^1.0.0-alpha.3
     "@aws-smithy/server-common": ^1.0.0-alpha.3
-    "@smithy-demo/string-wizard-service-ssdk": "workspace:server/codegen/build/smithyprojections/codegen/ts-server/typescript-ssdk-codegen"
+    "@smithy-demo/compute-service-ssdk": "workspace:server/codegen/build/smithyprojections/codegen/compute-server/typescript-ssdk-codegen"
+    "@smithy-demo/string-wizard-service-ssdk": "workspace:server/codegen/build/smithyprojections/codegen/string-server/typescript-ssdk-codegen"
     "@tsconfig/node14": ^1.0.1
     "@types/aws-lambda": ^8.10.85
     "@types/jest": ^26.0.24
@@ -7876,7 +7958,8 @@ __metadata:
   version: 0.0.0-use.local
   resolution: "string-wizard-service-client-build@workspace:typescript-client"
   dependencies:
-    "@smithy-demo/string-client": "workspace:typescript-client/codegen/build/smithyprojections/codegen/ts-client/typescript-codegen"
+    "@smithy-demo/compute-client": "workspace:typescript-client/codegen/build/smithyprojections/codegen/compute-client/typescript-codegen"
+    "@smithy-demo/string-client": "workspace:typescript-client/codegen/build/smithyprojections/codegen/string-client/typescript-codegen"
     "@tsconfig/node12": ^1.0.9
     rimraf: ^3.0.0
     typescript: ~4.3.5

I apologize, because a global package on my local machine that was causing that issue (for some unknown reason, it is trying to resolve that type during compilation).


Can't run any commands

When I try to use any of the commands it simply shows an error that the command doesn't exist:

command 'CallGraph.showIncomingCallGraph' not found

I've tried this on both Windows and MacOS, both give the same error

Can confirm it is indeed working now, many thanks!


java.lang.NoClassDefFoundError

Hello. We spoke with you on this thread http://apache-poi.1045710.n5.nabble.com/Android-Proguard-Apache-POI-tc5727688.html. I added in project:
    System.setProperty("org.apache.poi.javax.xml.stream.XMLInputFactory", "com.fasterxml.aalto.stax.InputFactoryImpl");
    System.setProperty("org.apache.poi.javax.xml.stream.XMLOutputFactory", "com.fasterxml.aalto.stax.OutputFactoryImpl");
    System.setProperty("org.apache.poi.javax.xml.stream.XMLEventFactory", "com.fasterxml.aalto.stax.EventFactoryImpl");

At first in MainActivity.onCreate then tried to add in IntentService onHandleIntent, but I get the error :
java.lang.NoClassDefFoundError: Failed resolution of: Ljava/awt/font/FontRenderContext;
at org.apache.a.e.d.k.(SourceFile:110)
at org.apache.a.g.b.a.(SourceFile:117)
at org.apache.a.g.b.f.(SourceFile:79)
at org.apache.a.g.b.g.b(SourceFile:652)
at org.apache.a.g.b.g.a(SourceFile:673)

Unfortunately, current releases of POI added more dependencies on this class, but it is not available at all on Android. I need to come up with a way to shade this one into the big jar, for now it might help to use a bit older version of POI.

Thank you

I did take a closer look, unfortunately some things in POI currently really require stuff from java.awt. I can try to work around some of these Problems, but some are simply not fixable easily because they use lots of functionality from java.awt, especially things like PPTX drawing, column autosizing and some others.

thank you for your big job. I understand this is a hard work. It means we can't use all excel features (+proguard) at current time?

Yes, currently it is quite limited, I plan to work some more on this, either on the POI side to use less things from java.awt or on the poi-on-android side by including some java.awt replacement classes and shading POI accordingly, but it is a timely job to work on this and I lack the time for this right now, so I cannot promise when the situation will finally improve here.
One thing that would help would be to send PRs which add more stuff to the test-application here so it is easier for me to verify if any solution actually improves things.

I used the above method,but i got the same error again. When i delete the "shareduserid" in AndroidManifest,it work.I don't know the reason.

The shaded jar now includes a simple version of java.awt.Font to make some of the things work, other things are likely not easily possible because Android is missing full java.awt support. Thus I am closing this one, please open new issues for things that you are still missing around java.awt.* classes so I can evaluate if it is possible to support it.


[vision] Migrate @azure-rest/ai-vision-image-analysis to ESM/vitest

Packages impacted by this PR

@azure-rest/ai-vision-image-analysis

Issues associated with this PR

https://github.com/Azure/azure-sdk-for-js/issues/31338

Describe the problem that is addressed by this PR
Migrates the @azure-rest/ai-vision-image-analysis package to ESM/vitest via automaion.
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[ ] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

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


Fix support for Graceful restart effecter

The termination status effecter when set to Graceful restart
state should request the state manager to start the GracefulWarmReboot
NOT the ForceWarmReboot.
ForeWarmReboot target would not trigger the pldm-softoff application,
so it forcefully shuts down the host rather than waiting for it to
acknowledge.
Signed-off-by: Manojkiran Eda<EMAIL_ADDRESS>Change-Id: I769dfc57a34e0938f3ca317db0eca8d6b85e7566

upstream commit : https://gerrit.openbmc-project.xyz/c/openbmc/pldm/+/51636

Fixes : SW544905


Storybook 6.4.0 - TypeError: Cannot read properties of undefined (reading 'removeAllListeners')

When updating my project to storybook 6.4.0 I am getting a TypeError: Cannot read properties of undefined (reading 'removeAllListeners') error message when running creevey:

@wKich is there anything I could help with, or could you eventually point me in the right direction so I could provide a fix myself?

+1 would be nice to be able to use storybook 6.4
We're using 6.3 for now as creevey is too useful for us compared to the alternatives

+1 we wanted to give a try to creevey but won't roll back to SB 6.3 just for this :(

Oh... I really didn't know, that so many projects use Creevey :) I'm so sorry folks for the huge delay. There were pretty busy the last few months. It's very hard to maintain the current flow for interactive tests and story extraction in Creevey (especially this one https://github.com/wKich/creevey/blob/master/src/server/loaders/babel/helpers.ts). So I want to simplify things a little bit, according to the new feature interactive-stories. There is no reason to parse stories and execute tests in Creevey's backend. All that I need to do is grab stories from a browser, provide capturing screenshot endpoint, so it can be executed from the browser. But the problem is, the test's format will be changed.
I'll try to do all my best to make Creevey works with SB6.4

@wKich if we can supply any PRs for any specific functionality or you can lay out a plan of how to do the migration we can contribute.

@wKich is there any documentation available on how to contribute. I tried to fork creevey to try to fix the problem myself, unfortunately I am a bit lost on how to even start creevey, because yarn start does not work on the main branch on my machine.

I am a bit lost on how to even start creevey, because yarn start does not work on the main branch on my machine.

@Perni1984 Maybe you need to install run-p globally as it's not included in dev deps.

Hi @wKich
Just wondering if any progress has been made on this? Thanks a lot.

I appreciate you for all your patient.
I added support for CSFv3 and added capture API for play() method of story. https://github.com/wKich/creevey/pull/187
Soon there will be a small fix for Storybook 6.4 and then I'll release new beta version.
PS I know that I don't have so much time to maintain whole project, update docs, implement new features and promote it. Because it's not my primary job and I don't earn any profits from it except the support that I and how important Creevey became for all of you. So I'd like if someone has a little time to help me continue work on Creevey. Please join into discord so we are able to discuss any details. Even if you can't help with project, join too, so I'm able to ask your questions.

Hello, I am still seeing this issue. It looks like this was updated in 8.0-beta, but it seems like there was an issue with the build process and that was not packaged.

@mabry1985 you have to pull the beta via yarn add creevey@next

@Perni1984 oh perfect, thank you!


Annotation not being exported

Hi , I am new to CVAT. Started Image labelling using CVAT tool. Steps followed are mentioned below:
Created login & using on chrome window - URL - https://cvat.org/tasks?page=1 (Using windows 10 as operating system)
Created new Project and Task - Created New Labels - Unloaded and loaded blast hole for mining site
Added Photos by Click drag files into this area.
One by one created label/annotation using all JPG/Photos.
After completing job. When exporting annotated/labeled data in Pascal Voc 1.1 or segmentation mask 1.1. It is creating blank files
No details of polygons there inside the folders. Only photos copied back.
Can anyone suggest why export data is not working. Do i need to install CVAT or I need to create local host using IIS manager or making any mistake, your support is highly appreciated
Exporting zip but polygon location not being exporting

Please send your questions about CVAT.org to https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/bd-p/distribution-openvino-toolkit forum. I hope they will help and answer.

Hi Nikita,
Thanks for your reply.Can you help me in this. Really appreciate it
XML generating using online is shown below. not having details of
annotation.
[image: Voc-xml.JPG]
Thanks & Regards
Kailash Chand Jangid
Sr. Photogrammetry Specialist,
http://www.thiess.com,
Mo. No. -<PHONE_NUMBER>8
On Fri, 10 Jun 2022 at 18:39, Nikita Manovich @.***>
wrote:

Please send your questions about CVAT.org to
https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/bd-p/distribution-openvino-toolkit
forum. I hope they will help and answer.
—
Reply to this email directly, view it on GitHub
https://github.com/openvinotoolkit/cvat/issues/4686#issuecomment-1152343398,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJPNMS5QAVCMZDPBS4BPFODVOM475ANCNFSM5YNDDITA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Add rule StatementCouldBeExpression

The change implements the feature requested in #6233.
An if or when statement whose last statement in every branch or entry is either a return or an assignment to the same variable can be an expression.
Converting if and when statements to expressions improves readability by reducing the return and assignment count.

Messages

:book:
Thanks for adding a new rule to detekt :heart:

:white_check_mark:
We detekted that you added tests, to your rule, that's awesome!

:white_check_mark:

We detekted that you updated the default-detekt-config.yml file, that's awesome!

  Generated by :no_entry_sign: dangerJS against 42b24d7249802d20c15361e0a1e6a66b3c9fc138


added config and docs for node/pnpm setup using fnm/corepack

I didn't add the docs for automating some redundant commands when using fnm. Basically when configuring fnm for our shells we can pass some flags to automate commands like fnm install, fnm use, corepack enable etc. Fnm detects the fields engines.node and packageManager in package.json and automatically executes all that for us so that we can start using node and pnpm commands as soon as we change directory into the project.
Fnm doesn't enable all those flags by default for us so we have to do it manually. Here's what we need to add to our ~/.bashrc on unix based systems to make that work(notice the $USER shell environment variable, you can replace it with your user name):
FNM_PATH="/home/$USER/.local/share/fnm"
if [ -d "$FNM_PATH" ]; then
  export PATH="$FNM_PATH:$PATH"
  eval "$(fnm env --corepack-enabled --resolve-engines --use-on-cd --version-file-strategy=recursive)"
fi

The setup should be similar(ish) on other shells and windows/macos. You can add all this in the isograph docs if you want to. Other than that fnm commands are similar to nvm.

LGTM. Two questions:

let's use yarn in the vscode-extension folder. There's a yarn.lock there. (Or switch to pnpm)
When I run fnm use I see: error: Can't find version in dotfiles. Please provide a version manually to the command.. Is this expected? We don't have a .node-version file. If it's expected, can we document that?

When I run fnm use I see: error: Can't find version in dotfiles. Please provide a version manually to the command

Yeah it seems we need to append --resolve-engines flag to both fnm install and fnm use.

It looks like that's because I changed my bash_profile to include eval "$(fnm env --use-on-cd --shell bash)" (as suggested by fnm documentation)

fnm documentation says to do that in ~/.bashrc not in ~/.bash_profile. you use macos do you not? macos uses zsh by default so you'll need to do it in your ~/.zshrc

This project's package.json defines "packageManager": "yarn<EMAIL_ADDRESS>However the current global version of Yarn is 1.22.21.

that's weird? there's no yarn<EMAIL_ADDRESS>in package.json, there's only<EMAIL_ADDRESS>
In particular yarn<EMAIL_ADDRESS>seems sus. Should it just be<EMAIL_ADDRESS>
yeah it should be

Okay awesome, thanks for the clarifications! This should be good to land. Thank you @saminoorsyed  for running through these as well
Re- yarn or npm in vscode extension. The instructions say to yarn in there, so after i land I'll just update the package JSON to use yarn

Re- yarn or npm in vscode extension. The instructions say to yarn in there, so after i land I'll just update the package JSON to use yarn

I would suggest using pnpm throughout the codebase including the vs code extension instead of having to switch to npm or yarn otherwise it could result in problems later on.

Okay! That's a good call. I think it's only using yarn because that's what
happened to be done in the Relay vscode extension, and I know for a fact we
didn't use it for any particular reason
On Tue, Sep 24, 2024 at 10:29 AM adrtivv @.***> wrote:

Re- yarn or npm in vscode extension. The instructions say to yarn in
there, so after i land I'll just update the package JSON to use yarn
I would suggest using pnpm throughout the codebase including the vs code
extension instead of having to switch to npm or yarn otherwise it could
result in problems later on.
—
Reply to this email directly, view it on GitHub
https://github.com/isographlabs/isograph/pull/110#issuecomment-2371466619,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABAUGVLS6APY7G3N42VAVF3ZYFZMNAVCNFSM6AAAAABOUX2A22VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZRGQ3DMNRRHE
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


⚠ Thumbnails API Endpoint has degraded performance

In 35f0da5, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=82738847&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 4080 ms

Resolved: Thumbnails API Endpoint performance has improved in 36e55db after 4 minutes.


[BUG] RKE2 Cluster Not Coming Up After Migrating With RKE2 + k3s Clusters

Rancher Server Setup

Rancher version: v2.6.11-rc9 // v2.6-head ID: ec67e31
Installation option (Docker install/Helm Chart): Helm

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): RKE2 // k3s

Proxy/Cert Details: byo-valid cert

Information about the Cluster

Kubernetes version: RKE2: v1.24.10+rke2r1 // k3s: v1.24.10+k3s1
Cluster Type (Local/Downstream): Downstream

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): EC2

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom): Admin

Describe the bug
When performing a migration to a new HA cluster with the backup/restore operator and one RKE2 and one k3s cluster, the RKE2 cluster never comes back up after migration. The message shown is that it's waiting for the plan to be applied.
To Reproduce

Create an HA cluster
On that HA cluster, provision an RKE2 EKS cluster (3  workers, 2 control plane, 3 etcd) and one k3s EKS cluster (3 workers, 2 control plane, 3 etcd)
While those are provisioning, install the Rancher Backups chart
Once the downstream clusters are done provisioning, create a backup using the Rancher Backups chart
Migrate from HA1 -> HA2 using the backup that was just taken as the restore point for HA2
Once migrated and Rancher is installed, check the cluster management page

Result
The k3s cluster comes up, but the RKE2 cluster is stuck in an Updating status and waiting for a plan to be applied
Expected Result
Both clusters come back to an Active state after the migration
Screenshots

Additional context
This has already been looked into a bit and it appears to be an issue with missing labels and is actually a k3s bug rather than an RKE2 bug.

This has been fixed in 2.6.11/2.7.2 onward.