Put many forms in same $scope and validate for separate.

Hi. I have a problem with form validation. I need to put more than one different forms and validate/send data separate.
I have:
$scope.schema1 = ...
$scope.schema2 = ...
$scope.schema3 = ...
$scope.form1 = ...
$scope.form2 = ...
$scope.form3 = ...
$scope.model1 = ...
$scope.model2 = ...
$scope.model3 = ...
$scope.onSubmitForm1 =function (form)
{
   $scope.$broadcast('schemaFormValidate');  ---> PROBLEM, BROADCAST VALIDATES ALL.
}
$scope.onSubmitForm2 =function (form)
{
   $scope.$broadcast('schemaFormValidate');  ---> PROBLEM, BROADCAST VALIDATES ALL.
}
$scope.onSubmitForm3 =function (form)
{
   $scope.$broadcast('schemaFormValidate');  ---> PROBLEM, BROADCAST VALIDATES ALL.
}

I hope somebody can help me.
Thanks!

I'd say that @mike-marcacci solution sounds good!

I also had this issue and I disagree that multiple controllers is a good solution. Reason being, it drastically increases complexity in some scenarios, such as when you want to share form behavior logic across different parts of the app. It forces you to make multiple controllers all over the place that do nothing but use a single service.

+1, you should not have to declare multiple controllers to manage just one service gets repetitive and goes agains DRY principles


Simplify setting path to Flutter.

Bigger issue: https://github.com/flutter/flutter/issues/122148

[x] initial design: go/setup-path-with-flutter-extension
[x] initial verison

[x] clone flutter if it is missing: https://github.com/Dart-Code/Dart-Code/issues/4532#issuecomment-1611770666
[x] setup path for windows: https://github.com/Dart-Code/Dart-Code/issues/4604
[x] offer link to documentation for manual setup

[ ]  adjustments: go/flutter-setting-path-next-steps
[ ] improvements:

[ ] setup path form macos: https://github.com/Dart-Code/Dart-Code/issues/4612

notes: go/flutter-setting-path-next-steps


issue in

Hi,
I was trying to run the basic example provided here: https://hub.gke2.mybinder.org/user/ibm-infairness-h9o8a789/doc/workspaces/auto-6/tree/examples/adult-income-prediction/adult_income_prediction.ipynb
However I am running into issue :
TypeError                                 Traceback (most recent call last)
Input In [10], in <cell line: 8>()
5 distance_x = distances.LogisticRegSensitiveSubspace()
6 distance_y = distances.SquaredEuclideanDistance()
----> 8 distance_x.fit(X_train, protected_idxs)
9 distance_y.fit(num_dims=output_size)
11 distance_x.to(device)
File /srv/conda/envs/notebook/lib/python3.8/site-packages/inFairness/distances/logistic_sensitive_subspace.py:77, in LogisticRegSensitiveSubspace.fit(self, data_X, data_SensitiveAttrs, protected_idxs, keep_protected_idxs, autoinfer_device)
42 """Fit Logistic Regression Sensitive Subspace distance metric
43
44 Parameters
(...)
73         on CPU.
74 """
76 if data_SensitiveAttrs is not None and protected_idxs is None:
---> 77     basis_vectors_ = self.compute_basis_vectors_data(
78         X_train=data_X, y_train=data_SensitiveAttrs
79     )
81 elif data_SensitiveAttrs is None and protected_idxs is not None:
82     basis_vectors_ = self.compute_basis_vectors_protected_idxs(
83         data_X,
84         protected_idxs=protected_idxs,
85         keep_protected_idxs=keep_protected_idxs,
86     )
File /srv/conda/envs/notebook/lib/python3.8/site-packages/inFairness/distances/logistic_sensitive_subspace.py:164, in LogisticRegSensitiveSubspace.compute_basis_vectors_data(self, X_train, y_train)
161 X_train = datautils.convert_tensor_to_numpy(X_train)
162 y_train = datautils.convert_tensor_to_numpy(y_train)
--> 164 self.assert_sensitiveattrs_binary(y_train)
166 basis_vectors_ = []
167 outdim = y_train.shape[-1]
File /srv/conda/envs/notebook/lib/python3.8/site-packages/inFairness/distances/logistic_sensitive_subspace.py:185, in LogisticRegSensitiveSubspace.assert_sensitiveattrs_binary(self, sensitive_attrs)
183 def assert_sensitiveattrs_binary(self, sensitive_attrs):
--> 185     assert validationutils.is_tensor_binary(
186         sensitive_attrs
187     ), "Sensitive attributes are required to be binary to learn the metric. Please binarize these attributes before fitting the metric."
File /srv/conda/envs/notebook/lib/python3.8/site-packages/inFairness/utils/validationutils.py:19, in is_tensor_binary(data)
5 """Checks if the data is binary (0/1) or not. Return True if it is binary data
6
7 Parameters
(...)
15         True if data is binary. False if not
16 """
18 nonbindata = (data != 0) & (data != 1)
---> 19 has_nonbin_data = True in nonbindata
20 return not has_nonbin_data
TypeError: argument of type 'bool' is not iterable

Hi @ayushi-3536 , thank you for letting us know about the issue. I have fixed the bug in the notebook, and the experiment should work okay now.


Plugin errors after upgrading Netbox to version 3.7.2

As the title states out, we upgraded Netbox from 3.3.1 to 3.7.2.
In 3.3.1 no issues were recognized.
During the upgrade process of netbox ( at the step where upgrade.sh is triggered see: https://docs.netbox.dev/en/stable/installation/upgrading/ ) we received the first errors:
Applying database migrations (python3 netbox/manage.py migrate)...
SystemCheckError: System check identified some issues:

ERRORS:
nextbox_ui_plugin.SavedTopology.created_by: (fields.E300) Field defines a relation with model 'users.AdminUser', which is either not installed, or is abstract.
nextbox_ui_plugin.SavedTopology.created_by: (fields.E307) The field nextbox_ui_plugin.SavedTopology.created_by was declared with a lazy reference to 'users.adminuser', but app 'users' doesn't provide model 'adminuser'.

I was able to successfully do the netbox upgarde by disabling the plugin in the configuration.py. Then I re-enabled the plugin. But as soon as netbox-rq is getting started started the very same errors appear in the logs:
Feb 21 11:34:58 netbox-prod-web systemd[1]: Started NetBox Request Queue Worker.
Feb 21 11:35:04 netbox-prod-web python3[4116059]: SystemCheckError: System check identified some issues:
Feb 21 11:35:04 netbox-prod-web python3[4116059]: ERRORS:
Feb 21 11:35:04 netbox-prod-web python3[4116059]: nextbox_ui_plugin.SavedTopology.created_by: (fields.E300) Field defines a relation with model 'users.AdminUser', which is either not installed, or is abstr>
Feb 21 11:35:04 netbox-prod-web python3[4116059]: nextbox_ui_plugin.SavedTopology.created_by: (fields.E307) The field nextbox_ui_plugin.SavedTopology.created_by was declared with a lazy reference to 'users>

The netbox-rq service is diing periodically.
env) root@netbox-prod-web:/opt# pip3 install nextbox-ui-plugin
Requirement already satisfied: nextbox-ui-plugin in ./netbox-3.7.2/venv/lib/python3.8/site-packages (0.13.0)

Any remarks on this?

I can confirm that I'm seeing the same thing with a new install with Netbox 3.7.3.

I have forked, updated for 3.7 and re-published the plugin as netbox-topology-plugin.
I have not made an effort to import in any existing plugin settings though, however if you want you could simply dump the old table and import it into the new table.

I am not able to clone the repo:
remote: Repository not found.
fatal: repository 'https://github.com/DanSheps/netbox-topology-plugin-plugin/' not found

I managed to install the forked repo from @DanSheps using netbox-topology-plugin instead of netbox-topology-plugin-plugin

thanks Bogdan, that was actually the issue - didn't validate it, just copy/paste

Thanks everyone for you patience. I've just released a compatibility fix for NetBox 3.6, 3.7, and newly released 4.0.


Grounds for appeal step scaffolding and basic setup.

This step will hold a text area and a file chooser to upload a document.

@zheileman Looks good – let's have @digitalronin look at it as well.

Awesome – LGTM 🎉


Upgrade Numpy to 1.19 for Python 3.9 support

Following https://github.com/rapidsai/cucim/pull/196, it seems like Numpy 1.18 is not enough for Python 3.9 and we need to upgrade to Numpy 1.19

@gpucibot merge


Add Message for Crud Action

This PR deals with modifying the Super Scaffolding code so when we run bin/super-scaffold crud, additional message prints out with the help message saying Testing the Bullet Train contribution process

🙏🏻💪🏻


jemalloc maybe incompatible with some aarch64 CPUs

I can't run our ARM builds on a Cortex-A57
[/share/Download] # ./databroker/databroker
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
memory allocation of 5 bytes failed
Aborted
[/share/Download] # cat /proc/cpuinfo
processor	: 0
model name	: Annapurna Labs Alpine AL324 Quad-core ARM Cortex-A57 CPU @ 1.70GHz
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x1
CPU part	: 0xd07
CPU revision	: 3

processor	: 1
model name	: Annapurna Labs Alpine AL324 Quad-core ARM Cortex-A57 CPU @ 1.70GHz
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x1
CPU part	: 0xd07
CPU revision	: 3

processor	: 2
model name	: Annapurna Labs Alpine AL324 Quad-core ARM Cortex-A57 CPU @ 1.70GHz
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x1
CPU part	: 0xd07
CPU revision	: 3

processor	: 3
model name	: Annapurna Labs Alpine AL324 Quad-core ARM Cortex-A57 CPU @ 1.70GHz
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x1
CPU part	: 0xd07
CPU revision	: 3

Found this
https://github.com/jemalloc/jemalloc/issues/467
Need to investigate, however if there is a hard dependency on the build system, maybe making jemalloc optional is better.
I think we should not start shipping builds for different pagesizes, as most users would likely not even know what there's is

Fixed in #468


How to change GTM ID dynamically?

I need to use different GTM IDs acording to my routes.
Is the only possible configuration via defineNuxtConfig or could i configure it using a composable, for example?

Hey, i had the same request. There are two options. I did the second for my case so not 100% sure the first will work but should.

This package merge the nuxt config gtm: {} with the current nuxt public runtime config public.gtm: {} see in module.ts

const moduleOptions: ModuleOptions = defu(nuxt.options.runtimeConfig.public.gtm, options)

    nuxt.options.runtimeConfig.public.gtm = moduleOptions

You should can just set the id in runtime config instead of the module config. So in runtimeConfig.public.gtm.id and then set the environment variable NUXT_PUBLIC_{whatever} in your environment to overwrite the value

Use the package @gtm-support/vue-gtm directly and create your own plugin so you can initialise the gtm instance in the plugin where you have control on the runtime config

Thank you, @devonik !
I don't know yet wich will be better for my project. But i think both solutions will work.
I am still to understand how lots of thinks work in Nuxt.
Would you mind sharing your plugin so i can learn and create my own solution for my needs?


Response UI section  should show different response formats - json/xml/html etc.

@rka12 Can you finish this one on priority?
Assigned to @rka12

@rka12  Tested http://httpbin.org/html after PR #365 . HTML working fine.


Add no thrown exception support to parse

This PR adds support for parse to not throw exceptions.  Use similar pattern as std::experimental::filesystem where overload that takes in std::error_code& does not throw an exception.
Did not add new tests as changes to existing tests provide full coverage of new codepath.
NOTE: accidentally branched from https://github.com/nlohmann/json/pull/795, ignore that for now.

Coverage decreased (-0.03%) to 99.966% when pulling 6fbe924602377e3cdc7ed3bc873b4b072af39c2e on jseward:add_error_code into 1b1bd0e3e63ab66720fef5d30b7c16177c0d6e17 on nlohmann:develop.

Coverage remained the same at 100.0% when pulling b9c8842117ddaa0d70df4666d23ef729b4549b7f on jseward:add_error_code into 1b1bd0e3e63ab66720fef5d30b7c16177c0d6e17 on nlohmann:develop.

Hey there. I am a bit confused about this PR. Can someone please provide a brief explanation on the benefits?

LOL wtf? A stale bot?


feat: customize gauge in dashboard config

Overview
This PR is for #2634
Added config panel changes for gauge component as per UX.
Verifying Changes
https://github.com/awslabs/iot-app-kit/assets/139960352/e6fe5bc5-8318-46c3-a8f1-1da7488a5a49
Legal
This project is available under the Apache 2.0 License.

looks so good! tested it out next to some other widgets and you can see how every time the data changes, the Gauge will animate filling up form 0%
could you try to animate from its previous value instead and if that's not possible then disable the animations entirely
https://github.com/awslabs/iot-app-kit/assets/28601414/d679b20e-2d54-4c93-8915-f9ba97636a92

looks so good! one minor bug and one slightly bigger one

the Label font size doesn't appear to be doing anything to change the property name's font size
tested it out next to some other widgets and you can see how whenever the data changes, the Gauge will animate filling up from 0% every time. here's a video showing the bug:
https://github.com/awslabs/iot-app-kit/assets/28601414/d679b20e-2d54-4c93-8915-f9ba97636a92

could you change that to animate from its previous value instead and if that's not possible then disable the animations entirely

Previously label font size is works for lables(10, 20, 30, 40...etc) which are outside arc when there are thresholds. Now I updated it to title(Properties name).
In my local it was working for me but anyway I make valueAnimation as false. Please check and confirm.

Deleting a threshold doesn't remove it from the widget:

And then interacting with any widget settings after removing the widget (changing from raw data to average count in this image below) makes double text appear:

Changing the property's label through Properties Panel => Property => Label makes the widget rerender every few seconds. You can see the issue in the video below:
https://github.com/awslabs/iot-app-kit/assets/28601414/04a68c5a-63a6-4020-89db-1298f2f188fb

LGTM! will approve and merge once conflicts are solved :)

LGTM! will approve and merge once conflicts are solved :)

Resolved conflicts, thanks :)


Spin Boson Model

What should we add?
We would like to extend the lattice models also to support the Spin-Boson as in Miessen et al .

Blocked by #958


Unset failed flag when recording stage start

Multiple builds could run for the same commit -- we allow manual rebuilds and
also run builds for latest failed commits, when restarting current-bench. So, a
previously failed build could succeed in future. This commit explicitly unsets
failed to false when starting a specific stage.
Closes #237

Could we set the failed=false in setup_metadata, just like we erase the build and job id there?


Initial render with isOpen={true} does not open the menu

When I do
<SideMenu menu={<Menu />} isOpen={true}>
  <Content />
</SideMenu>

I would expect the menu to be open on start up but it's not.

Released in 0.17.1

Confirming that this works. Thanks!


feat: transition to Checking before Disconnected

Opening this as a more concrete discussion ground for the patch being talked about in https://github.com/algesten/str0m/issues/486.

@algesten What is your appetite for merging this? I am hitting this now again in the context of a peer-reflexive candiate getting replaced with a regular one.
In case the peer-reflexive candidate was already nominated, we will flip to disconnected despite us checking the new candidate.

Whilst doable, it is a bit annoying to implement and in the case of a real disconnection, harms the user experience because we can't give feedback until the additional timer expires.

Does your solution deal with road warriors on mobile data? If so, you could easily be in a situation where you reach Disconnected without being disconnected (and it coming back). We see the exact same thing when implementing browser WebRTC clients. Knowing that something is definitely disconnected is not something ICE can help you with. It's better to go "Reconnecting…" after some timeout to avoid flapping.
(from #486)

Currently, we treat Disconnected as a hard error and clean up our connection state. That is simple to understand which is why I'd like to keep it.

My worry here is that your need comes from a design decision where you want to treat Disconnected as a hard error when that's not what it is even in the ICE spec. I don't think we should land functionality to try and fix something that goes against how ICE works.
My preference is to stick close to WebRTC, but if it's super important to you, I don't think this PR would break anything, so we could potentially land it.

For example in our codebase, we are letting our connection stick around for 30 or 45 seconds when we get a disconnect. In case clients shows up again.

Whilst doable, it is a bit annoying to implement and in the case of a real disconnection, harms the user experience because we can't give feedback until the additional timer expires.

Does your solution deal with road warriors on mobile data? If so, you could easily be in a situation where you reach Disconnected without being disconnected (and it coming back). We see the exact same thing when implementing browser WebRTC clients. Knowing that something is definitely disconnected is not something ICE can help you with. It's better to go "Reconnecting…" after some timeout to avoid flapping.

100%. Reliable roaming is something that we really care about. Especially because for relayed connections, deploying new relays is basically like roaming so we need this to work reliably to not interrupt our users every time we deploy. The way it works is that the client applications listen for system-specific events whenever network interfaces change. When that happens, we reset all connections and establish new ones, i.e. we discard all IceAgents and rebind our sockets to new ports (and potentially new interfaces).
Because our application is an IP-tunnel, this means the layered connection is essentially "reconnecting" (i.e. TCP packets will start to get retransmitted by the kernel etc). We use those packets as "intents" that we need to set up a new ICE connection.

Currently, we treat Disconnected as a hard error and clean up our connection state. That is simple to understand which is why I'd like to keep it.

My worry here is that your need comes from a design decision where you want to treat Disconnected as a hard error when that's not what it is even in the ICE spec. I don't think we should land functionality to try and fix something that goes against how ICE works.

I don't think it is against the ICE spec per se. Admittedly, I've not dealt with it as much as you have but in my experience, ICE isn't very good at repairing connection state during roaming or when network conditions actually change, at least not without being told about it. An ICE restart is basically what we are doing except that we just make an entire new agent to begin with. What happens in most cases is that the network link is dead and you can only detect it because X STUN messages have timed out.
For those cases where it is really just intermittent packet loss, the bit that we actually care about is for how long we tolerate that. This is where we get to this:

For example in our codebase, we are letting our connection stick around for 30 seconds when we get an ICE disconnect. In case clients shows up again.

The bit that I don't understand with this approach is: What is the difference between the configured STUN timeout + adding 30 seconds on top vs re-configuring the IceAgent timeouts to give you the duration you want?
str0m's default are 9 STUN messages with a 3s interval and after 50% missing responses we probe more quickly (or something like that). Effectively, it results in a timeout of ~12s I think. For us, that is a bit too long, so we tweak those values in our application. If you can tolerate a longer partition, then you can tweak them upwards and allow up to 15 or 20 missed STUN requests.
Eventually though, there needs to be a timeout. It seems redundant to me to re-implement this on top of str0m when str0m has it already built in.

The main thing that this PR is changing is that:

if we have a nominated candidate pair
and we invalidate that for whatever reason (because it e.g. was a based on a peer-reflexive candidate)
and we still have candidate pairs whose status we don't know yet

Then we transition back to Checking instead of Disconnected.

If this PR is not desired, would you accept a PR that exposes a more fine-granular state on the IceAgent that allows me to check whether or not we are still testing candidates? Then I could implement a check myself to wait for Completed before acting on the disconnected event.

Let's land this PR. I think it's ok.

Let's land this PR. I think it's ok.

Awesome! Would you like me to add a test for it?
Also, I am just changing over our dependency to the fork to test drive this a bit more. We used to have this in our fork and the tests were pretty stable so I am pretty confident that the flakiness come with depending on str0m mainline a couple of days ago.
Better be sure though. Will ping once ready!

Having an integration test that validates the disconnect would be nice together with example how to configure the timeouts.

Having an integration test that validates the disconnect would be nice together with example how to configure the timeouts.

I added a failing test. The setup is a bit peculiar but it because we need an additional set of candidates. It should demonstrate the problem nicely though.
Regarding the documentation, I think we may need an additional PR to expose the ice timeout config added in https://github.com/algesten/str0m/pull/537 on the RtcConfig before that can be used there. Unless you are using the IceAgent directly too, then you can just use the exposed config options.

Looks good! Let's merge it!


Bump go dependencies to 0.4.0-rc3

lighthouse
submariner
admiral (indirect dependencies)

Signed-off-by: Miguel Angel Ajo<EMAIL_ADDRESS>

https://github.com/submariner-io/submariner-operator/pull/480#pullrequestreview-434847803
Dropping in favor of that one ^


Tests using web-test-runner fail on multi project apps

Command
test
Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
If you create a new angular app with two projects, and try to run the unit tests using web-test-runner, the spec files cannot be located.
Minimal Reproduction

Create a new angular app with two projects.

ng new my-workspace --no-create-application
cd my-workspace
ng generate application my-app
ng generate application my-app2

Use the web-test-runner
npm install @web/test-runner -D
Replace @angular-devkit/build-angular:karma by @angular-devkit/build-angular:web-test-runner in angular.json

Rune the unit tests
ng test

Exception or Error
NOTE: The Web Test Runner builder is currently EXPERIMENTAL and not ready for production use.
The 'assets' option is not yet supported by this builder.
The 'styles' option is not yet supported by this builder.
The 'inlineStyleLanguage' option is not yet supported by this builder.
The 'stylePreprocessorOptions' option is not yet supported by this builder.
The 'sourceMap' option is not yet supported by this builder.
The 'progress' option is not yet supported by this builder.
The 'preserveSymlinks' option is not yet supported by this builder.
Application bundle generation failed. [2.082 seconds]

✘ [ERROR] File 'projects/my-app/src/app/app.component.spec.ts' is missing from the TypeScript compilation. [plugin angular-compiler]

  Ensure the file is part of the TypeScript program via the 'files' or 'include' property.

Your Environment
Angular CLI: 18.2.1
Node: 18.20.4
Package Manager: npm 10.7.0
OS: linux x64

Angular: 18.2.0
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1802.1
@angular-devkit/build-angular   18.2.1
@angular-devkit/core            18.2.1
@angular-devkit/schematics      18.2.1
@angular/cli                    18.2.1
@schematics/angular             18.2.1
rxjs                            7.8.1
typescript                      5.5.4
zone.js                         0.14.10

Anything else relevant?
No response

We are facing the same issue for a monorepo project.
here is the folder structure
workspace
|-- projects
|	|-- scopeA
|	|	|-- lib1
|	|	|	|-- tsconfig.spec.json
|	|	|	|-- src
|	|	|		|-- lib
|	|	|			|-- lib1.component.spec.ts
|	|	|--lib2
|	|		|-- tsconfig.spec.json
|	|		|-- src
|	|			|-- lib
|	|				|-- lib2.component.spec.ts
|	|-- app
|	|	|-- tsconfig.spec.json
This is what i found regarding this issue.
When I am running ng test, it will grab tsconfig.spec.json from one of the libs folder. And then apply the settings in the tsconfig.spec.json on all the .spec.ts files in the whole workspace folder. Because the tsconfig.spec.json only includes the spec.ts files in its folder, that's why we are getting File 'projects/my-app/src/app/app.component.spec.ts' is missing from the TypeScript compilation. [plugin angular-compiler] error
When I am running ng test @scopeA/lib1, it will grab the tsconfig.spec.json from projects/scopeA/lib1. but it will also grab all the .spec.ts files from all the folders in workspace folder. like lib1.component.spec.ts, lib2.component.spec.ts. since the tsconfig.spec.json is not including the spec.ts files from lib2. it's throwing the same error.
When running ng test, it should fetch tsconfig options for each library, instead of 1 tsconfig options for all the libraries. The issue is at angular-cli/packages/angular-devkit/build_angular/src/builders/web-test-runner/index.ts line 45 const options = normalizeOptions(schema);
When running ng test @scopeA/lib1, the issue is at angular-cli/packages/angular_devkit/build_angular/src/builders/web-test-runner/index.ts line 52 findTestFiles(options.include, options.exclude, ctx.workspaceRoot)
the folder it should be searching for test files inside ./workspace/projects/scopeA/lib1 instead of ./workspace. ctx.workspaceRoot is incorrect here
Hopefully these findings can speed up the fix of this issue.
PS1: I tried to fix the issue, and it was able to pick up the correct tsconfig and test files. but the build failed. and there is insufficient details on the build failed error. Thus I was not able to dig further.
PS2: if you wanna try out web-test-runner without waiting for a patch, you can modify the include property in scopeA/lib1/tsconfig.spec.ts like this
"include": [
	"**/*.spec.ts",
	"**/*.d.ts",

	"../**/*.spec.ts",
	"../**/*.d.ts",
	"../../**/*.spec.ts",
	"../../**/*.d.ts"
]

and run ng test @scopeA/lib1, it should run the tests against all the test files in projects folder without the error.


feat(lineage): fetch lineage with level and direction

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

88 of 114 (77.19%)  changed or added relevant lines in 4 files are covered.
21 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.6%) to 79.312%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

core/asset/service.go
0
2
0.0%

internal/server/v1beta1/lineage.go
6
8
75.0%

core/asset/lineage.go
0
6
0.0%

internal/store/postgres/lineage_repository.go
82
98
83.67%

Files with Coverage Reduction
New Missed Lines
%

core/asset/service.go
1
72.73%

internal/store/postgres/lineage_repository.go
20
75.2%

Totals

Change from base Build<PHONE_NUMBER>:
-0.6%

Covered Lines:
4470

Relevant Lines:
5636

💛  - Coveralls


Release binary for Apple Silicon

Hi, will there be a Apple Silicon release provided, for the M1/M2 chips?
Currently via homebrew I get this error:
zsh: bad CPU type in executable: tickrs

Bump - Apple Silicon is on it's 3rd rev. A working homebrew install would be awesome. 👍


Exception thrown with script blockers

If the user has a script blocker turned on in their browser (like Disconnect), we get an error like window.Intercom is not a function.

Any ideas how to mitigate this? Maybe check if window.Intercom exists in boot/init and return a null object if it doesn't? I'm ok with intercom features not working if this happens but eliminating the error would be nice too.

Thank you for reporting this!
Yes, I think we can test whether Intercom is available on init, and only call window.Intercom() if its available.


API: use website URLs

This fixes #501 by changing Event.get_website_url() and Event.get_repository_url() into properties Event.website_url and Event.repository_url.

@gvwilson Rebased + added some slight changes.

:+1:


Segfault on arm64

On arm64/aarch64, precisely on a Rpi3 B, just after sending a message to the team from the cli, the ca server segfaults with:
Started CA bot...
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x68a60]

goroutine 38 [running]:
github.com/keybase/go-keybase-chat-bot/kbchat.(*API).Listen.func1(0x4000124280)
	/go/pkg/mod/github.com/keybase/go-keybase-chat-bot@v0.0.0-20190903135515-79c56220e558/kbchat/kbchat.go:626 +0x2f8
created by github.com/keybase/go-keybase-chat-bot/kbchat.(*API).Listen.func2
	/go/pkg/mod/github.com/keybase/go-keybase-chat-bot@v0.0.0-20190903135515-79c56220e558/kbchat/kbchat.go:679 +0x28c

Message:
keybase chat send team.ssh.stage "This message kills the auth bot"
Used image: registry.gitlab.com/jitesoft/dockerfiles/keybase-sshca/alpine:latest
It is not consistent, after 5 test 4 in 5 messages killed the bot.

@Johannestegner have you observed similar behaviour? It happened with your arm64 builds from the gitlab registry...

Hi there!
I have not tested the bot (nor image) on rpi3, but as soon as I have had breakfast and taken the kids to school I'll test it on my aarch64 server to see if I get the same result.
Is the rpi3 an aarch64 CPU and not a 32b arm version?

Alright, I have checked my docker file and such and it seems like it have been failing in the build pipeline for quite a while. That is, it's probably a bit outdated.
@blaggacao Have you tested with the latest version provided by Keybase?

@Johannestegner
I'm using Raspberry Pi 3 Model B V1.2 (writing on the circuit board) which according to here has a Quad Core 1.2GHz Broadcom BCM2837 64bit CPU which according to here is a quad-core ARM Cortex A53 (ARMv8) which according to here has AArch32 for full backward compatibility with Armv7 and AArch64 for 64-bit support and new architectural features.
I'm running on Rancher OS which distributes a 64bit version for Rpi.
Furthermore, I gloriously failed at cross-compiling, even with docker's buildx (it doesn't compile on the RPI itself due to resource constraints, I assume - curiously it seems to hang during a git clone command issued by go get.). That's when I discovers your images and gained trust in them.

I'm very happy to hear that you like my images (i really love writing docker images and optimize them as much as possible, hehe), but my work would really be nothing without the software ;)
It's a great echo-system! :D
I pushed new images based on the latest version of keybase-sshca about 2 hours ago, if the docker images is the way you wish to go, feel free to try the latest version and let me know if the issue persists. My latest image (before current) was badly outdated.

Yeah thanks! I just inferred you also run a weekly scheduled pipeline, I'll pull the new latest and check again and then report back. Thanks!

Thanks for the tag @blaggacao! Having an official Keybase docker file is definitely something we're interested in/planning on doing long term, but getting everything set up such that it can be done securely (reproducible builds and using docker content trust) takes a bit of extra work. :)

@ddworken Yes please! have a look at this finding, :pray: https://github.com/keybase/bot-sshca/issues/91


[HOLD 10731][$1000] keyboard opens on removal of  emoji

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

go to any chat
add an emoji reaction to any message
click on composer box to open keyboard
hide the keyboard by clicking on native back button
remove any emoji

Expected Result:
keyboard should not open (same as other platforms)
Actual Result:
keyboard opens on remove emoji
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

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

Version Number: 1.3.1
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/43996225/232645663-d86594ef-b7ab-4d88-bf3f-9fe17e0fce6a.mp4
https://user-images.githubusercontent.com/43996225/232645700-85fbb9e1-a315-48f4-b7ce-9a0c292c0977.mp4
Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1681715721317529
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~012d5383addb4fe73e
Upwork Job ID:<PHONE_NUMBER>041352704
Last Price Increase: 2023-04-26

Triggered auto assignment to @lschurr (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

I'm not able to reproduce in the Android app or on Chrome on Android. Adding Eng for another set of eyes.

Triggered auto assignment to @neil-marcellini (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

I'm able to reproduce on Android Chrome. This can definitely be external, hopefully it's not too tricky.
https://user-images.githubusercontent.com/26260477/233166483-e4ea2c88-40e1-49fc-9d44-6fccfbcab174.mov

Job added to Upwork: https://www.upwork.com/jobs/~012d5383addb4fe73e

Current assignee @lschurr is eligible for the External assigner, not assigning anyone new.

Triggered auto assignment to Contributor-plus team member for initial proposal review - @mollfpr (External)

Current assignee @neil-marcellini is eligible for the External assigner, not assigning anyone new.

Proposal
Please re-state the problem that we are trying to solve in this issue.
Keyboard should not open when removing an emoji.
What is the root cause of that problem?
In some android devices dismissing the keyboard will not trigger a blur event. Since the Composer is still focused, tapping any button that doesn't take focus will trigger the keyboard to open again.
What changes do you think we should make in order to solve the problem?
We are already listening to keyboardDidHide in withKeyboardState and have access in the Composer to its prop isKeyboardShown. We can simply manually blur the input if this prop changes from true -> false.

@mollfpr can you review the proposal?

Also, the expected result is the keyboard will not open, but the input is still in focus.

Also, the expected result is the keyboard will not open, but the input is still in focus.

Why should the input still be focused? The user tapped outside of it, on the emoji, so I think the input should lose focus.

What we have in the Android is the input is still in focus when the keyboard is hidden and the user taps on the reaction emoji. Similar to what Slack did.

@mollfpr It seems https://github.com/Expensify/App/issues/10731#issuecomment-1255955313 will introduce the necessary changes to support what you mention; this issue will probably also be solved by it.

@kmorales13 You might be right.
@neil-marcellini Let's hold this until https://github.com/Expensify/App/issues/10731 is complete, if this issue is still reproducible we can have a proposal with new showSoftInputOnFocus props.

Ok sounds good, holding and making this a weekly while we wait.

Hooolding

Still on hold @neil-marcellini?

Yes

@lschurr I'm going OOO next week and see you're back, so going to un-assign myself here!

This seems to be on hold still.

On hold

On hold

On hold.

On hold.

Still on hold.

On hold.

On hold.

The issue (PR) we are holding on https://github.com/Expensify/App/issues/10731 (https://github.com/Expensify/App/pull/32711) will no fix this. This bug is a side-effect of preventing the default behaviour of mouse down (here) and it's a bug in Chrome as I was not able to reproduce on Firefox.
https://github.com/Expensify/App/assets/16493223/037ad6ee-a60f-475c-bae6-426349756264

@s77rt @mollfpr @neil-marcellini - Should we take this off hold?

I think we should at least submit a bug report to Chromium and then hold/close this issue

submit a bug report to Chromium
Cool! I'm not sure how to do that. @neil-marcellini @s77rt @mollfpr can you point me in the right direction?

I will do it. Will update shortly

Reported https://issues.chromium.org/issues/332989701

Holding as explained by @s77rt here

I don't think this has anything to do with #wave-collect. I think it's a chat bug.

Ah! Thanks Tom!

On hold.

Holding

On hold

This is still on hold

That issue we're holding on is stalled out and it's not that important of a problem so I'm going to close this.


small enhancement for the simple example

example/simple.js is a nice way to get started with custom circuitbreakers fast, but you should probably add a return value to the example, it might be frustrating for people to understand that they have to call the callback with cb(null, [{}])

Hi!  Thanks for the feedback.
I understand your point.  I've updated the example (plus added a simple one using an actual node function) in this latest commit:
https://github.com/pablolb/promise-circuitbreaker/commit/38d882cb4db916b27b9401b227818142d8586ee6
Is that more or less what you had in mind?


[Snyk] Security upgrade golang from 1.17-alpine to 1.18.7-alpine

This PR was automatically created by Snyk using the credentials of a real user.Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Changes included in this PR

tests/Dockerfile

We recommend upgrading to golang:1.18.7-alpine, as this image has only 0 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Some of the most important vulnerabilities in your base image include:

Severity
Priority Score / 1000
Issue
Exploit Maturity

500
Out-of-bounds Write SNYK-ALPINE316-ZLIB-2976176
No Known Exploit

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2134

Relevant Lines:
2534

💛  - Coveralls


Rasbian Stretch with Desktop don't work :-(

Hello i have installed pivccu oh a Rasbian Stretch lite all good and works fine, but then i install it on a the desktop version it dosen't wont to work:
pi@raspberrypi:~ $ sudo pivccu-info
piVCCU version: 2.31.25-23
Kernel modules: Available
Raw UART dev:   Not available
Board serial:   Unknown
lxc doesn't exist
Why ?

Please provide the output of the follwing commands:
sudo dpkg --get-selections | grep pivccu
sudo cat /boot/config.txt
Did you reboot after the installation of the package pivccu-modules-raspberrypi?

pi@raspberrypi:~ $ sudo dpkg --get-selections | grep pivccu
pivccu						install
pivccu-modules-dkms				install
pivccu-modules-raspberrypi			install
pi@raspberrypi:~ $ sudo cat /boot/config.txt
For more options and information see
http://rpf.io/configtxt
Some settings may impact device functionality. See link above for details
uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
uncomment this if your display has a black border of unused pixels visible
and your display can output without overscan
#disable_overscan=1
uncomment the following to adjust overscan. Use positive numbers if console
goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16
uncomment to force a console size. By default it will be display's size minus
overscan.
#framebuffer_width=1280
#framebuffer_height=720
uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1
uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1
uncomment to force a HDMI mode rather than DVI. This can make audio work in
DMT (computer monitor) modes
#hdmi_drive=2
uncomment to increase signal to HDMI, if you have interference, blanking, or
no display
#config_hdmi_boost=4
uncomment for composite PAL
#sdtv_mode=2
#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800
Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on
Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi
Additional overlays and parameters are documented /boot/overlays/README
Enable audio (loads snd_bcm2835)
dtparam=audio=on
enable_uart=0
dtoverlay=pivccu-raspberrypi
dtoverlay=pi3-disable-bt
Yes have reboot ;-)

Please try to switch the order of the last dtoverlay lines and reboot.

And enable_uart=0 is a bad idea, this should be 1

Thank you very much ! enable_uart=0 have change to enable_uart=1 and reboot, it works !!!


refactor: rework org on-boarding and many other details

https://spacelephant.tpondemand.com/entity/2866


spaced the sections correctly, added logo at title bar, few animation…

…s added
What is the change?
spaced sections correctly in order to look better.
added logo at title bar.
added few animations.
linked a few linkedin addresses of most of the contributors.
Related issue?
closes: #issue_number
Checklist:
Before you create this PR, confirm all the requirements listed below by checking the checkboxes [x]:

[x] I have followed the Code of Conduct.
[x] I have  checked there aren't other open Pull Requests for the same update/change.
[x] I have you tested the code before submission.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm Hacktoberfest'21 contributor.

Screenshots (if any)
earlier :

updated :

did this equal spacing to all the sections.

few other small changes to give a better experience.

@HardikSJain Don't make pr directly . First create an issue, get it assigned and then make a pr


Is it possible auto go get dependencies for exists project?

We do not hosting our business golang project on github. but at our internal network git hosting server.
The new developer who need to git clone exists go codes.
and then run go get by hand. can godep auto download go package for us?
because we already got packages and version information at Godeps/Godeps.json
for example
{
        "ImportPath": "deyi.com/jia-control",
        "GoVersion": "go1.5.1",
        "Deps": [
                {
                        "ImportPath": "github.com/boj/redistore",
                        "Comment": "v1-9-g9c0e6ba",
                        "Rev": "9c0e6bab4dd444285424f189b8fb0cb03f653242"
                },
                {
                        "ImportPath": "github.com/garyburd/redigo/internal",
                        "Rev": "c973522a287c9afa7350ba1217fd04987d2e4378"
                },
                {
                        "ImportPath": "github.com/garyburd/redigo/redis",
                        "Rev": "c973522a287c9afa7350ba1217fd04987d2e4378"
                },
                {
                        "ImportPath": "github.com/gin-gonic/contrib/sessions",
                        "Rev": "14f66d54cdb96059bafca98665bcc6d9df4951f2"
                },
                {
                        "ImportPath": "github.com/gin-gonic/gin",
                        "Comment": "v1.0rc1-148-g52fcc5d",
                        "Rev": "52fcc5dbf6e94df33ad313858fb94b713e9d1b4a"
                },
                {
                        "ImportPath": "github.com/gorilla/context",
                        "Rev": "1c83b3eabd45b6d76072b66b746c20815fb2872d"
                },
                {
                        "ImportPath": "github.com/gorilla/securecookie",
                        "Rev": "e95799a481bbcc3d01c2ad5178524cb8bec9f370"
                },
                {
                        "ImportPath": "github.com/gorilla/sessions",
                        "Rev": "b6bcae186ac3099dba8fafce125dc930393f1e5e"
                }
}

TEST:

delete all go/src/github.com files
run godep get -v
run godep restore -v

we can see error messages:
execute &{Path:/usr/local/go/bin/go Args:[go get -d -v github.com/boj/redistore] Env:[] Dir: Stdin:<nil> Stdou
t: Stderr: ExtraFiles:[] SysProcAttr:<nil> Process:0xc8200f8a00 ProcessState:exit status 0 lookPathErr:<nil> f
inished:true childFiles:[0xc82002e088 0xc82002e0a0 0xc82002e0a0] closeAfterStart:[0xc82002e088 0xc82002e0a0] c
loseAfterWait:[0xc82002e098] goroutine:[0x49a490] errch:0xc82001c5a0}godep: restore: exec: already started
execute &{Path:/usr/local/go/bin/go Args:[go get -d -v github.com/garyburd/redigo/internal] Env:[] Dir: Stdin:
<nil> Stdout: Stderr: ExtraFiles:[] SysProcAttr:<nil> Process:0xc820108740 ProcessState:exit status 0 lookPath
Err:<nil> finished:true childFiles:[0xc82011a000 0xc82011a018 0xc82011a018] closeAfterStart:[0xc82011a000 0xc8
2011a018] closeAfterWait:[0xc82011a010] goroutine:[0x49a490] errch:0xc82010a060}godep: restore: exec: already
started
execute &{Path:/usr/local/go/bin/go Args:[go get -d -v github.com/garyburd/redigo/redis] Env:[] Dir: Stdin:<ni
l> Stdout: Stderr: ExtraFiles:[] SysProcAttr:<nil> Process:0xc820108ec0 ProcessState:exit status 0 lookPathErr
:<nil> finished:true childFiles:[0xc82011a028 0xc82011a040 0xc82011a040] closeAfterStart:[0xc82011a028 0xc8201
1a040] closeAfterWait:[0xc82011a038] goroutine:[0x49a490] errch:0xc82010a0c0}godep: restore: exec: already sta
rted
execute &{Path:/usr/local/go/bin/go Args:[go get -d -v github.com/gin-gonic/contrib/sessions] Env:[] Dir: Stdi
n:<nil> Stdout: Stderr: ExtraFiles:[] SysProcAttr:<nil> Process:0xc8200f91a0 ProcessState:exit status 0 lookPa
thErr:<nil> finished:true childFiles:[0xc82002e0b0 0xc82002e0c8 0xc82002e0c8] closeAfterStart:[0xc82002e0b0 0x
c82002e0c8] closeAfterWait:[0xc82002e0c0] goroutine:[0x49a490] errch:0xc82001c660}godep: restore: exec: alread
y started
execute &{Path:/usr/local/go/bin/go Args:[go get -d -v github.com/gin-gonic/gin] Env:[] Dir: Stdin:<nil> Stdou
t: Stderr: ExtraFiles:[] SysProcAttr:<nil> Process:0xc8200f9920 ProcessState:exit status 0 lookPathErr:<nil> f
inished:true childFiles:[0xc82002e0d8 0xc82002e0f0 0xc82002e0f0] closeAfterStart:[0xc82002e0d8 0xc82002e0f0] c
loseAfterWait:[0xc82002e0e8] goroutine:[0x49a490] errch:0xc82001c6c0}godep: restore: exec: already started
execute &{Path:/usr/local/go/bin/go Args:[go get -d -v github.com/gorilla/context] Env:[] Dir: Stdin:<nil> Std
out: Stderr: ExtraFiles:[] SysProcAttr:<nil> Process:0xc820109660 ProcessState:exit status 0 lookPathErr:<nil>
 finished:true childFiles:[0xc82011a050 0xc82011a068 0xc82011a068] closeAfterStart:[0xc82011a050 0xc82011a068]
 closeAfterWait:[0xc82011a060] goroutine:[0x49a490] errch:0xc82010a120}godep: restore: exec: already started
execute &{Path:/usr/local/go/bin/go Args:[go get -d -v github.com/gorilla/securecookie] Env:[] Dir: Stdin:<nil
> Stdout: Stderr: ExtraFiles:[] SysProcAttr:<nil> Process:0xc820109de0 ProcessState:exit status 0 lookPathErr:
<nil> finished:true childFiles:[0xc82011a078 0xc82011a090 0xc82011a090] closeAfterStart:[0xc82011a078 0xc82011
a090] closeAfterWait:[0xc82011a088] goroutine:[0x49a490] errch:0xc82010a180}godep: restore: exec: already star
ted

The output of godep restore -v is sub optimal atm, but you don't need -v to see the error messages, normal godep restore will output any errors (as will -v, you'll just have a bunch of extra output as well).
godep restore is what attempts to set the state of your dependencies in your $GOPATH to what they are in your repo. To do this it first downloads (via go get -d) each of the packages in your Godeps/Godeps.json file and then using the proper vcs for each package's repo attempts to checkout the recorded version.
Given that explanation, are you have a specific problem with anything.


groups: groups sidebar won't load on Safari

Describe the bug, optionally with screenshots
In Safari v16.1 (running macOS Ventura) I can access individual groups by clicking notifications from Grid, but when I click the Groups tile icon the sidebar doesn't load. (Screenshot)
I get the same behaviour on Escape's groups sidebar. (Screenshot)
The sidebar loads as expected on Chrome and Firefox.
EDIT: Clicking through to Groups from Grid works fine on my moon, accessed on the same browser and running on the same machine. The big difference is that my moon is only in the groups Rosetta Code and Urbit Community.
Javascript console output after opening Groups 2 from the tile icon in Safari:
[Warning] The whitelist option is deprecated and will be removed in the next version. Please use the 'partialize' option instead. (index.d96bf496.js, line 115)
[Warning] The whitelist option is deprecated and will be removed in the next version. Please use the 'partialize' option instead. (index.d96bf496.js, line 115)
[Warning] The whitelist option is deprecated and will be removed in the next version. Please use the 'partialize' option instead. (index.d96bf496.js, line 115)
[Warning] The whitelist option is deprecated and will be removed in the next version. Please use the 'partialize' option instead. (index.d96bf496.js, line 115)
[Error] Unhandled Promise Rejection: QuotaExceededError: The quota has been exceeded.
d (index.d96bf496.js:115:7020)
(anonymous function) (index.d96bf496.js:115:7103)
(anonymous function) (index.d96bf496.js:116:19458)
asyncFunctionResume
(anonymous function)
promiseReactionJobWithoutPromise
promiseReactionJob
[Error] Failed to load resource: You do not have permission to access the requested resource.

Additional context:
Self-hosted planet running on a MacBook Pro, accessed via Tailscale.

I can't repro this on safari 16.0 – it does take a while to load for me but not noticeably longer than on chrome

HTTP
I've cleared Safari's cache via both methods described here and refreshed after each attempt, and see no change.

recent versions of safari seem to be "always-on HTTPS if a certificate is available" and therefore I can't easily replicate this with a ship running a lot of groups, but i can't replicate this using HTTP on a fakezod running locally

the QuotaExceededError seems to be related to this though – your ship may be maxxing out the LocalStorage that safari affords users

Worth noting that I also have this problem with Safari on iOS 16.0.

okay, this description makes it sound pretty likely this is related to #1397, and it starts breaking things on safari because it sets a lower maximum for the amount of things you can put in LocalStorage, but we'll have to run further testing
@bonbud-macryg if you can get this ship accessible on HTTPS, i'd see if you run into the same issue, that can help us narrow this down quite a bit, but otherwise just stay posted.

oh, i forgot one more important environment question, @bonbud-macryg:
how many groups are you in at the moment?

84 groups, of which 20 have still to migrate.
I've had "set up HTTPS" on the to-do list for ages, I think I messed it up the first time I tried so it would be a bit of a project to fix it all up and retry.

May be DDOSing your ship with getting group info all at once, first mitigating fix is in #1434


SEL-ZJU Logo Commit

Signed-off-by: lonelyCZ<EMAIL_ADDRESS>What type of PR is this?
/kind flake

What this PR does / why we need it:
Add SEL-ZJU Logo
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:

/assign @RainbowMango


WeekView  not available for SmartPhone

Is your feature request related to a problem? Please describe.
WeekView  not available for SmartPhone
Describe the solution you'd like
Why it is not possible to have weekView for SmartPhone. I think, by default, it should be available and after, the choice to allow it is at the developer / application level
Additional context
Things that could speed up the process

[x] I can picture implementing at least parts of this feature
[x] I believe I know how to do this, and am willing to implement the whole thing.
[ ] I have a Schedule-X premium license

I deliberately chose to not make week view mobile compatible, for the simple reason that I think it looks too crammed.
If you want to override this, you can set the hasSmallScreenCompat property of the week view to true, and then you might have to write some custom styles to make it look reasonable on mobile


Exclude events from WebTools with certain categories

Description
Please provide a summary of the pull request and the issue it fixes. Please add necessary details, context, dependencies, explanation of when review is needed (see next section), etc.
Fixes #(add issue number here and remove parentheses)
Review Time Estimate
Please give your idea of how soon this pull request needs to be reviewed by selecting one of the options below. This can be based on the criticality of the issue at hand and/or other relevant factors.

[ ] Immediately
[ ] Within a week
[x] When possible

Type of changes
Please select a relevant option:

[ ] Bug fix (non-breaking change which fixes an issue).
[x] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
[ ] Other (any another change that does not fall in one of the above categories.)

Checklist:
Please select all applicable options:

[ ] I have signed the Rokwire Contributor License Agreement (CLA). (Any contributor who is not an employee of the University of Illinois whose official duties include contributing to the Rokwire software, or who is not paid by the Rokwire project, needs to sign the CLA before their contribution can be accepted.)
[x] I have updated the CHANGELOG.
[ ] I have read the Contributor Guidelines.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] My change requires updating the documentation.
[ ] I have made necessary changes to the documentation.
[ ] I have added tests related to my changes.
[ ] My changes generate no new warnings.
[ ] New and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.

Hi, @bingzhang, I see that there is an existing code where we check whether the incoming category is known (). I think it may be better to modify that with a continue statement to ignore unknown/excluded categories. That way, we do not have to update included and excluded categories during future changes. Also, please see my comment on this issue: https://github.com/rokwire/events-manager/issues/1085#issuecomment-1574200638. Thanks.

Hi, @bingzhang, I see that there is an existing code where we check whether the incoming category is known. I think it may be better to modify that with a continue statement to ignore unknown/excluded categories. That way, we do not have to update included and excluded categories during future changes. Also, please see my comment on this issue: #1085 (comment). Thanks.

update the code. please check again.

Wouldn't constants.py eventTypeMap need to be changed? I see "Community/Service" and "Ceremony/Service" still in line https://github.com/rokwire/events-manager/blob/ef2a95c21d0fe8de64b0f75cb27f6088980a33b3/utilities/constants.py#L51
Or maybe I didnt understand the issue correctly?

Wouldn't constants.py eventTypeMap need to be changed? I see "Community/Service" and "Ceremony/Service" still in line
https://github.com/rokwire/events-manager/blob/ef2a95c21d0fe8de64b0f75cb27f6088980a33b3/utilities/constants.py#L51
Or maybe I didnt understand the issue correctly?

I will jump in here. It's removed in a different PR that deals with the mapping. https://github.com/rokwire/events-manager/pull/1088/files. In the issue, I mentioned that the new mapping might just be needed, but we saw that some logic update is needed for the categories to be excluded.


Update Makefile and README.md

Clean up readme.  Allow user to pick a compiler other than gcc.
Explicitly link pthread library (for clang).

Whoops, a PR for this change was already merged previously.  Rather confusing that the diff doesn't show that? Thanks, github,


feat: make the slot more compact

This PR removes the "Empty" text from the slot to make it more compact.
And now you can drop the component into the slot content whether or not it has children which would append to the front of the slot.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


PR: Stop automatic scrolling when a plot is selected (Plots)

Description of Changes
Only scroll down in the plots plane if the latest plot is selected or if a new execution started

[ ] Wrote at least one-line docstrings (for any new functions)
[ ] Added unit test(s) covering the changes (if testable)

[ ] Included a screenshot or animation (if affecting the UI, see Licecap)

Issue(s) Resolved

Fixes #20474
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct:

Since this is not a critical bugfix, it needs to go against master (a few weeks ago we decided that everything non-critical should be left for Spyder 6).
For that, you need to rebase your branch with the following commands:
git checkout stick_to_end_plots
git rebase --onto master 5.x stick_to_end_plots
git push -f origin stick_to_end_plots


Profile inputs doesn't pickup the type of profile properly.

Please checkout below pictures:
Input Section
Pdf Section
The linkedIn profile got into twitter.

Thanks for the issue. It was a typo in the redux store where it gets data from localstorage. Now it is fixed, please check it out


added a test with registry ops on multiple threads

Signed-off-by: Daniel Tacalau<EMAIL_ADDRESS>

Rebased on master after #1192 merge. @Thomasdezeeuw

rebased on master.

Thanks.


In the Razor Components project template consider bringing scripts & styles in using the environment specific helpers

Considered.
Result of consideration: I don't think there's any compelling benefit. We don't have a built-in system for building static resources, and without one, there's no sense in which your production resources are different from your development-time ones. Developers who set up a static resources build system will have all kinds of different requirements for how the right ones get loaded at runtime. Typically it's solved via the static resources build system, not by environment-specific helpers.
@danroth27 I propose closing this.

I would use the minified version of Bootstrap libs in development too. No good reason not to, that I'm aware of.

I suppose the "get it from CDN" aspect is something you'd only want in production. However it's not something you'd want if you set up a static resources build system, since you'd have your own tree-shaken version of Bootstrap.
Overall I guess whatever design we're using for Bootstrap in the non-Razor Components templates should also be used in the Razor Components template, even if it's not to my taste personally.

I think that environment specific helpers are useful for JS and CSS files. In production I want to get files from CDN but during development I want to have them on my local disk in not minified state. There are at least two reasons for this configuration:

during development I often want to clear browser's cache and I don't want to download all CSS/JS files from CDN again and again
I can press F12 and goto CSS class definition - I don't want to build Bootstrap myself but sometimes I want to check something in source code

Currently F12 doesn't work, but hopefully the bug is already fixed:
https://developercommunity.visualstudio.com/content/problem/314314/html-tools-peek-go-to-definition-for-class-names-f.html

Blocked waiting for #6885

This is unblocked now

Done in #7859


[BUG] Update cuPy to use cuvs.distance

cuPy is currently using pylibraft for cuvs.distance, but the distance APIs were recently removed from pylibraft, which means users who have installed the latest pylibraft get an error. We need to update cupy to use cuvs.distance.

cc @kmaehashi for vis


image error keeps occurring when moving mouse around sprite

Godot version:

3.1.dev 1d15c5d72
OS/device including version:

Issue description:

following error keeps occurring when moving mouse around sprite.
sprite uses region_rect.
core/image.cpp:1892 - Index p_x=150 out of size (width=128)

Steps to reproduce:

add sprite
assgin texture to it
turn on Region > Enabled on inspector
define rect size larger than texture at Region > Rect
move mouse around sprite

Minimal reproduction project:

Image error.zip

Hello, the error is back now when you hover the mouse over the image in select mode , in the console/output it reads as
Error: Image::get_pixel: Index p_x="value" out of size <width="value">
At: core\image.cpp:1950


feat(timepicker): Added min/max attributes to timepicker.

Adds attributes for timepicker's min and max time.

That is what min-date and max-date are for.

I apologize, this is for a different component than I thought - I will review this.

Thanks for this, this is mostly solid work - I do have two comments that should be addressed before this is merged.

I believe I addressed your concerns.  I was able to remove an instance of Date in addMinutes(), slightly different than your suggest because it needs to "rollover" from 11:59PM to 12:00AM on the same day, not the next.
I removed the unnecessary conditionals on $attrs.min/max.

Once these changes are in, this is good to go.

I updated the style, and changed the noIncremenentHours() etc... to disable the time step in a direction if when time rolls over, the result exceeds the limit for movement in the opposite direction.

LGTM - merging shortly with documentation & code style fixes.


Documentation: epub export for nixos-render-docs

nixos-render-docs, the tool to produce the NixOS and Nixpkgs manuals, cannot currently render directly to EPUB.
We can't keep the DocBook toolchain, that currently allows this, around forever. So far we don't know whether the EPUB manuals are very useful to a sufficient number of people, and whether it's worth maintaining them until nixos-render-docs can generate them directly, thereby blocking the move away from DocBook.

hi! please consider this my vote to include the epub manuals somehow. I'm highly sympathetic to getting rid of docbook, mind.


Denial of Service in Ejected React Native Project with npm

Description

I ran npm audit in my project to look for dependencies, and one of the ones returned was:

I followed the advisories in nodesecurity.io, which recommended I upgrade ws to at least 3.3.1. Even after upgrading, the vulnerability does not resolve. ws --version returns 5.2.1. Any advice?
Environment
Environment:
OS: macOS Sierra 10.12.6
Node: 10.4.1
npm: 6.1.0
Watchman: 4.9.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 3.1 AI-173.4819257
Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: ~0.55.2 => 0.55.4

@kirananagar As I far as I know:

ws used as dev dependency only
0.56 fix it already

By the way do you really track real usage of ws in RN? Because:

The presence of this warnings does not mean a real vulnerabilities to a particular project.
The absence of these warnings does not mean the absence of vulnerabilities :-)

@vovkasm I'm not sure if I tracked real usage of ws in RN (And the fact I'm not sure makes me think I probably didn't 😬). I'm really new to all this, what's the best way to look at real usage and determine actual vulnerabilities in my project?


C middleware compatibility enhancements

Fixes https://github.com/MaikKlein/ash/issues/125 https://github.com/MaikKlein/ash/issues/126

Expose the define macros to allow generate custom vulkan handles
Generate the raw PFN_ function types

I haven't run the generator as it generates one long, unformatted line of code for me, is this expected?

This change is

Yes because rustfmt is not on stable as a library, I should document that. Sadly you have to format it manually with rustup run stable rustfmt vk.rs.
I think we will transition soon to a build script.

got it, thanks!
Added the formatted file in a separate commit

@msiglreith Are you on the most up to date stable? The formatting looks a bit off, especially for macros.

I merged it myself. Hm seems like Github doesn't detect that it has been merged. I'll release a new version soon!

oh that's the stable version of rustfmt. I'm mostly using the nightly preview so my stable fmt is quite dated (0.3.6-nightly ( )) 😅

ah, just was rebasing and squashing everything, heh
thanks for the quick review

@msiglreith Yeah me too, but we needed to converge to a single rustfmt version otherwise we would always get a lot of different diffs.
I am just not sure why Github doesn't detect the merge.


drmap channel mapping function

def drmap_data_to_elec(neural_data, channel_mapping_file):
    pass

def drmap_ch_to_pos(channels, position_mapping_file):
    pass


error when creating a datasource via Management Console

I'm trying to create a datasource using  postgresql via GUI, but I always get this message:
10:29:01,462 ERROR [org.jboss.as.controller.management-operation] (External Management Request Threads – 2) WFLYCTL0013: Operation (“test-connection-in-pool”) failed - address: ([
(“subsystem” => “datasources”),
(“xa-data-source” => “PostgresXADS”)
]) - failure description: “WFLYJCA0040: failed to invoke operation: WFLYJCA0047: Connection is not valid”

now if I do using XA Datasource mode it works without problems.
This has happened to Wildfly 14 and 15.

For assistance please follow the link to the user forums to discuss the issues you are experiencing http://wildfly.org/gethelp/


Dataset Viewer issue for nyuuzyou/AnimeHeadsv3

Link
https://huggingface.co/datasets/nyuuzyou/AnimeHeadsv3
Description
Currently, when attempting to view the dataset using the provided viewer, I am encountering the following error:
ERROR: type should be image, got {"src": "https://datasets-server.huggingface.co/assets/nyuuzyou/AnimeHeadsv3/--/With augmentation/train/0/image/image.jpg", "height": 360, "width": 640}

Initially, I thought there might be a mistake in the dataset loader configuration. However, even when I used np.zeros(shape=(16, 16, 3), dtype=np.uint8) as a placeholder for the images in the dataset loader, the error still persists.
I believe this issue is similar to the one reported in the GitHub repository for the Hugging Face Datasets Server, specifically in issue #1137 (https://github.com/huggingface/datasets-server/issues/1137). The previous issue mentioned a similar problem with image loading.
Please let me know if there is any additional information or assistance I can provide.

Very possibly due to the space in the config names. See https://github.com/huggingface/datasets/issues/5989.


remove only this instance's listeners on detach

Fixes #38.
Instead of removing all event listeners, we remove only this instance's listeners.

Oops! That was an oversight, huh? Thanks for the PR!


Upgraded dependencies for groupId org.jetbrains.kotlin

Dependencies upgrades
org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable

Version: 1.5.10 -> 1.5.20
Release Date: июн. 24 2021

org.jetbrains.kotlin:kotlin-gradle-plugin

Version: 1.5.10 -> 1.5.20
Size: 8,29 MB
Release Date: июн. 24 2021
Releases notes | Source code | Documentation | Issue tracker

This pull request was automatically generated by Releases Hub Gradle Plugin v2.0.2

org.jetbrains.kotlin:kotlin-gradle-plugin

Version: 1.5.10 -> 1.5.20
Size: 8,29 MB
Release Date: июн. 24 2021
Releases notes | Source code | Documentation | Issue tracker


Roll Flutter Engine from 75d212ff082f to 91919a29fed6 (1 revision)

https://github.com/flutter/engine/compare/75d212ff082f...91919a29fed6
2022-07-28<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from sc_2Mn0w5... to gBJXw9bcr... (flutter/engine#34960)
Also rolling transitive DEPS:
fuchsia/sdk/core/mac-amd64 from sc_2Mn0w5V6p to gBJXw9bcruLL
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


add-custom-jekyll-action

Description
Jekyll-paginate-v2 plugin isn't yet supported by GitHub pages and so blogs at https://meshery.io/blog aren't visible.
This PR

intends to test the result of using a custom build and deploy action

Notes for Reviewers
Expected test result: on push events to build branch, the site deployed at meshery.io/blogs works as desired
Signed commits

[ ] Yes, I signed my commits.

on merging the PR:
deploy from "GitHub Action" has to be chosen from the settings and then test can be carried out. ( to ensure no race between two actions)

@vishalvivekm To test jekyll-paginate-v2 blogs you'll have to revert back to previous changes done to the blogs pages

@vishalvivekm still the blogs aren't rendering...


Can't download region restricted video

Checklist

[X] I'm asking a question and not reporting a bug/feature request
[X] I've looked through the README
[X] I've read the guidelines for opening an issue
[X] I've searched the bugtracker for similar questions including closed ones

Question
I can't download this video.
I can watch this video in Japan.
This video seems to be limited to Japan.
So I added the "--geo-bypass-country jp" option.
Need another option?
Verbose log
[debug] Command-line config: ['-vU', '--geo-bypass-country', 'jp', 'https://www.youtube.com/watch?v=ia0lAgfhbAo']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2022.02.04 [c1653e9ef] (zip)
[debug] Python version 3.8.10 (CPython 64bit) - Linux-5.4.0-94-generic-x86_64-with-glibc2.29
[debug] exe versions: none
[debug] Optional libraries: secretstorage, sqlite
[debug] Proxy map: {}
 Latest version: 2022.02.04, Current version: 2022.02.04
 yt-dlp is up to date (2022.02.04)
[debug] Using fake IP <IP_ADDRESS> (JP) as X-Forwarded-For
[debug] [youtube] Extracting URL: https://www.youtube.com/watch?v=ia0lAgfhbAo
[youtube] ia0lAgfhbAo: Downloading webpage
[youtube] ia0lAgfhbAo: Downloading android player API JSON
 ERROR: [youtube] ia0lAgfhbAo: Video unavailable. This video is not available
   File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 612, in extract
ie_result = self._real_extract(url)
   File "/usr/local/bin/yt-dlp/yt_dlp/extractor/youtube.py", line 3246, in _real_extract
self.raise_no_formats(reason, expected=True)
   File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 1120, in raise_no_formats
raise ExtractorError(msg, expected=expected, video_id=video_id)

@pukkandan
Thank you for your reply.


Some ALFRESCO local endpoints are attempting to assign to a tuple

http://localhost:5000/alfresco/flammability/local/52.938/-168.868
http://localhost:5000/alfresco/flammability/local/53.267/-168.217

This code on line 573  is returning as a tuple in some cases and resulting in this error.

Older ticket, errant line of code is now 306


[WIP] Cleanup of some vars and the basic push command

Nothing that should change behavior. Mostly just for readability.
The change to force.go is pretty unrelated and could be moved into it's
own diff. Overall, I'm not sure why this is here because it makes it so
one can't use the force cli they build since it has a non-working uri
NOTE: There are a few TODO comments in here I can resolve. I figured it'd be good to get some discussion first.

So this doesn't work quite yet.
There's something off about the way the arrays of flags gets parsed. I'm going to try to add proper support for multi flags so one could do force push -f file1.cls -f file2.cls -f file3.cls and so on. I'll also leave support for reading the flag and then appending positional args as well.

I don't recall the precise details, but you should be able to declare a flag type as an array and the command processor should properly add the flag values to an array.
This is the pattern from the fetch.go module. Declares a type to hold string slice, then overrides or implements a String() method and also defines a "setter" that takes a string and adds it to the slice.
`type metaName []string
func (i *metaName) String() string {
return fmt.Sprint(*i)
}
func (i *metaName) Set(value string) error {
// That would permit usages such as
//	-deltaT 10s -deltaT 15s
for _, name := range strings.Split(value, ",") {
*i = append(*i, name)
}
return nil
}
var (
metadataType    string
targetDirectory string
unpack          bool
metadataName    metaName
makefile        bool
preserveZip     bool
mdbase          string
)
`
Then, as the command is "inited" the flag variables are declared using the custom type;
func init() { 	cmdFetch.Flag.Var(&metadataName, "name", "names of metadata") 	cmdFetch.Flag.Var(&metadataName, "n", "names of metadata") }
To parse the values you can check the len() of the flag variable to see if it has multiple values.
if len(metadataName) > 0 { 			for names := range metadataName { 				runFetchAura2(cmd, metadataName[names]) 			} 		} else { 			runFetchAura2(cmd, "") 		} }

Yea, I saw something similar when searching around for solutions. I think I can implement something like that.


How to determine if host is VSTS or TFS (on premise)

Is there a supported way for an extension to determine if it is running inside VSTS or TFS on premise? Would love to have this info for usage tracking.

You can do that:
import Context = require("VSS/Context");  Context.getPageContext().webAccessConfiguration.isHosted

@miiitch thanks!! did I overlook this in the documentation?

@miiitch so just to be clear: webAccessConfiguration.isHosted would only be true in VSTS and false in TFS on prem?

yes :)

Thanks. Closing the issue.


Recipe of SSAST

Summary
This PR includes recipes for SSAST.
TODO
Run recipe.

Codecov Report
Attention: Patch coverage is 89.41606% with 58 lines in your changes are missing coverage. Please review.

Project coverage is 84.47%. Comparing base (a959c62) to head (cee39ff).
Report is 2 commits behind head on main.

Files
Patch %
Lines

audyn/models/ast.py
90.37%
18 Missing :warning:

audyn/modules/vit.py
90.83%
11 Missing :warning:

audyn/utils/driver/base.py
64.00%
9 Missing :warning:

audyn/utils/data/collater.py
0.00%
7 Missing :warning:

audyn/models/ssast.py
95.65%
5 Missing :warning:

audyn/utils/data/dataset.py
90.47%
4 Missing :warning:

audyn/utils/driver/gan.py
66.66%
2 Missing :warning:

audyn/transforms/ast.py
95.45%
1 Missing :warning:

audyn/utils/data/__init__.py
92.30%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #92      +/-   ##
==========================================
+ Coverage   84.16%   84.47%   +0.31%
==========================================
  Files          99      103       +4
  Lines       11088    11313     +225
==========================================
+ Hits         9332     9557     +225
  Misses       1756     1756

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Nuke: load clip with options from settings

Brief description
Loading of options can be set in settings.
Description
In case production needs to set loading options for all retimed plates to ignore retime settings, this can be now done from settings.
Testing notes:

open nuke workfile
make sure you are having some retimed plate to load - ideally more that one version.
Load first older version with option set to add_retime to False
Update to latest version
It should load first read node without retime node connected to it, and then during update it should just update the read node without retime nodes.

Using Load works as advertised. Changing load clip options in load tool or project settings correctly adds or skips adding the TimeWarp node. I tested with Nuke 12.2, speedup and slowdown, one or two layers.
Not sure if connected to this PR, but using Manage to switch version of the plate(s) to latest produces warning "node LoadClip_exr already exists", and TimeWarp nodes are not replaced, but added.


Update the URLs of Services in a Web Map does not update related tables URLs

Although related tables are part of a base service whose URL you've updated, it doesn't seem to update the relevant JSON section of the web map.
A workaround is to edit the whole JSON of the web map and manually update the related tables URLs separately...but still...they are part of the same service.

There are tons of hidden relationships like these between items in a portal. A long term goal for this app is to do a better job of handling situations like you described. It sounds like you were able to successfully edit the JSON directly. Can you share some screenshots or descriptions of the different keys/values in JSON you modified?

Yes...so my goal is to migrate maps/apps between 3 portals (development to staging to production).

in this instance I copied a web map from development to staging (via AGO Assistant). One service in the web map was using related tables (non-spatial)
I went on to update the URLs of the copied web map services on staging, so that they point to the staging ArcGIS Server (exact same services and same folder structure on Server)
when I checked the web map on staging everything was working fine except I was not seeing related records in the popup
checked the JSON of the service in question, but this doesn't give any information of the underlying layers/tables
checked the JSON of the web map and there it was..towards the end of the JSON there is a 'tables' section on the same level with 'operational layers' and 'application properties' of the Data section in the web map JSON. All my related tables were still having URLs pointing to development...after I updated those the related tables showed up in the popup.

I found this odd because even the related tables are part of the very same service(s) I updated in the first instance...they still get assigned an id in the service structure (i.e. .../MapServer/'id') as you can see in the screenshot.
Anyways, this is fixable as I said by manually editing the JSON...so in case anyone else stumbles across this...

OK great, thanks for detailing your workflow. I just added tables to the "Update Services in a Web Map" dialog yesterday in #105 and I think that may resolve your issue. I haven't pushed the updates to the hosting server yet so let's leave this open until you can test there.

I pushed the update (you may need to clear your cache). Give it a shot and let me know if that works better for your workflow.

Fixed! You now get a separate section for tables (if there are any) when you update the URLs for a web map. Thanks and keep it up!

Great, glad that worked. Thanks again for detailing your workflow.


Support for naze32 flight controller

Hi @japaric. I'm pretty new to rust on microcontrollers. A lot of flight controllers seem to be using STM processors. Does this repo target flight controllers like naze32 too (STM32F103CB) ?
https://www.aliexpress.com/item/NAZE32-REV6-MPU6050-32-bit-6-DOF-10-DOF-Flight-Controller-for-Multicopter-RC-Radio-Control/32649546407.html?spm=2114.30010308.3.94.wRiZWs&ws_ab_test=searchweb0_0,searchweb201602_2,searchweb201603_1&btsid=c352ae82-e4b5-42dc-9332-df00e5bbb71a
Rust for writing flight controller code sounds very exciting to me :)

Does this repo target flight controllers like naze32 too (STM32F103CB) ?

Well, not exactly. This crate targets this particular board: The STM32F3DISCOVERY, which has an STM32F303VCT6 microcontroller in it.
But that board, the discovery, does have a gyroscope, a magnetometer and an accelerometer (it's just "9-DOF" as it's missing the baremeter to measure the altitude) and I intend to try my hand at sensor fusion algorithms to convert those raw measurements into the 3D position of the board (something like this).
All that (sensor drivers, filters, sensor fusion algorithms) shouldn't be too hard to port to other boards but that's only part of what goes into a flight controller. I don't know what else is needed as I haven't write one before. (Although, I do understand the flying mechanism of a quadcopter and have taken control theory courses. Also, I don't own a quadcopter or other aerial unmanned vehicle.)

@kteza1 I wrote my thoughts on the matter (a flight controller in Rust) here.

@japaric Wow. That's really awesome. It's a big project but there is a first step for everything. I haven't worked on microcontrollers much but I'll check your copper book and try to copy a lot of your f3 crate to create a crate for naze32 (as this seems to be the most famous one).

create a crate for naze32

Sounds like a great start! Let me know if you need help with anything. I'm on Mozilla's IRC as japaric. There's a #rust-embedded channel there that's for this kind of topic.
The copper book needs a small update so if you read it before I get a chance to update it: rustc now has built-in targets for ARM Cortex-M processors, like thumbv7m-none-eabi; you should use those instead of custom targets defined in .json files. Additionally, you'll need to pass some extra flags to the linker; that used to be done with pre-linker-args in the .json file but with the built-in targets you have to pass those flags via a .cargo/config file instead. The docs of the f3 crate talk about these two things: the built-in targets and the .cargo/config file.

Ah, you probably also want to look into code generators for the "register maps". See svd2rust and svd-mmap.
Oh, and if you are just getting started with microcontrollers, this may be of help. It's the workshop material I presented at Rust Belt Rust.

And I'm going to close this issue since this is not actionable in this repo.

Sure. Thanks :)


Update update-boost.sh

Since there's no need for the commit history, it's much faster to perform a shallow copy.

Ah, thanks, I had a misunderstanding of what the --depth flag was for, I thought it had to do with submodules.


SFDX: Authorize an Org doesn't open browser for OAuth

Summary
I created a new project using the command SFDX: Create Project with Manifest. When I run the command SFDX: Authorize an Org choosing the Sandbox option it doesn't open the browser for OAuth, the banner of the command is still there and the command prompt doesn't show any error.

It's not a Java issue, I can use other sfdx commands fine for project already authorized.
It's not a proxy issue, I can open links from command line through VSC.
This problem is very annoying, I can't use VSC for new projects.
Steps To Reproduce:

Create a new project using the command SFDX: Create Project with Manifest.
Run the command SFDX: Authorize an Org choosing the Sandbox option.

Expected result
The command should open the default browser for OAuth
Actual result
The command doesn't open the default browser for OAuth
Additional information
VS Code Version:
1.41.1
SFDX CLI Version:
sfdx-cli/7.36.0-b1c4e9c7c8 win32-x64 node-v10.15.3
Salesforce Extension Pack Version:
47.15.0
OS and version:
Windows 10 Enterprise 1903 Build 18362.592

Same issue for every dev in our business (that's 50+ developers across multiple projects)
Chrome: Version 79.0.3945.79 (Official Build) (64-bit)
OS: Win 7 and Win 10
Workaround does work but is far from ideal

Hi, the problem is not coming from your browsers. After dealing with this error, I found that we have to add "C:\Windows\System32" path to your environment variables. Remember to restart your Visual Studio Code or your computer if it is still not working. Good luck!

System32 is already in the PATH on my machine, have tried this with some of the other devs on our team and same result. this does not appear to be the solution.

I am having the same issue as well. Latest version of SFDX, Chrome, running on WIndows 7

I am also facing the same issue with latest version of SFDX on windows 10. Tried all the above solutions but none of them worked.

We can't reproduce on Windows 10 enterprise using sfdx-cli/7.80.0-b979aae708 win32-x64 node-v12.18.3. It seems like this is a configuration thing so any additional help in finding out what could cause this to fail would help.
If you run something like Start "https://www.googl.com" in the terminal does it work?

Me too Facing same issue..
Using sfdx-cli/7.82.0-3d0c527ac6 win32-x64 node-v12.18.3
Default browser is set to edge. Start "https://www.google.com" is opening from VS code terminal.
Trusted domains in VS code is disabled. Its opening all pages.
But still facing this issue.
"sfdx force:auth:web:login --setalias fd --instanceurl https://test.salesforce.com --setdefaultusername" is running, and not opening browser to login.

It says the following so I typed 'y' and it launched Chrome. I guess the command no longer works?

It says the following so I typed 'y' and it launched Chrome. I guess the command no longer works?

It says the following so I typed 'y' and it launched Chrome. I guess the command no longer works?

Yes, I found that the newest version of Salesforce CLI doesn't have auth commends. As a workaround you should downgrade you Salesforce CLI. It is not easy because I couldn't find old exe file so you have to install node.js then use npm functions:

Uninstall Salesforce CLI
Install https://nodejs.org/en/download/
In command line install one of the previous version(  for example:7.82.0) using npm: npm install<EMAIL_ADDRESS>--global

It says the following so I typed 'y' and it launched Chrome. I guess the command no longer works?

Yes, I found that the newest version of Salesforce CLI doesn't have auth commends. As a workaround you should downgrade you Salesforce CLI. It is not easy because I couldn't find old exe file so you have to install node.js then use npm functions:

Uninstall Salesforce CLI
Install https://nodejs.org/en/download/
In command line install one of the previous version(  for example:7.82.0) using npm: npm install<EMAIL_ADDRESS>--global

Same issue with me! I'm using ubuntu 18.04 OS and whenever I'm trying to run sfdx commands from vs code or my terminal window, it doesn't launch the default browser! I also tried changing the default browser to Firefox but nothing works.
OS: Ubuntu 18.04 (x64)
SFDX Version: sfdx-cli/7.84.2-a2868a68d5 linux-x64 node-v12.18.3
VS Code Version: 1.52.1
Any help would be appreciated.

Same issue with me! I'm using ubuntu 18.04 OS and whenever I'm trying to run sfdx commands from vs code or my terminal window, it doesn't launch the default browser! I also tried changing the default browser to Firefox but nothing works.
OS: Ubuntu 18.04 (x64)
SFDX Version: sfdx-cli/7.84.2-a2868a68d5 linux-x64 node-v12.18.3
VS Code Version: 1.52.1
Any help would be appreciated.

two ways you can try:-
1.add 'C:\Windows\System32' to path variable
or
2.
Open sfdx-project.json file and change the sfdcLoginUrl property to https://test.salesforce.com
In the terminal run command :=> sfdx force:auth:device:login
It will give you the code and URL.
Hit the URL in the browser and enter the code.
It will ask credentials. Enter your credentails and complete the process.
You will see Login Successful message in terminal.
set the org as default.

two ways you can try:-
1.add 'C:\Windows\System32' to path variable
or
2.
Open sfdx-project.json file and change the sfdcLoginUrl property to https://test.salesforce.com
In the terminal run command :=> sfdx force:auth:device:login
It will give you the code and URL.
Hit the URL in the browser and enter the code.
It will ask credentials. Enter your credentails and complete the process.
You will see Login Successful message in terminal.
set the org as default.

two ways you can try:-
1.add 'C:\Windows\System32' to path variable
or
2.
Open sfdx-project.json file and change the sfdcLoginUrl property to https://test.salesforce.com
In the terminal run command :=> sfdx force:auth:device:login
It will give you the code and URL.
Hit the URL in the browser and enter the code.
It will ask credentials. Enter your credentails and complete the process.
You will see Login Successful message in terminal.
set the org as default.

Thanks a lot for the help @anirudhbora06! It worked for me!

two ways you can try:-
1.add 'C:\Windows\System32' to path variable
or
2.
Open sfdx-project.json file and change the sfdcLoginUrl property to https://test.salesforce.com
In the terminal run command :=> sfdx force:auth:device:login
It will give you the code and URL.
Hit the URL in the browser and enter the code.
It will ask credentials. Enter your credentails and complete the process.
You will see Login Successful message in terminal.
set the org as default.

Thanks a lot for the help @anirudhbora06! It worked for me!

Open sfdx-project.json file and change the sfdcLoginUrl property to https://test.salesforce.com
In the terminal run command :=> sfdx force:auth:device:login
It will give you the code and URL.
Hit the URL in the browser and enter the code.
It will ask credentials. Enter your credentails and complete the process.
You will see Login Successful message in terminal.
set the org as default.

Worked for me! (Linux 18.04  VSC 1.53.2   Chrome)

@ElenaGrigorets
Thanks for you suggestion. It worked for me!!

@W-7217999@

my data had been tempered with out my authorization

Olá, pessoal tudo bem?
Resolve fazer a instalação do Salesforce CLI junto ao VScode no meu computador pessoal,  porém me deparei com esse mesmo problema, no sistema operacional Linux Mint.
Para correção desse problema é nescessário, desistalar totalmente o Salesforce CLI, depois baixar os arquivos novamente para fazer uma instalação limpa.
Acredito que esse erro seja causado pela instalação via NPM, faça a instalação dessa maneira
Baixa o  Salesforce - CLI pelo site oficial :
https://developer.salesforce.com/tools/sfdxcli#
Depois execute as seguintes linhas de comando 1 de cada vez :
wget https://developer.salesforce.com/media/salesforce-cli/sfdx-linux-amd64.tar.xz
mkdir sfdx
tar xJf sfdx-linux-amd64.tar.xz -C sfdx --strip-components 1
./sfdx/install
Fiz a instalação do DX  usando linha de comando : sudo apt-get install DX, pode ser que tenha ajudado, caso, consiga deixa um comentário, não se esqueça de reiniciar  o computador após fazer  todo o processo.


Add author to changelog

Affected Packages
@changeset/changelog-git

Problem
Currently only commit hash is exposed. However I want to add author info (maybe email or username)  to the changelog so that we can know who made the change directly (without checking commit log).

Proposed solution
Expose author info from getReleaseLine or just make changelog-git customizable with some options.

Everyone wants slightly different things to be included in their changelogs - this is why you can easily create "changelog generators" to adjust the output however you want. Notice how, for example, urql does this with a local changelog generator: https://github.com/FormidableLabs/urql/blob/83f515539b283881aa79a8609e1fa816dc750039/.changeset/config.json#L3


Fix 404'd image in demo

It looks like the image you were referring to in your demo has been taken down. Could you replace it with another?

Done.. thank you for the heads up about the 404 problem.
PS: On my way I changed the deployment provider for the demo (new link is the readme)


NixPkgs: FLAKE8-check failure

------------------------------ Captured log call -------------------------------
WARNING  flake8.options.manager:manager.py:211 option --max-complexity: please update from optparse string `type=` to argparse callable `type=` -- this will be an error in the future
=============================== warnings summary ===============================
/nix/store/71rs0sj3vm8gx7fv04ghi0xc55254ny1-python3.7-pytest-5.4.3/lib/python3.7/site-packages/_pytest/junitxml.py:417
  /nix/store/71rs0sj3vm8gx7fv04ghi0xc55254ny1-python3.7-pytest-5.4.3/lib/python3.7/site-packages/_pytest/junitxml.py:417: PytestDeprecationWarning: The 'junit_family' default value will change to 'xunit2' in pytest 6.0.
  Add 'junit_family=xunit1' to your pytest.ini file to keep the current format in future versions of pytest and silence this warning.
    _issue_warning_captured(deprecated.JUNIT_XML_DEFAULT_FAMILY, config.hook, 2)

-- Docs: https://docs.pytest.org/en/latest/warnings.html
-------------- generated xml file: /build/vulnix-1.9.4/report.xml --------------

----------- coverage: platform linux, python 3.7.7-final-0 -----------
Coverage HTML written to dir htmlcov

=========================== short test summary info ============================
FAILED src/vulnix/vulnerability.py::FLAKE8
=================== 1 failed, 79 passed, 1 warning in 3.31s ====================
builder for '/nix/store/rpjlhc6yjfnb48f40dmip4zp3zpc235n-vulnix-1.9.4.drv' failed with exit code 1
error: build of '/nix/store/rpjlhc6yjfnb48f40dmip4zp3zpc235n-vulnix-1.9.4.drv' failed
##[error]Process completed with exit code 100.

@Keidrych If it's about FAILED src/vulnix/vulnerability.py::FLAKE8 then, please provide a stand-alone reproduction (with what options and python version do you run flake8), because running flake8 with the defaults settings on https://github.com/flyingcircusio/vulnix/blob/master/src/vulnix/vulnerability.py doesn't yield any errors.

I'm not able to reproduce this error on current vulnix master with Python 3.8 and flake8-1.0.6. Closing this issue. If you disagree, please reopen this issue with details on how to reproduce this problem.


Improving Timers In The Time Tracking Plugin

Problem:
I been using multiple timers from the Time Tracking plugin to know when to go to a certain world for a resource.
I try to put them in expiration order but sometimes situations such as delays happens that puts the timers out of order to the point that it becomes hard to know which timer will expire next.
Additionally the current indicator that a timer has expired (0:00 in a red colored thin font) does not pop-out and can go unnoticed easily.
Solution A:
Make timers draggable so that we can put them in order of expiration.
Solution B:
Add an option to sort them by time left.
Solution C:
Improve the 0:00 mark red text highlight by making the whole box red instead. Optionally add a feature in which you can choose when to highlight the timer, for example 10 seconds before expiration, etc...
Thanks for your consideration.

This is mostly a duplicate issue of #7240 except for coloring the timer boxes. Also most of this was added in #10996, which will be available next release.

I agree. If after our next release you find that you're still wanting more features out of this plugin, please edit the issue and re-open it.


Generated type has an extra constructor that takes FrameworkElement as a parameter

Let's say I have
type MyUserControl = XAML<"MyUserControl.xaml",true>
UserControl has one constructor that takes no parameters.  The new type, MyUserControl, will only have one visible constructor as far as Intellisense is concerned, but if you go through the type's ConstructorInfo, you will find another constructor that takes a single FrameworkElement as a parameter.  Creating the element with this second constructor will cause the control to fail to render properly.  I happened to find this issue because I was creating the control using Unity's resolve.  It used the second constructor by default and the control failed to render.

@mkb137 I believe this is fixed in the 2.0 projects.  Please see #33
(Note that this version also has significant improvements throughout FsXaml...)