[World Cup] Show live time for current match

Description
Fetch current match live time (refresh every minute).

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Hi @ismamz 👋
Now that we fetch the time, can we also fetch the score?

Hi @ismamz 👋
Now that we fetch the time, can we also fetch the score?

Do you mean update the score every minute? Yes, we can.
We can add also the who did the goals and the exact minute, maybe for details section.
Don't you think it would be better to leave the details closed by default?

Do you mean to update the score every minute? Yes, we can.

That would make sense, right? Would be weird only to update the time 😊

We can also add who did the goals and the exact minute, maybe for the details section.

That's also a cool idea, a lot of ideas left like players, etc, we might need to push to a new view with all that data.

Don't you think it would be better to leave the details closed by default?

Fine with me 😊

@pernielsentikaer i've pushed some changes:

Show live time and score for current match
Reversed the list for previous matches
Fixed time for matches about to start
Added goals information
Added animated GIF for empty view

https://user-images.githubusercontent.com/3452011/203845301-655fdbf6-f925-4211-9f22-7dcf6f30ac9b.mov

🔥


[camera] Migrate maven repo from jcenter to mavenCentral

The jcenter maven repository is being sunset and is currently readonly.  Migrate to mavenCentral.
Remove exoplayer workaround introduced in #977.  See also https://github.com/google/ExoPlayer/issues/5246.
Remove trailing whitespace from CHANGELOG and pubspec.
camera part of https://github.com/flutter/flutter/issues/82847
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide] and the [C++, Objective-C, Java style guides]. (Note that unlike the flutter/flutter repo, the flutter/plugins repo does use dart format. See plugin_tool format)
[x] I signed the [CLA].
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated pubspec.yaml with an appropriate new version according to the [pub versioning philosophy].
[x] I updated CHANGELOG.md to add a description of the change.
[x] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test exempt.
[x] All existing and new tests are passing.

I think the version number should be updated as a patch update. Since the Camera plugin is still in preview the version digits move one position to the left according to the Package versioning documentation.

Thanks for the catch, done!


test/fixedbugs/bug356.go fails for sparc64 SSA backend

# go run run.go -- fixedbugs/bug356.go
incorrect output
BUG bug344a 0

FAIL    fixedbugs/bug356.go     0.370s

This turned out to be a register allocation / scheduling bug for SLLmax/SRLmax:
We can't safely write to the output register(s) until we're done referencing the input register(s) as they may be the same due to register allocation scheduling by the SSA backend.
As such, stash the second argument in a temporary register so that we can safely refer to it even after writing to the output register.
Fixed by the fix for #28.


How to play back Apollo Open Data for Perception module?

How can I play back demo-sensor-demo-apollo-1.5.bag  for the Perception module ?   Is there any write up on that ?

just execute command below:
rosbag play demo-sensor-demo-apollo-1.5.bag

Thank you @mickeyouyou !


emacs: Add --with-cairo when X is enabled

Motivation for this change
Things done

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

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

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

I think this is the default already: https://github.com/emacs-mirror/emacs/commit/88efc736f562656efab778d35c32d549ef6270d7


The old version of setSize() fixed alignment manually, whereas the new version uses align()

Old version. I think this is fine, but check it!
Related: setWidth() and setHeight() do the same thing.

Should be no difference.


Sign In - Modal

Description

Added SigninModal.js
Updated Navigation with SinginModal
Re-worked all Styles to a Style Folder
Babel Generator listed twice different versions
Created a Style File Main for Nav
Created Sign in Style File

Fixes # (issue)
Issue: ESLINT : Error unknown had to ad .env file for myself
Type of change
Added .env file with the following

SKIP_PREFLIGHT_CHECK=true

Please delete options that are not relevant.

[X] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?
Not Tested
Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[ ] My code has been reviewed by at least one peer
[X] I have commented on my code, particularly in hard-to-understand areas
[] My changes generate no new warnings

looks good


code: 'WebhookTokenUnavailable'

[AntiCrash] | [UnhandledRejection_Logs] | [start] : ===============
Error [WebhookTokenUnavailable]: This action requires a webhook token, but none is available.
    at WebhookClient.send (C:\Users\SHISHIR1337\Documents\bot\WaifuMusic\node_modules\discord.js\src\structures\Webhook.js:206:28)
    at process.<anonymous> (C:\Users\SHISHIR1337\Documents\bot\WaifuMusic\Handlers\errorHandler.js:30:13)
    at process.emit (node:events:513:28)
    at emit (node:internal/process/promises:149:20)
    at processPromiseRejections (node:internal/process/promises:283:27)
    at process.processTicksAndRejections (node:internal/process/task_queues:96:32) {
  code: 'WebhookTokenUnavailable'
}
[AntiCrash] | [UnhandledRejection_Logs] | [end] : ===============

Could you tell us how you managed to solve the problem?
@shishir1337 @WilardzySenpai

Could you tell us how you managed to solve the problem?
@shishir1337 @WilardzySenpai

go to the config folder and then find the webhook json file there you'll be able to change or put the value needed.

Could you tell us how you managed to solve the problem?
@shishir1337 @WilardzySenpai

go to the config folder and then find the webhook json file there you'll be able to change or put the value needed.

Thanks!


Update dependencies

Codecov Report
Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:

Coverage data is based on head (41c1346) compared to base (530810a).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #288   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines          203       203
=========================================
  Hits           203       203

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


FR: Settings for Plot spacing/Interpolation

Hi,
Maybe this already exists, but I've not managed to find it.
I'm often working with pretty narrow and low-frequency filters. When the repsonse curves are plotted, the lines can be pretty coarse, making it a bit harder to get a good idea of the shape when comparing different filters (and also checking that I've converted co-efficients between different formats properly. Sometimes there are numerical precision issues, but it might also just be the plotting settings):

(This is on version 0.9.0b1)
I'd like to be able to edit a setting for the density of frequencies the curve are evaluated for - or conversely, if it would update this when I zoom in so that the curve always appears smooth, that would probably be even better.
Thanks!

You are right, this well-hidden feature ;-) exists: Go to Info -> Settings -> N_FFT and increase the number of points. Being the only setting with an unobvious label makes it even harder to find. Please try whether this works for you.

Ah, perfect! "It' not a bug, it's a feature". Perhaps could that go into the settings cog in the plot widget? Especially as it's a singleton all alone.
Cheers

Hm, sounds like a good idea, however, the cog just calls a matplotlib routine that I don't know how to modify. I'll try to think of something but I'm closing the issue for now.

I guess keeping it in dedicated settings would still be sensible. However, it's mainly that it was a bit difficult to find. Easy once you know, but, I'd looked a few times for some global application settings or similar and just not scanned that button.


Suggest edit link

Working on #2

[x] LInk in postmeta-footer
[x] Responsive alignment
[x] Compose href
[x] On only when .Site.Params.suggestedits is set to true
[x] Document in readme

@coolaj86 How do we create the href for the suggest edit link?

We need:

.Site.Params.gitHost (custom) gitea
.Site.Params.gitBranch (custom) main
.Site.Params.gitBaseURL (custom) https://git.coolaj86.com/coolaj86/blog
.File.Dir and .File.LogicalName (Hugo)

I don't know the exact syntax off the top of my head, but something like this:
{{ if eq .Site.Params.gitHost "gitea" }}
  {{ .Site.Params.gitBaseURL }}/_edit/{{ .Site.Params.gitBranch }}/{{ .File.Dir }}/{{ .File.LogicalName }}
{{ else }}
  {{ .Site.Params.gitBaseURL }}/edit/{{ .Site.Params.gitBranch }}/{{ .File.Dir }}/{{ .File.LogicalName }}
{{ end }}

Between GitHub, Gitea, and GitLab, there's a slight differences between the URL style - edit vs _edit. I believe GitLab is the same as GitHub in this regard.
Github:

https://github.com/org/proj/edit/main/content/blog/hello.md
https://github.com/BeyondCodeBootcamp/beyondcodebootcamp.com/edit/main/articles/how-to-create-a-server.md
Gitea:
https://git.rootprojects.org/org/proj/_edit/main/content/blog/hello.md
https://git.rootprojects.org/root/therootcompany.com/_edit/main/content/blog/best-pattern-for-async-routes-in-expressjs.md

@coolaj86 This is ready to go. I'll probably merge this in favor of #17, but we can discuss first.

@coolaj86 I did use some of the template work you did from your pr. I tried to merge it so you got credit for the commit, but I couldn't get it to work. I know you probably don't care.


docs(core): extend the grammar definition

This pull request extends the Pact grammar definition documented in Semantics.md.
Draft: The current definition is approximately complete based on the current Pact 5 parser implementation, but contains a few minor issues which are visible when testing against the Pact test files. These issues will be documented, discussed, and fixed here before merging this pull request.
To Do

[ ] Finalise operators.

Pull Request Checklist

[ ] Any changes that could be relevant to users have been recorded in the changelog

Hey @lukeribchester, thanks for the PR! Looks good so far, let me know what issues come up, because the current parser spec works against all the test files.

Hey @lukeribchester, thanks for the PR! Looks good so far, let me know what issues come up, because the current parser spec works against all the test files.

Hey @jmcardon, thank you and apologies for my delayed reply. I've further refined the grammar definition based on my experiences working with it for the IntelliJ Platform plugin release, and I've separated most special characters from the identifier token definition into their respective definitions and categories. My parser now functions correctly against all test files except for fv-syntax-regression.repl — where individual % and @ symbols raise syntax errors. My understanding is that neither of these are operators in Pact nor Lisp. I could classify them as identifiers but that feels weird. What do you recommend?

This is currently in use in version 0.2.0 of the Pact plugin for the IntelliJ Platform if you wish to check it out — it's the first release with native language support.

Hey @lukeribchester, thanks for the PR! Looks good so far, let me know what issues come up, because the current parser spec works against all the test files.

Hey @jmcardon, thank you and apologies for my delayed reply. I've further refined the grammar definition based on my experiences working with it for the IntelliJ Platform plugin release, and I've separated most special characters from the identifier token definition into their respective definitions and categories. My parser now functions correctly against all test files except for fv-syntax-regression.repl — where individual % and @ symbols raise syntax errors. My understanding is that neither of these are operators in Pact nor Lisp. I could classify them as identifiers but that feels weird. What do you recommend?

Hi I'm sorry for the delayed reply!
Pact-5 is just parsing this atm, and we amended the parse tree to work with this regression.


Correct parameters for addShapes() in example

In the sample java app, Shape.Square.INSTANCE and Shape.Circle.INSTANCE is used. However, in the README, the INSTANCE part is omitted which could confuse new users of the library.

Thanks @jaeheonshim


Convert markdown on viz repo into blog post

https://github.com/kedro-org/kedro-viz/blob/main/LAYOUT_ENGINE.md would make a nice blog post to add to our set.

See https://docs.tokern.io/data-lineage/installation/#architecture for a possible case study that uses the engine...cc @astrojuanlu


Clarification regarding deadman's switch global configuration

Hi,
I am trying to configure a global deadman's switch for all my tasks in the kapacitor.conf file. The example configuration file states the following:
[deadman]
  # Configure a deadman's switch
  # Globally configure deadman's switches on all stream tasks.

In the doc's reference for BatchNode, Deadman is listed as a chaining method. Hence I find it odd that a global configuration for it would work only for stream tasks and not batch.
So my question is: if the settings in the kapacitor.conf are truly ONLY valid for stream tasks, like it appears to be the case, therefore I should configure deadman's switches individually for each of my batch tasks?
Also, is there a way to blacklist a task from having a deadman's switch when it's configured globally?
Thank you

@roribio Initially it only worked for stream tasks but that changed. We will update the docs to state that global deadman will work for both stream and batch tasks.

Also, is there a way to blacklist a task from having a deadman's switch when it's configured globally?

Not currently.

Thank you. I appreciate it 👍


Incorrect number of backups

Hello
Version:
nxs-backup 3.6.1
With the following settings:
    backup_path: /var/nxs-backup/dump
    retention:
      days: 2
      weeks: 2
      months: 0

One more backup is actually being created than necessary, i.e., there are 3:
/var/nxs-backup/dump/psql/dev1_example_db/daily#
5.8G    dev1_example_db_2024-06-03_03-00.sql
5.7G    dev1_example_db_2024-06-05_03-00.sql
5.7G    dev1_example_db_2024-06-04_03-00.sql

Hi @Vikontrol.
This issue has been fixed in the v3.7.1 release.


Collect all policies, and place under "policies" top-level topic

Find all policies across the wikis, and place in documents in a new top-level "policies" topic.
A sampling of policies to find:

[ ] Queue policies
[ ] contrib/data usage/retention
[ ] System usage

(https://github.com/hderry/noaa-rdhpcs.github.io/blob/main/source/queue_poilcy/index.rst)


Some tests in rbac operator are still flaky

test_rbac_controller_external_resources still fails sometimes even after increasing max retries from 5 to 10
Reconciliation happens every five minutes. Let's check that max retries and the timeout in between exceed five minutes.

I tried to increase the retries to 6 with a 60-second delay, which should cover the case that reconciliation only happens after 5 minutes.
However, it didn't help.

A fix was applied and the tests succeeded for many consecutive times.
If the problem persists and another flake occurs, this issue will be re-opened.


Automatically expand comment box

Describe the solution you'd like
HockeyApp automatically adjusted the height of the comment box in the overview so that the saved comment was completely visible straight away.
Describe alternatives you've considered
Currently one has to click on the comment to see the comment completely.
I could not any existing tickets for this.
Thanks in advance.

@db2222 Thanks for the suggestion! Just to clarify, this is for the comment box when you add an annotation to a crash, right?

Correct, in the overview of a crash report that has an added annotation.
Furthermore I noticed that the problem does not seem to occur if manual line breaks are added (expands).
So an automatic line wrap would probably be useful.


Unable to fetch submodule

Hi,
I am trying to test a repository that require to pull a submodule repo in order to be deployed, when the deploy starts, the main repository look to have the right key but when it try to fetch the git submodules it throws an error saying that the repository was not found:
here is the error on the stacktrace
$ git clone --depth=50 --recursive --branch=my-branch git@github.com:xxx/main_repo.git /var/cache/drone/src/github.com/xxx/main_repo
Cloning into '/var/cache/drone/src/github.com/xxx/main_repo'...
Warning: Permanently added 'github.com,x.x.x.x' (RSA) to the list of known hosts.
Submodule 'submodule_repo' (git@github.com:xxx/submodule_repo.git) registered for path 'submodule_repo'
Cloning into 'submodule_repo'...
ERROR: Repository not found.
fatal: The remote end hung up unexpectedly
Clone of 'git@github.com:xxx/submodule_repo.git' into submodule path 'submodule_repo' failed

I checked the public key and they look correct for both the main repo and the submodule repo
here is my .drone.yml file
image: bradrydzewski/ruby:1.9.3
env:
 - RAILS_ENV=test
script:
  - cp config/drone.database.yml config/database.yml
  - bundle install
  - psql -c 'create database test;' -U postgres -h <IP_ADDRESS>
  - bundle exec rake db:schema:load
  - bundle exec rspec spec
services:
  - postgres

Any idea why it cannot find the repo?

Drone only associates the keypair it generates for a build with a single repository. You can see this by viewing the "Deploy keys" in "Settings" for the parent repository. When you're pulling in something as a submodule that is in another private repo, that keypair doesn't have access to that content.
The easiest way to resolve this is to remove the public key from "Deploy keys" from the parent project, and instead associated with a user or organization that has access to all necessary repositories. See also drone/drone#1040.

@benschumacher I am fairly new with drone so I might have missed something, I haven't found any configuration option where I can set the github user to drone - How can I do that?

@mtanzi Drone exposes the public part of the keypair if you go to "Settings" for a build. You'll need to copy that content, then go to GitHub user/organization and add a new "SSH keys" in the section of "Settings". One note, as I intimated earlier, GitHub won't let you have the same public key in two different locations within their system -- you'll have to remove the key from "Deploy keys" for the specific repo.
Hope this helps.

@benschumacher is correct. The ssh key that Drone uploads to your repository only has permission to clone that repository (submodules not included). The key needs to be moved from the repo-level to the user-level, granting it access to clone multiple repos. Ben has described the steps to make that work (thanks Ben)
Hopefully that helps. Please feel free to use gitter.im/drone/drone for further questions

Thanks a lot @benschumacher @bradrydzewski  I'll set the ssh key at the user level.

I have the same problem using 0.5 - submodules using ssh cannot be pulled. Is there a way to add a public key for the drone server as a deployment key or what is the recommended way to solve this in 0.5? Thanks

@sdbondi drone supports mapping ssh submodules to https. Please see the following section of the documentation:
http://readme.drone.io/0.5/usage/cloning/#private-submodules:694aaf6bb8eef58529ced737905d0d1a

@bradrydzewski Thanks for the quick response :+1: A little confused, does the clone key in pipeline have a special meaning? I get an Image not found error because I'm not specifying an image.
From the docs:
pipeline:
  clone:
    # Seems to be looking for an image?
    recursive: true
    submodule_override:
      hello-world: https://github.com/octocat/hello-world.git

yes, you'll want to be sure to include the image name. This will be properly documented prior to the 0.5 release, but we removed some magic in favor of being explicit with image names:
pipeline:
  clone:
+   image: plugins/git
    recursive: true
    submodule_override:
      hello-world: https://github.com/octocat/hello-world.git

Awesome, that makes much more sense! Didn't know about the git plugin - great solution for submodules, thanks for all the hard work!

What if it's a submodule of submodule?


Experimental/Circle2.0 Precise

Following https://github.com/StackStorm/st2/pull/3584
Experiments with CircleCI 2.0 Docker runner and precise :expressionless:  container for Unit tests.

So running Unit tests under precise is faster indeed:

(THIS) CircleCI Docker executor + resource_class: large + Precise: https://circleci.com/gh/StackStorm/st2/4482

container1: 15:05min
container2: 14:56min

(python2.7) CircleCI Docker executor + resource_class: large: https://circleci.com/gh/StackStorm/st2/4075

container1: 17:05min
container2: 15:19min

But it's still not even near to Travis:

TravisCI, sudo: true, distro: precise: https://travis-ci.org/StackStorm/st2/builds/249695861

container1: 6:17min
container2: 5:31min

When running CircleCI 2.0 Docker executor with 4 parallelism + precise container + resource_class: large (https://circleci.com/gh/StackStorm/st2/4483) it's near the same as running CircleCI 2.0 Machine executor with 4 parallelism + trusty VM (https://circleci.com/gh/StackStorm/st2/4446).


This repo can be used in integration tests for all libs, not just Python

testsuite-py -> testsuite or similar, and setup runners for the core Python and Javascript libs, as well as for implementations in other languages as they come in (currently, R, and Ruby on its way).

https://github.com/frictionlessdata/project/issues/264


security: consider implementing security policy and enable Dependabot Auto PR

As of 01/26/2024, there are 4 outstanding security alerts with one of them being rated as High severity. We require a much responsive model in terms of patching security vulnerabilities.
I would recommend adding a security policy clarifying what do we (plan to) provide and enabling automated PR by Dependabot helping patching the vulns.

wasmtime related upgrades always require some changes in the code as they sometimes change their APIs 🤕.

And I see this issue has been addressed in #26 and following dependabot-related PRs, now closing as completed!


Using pack  - include project reference as dependency even if the id doesn't match?

For a project template file, the rule for determining dependencies is (as per the docs):
the output assemblies of any project references which do not have a matching template file
However, in most of our projects the package id doesn't match the project name since we use a company prefix on the package names. This means that inter-project dependencies that also publish their own packages will be included in the lib folder but not as dependencies.
So, how can I make it so that our inter project dependencies are added as dependencues even if the id doesn't match?
/cc @mavnn

It's not done on id at all: it's based on whether the linked proj file has
an associated paket.template.
Is it not working?
On 2 Mar 2015 20:44, "Andrew Jones"<EMAIL_ADDRESS>wrote:

For a project template file, the rule for determining dependencies is (as
per the docs http://fsprojects.github.io/Paket/template-files.html):
the output assemblies of any project references which do not have a
matching template file
However, in most of our projects the package id doesn't match the project
name since we use a company prefix on the package names. This means that
inter-project dependencies that also publish their own packages will be
included in the lib folder but not as dependencies.
So, how can I make it so that our inter project dependencies are added as
dependencues even if the id doesn't match?
/cc @mavnn https://github.com/mavnn
—
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/issues/670.

Oh right, let me try again

It is the behaviour I'm getting (v<IP_ADDRESS>):
paket.template id in referenced project == project name: project reference included as dependency
paket.tempate id in referenced project != project name: project reference included in lib folder
Quick look at the code - is this it:
https://github.com/fsprojects/Paket/blob/016da709ba8a74c7244bc9fbba3bac4be05adf8f/src/Paket.Core/PackageMetaData.fs#L145
Would run the debugger but gotta run now. Will check back tomorrow.

Ah, no: it's here https://github.com/fsprojects/Paket/blob/016da709ba8a74c7244bc9fbba3bac4be05adf8f/src/Paket.Core/PackageProcess.fs#L83 . id should be the project name (which is how we look it up later) not the nupkg id (which is what it's being set to currently).

So it's a bug?

Yes
On 3 Mar 2015 07:09, "Steffen Forkmann"<EMAIL_ADDRESS>wrote:

So it's a bug?
—
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/issues/670#issuecomment-76897519.

Okay I need this so I'll fix it now, unless @mavnn is already on it

Go for it - I'm on other stuff today
On 3 March 2015 at 10:41, Andrew Jones<EMAIL_ADDRESS>wrote:

Okay I need this so I'll fix it now, unless @mavnn
https://github.com/mavnn is already on it
—
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/issues/670#issuecomment-76923056.


Expand installation guide

Hi, I had to uncomment the following line in .bashrc to get my terminal (Elementary OS 0.1) to not ignore the themes:
#force_color_prompt=yes

This might be something that should go in the documentation.
PS Thanks for your great work!

Done :D Tnks
#9921a8a


GLOW enhancement!

Fixing of the  "Titanium" with proper color shades and animation of glow ,when we enter that section. i am adding the image but make sure to check what it looks in official site.

Checkout my pull request!


Bad Request error

I keep on getting
<class 'musicbot.exceptions.CommandError'>: BAD REQUEST (status code: 400)
when i do some commands. Anyone knows how to fix it?

I'm having the same issue. Any time the command !play is used that's what comes up in the bat.

This is the same issue as #873.


Making Install and Uninstall Apps more deep

Hello,
i want to bring this functions in function;).

# Uninstall WindowsApp
Function UninstallWindowsApp($AppName)
{
	If ($AppName)
	{
		Write-Output "Uninstalling $AppName ..."
		#Get-AppxPackage "$AppName" | Remove-AppxPackage
	}
}

# Install WindowsApp
Function InstallWindowsApp($AppName)
{
	If ($AppName)
	{
		Write-Output "Installing $AppName ..."
		#Get-AppxPackage -AllUsers "$AppName" | ForEach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
	}
}

Knows anybody how can i tweak this script that i can render up some options for the -preset and for the direct function call.
.\Win10Cmd.cmd RequestAdmin InstallWindowsApp WaitForKey
default.preset
InstallWindowsApp[App] or some other.
thx will be made this script more deep;)

That would require some rework of the argument parser which I'm not really keen on doing. There currently aren't any functions which would accept parameters and installation/uninstallation of apps is probably the only tweak which would benefit from such change. But then again, if you would want to uninstall all apps, as most of the people do, you would need to have some wrappers for it anyway, because you probably wouldn't want to maintain ~75 extra lines in preset just because of that.
However version 3.0 released today allows for implementation of custom tweaks, so you can have custom tweaks for the uninstallation and group the apps based on whatever criteria fits you. So you can have e.g. a file called mytweaks.psm1 with following content
Function UninstallGames {
    $games = @(
        "king.com.BubbleWitch3Saga",
        "king.com.CandyCrushSodaSaga",
        "king.com.CandyCrushSaga"
    )

    ForEach ($app in $games) {
        Get-AppxPackage -Name $app | Remove-AppxPackage
    }
}

And they you just add UninstallGames to your preset and run the script as
powershell.exe -NoProfile -ExecutionPolicy Bypass -File Win10.ps1 -include Win10.psm1 -include mytweaks.psm1 -preset yourpreset.preset


tagList seems to be ignored

it seems like the tagList is ignored. could it be that the param is lowercase but the radio-browser api is expecting it as tagList?

Can you give me more details?
This code works:
const api = new RadioBrowserApi('appname')

api.searchStations({ tagList: ['dance', 'house'] ,limit:2}).then((stations) => console.log(stations))

<EMAIL_ADDRESS>

True, while it does return results, the results do not contain the tags requested. It's basically the same result you would get if you would not have sent the tags. I saw that prior to sending the request the request url is lowercased, I then tried to request the same search with tagList as the parameter and then it returned stations that do contain the requested tags.


fix key object sub path in shell web ui

js error when fetching for sub field something like : address.sity .
we need sourownd field name by double cot (") to work. like this: "address.sity".

Closed because it is not a real issue


Folder structure keeps collapsing when switching projects

ISSUE
I've updated Project Viewer today to the latest version, and now the folder structure on the left keeps collapsing when switching between projects. This didn't happen before, and as I'm sure you can imagine, can be frustrating if you're working on files deep in a folder structure, and you're switching between projects.
Environment

OS: Windows 7 Pro;
Atom: 1.14.3 ia32;
Project Viewer: 1.0.9;

Steps
I have the folder structure in the left panel, code/tabs in the middle panel, and project viewer in the right panel. If I open a few folders in the left panel so I can see the contents and/or open files, then click on a different project in the right panel (project viewer), then click back to first project again, the folder structure has been collapsed.
Don't know if this is related to an update to Atom or Project Viewer, as the folder structure is an Atom thing, but it happens when switching projects in Project Viewer.
This collapsing didn't happen before, it used to remember which folders were open when switching between projects.
Note
Great work on this project BTW, it's so useful to be able to categorise projects into groups.

hey @stephen-last,
You are right, missed something in the new workflow. Thanks for pointing this out.
The last major refactor would be indeed on the context switching. A lot as changed in Atom's core, so i need to dig further. And sometimes it's going beyond the public API so there is always an inside debate if i should walk such paths. But hey, it's for the community!
Thanks for the last note :+1: really means something.

@stephen-last, please validate this

@jccguimaraes Hi, I don't think this is working... I've updated to the latest version (1.0.12) this morning.
If I have two projects listed in Project Viewer, I select the first one, open a folder in the tree view, then select the second one, and back again to the first, the folder has closed. The folder state (open) wasn't remembered when switching between projects.
I'm on Atom 1.15.0 now which is the latest version.

hummm, that is really weird. can you access the devTools and type atom.packages.getActivePackage('tree-view')?

Yep, i get this:

Package {path: "C:\Users\stephen.last\AppData\Local\atom\app-1.15.0\resources\app.asar\node_modules\tree-view", metadata: Object, packageManager: PackageManager, config: Config, styleManager: StyleManager…}

The object has lots of properties, is there something in there that might help..?

if you can debug the line 252 in project-view.js would be great because that should be good.
devtools -> source -> cmd+o -> write project-view.js
if that is too much is ok

I've taken a look, and in C:\Users\stephen.last\.atom\packages\project-viewer\src\project-view.js at line 251 it has your update code that starts // hack to make tree-view update on project switching.
This code is there...
I can't tell you anything about the code though, I've never done any Atom development before.

hummm this link is from a previous version. Are you sure you are running atom 1.1.15 and pv 1.0.12? i know you said you are, although the code for tree-view is the same. it seems that it is not entering in the if condition. debug is easy, is just clicking on the line in the source

I'm not running Atom 1.1.15, I'm running 1.15.0, which Atom is telling me is the latest version. PV is 1.0.12 as shown in the settings under packages.
That's a cool amin you've sent. I can add a breakpoint, but I can't see the values when I hover over the variables like you can.

Ok... I'm getting the hang of this debug... When I click on a project, I see this:

serialization is undefined.

now we are getting somewhere :) you don't have serialization, which means, the context is not being saved, so if you go back and forward in projects, it will not do anything, can you check in the pv confs if you have checked keepContext or something like that?

Yes, I have Keep Context ticked...

hummm, ok, so i found the issue here.
when you keep context, you ain't closing the current files opened PV just updates the tree-view files. PERIOD.
When you don't keep context, when you switch between projects, it will unload/load context to that project, including the tree-view state / scroll.
It's a bug, because i should save the tree-view state, scroll and width regarding the keep context.
I advise you, if this is not an issue for you, to untick the keepContext so that tree-view plays nicelly
Thanks for the value input @stephen-last. Really helped out in the troubleshooting.

no problem. i do this for the community :)

good news @stephen-last, fixed, i just need to validate more stuff regarding the breaking changes atom 1.17.0 introduced.

please check new version 1.1.0 and provide feedback if possible.


How to get credentials outside of a demo example

Hi,
I got a test working where I'm generating self-signed certificates; which I need to include in the client with the server_certificate_hashes option.
But in a real use-case where I deploy my server, how would clients get correct credentials?

Generally, for PROD environments the server should present a valid (trusted by known CA) certificate and serverCertificateHashes is not required (as client can validate the proper certificate). So PROD environment should rely on PKI mechanisms.
I intend serverCertificateHashes more for Development/Testing environment, also because there are a few constraints on its usage: see requirements here. For instance, the certificate validity period cannot be more than 2 weeks.

Having said that, I don't know if you already had a look at wtransport/examples/full.rs.
In that example, the server is also serving the web resources (the client web application), and when the server starts the certificates is injected in the javascript.

Here the template javascript

Here where the template is replaced with the hash

Thanks!

I will check out PKI mechanisms. ("PKI webtransport" doesn't give much info on google unfortunately)
the example is pretty cool! In my case I'm not sure if the server can also serve the web client, but I like the idea :)

Sorry PKI stands for Public Key Infrastructure, it is how generally certificate infrastructure works.
What I meant is: if you have a PROD environment you should rely on good practices like serving a certificate that clients can check against a well-known trusted authority (CA).
There are free solution to sign a certificate, for example: https://letsencrypt.org/

@cBournhonesque consider using xwt-cert-utils if you need this in wasm. wtransport doesn't build in wasm.
@BiagioFesta serverCertificateHashes is absolutely intended for production environments, as they can provide even better transport security by requiring that the server an exact certificate that matches the requested hash. This gives the application a chance to defend against MITM attacks that compromise the Web PKI root certs storage of the client. Those have been quite prominent in the wild lately, and before the serverCertificateHashes capabilities you'd need a native app to defend against those. So, the serverCertificateHashes is very useful as an intended way of running production.


Add License

Hi @ostranme,
would you mind to release this Repository under a License?
Maybe MIT or Apache 2?

@DennisKae It already is under MIT. You can find info at the bottom of the readme. thanks


fix jdkDate parser

related: https://github.com/adoptium/aqa-test-tools/issues/360
Signed-off-by: OscarQQ<EMAIL_ADDRESS>

@llxia this pr is updated :)


Update README.md

This could be a nice way to describe the readme file.

Definitely yes...But I had to put it that way because...The maintainers of this project know best what is to be in the Readme file than I do....That's why I left it that way so that they can add the rest.

Definitely yes...But I had to put it that way because...The maintainers of this project know best what is to be in the Readme file than I do....That's why I left it that way so that they can add the rest.


Installing for Angular

How to install this for Angular?
After
npm i tinode-sdk
there is error:
TS7016: Could not find a declaration file for module 'tinode-sdk'. '/node_modules/tinode-sdk/umd/tinode.prod.js' implicitly has an 'any' type.
Try `npm install @types/tinode-sdk` if it exists or add a new declaration (.d.ts) file containing `declare module 'tinode-sdk';`

Hello, this package is still under development.

So far I see
npm i tinode-sdk
install the JavaScript-version. For the TypeScript-version you have to run
npm i git://github.com/tinode/typescript-sdk.git
and import modules with full path. That isn't right way to import packages, but I will try to use it.

This package is not completed won't work for now

ok, I would warn about it in Readme.md. Then better is to create @types/tinode-sdk for JavaScript for now.


Problem searching Thai

We are planning a trip to Thailand, so I downloaded the English-Thai dictionary in this excellent app (thank you for keeping it going!!). I also enabled Thai language as an option in the (built-in) LG Keyboard on my phone (so I can now switch between English, Spanish, and Thai keyboards as I type on the phone).
So, the bug: When I go into the Thai side of the English-Thai dictionary, I find that I can search by the transliteration of words into Roman alphabet only. For instance, if I type "see" I get some words matched, such as the transliterated "see-chom-poo". But when I switch to the Thai keyboard and type Thai characters, nothing happens in the search -- it doesn't seem to recognize that the Thai characters I have entered match any words.
I was wondering if the Thai keyboard on the phone was the problem, so I went to wikipedia.org in my browser, switched to Thai language there, and verified that I can search Wikipedia in Thai using the Thai keyboard on my phone (not that I can read any of the entries, but the search worked). I also highlighted the first few characters of some random word in an entry I was looking at, and copy/pasted that into QuickDic's search box, but again I got no search results, even when I backspaced it down to just one or two characters. And I even tried copy/pasting some Thai from a Quickdic dictionary entry, and that didn't work in the search box either.
So I think the QuickDic app is not successfully matching Thai characters to characters in the Thai/English dictionary.
I hope that wasn't too much detail... as an open-source software developer myself, I always like to have as much information as possible in bug reports. I'd be happy to test further... thanks!

Caused by overzealous apk size optimization.
Fixed in cbd442aba18333cfacfdd6cbc3a9e69bf8c09c17

Also released to beta channel on Play Store.

Thanks for the quick action!

Just wanted to let you know that I signed up for the beta/dev version of the app, and Thai searching now works fine. Thanks again!


Safari webapp

Hey
First of all, great app! I tried searching but github on mobile is messy sometimes... anyhow, it would be cool if you could add the meta tags for safari web capable apps :)
Link
I might take a shot at it when I’ve finished moving to a new place and have some more time :P

Hm that would require some sort of navigation or at least a back button on the page though

Tried that, didn't really make it. Because of how iOS's "threading" system works (IFAIK), Safari web "apps" will reload themselves whenever you switch out and back in, rendering the apps virtually unusable.

Right, of course 😿


Title and favicon

On the header.php, I cannot find where the  is but on the rendered page, the title is there. Where is this inserted. For example I want to have a title like this on my pages: Home - My Site.
Currently, its:  Home | My Site.
I'm also wondering why in my attachments page (image.php template), it's not getting the site's favicon like the rest of the pages.
Where do I add this? How do I edit it?

The <title> tag was removed from the theme in https://github.com/olefredrik/FoundationPress/commit/fbde88f15976dc21e66965d4a0633629e0a16c83 and is now handled by WordPress, as is recommended by WordPress.

Thanks @Aetles. I didn't know that. How about the favicon in the attachment page, you know why it won't display?

The favicon on the attachment page (or on the admin page) will only show if it is placed in the root of your website (not in the theme folder)...

Thanks @dantahoua for giving me an idea. However while I was googling wp+root+favicon, I found out that favicons can be inserted in the WP admin area on the site identity via this link - https://make.wordpress.org/core/2015/07/27/site-icon/.
What I did was removed everything that involves favicons / icons in the header and then inserted the image in the customizer. The header looks cleaner and it solved my problem.

FoundationPress does not support all the features of the Customizer and site icon is one of those. FoundationsPress has a hard coded path for the favicon, just look at line 18 in header.php:
<link rel="icon" href="<?php echo get_stylesheet_directory_uri(); ?>/assets/images/icons/favicon.ico" type="image/x-icon">

But the favicon appears and my site seems to be working fine now even without those link tags.
I'm still using the FoundationPress based on Foundation 5 (haven't updated to FP6) with the latest version of WP.
So it seems to be supporting it?

Yeah, I wasn't totally clear before. Site Icons works without theme support, it says so right on the page that you linked:

Site Icons work out of the box, are theme independent, and don’t require theme support.

But in order for that to work with FoundationPress you have to remove the hard coded favicon support that is currently in header.php, as you did.
IMO FoundationPress should remove those lines and rely on Site Icons instead. (Also, most of what's in cleanup.php should be removed, but that's another story…)


Reject invalid dates

cf. https://github.com/gulpjs/vinyl-fs/issues/191

This would normalize to a timestamp.  So the method name would be weird.  I think, based on #4, that it would take lenient input (dates, numbers, number objects) and return a Date object.  We could mirror that with a .timestamp() method that returns the number timestamp.
Also, do you think we should use the vali-date module to do date object validation?

This PR doesn't change the return type, just the boolean function to decide accept/reject of the given value. In response to the vinyl-fs issue about consistent dates.
Looking at this though, got me thinking about lenient in / strict out, and then I made that issue here, so I guess my timing was confusing but this PR is separate.
I have something working for that other issue as well but would like to add a bit more.

PS vali-date would not be necessary I think. Wasteful even, because it checks validity by actually coercing to Date... Which it then throws away and returns true or false. For us to coerce again.

Oh yeah, I was thinking about that method incorrectly.  This looks good.  I'll merge and bump patch version.

Thanks!


Why does IdentityServer4 use cookies?

Question / Steps to reproduce the problem
I noticed in the example apps/templates that the AccountController and ExternalController both store a cookie to track signed in users. I thought one of the main differences of OIDC/OAuth (compared to traditional sign ins) was to use JTWs in request headers instead of cookies. Is that assumption wrong? Are cookies still used with OIDC/OAuth?
I notice with other auth providers like Auth0, they use the header approach:
https://auth0.com/docs/quickstart/spa/react/02-calling-an-api#call-the-api
Also GitHub:
https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#response
What I really want is an OAuth API that hosts the login page auth.example.com/login, this will return a JWT that can be used to make requests to api.example.com/orders. Internally auth.example.com/login will call api.example.com/auth/login. I just really want the complex OAuth stuff split out, I don't want any presentation logic in api.example.com and I only want one API to access the underlying database.
I can use cookies that work on sub domains but I'm not sure what the security ramifications may be with that. I was just why the recommended/default practice is to use cookies?
Minimal working example
Taken from AccountController in is4ui template:
// issue authentication cookie with subject ID and username
await HttpContext.SignInAsync(user.SubjectId, user.Username, props);

Looks like there's extra config to use JWTs instead of cookies:
http://docs.identityserver.io/en/latest/topics/apis.html
Would be great if there was a template for this too.

I have the same enquiries too

IdentityServer4 gives the client a cookiewhen they sign in. This cookie is then swapped for a JWT token using OIDC or OAuth2. So the cookie will be for auth.example.com and that is fine as the client will use that URL to get a token that works wherever I configure it to.

Exactly. Please read the OIDC spec for more details.


Menu rewrite

Fix #196
Complete rewrite of the menu widget
MenuTree is now divided into Item and Menu, since widgets have to be wrapped inside menu tree nodes and most items won't have a submenu, wrapping with Item only costs each widget one extra pointer
New helper macros: menu_item, menu, menu_bar, details are in the docs
Menu bar background styling
Mouse interaction is now implemented
Rename PathHighlight to DrawPath, a FakeHovering variant is added, details are in the docs
ItemWidth and ItemHeight are removed, static width and dynamic height should suffice, other options can be easily implemented by the lib users
Todos:

CloseCondition
Multioverlay

I'm a bit tired working on this rewrite, I'll come back to the todos later, but I need to take break for now
@genusistimelord can you test it and see if there are bugs I didn't catch, if there are't any you can merge it now
Btw I have to comment out this
[workspace]
members = [
    ...
    # "examples/floating_element multioverlay",
    ...

for some reason cargo won't compile the menu example if I don't

yeah the example Errors because I forgot to upload the folder. I did that just now so it should work now and you need to merge those into this.

OK I see a few issues with the Scroller menu.
1: When Selecting the jcsu button the popup menu cuts itself off at the top and only works when it finally detects the jcsu button is paste half way and displays it below.
2: The scrolling of the inner menu causes the button/label to scrunch rather than scroll.

3: the scrollbars are not visible for direct scrolling and it is Very slow to scroll via middle mouse button.
Other than those everything else looks good.

OK I see a few issues with the Scroller menu.
1: When Selecting the jcsu button the popup menu cuts itself off at the top and only works when it finally detects the jcsu button is paste half way and displays it below. 2: The scrolling of the inner menu causes the button/label to scrunch rather than scroll.  3: the scrollbars are not visible for direct scrolling and it is Very slow to scroll via middle mouse button.
You will also need to run cargo fmt and cargo clippy and fix all the issues too.
Other than those everything else looks good.

1: Fixed
2:This is the expected behavior atm, the algorithm simply clips whatever that is not visible, it does not know where the clipping happens, and it scales the layouts at the two ends to fit the space, one benefit is that it keeps the content in the middle so when a tall widget gets clipped the text stays in the middle. I can fix that but it'll take some time
3:Scroll speed added, scrollbar was not planned, I can do it but again it'll take some time, I have to save it for later
Those fmt and clippy issues come from floating element and tabs, should I fix them?

yes please fix the clippy issues and fmt issues.

Ok on second thought the scaling does look stupid it's now fixed

thank you for all your hard work =D.  Also thank you for fixing the scaling XD

LFG!!


Zookeeper based file config storage

I'm using typesafe config in my application but we want to distribute the instances, provide synchronization and share configuration. We decided to use Zookeeper for that.
Have you thought about implementation of Zookeeper based storage? Currently I see only file based storage.
If you think this is a good idea, we can contribute that feature in a near future.

You could add a feature to the core for some kind of extension SPI that would let people add new sources and/or file formats to ConfigFactory.load. We talked about something similar for YAML support on another issue.
The core lib is zero dependencies and also I don't want to start collecting tons of backends I don't really use or understand, even if dependencies were OK. So I'd like to see an extension feature so that third parties can drop something like zookeeper support on the classpath and have it be picked up.
Hope that makes sense and happy to help talk over the extension mechanism. I think there's a lot of prior art out there such as slf4j, that's the sort of approach I have in mind. I'm pretty sure I've seen some blog posts or other write ups on best practices for Java SPIs. The main trick is that extensions have to be located by classpath search rather than explicit registration.

+1 for having support for a pluggable (etcd, zookeeper etc.) remote-based configuration. Something like https://github.com/rodrigosaito/spring-etcd

The next step here is for someone to investigate/propose/implement the needed SPI mechanism, so that new ways to load config can be added by dropping an extension jar on the classpath.

+1, we need this too. In our case, we need an extension we can use to get and set values from Amazon KMS ( Key Management Services ) to manage credentials.
Outside of having an extension point, is the 'right' way to implement what we need to subsclass SimpleConfig and use it to decorate the standard, loaded config?

You shouldn't subclass Config (the docs point out that the interface will add methods), and SimpleConfig is private. Instead, create a Config (based on your KMS values) and then merge it in to other sources of config using withFallback. Best practice for libraries is to allow you to pass in your merged config, see https://github.com/typesafehub/config/tree/master/examples for how it should work.

I understand but i have a problem that makes this approach difficult. Let me illustrate.
suppose i have this:
myapp.db.password=DEFAULTPASSFORDEV
I can override something like this:
String passValue = kms.get("myapp.db.password");
Properties p = new Properties();
p.put("myapp.db.password", "passValue");
Config c = ConfigFactory.parseProperties ( p )
Config effective = c.withFallback(originalConfig);
But the problem here is that I need to enumerate all of the possible keys that could be used. This is not possible in KMS-- there's no api ( intentionally ) to just list all of the keys. You can only decrypt a value that you have stored.  I had thought of doing something like this:
myapp.db.password=${kms:23920191019021}
When I see this type of key, i know to go to KMS, decrypt this, and substitute the password.  In this way, i dont ever need to be able to enumerate all of the keys that i need to look up ahead of time.
So the question is, how can i inject an overridden value without having to know up front all of the values that could possibly by overridden?

#300 would let you scan the config and analyze substitution nodes, perhaps. Don't know that there's a good way to do that right now.

In next 2 weeks I shall write a sample spec and implementation of a SPI-based registry.

cool! feel free to bounce ideas off of us here or on the gitter chat.

Netflix has a great library (Archaius) for this based on apache commons. Supporting import of Apache Commons Configuration would be a great step in allowing developers to accomplish this.


Correct docs of batch_{re}normalization about running averages

Current document is quite misleading. The link chainer.links.BatchNormalization does not access to running_mean and/or running_var; instead it relies on in-place updates. But another link chainer.links.BatchRenormalization indeed accesses to the attributes.

Jenkins, test this please.


Adding support for EdDsa ?

Hello,
Was wondering if this project would consider accepting contributions for adding support of EdDsa

Hello,
We absolutely accept contributions! We do ask that any new functionality also should come with unit tests. Feel free to reach out with any questions.
Thanks,
Andrew

I am re-opening to see if anyone has started work.  If you're currently working on it, I'd like to help.  I'll be putting in the work if I don't see any positive replies here.


weights array size does not match?

when I try to convert , this error happens :
core/utis.py , line 114
conv_weights = conv_weights.reshape(conv_shape).transpose([2, 3, 1, 0])
ValueError: cannot reshape array of size 4629942 into shape (1024,512,3,3)
thanks in advance!

What file do you run ?
What model do you use ?
What pretrained weight do you use ?

my command is：
python convert_tflite.py --weights ./data/yolov4.weights --output ./data/yolov4.tflite
and I changed my own weights， this weights is trained on a dataset like voc ， but less labels ，and model settings are same as  yolov4 (608*608 input).
thanks!

@noprohuangqi can u post or email me your cfg file? i can check your isssue

of cource , can u give me a email , then I send this for you to check

@noprohuangqi  in core/yolov4.py line 89, 102 and 114 u change NUM_CLASS equal to your number classes of your dataset

ok  , I will try . And do I need change coco.names to voc.names?

thanks , finally success. Thank you for your help


EventHubSender may throw NullPointerException on .close()

EventHubSender lazy initialized the underlying AMQP connection.  Connection status is not checked when EventHubSender.close() is invoked.  This will cause a NullPointerException if no data was sent between creating and closing the EventHubSender.

This PR is now merged. Thanks for the contribution.


Using custom_fields values in account customisations

Hi, we would liek to use the custom variables generated in the account creation step in the global/account customisations, but there doesnt seem to be a way currently without using the api helpers. Is this correct?

Hi @ChrisMusgrove,
The values entered in the custom_fields map are created as SSM parameters in the target account with a prefix of /aft/account-request/custom-fields/.
You can query these parameters in later stages via Terraform or in the API helper scripts.

The https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ssm_parameter data resource can be used to query the values of SSM parameters.
The roles used by CodeBuild in both customization pipelines have permissions to query AFT SSM parameters


add operations_test.go  w/signoff

Description
This PR fixes #501
Notes for Reviewers
Signed commits

[X] Yes, I signed my commits.

Also, the golangci-lint CI was failed but it may need more PRs to fix these issues.

Thanks for you contribution.


Merge vex behavior into bombastic server

I tried to make this a straight refactor, so that all the integs continue to pass with minimal modification. So all the indexing should still be intact.
With this change, both VEX and SBOM's reside in the same bucket, distinguished by path. This makes for some uncomfortable names atm, specifically around topics. I think I'd like to fix those names in a separate PR.

hi @jcrossley3 o/ I was looking at the files in your PR https://github.com/trustification/trustification/pull/1008/files
apparently you just need to take care of possible conflicts (maybe zero conflicts) related to bombastic/api/Cargo.toml
and the Cargo.lock

Apparently you just need to take care of possible conflicts (maybe zero conflicts) related to bombastic/api/Cargo.toml and the Cargo.lock

Yes, until we merge this, I regularly rebase on main to pick up the latest changes and resolve those conflicts. Thanks!

@ctron @bobmcwhirter should i wait for your approvals before merging to develop branch?


[Bug]: invalid OnSchemaObjectGrantKind: PROCEDURE during import

Terraform CLI Version
v1.9.1
Terraform Provider Version
v0.96.0
Terraform Configuration
Old HCL from version 0.92 of the provider:
resource "snowflake_procedure_grant" "create_database_and_change_ownership" {
  database_name       = snowflake_procedure.create_database_and_change_ownership.database
  schema_name         = snowflake_procedure.create_database_and_change_ownership.schema
  procedure_name      = snowflake_procedure.create_database_and_change_ownership.name
  privilege           = "USAGE"
  argument_data_types = ["string"]
  roles = [
    snowflake_role.ci.name,
    ...
  ]
}

New resource in 0.96 of the provider:
resource "snowflake_grant_privileges_to_account_role" "create_database_and_change_ownership_procedure_grants" {
  for_each = toset([
    snowflake_role.ci.name,
    ...
  ])
  privileges        = ["USAGE", ]
  account_role_name = each.key
  on_schema_object {
    object_type = "PROCEDURE"
    object_name = "${snowflake_procedure.create_database_and_change_ownership.database}.${snowflake_procedure.create_database_and_change_ownership.schema}.${snowflake_procedure.create_database_and_change_ownership.name}"
  }
}

Category
category:resource
Object type(s)
resource:grant_privileges_to_account_role
Expected Behavior
I should be able to migrate this grant from version 0.92 to version 0.96 by way of terraform state rm ... && terraform state import ... as generally described here.
Actual Behavior
$ terraform import module.snowflake_ci.snowflake_grant_privileges_to_account_role.create_database_and_change_ownership_procedure_grants[\"CI_ROLE\"] "CI_ROLE|false|false|USAGE|OnSchemaObject|PROCEDURE|CREATE_DATABASE_AND_CHANGE_OWNERSHIP.CREATE_DATABASE_AND_CHANGE_OWNERSHIP.CREATE_DB_AND_CHANGE_OWNERSHIP"

Error: [grant_privileges_to_account_role_identifier.go:196] invalid OnSchemaObjectGrantKind: PROCEDURE

I have also tried the import using slashy escape quotes around the role name and the object names, but with the same error:
$ terraform import module.snowflake_ci.snowflake_grant_privileges_to_account_role.create_database_and_change_ownership_procedure_grants[\"CI_ROLE\"] "\"CI_ROLE\"|false|false|USAGE|OnSchemaObject|PROCEDURE|\"CREATE_DATABASE_AND_CHANGE_OWNERSHIP\".\"CREATE_DATABASE_AND_CHANGE_OWNERSHIP\".\"CREATE_DB_AND_CHANGE_OWNERSHIP\""

Steps to Reproduce
Try to replace an old snowflake_procedure_grant resource with a new snowflake_grant_privileges_to_account_role resource by way of terraform state rm ... && terraform import ....
How much impact is this issue causing?
Medium
Logs
No response
Additional Information
Here is the old resource as seen in the terraform state:
$ terraform state show module.snowflake_ci.snowflake_procedure_grant.create_database_and_change_ownership
# module.snowflake_ci.snowflake_procedure_grant.create_database_and_change_ownership:
resource "snowflake_procedure_grant" "create_database_and_change_ownership" {
    argument_data_types    = [
        "string",
    ]
    database_name          = "CREATE_DATABASE_AND_CHANGE_OWNERSHIP"
    enable_multiple_grants = false
    id                     = "CREATE_DATABASE_AND_CHANGE_OWNERSHIP|CREATE_DATABASE_AND_CHANGE_OWNERSHIP|CREATE_DB_AND_CHANGE_OWNERSHIP|string|USAGE|false|false|false|STAFF_SPRINGBOOT,CI_ROLE|"
    on_all                 = false
    on_future              = false
    privilege              = "USAGE"
    procedure_name         = "CREATE_DB_AND_CHANGE_OWNERSHIP"
    roles                  = [
        "CI_ROLE",
        "STAFF_SPRINGBOOT",
    ]
    schema_name            = "CREATE_DATABASE_AND_CHANGE_OWNERSHIP"
    shares                 = []
    with_grant_option      = false
}

And as seen in Snowflake:

Would you like to implement a fix?

[ ] Yeah, I'll take it 😎

Here is how to reproduce this on-demand with minimal moving parts.

Take this HCL and apply it using provider version 0.92.0. This will apply cleanly.

terraform {
  required_providers {
    snowflake = {
      source  = "Snowflake-Labs/snowflake"
      version = "0.92.0"
    }
  }
}

resource "snowflake_role" "foo" {
  name = "ROLE_ISSUE_3132"
}

resource "snowflake_database" "foo" {
  name = "DATABASE_ISSUE_3132"
}

resource "snowflake_schema" "foo" {
  database = snowflake_database.foo.name
  name     = "SCHEMA_ISSUE_3132"
}

resource "snowflake_procedure" "foo" {
  name     = "PROCEDURE_ISSUE_3132"
  database = snowflake_database.foo.name
  schema   = snowflake_schema.foo.name
  language = "JAVASCRIPT"
  arguments {
    name = "arg1"
    type = "varchar"
  }
  comment     = "Procedure with 1 argument"
  return_type = "VARCHAR"
  execute_as  = "OWNER"
  statement   = <<EOT
var X=1
return X
EOT
}

# terraform state rm snowflake_procedure_grant.foo
resource "snowflake_procedure_grant" "foo" {
  database_name       = snowflake_procedure.foo.database
  schema_name         = snowflake_procedure.foo.schema
  procedure_name      = snowflake_procedure.foo.name
  privilege           = "USAGE"
  argument_data_types = ["string"]
  roles = [
    snowflake_role.foo.name,
  ]
}

# terraform import snowflake_grant_privileges_to_account_role.foo[\"ROLE_ISSUE_3132\"] "\"ROLE_ISSUE_3132\"|false|false|USAGE|OnSchemaObject|PROCEDURE|\"DATABASE_ISSUE_3132\".\"SCHEMA_ISSUE_3132\".\"PROCEDURE_ISSUE_3132\""
# resource "snowflake_grant_privileges_to_account_role" "foo" {
#   for_each = toset([
#     snowflake_role.foo.name,
#   ])
#   privileges        = ["USAGE", ]
#   account_role_name = each.key
#   on_schema_object {
#     object_type = "PROCEDURE"
#     object_name = "${snowflake_procedure.foo.database}.${snowflake_procedure.foo.schema}.${snowflake_procedure.foo.name}"
#   }
# }

Upgrade the provider version pin to 0.96.0 and terraform init.
Comment out snowflake_procedure_grant.foo
Uncomment snowflake_grant_privileges_to_account_role.foo
terraform state rm snowflake_procedure_grant.foo
terraform import snowflake_grant_privileges_to_account_role.foo[\"ROLE_ISSUE_3132\"] "\"ROLE_ISSUE_3132\"|false|false|USAGE|OnSchemaObject|PROCEDURE|\"DATABASE_ISSUE_3132\".\"SCHEMA_ISSUE_3132\".\"PROCEDURE_ISSUE_3132\"" (you can try this one with or without slashy escape quotes, it's the same both ways).
See error:

snowflake_grant_privileges_to_account_role.foo["ROLE_ISSUE_3132"]: Importing from ID "\"ROLE_ISSUE_3132\"|false|false|USAGE|OnSchemaObject|PROCEDURE|\"DATABASE_ISSUE_3132\".\"SCHEMA_ISSUE_3132\".\"PROCEDURE_ISSUE_3132\""...
╷
│ Error: [grant_privileges_to_account_role_identifier.go:196] invalid OnSchemaObjectGrantKind: PROCEDURE
│
│
╵

Hi @jrobison-sb 👋
Thanks for the detailed description. There are two problems here:

In order to grant privileges on functions and procedures, you must provide the fully qualified name of the resource, which in this case also includes argument types. In v0.96, we introduced a computed fully_qualified_name field, which is suited for referencing in other resources. Please try something like

     object_name = snowflake_procedure.foo.fully_qualified_name

The import ID is incorrect. The format should be

"<account_role_name>|<with_grant_option>|<always_apply>|<privileges>|OnSchemaObject|OnObject|<object_type>|<object_name>"

(see docs). You are missing OnObject part in your import statements.

@sfc-gh-jmichalak thanks.
I was able to get this to import using:
terraform import snowflake_grant_privileges_to_account_role.foo[\"ROLE_ISSUE_3132\"] "\"ROLE_ISSUE_3132\"|false|false|USAGE|OnSchemaObject|OnObject|PROCEDURE|\"DATABASE_ISSUE_3132\".\"SCHEMA_ISSUE_3132\".\"PROCEDURE_ISSUE_3132\"(VARCHAR)"

In case anyone stumbles upon this from google, the name of the procedure needed to include the argument type ((VARCHAR)), otherwise the import crashed the provider.


PHP Warning:  Unknown: failed to open stream: No such file or directory in Unknown on line 0 error after installing gitscrum

i have just installed gitscrum but when i do an artisan serve, i get the following error on my terminal
Laravel development server started: <http://<IP_ADDRESS>:8000> [Mon Oct  9 19:34:47 2017] PHP Warning:  Unknown: failed to open stream: No such file or directory in Unknown on line 0 [Mon Oct  9 19:34:47 2017] PHP Fatal error:  Unknown: Failed opening required '/home/jafar690/school/laravel-gitscrum/server.php' (include_path='.:/usr/share/php') in Unknown on line 0 [Mon Oct  9 19:34:48 2017] PHP Warning:  Unknown: failed to open stream: No such file or directory in Unknown on line 0 [Mon Oct  9 19:34:48 2017] PHP Fatal error:  Unknown: Failed opening required '/home/jafar690/school/laravel-gitscrum/server.php' (include_path='.:/usr/share/php') in Unknown on line 0 [Mon Oct  9 19:34:48 2017] PHP Warning:  Unknown: failed to open stream: No such file or directory in Unknown on line 0 [Mon Oct  9 19:34:48 2017] PHP Fatal error:  Unknown: Failed opening required '/home/jafar690/school/laravel-gitscrum/server.php' (include_path='.:/usr/share/php') in Unknown on line 0 [Mon Oct  9 19:34:48 2017] PHP Warning:  Unknown: failed to open stream: No such file or directory in Unknown on line 0 [Mon Oct  9 19:34:48 2017] PHP Fatal error:  Unknown: Failed opening required '/home/jafar690/school/laravel-gitscrum/server.php' (include_path='.:/usr/share/php') in Unknown on line 0
i have installed everything correctly but i have not been able to get rid of this error, any help will be highly appreciated.

Trying add this file to root project folder https://github.com/laravel/laravel/blob/master/server.php

/**

Laravel - A PHP Framework For Web Artisans

@package  Laravel
@author   Taylor Otwell<EMAIL_ADDRESS>*/

$uri = urldecode(
parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
);
// This file allows us to emulate Apache's "mod_rewrite" functionality from the
// built-in PHP web server. This provides a convenient way to test a Laravel
// application without having installed a "real" web server software here.
if ($uri !== '/' && file_exists(DIR.'/public'.$uri)) {
return false;
}
require_once DIR.'/public/index.php';

This one works with 5.5
`<?php
/**

Laravel - A PHP Framework For Web Artisans

@package  Laravel
@author   Taylor Otwell<EMAIL_ADDRESS>*/

$uri = urldecode(
parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
);
// This file allows us to emulate Apache's "mod_rewrite" functionality from the
// built-in PHP web server. This provides a convenient way to test a Laravel
// application without having installed a "real" web server software here.
if ($uri !== '/' && file_exists(DIR.'/'.$uri)) {
return false;
}
require_once DIR.'/public/index.php';
`

@AgusRdz i get a page not found in github for that url.

@luizhenriquesoares now i get this error in my terminal

✘ jafar690@gakami  ~/school/laravel-gitscrum   master ●  art serve --port=8080
Laravel development server started: http://<IP_ADDRESS>:8080
[Wed Oct 25 17:07:03 2017] PHP Notice:  Use of undefined constant DIR - assumed 'DIR' in /home/jafar690/school/laravel-gitscrum/server.php on line 20
[Wed Oct 25 17:07:03 2017] PHP Warning:  require_once(DIR/public/index.php): failed to open stream: No such file or directory in /home/jafar690/school/laravel-gitscrum/server.php on line 20
[Wed Oct 25 17:07:03 2017] PHP Fatal error:  require_once(): Failed opening required 'DIR/public/index.php' (include_path='.:/usr/share/php') in /home/jafar690/school/laravel-gitscrum/server.php on line 20
[Wed Oct 25 17:07:04 2017] PHP Notice:  Use of undefined constant DIR - assumed 'DIR' in /home/jafar690/school/laravel-gitscrum/server.php on line 16
[Wed Oct 25 17:07:04 2017] PHP Notice:  Use of undefined constant DIR - assumed 'DIR' in /home/jafar690/school/laravel-gitscrum/server.php on line 20
[Wed Oct 25 17:07:04 2017] PHP Warning:  require_once(DIR/public/index.php): failed to open stream: No such file or directory in /home/jafar690/school/laravel-gitscrum/server.php on line 20
[Wed Oct 25 17:07:04 2017] PHP Fatal error:  require_once(): Failed opening required 'DIR/public/index.php' (include_path='.:/usr/share/php') in /home/jafar690/school/laravel-gitscrum/server.php on line 20
[Wed Oct 25 17:07:04 2017] PHP Notice:  Use of undefined constant DIR - assumed 'DIR' in /home/jafar690/school/laravel-gitscrum/server.php on line 16
[Wed Oct 25 17:07:04 2017] PHP Notice:  Use of undefined constant DIR - assumed 'DIR' in /home/jafar690/school/laravel-gitscrum/server.php on line 20
[Wed Oct 25 17:07:04 2017] PHP Warning:  require_once(DIR/public/index.php): failed to open stream: No such file or directory in /home/jafar690/school/laravel-gitscrum/server.php on line 20
[Wed Oct 25 17:07:04 2017] PHP Fatal error:  require_once(): Failed opening required 'DIR/public/index.php' (include_path='.:/usr/share/php') in /home/jafar690/school/laravel-gitscrum/server.php on line 20
[Wed Oct 25 17:07:04 2017] PHP Notice:  Use of undefined constant DIR - assumed 'DIR' in /home/jafar690/school/laravel-gitscrum/server.php on line 16
[Wed Oct 25 17:07:04 2017] PHP Notice:  Use of undefined constant DIR - assumed 'DIR' in /home/jafar690/school/laravel-gitscrum/server.php on line 20
[Wed Oct 25 17:07:04 2017] PHP Warning:  require_once(DIR/public/index.php): failed to open stream: No such file or directory in /home/jafar690/school/laravel-gitscrum/server.php on line 20
[Wed Oct 25 17:07:04 2017] PHP Fatal error:  require_once(): Failed opening required 'DIR/public/index.php' (include_path='.:/usr/share/php') in /home/jafar690/school/laravel-gitscrum/server.php on line 20

@fatonsopa i get this error

✘ jafar690@gakami  ~/school/laravel-gitscrum   master ●  art serve --port=8080
Laravel development server started: http://<IP_ADDRESS>:8080
[Wed Oct 25 17:08:02 2017] PHP Notice:  Use of undefined constant DIR - assumed 'DIR' in /home/jafar690/school/laravel-gitscrum/server.php on line 20
[Wed Oct 25 17:08:02 2017] PHP Warning:  require_once(DIR/public/index.php): failed to open stream: No such file or directory in /home/jafar690/school/laravel-gitscrum/server.php on line 20
[Wed Oct 25 17:08:02 2017] PHP Fatal error:  require_once(): Failed opening required 'DIR/public/index.php' (include_path='.:/usr/share/php') in /home/jafar690/school/laravel-gitscrum/server.php on line 20
[Wed Oct 25 17:08:02 2017] PHP Notice:  Use of undefined constant DIR - assumed 'DIR' in /home/jafar690/school/laravel-gitscrum/server.php on line 16
[Wed Oct 25 17:08:02 2017] PHP Notice:  Use of undefined constant DIR - assumed 'DIR' in /home/jafar690/school/laravel-gitscrum/server.php on line 20
[Wed Oct 25 17:08:02 2017] PHP Warning:  require_once(DIR/public/index.php): failed to open stream: No such file or directory in /home/jafar690/school/laravel-gitscrum/server.php on line 20
[Wed Oct 25 17:08:02 2017] PHP Fatal error:  require_once(): Failed opening required 'DIR/public/index.php' (include_path='.:/usr/share/php') in /home/jafar690/school/laravel-gitscrum/server.php on line 20
[Wed Oct 25 17:08:02 2017] PHP Notice:  Use of undefined constant DIR - assumed 'DIR' in /home/jafar690/school/laravel-gitscrum/server.php on line 16
[Wed Oct 25 17:08:02 2017] PHP Notice:  Use of undefined constant DIR - assumed 'DIR' in /home/jafar690/school/laravel-gitscrum/server.php on line 20
[Wed Oct 25 17:08:02 2017] PHP Warning:  require_once(DIR/public/index.php): failed to open stream: No such file or directory in /home/jafar690/school/laravel-gitscrum/server.php on line 20
[Wed Oct 25 17:08:02 2017] PHP Fatal error:  require_once(): Failed opening required 'DIR/public/index.php' (include_path='.:/usr/share/php') in /home/jafar690/school/laravel-gitscrum/server.php on line 20
[Wed Oct 25 17:08:03 2017] PHP Notice:  Use of undefined constant DIR - assumed 'DIR' in /home/jafar690/school/laravel-gitscrum/server.php on line 16
[Wed Oct 25 17:08:03 2017] PHP Notice:  Use of undefined constant DIR - assumed 'DIR' in /home/jafar690/school/laravel-gitscrum/server.php on line 20
[Wed Oct 25 17:08:03 2017] PHP Warning:  require_once(DIR/public/index.php): failed to open stream: No such file or directory in /home/jafar690/school/laravel-gitscrum/server.php on line 20
[Wed Oct 25 17:08:03 2017] PHP Fatal error:  require_once(): Failed opening required 'DIR/public/index.php' (include_path='.:/usr/share/php') in /home/jafar690/school/laravel-gitscrum/server.php on line 20

@jafar690 You should setup virtual host (apache or nginx) and point to public folder in root project. If you want to run by php artisan serve, you must add server.php file to root folder project (this file is default when installing laravel project, perharp some deleted it).
But if you run serve by php artisan serve, it is a PHP's built-in development server. And it is not stable.
Typically, you may use a web server such as Apache or Nginx to serve your applications

I my own case I noticed that
require_once __DIR__.'/public/index.php';
is not this same as
require_once __DIR__.'./public/index.php';

sdfsdfs


Installation shell script fix

Fixes #2997

actual issue this PR references would be #2977. :)

Hi @bacongobbler. I have made the requested changes.

Hi @bacongobbler. I have made all the requested changes.

thanks for being so patient @goostleek :)


Scale values interpretation

Solution: Objectron
Language: Javascript API , Three.js
Can somebody explain better what the scale values obtained from the objectron solution mean? I'm trying to render a mesh on top of the predicted landmarks. When I assign this scale values to the 3dmodel it is transformed in an inaccurate and weird way.
This is what I found in the documentation and in the Javascript implementation:

scale:  3x1 vector describing the scale of the rigid object's frame of reference in the camera-coordinate system.
scale : relative scale of the object along x, y and z directions.

What does relative mean here?
How a mesh scale is influenced if those values are used to set the mesh scale? Is the final result influenced by the initial scale of the mesh I load?

Hi @UX3D-mazzini ,
To provide 3D coordinates in camera coordinate system at least requires calibration of camera which is depend on the devices. This is beyond our current scope which is to enable hand tracking on any types of cameras.
One possible way to achieve that is to use ARCore/ARKit for Android/IOS to get 3D sparse point cloud and then align the keypoints with those hand landmarks.

Hi @UX3D-mazzini ,
Marking this as duplicate https://github.com/google/mediapipe/issues/3341 and we are waiting for issue resolution.


datamodel: update documentation for getPropType

documentation indicates that getPropType() returns a name (string), but it actually returns the type instance (or None). update the documentation to reflect this.
feel free to close this issue and open a bug that the documentation was correct and the implementation wrong, and i'll take a stab at fixing that.

returning the name (a string) is as easy as:
-return self.getDataType( pdef[1].get('ptype') )
+return self.getDataType( pdef[1].get('ptype') ).name


[Draft] Array input feature Issue #74

Hi there.
The last two weeks I have been working on the array feature, and now I finally have something working which I think could do the job.
The implementation works as follows:

When JS is enabled, there is a variable keeping track of the array elements. A concatenated list of this is set as the value of the actual (yet hidden) input field, so the input fields presented to the user aren't really functional. This approach allows for adding new values, editing existing ones and removing them.
When JS is disabled, an input field is shown and when clicking the 'Add' button under it a request is sent with an additional field 'submit' with the value 'add-name of input'. The backend sends back a response with success: false but no errors, which refreshes the vales and allows the user to add another value. Through a similar method, it is also possible to remove but not edit existing values.

Known bugs/limitations:

the Zod min() is not supported because when JS disabled, there is a problem with updating the input filed
there aren't yet any test because in my setup the current tests aren't even working + I find it more sensible to first discuss the code as it is so far

What I need help with:

I don't know if my code is up to your standards (probably not) especially in terms of naming conventions, etc.
Some general feedback if what I have done has any chance of being merged one day

Thanks a lot for your time and effort
Paul

Hey, @C0mput3r5c13nt15t! Thanks SO MUCH for this. I haven't had the chance to review it yet, but I'll check it thoroughly and provide feedback soon.
I've been putting a lot of thought into how our API for arrays should be and haven't yet found one that feels right, primarily due to progressive enhancement concerns. Your idea of submitting the form but not redirecting when adding array items is ingenious, and it has already opened the realm of possibilities in my mind. Thank you!

Hey, @C0mput3r5c13nt15t!
I got a chance to review your PR and I don't think we'll merge something like this any time soon. We think the inversion of control we have now is a better solution for dealing with arrays than a heavily-opinionated default like the one you're suggesting.
I've been using arrays with this inversion of control approach very successfully in my projects. Check out an example on #73.
I hope some day we'll have a solution that "magically creates array (and object) fields" without betting so heavily on one pattern. But until we have an API that feels right, we'll bet on the inversion of control approach.
Thank you very much for your contribution! Please keep the ideas coming 💪🏼


Issue with docs.zowe.org/stable/user-guide/cli-using-displaying-help/

Description

The Zowe Web Help does not show the CLI plugins that it used to display before. I see that there is v2.0.0. Is there a way how I can get to the v1 with all the plugins?
Pages to Update
https://docs.zowe.org/stable/web_help/index.html
Expected behavior

I would like to see documentation of all CLI plugins. For both v1 and v2 because I am using v1 and v2 for different projects.
Additional context

Thank you! It brought me to https://docs.zowe.org/v1.27.x/web_help/index.html which is the version with all CLI plugins.
My mistake was clicking on the dropdown with versions that redirected me to the home page.
When I download the ZIP format it downloads the 1.27.3 version with all the plugins instead of 2.0.0.

@petr-galik
That's a bug! :( We will fix asap.. Please check when you get in on Tuesday.

Thank you, it works 👍🏼

Closed, verified fixed.


SetChain in multi chain doesn't work

Thanks for filling out this bug report. Please provide as much detail as possible.
If your issue is with our RPC APIs and not the SDK please report your issue on (discord)[https://alchemy.com/discord].
[REQUIRED] Environment

Browser version:
AA SDK version: 3.18.2
Package:

[REQUIRED] Describe the problem
I created a config to have multi chain by setting connections in config, but setChain from useChain hook doesn't work.
How to reproduce:
Relevant code or sample repro:

@InfiniteAengus I encountered the same issue. The correct way to use the function is setChain({ chain: xxx }). The documentation needs to be updated.

@InfiniteAengus I encountered the same issue. The correct way to use the function is setChain({ chain: xxx }). The documentation needs to be updated.

Thank you. seems like it's working

@InfiniteAengus @LeifuChen Sorry about this! Glad you were able to debug and I've updated the doc. Thanks a lot for flagging 🙏


Investigate dependabot workflow runs hanging

When the changesets are committed by github bot in the dependabot workflow, https://github.com/FuelLabs/fuels-ts/pull/2488 was supposed to have addressed this as well but it seems it didn't,  the CI still hangs as can be seen in https://github.com/FuelLabs/fuels-ts/pull/2554

This isn't a blocker for CI runs as once the branch is updated the workflows re-run

@FuelLabs/sdk-ts Until we have this fix, we must intervene manually in these PRs so the workflows run as expected.


Expose WebSocket protocol

The JavaScript websocket is defined with 2 arguments, url and protocol:
class WebSocket(var url: String = js.native, var protocol: String = js.native)

But Laminext doesn't allow setting the protocol:
val ws = new raw.WebSocket(url)

Any chance to release this in the near future? 😄


White Screen of Death

I've been noticing this behavior often lately where a code change during a REPL session will render a white screen and all subsequent changes will be ignored. There are no errors shown in the REPL or in the error view and the only remedy is completely restarting the app / REPL session.

Simple example to reproduce:
In the boilerplate template, changing this:
(touchable-highlight
  {:style {:backgroundColor "#999" :padding 10 :borderRadius 5}
   :onPress #(alert "HELLO!")}

  (text
    {:style {:color "white" :textAlign "center" :fontWeight "bold"}}
    "press me")))))))

to this:
(touchable-highlight
  {:style {:backgroundColor "#999" :padding 10 :borderRadius 5}
   :onPress #(alert "HELLO!")}

  #_(text
    {:style {:color "white" :textAlign "center" :fontWeight "bold"}}
    "press me")))))))

causes a complete breakdown with no visible errors. Undoing the change has no effect.

I see alot of this; it does make for a painful development experience; it would be nice to debug this somehow not sure where to start? would be nice to have a catch these errors and output them so even if I do have to restart I at least know what happened.


feat: Add e2e tests

Description
Adds a first batch of automated tests for the frontend to minimize the manual testing needed on it when realising a new version of Substra.
Closes FL-520

/e2e -h

Usage: /e2e [options] [help]

/e2e may appear anywhere as long as it is on its own line

Options:
  --refs <value>                          Extra refs (branch or tag) with format REPO=GIT_REF,REPO=GIT_REF.
  Supported repositories: orchestrator, substra-backend, substra-frontend, substra-tools, substrafl, substra, substra-tests, substra-documentation, substra-ci.
  Example: /e2e --refs substra-backend=some_branch,orchestrator=some_tag (default: {})
  --tests-to-run, --tests <tests-to-run>  Comma-separated list of tests to run. Valid options: sdk, substrafl, doc, frontend, mnist, camelyon or NONE. (default: "sdk")
  -h, --help                              display help for command

/e2e --tests frontend[mnist] --refs substra-ci=refactor/frontend-tests

End to end tests: :hourglass_flowing_sand: STARTING

/e2e --tests frontend[mnist] --refs substra-ci=refactor/frontend-tests

End to end tests: :hourglass_flowing_sand: STARTING

Please wait for the companion PR to be created on substra-ci 🙏
Merging as is will break the nightly for sure as the default test dependency for frontend is still SDK

End to end tests: ✔ SUCCESS

⚠
E2E frontend tests appear to be successful but they are not.

End to end tests: :hourglass_flowing_sand: STARTING

End to end tests: ❌ FAILURE
Jobs status:

Camelyon / camelyon,frontend: ✔
Dispatch Jobs: ✔
Documentation: ⏭
MNIST / mnist,frontend: ✔
SubstraFL / substrafl,frontend: ❌
SubstraSDK: ⏭

“It’s just a flesh wound.”

The test "can update user" seem now to systematically fails on all jobs:

On the documentation:

Test "clicks on perf card to display perf details fails

Test "can download perf details as jpeg or csv" fails

Ok might have to test something else with the "can update user because it is definitely too flacky anyway.
Fails on documentation are normal because there is no performance so he doesn't find the performance display and he can't download them.


⚠ 366.ru has degraded performance

In ea43c9d, 366.ru (https://366.ru) experienced degraded performance:

HTTP code: 200
Response time: 1935 ms

Resolved: 366.ru performance has improved in 2e91fa7 after 5 minutes.


Command to de-authenticate currently authed Radicle identity

We currently automatically store in Secret Storage each passphrase that was successfully used to authenticate a DID. Once that is done, we'll always auto-auth with that DID using the stored passphrase and there's not some way to interrupt that automation cycle.
We may need to look further into that in the future, but for now, we should have a new command accessible in VS Code's Command Palette which:

removes from ssh-agent the SSH key associated with the currently authed DID
removes the related stored passphrase from Secret Storage, if any
logs and notifies the user that their identity is now locked again and (if that indeed happened) that their stored passphrase has been deleted from Secret Storage

Demo:
https://github.com/cytechmobile/radicle-vscode-extension/assets/7542054/d50437fb-5e04-4915-b0d7-17113eda2890


Add plot for in-situ data visualisation

Add a (plotly) graph component to visualise data from the geoDB. In its simplest form, plot a variable against time. Linking the plot view with the geometries on the map is a definitive asset (e.g., highlight selected geometries in both, provide information in a dedicated info box).

Closed by #35


ActivatorUtilities doesn't use the longest matching ctor

This seems to be similar to the same problem as described in #2871. Even though its title is "ActivatorUtilities needs to use the longest available constructor when multiple ctors are available", the problem that was solved was that multiple constructors don't throw anymore.
The unit test in aspnet/DependencyInjection#637 explicitly shows that the described problem (i.e. using the constructor with the most parameters) isn't solved. The "solution" by @pakrym is the addition of an additional attribute, but this should only be taken into consideration when there are multiple constructors with the same number of parameters that could all be resolved using DI or the additional parameters.
The main problem seems to be, that the ConstructorMatcher doesn't check if the constructors needs could be solved by using the given IServiceProvider.

Just changing the behavior is a breaking change, that's why we added the attribute.


ZeroDivisionError: division by zero

when i run the code that:
import xiangshi as xs
# Simhash
print(xs.simhash(["-", "-"]))
# Minhash
print(xs.minhash(["-", "-"]))

it will cause errors
File "/home/tuxiaobei/.local/lib/python3.8/site-packages/xiangshi/main.py", line 214, in minhash
return intersect / total
ZeroDivisionError: division by zero
and i use the xiangshi:4.1.0

Sorry for the late reply, but this issue has been fixed in version 4.2.0+:
import xiangshi as xs

print(xs.simhash("-", "-")) # Returns 1.0
print(xs.minhash("-", "-")) # Returns 1.0

Note that the input for v4.2.0+ is different (for previous versions the input is a list, while for v4.2.0+ the input are two strings).


Create a docs site

🗣 Description
Create a docs site. This site will be hosted at https://cisagov.github.io/crossfeed/ and will get its content from the markdown files in the docs repository.
Using the uswds-jekyll theme to render the site.
Also added a CI workflow to build and publish the site to GitHub Pages.
Sample site (on my own fork): https://epicfaace.github.io/crossfeed/
Screenshot:

Related: #180
Because we're using a website, we'll also be able to have a more interactive (zoomable) architecture diagram:

This is awesome!


Add quick access to XCUIApplications for some built-in iOS apps that may be relevant for UI testing.

🤩


Fix smaller issues; package sorting and documentation

Description
Using isort to fix the import of the packages. Fixes issue #245 and issue #244.
Type of change
Please remove options that are irrelevant.

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Checklist

[x] I have read the contributing guidelines
[x] I have updated the HISTORY.rst and AUTHORS.rst files
[x] Linting passes successfully : make lint
[x] Typing passes successfully : make type-check
[x] Unit tests pass successfully : make tests
[x] Coverage is 100% : make coverage
[x] Documentation builds successfully : make doc

Codecov Report
Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:

Coverage data is based on head (ef3069a) compared to base (b75e212).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #246   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           24        24
  Lines         2450      2447    -3
  Branches       267       267
=========================================
- Hits          2450      2447    -3

Impacted Files
Coverage Δ

mapie/__init__.py
100.00% <100.00%> (ø)

mapie/classification.py
100.00% <100.00%> (ø)

mapie/conformity_scores.py
100.00% <100.00%> (ø)

mapie/metrics.py
100.00% <100.00%> (ø)

mapie/quantile_regression.py
100.00% <100.00%> (ø)

mapie/regression.py
100.00% <100.00%> (ø)

mapie/tests/test_classification.py
100.00% <100.00%> (ø)

mapie/tests/test_common.py
100.00% <100.00%> (ø)

mapie/tests/test_conformity_scores.py
100.00% <100.00%> (ø)

mapie/tests/test_metrics.py
100.00% <100.00%> (ø)

... and 6 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Redundant Filtering UI in Directory

What did you expect to happen?
I expect that there is one clear way to filter orgs in the directory.
What happened?
In the current design, there is a "filter" button at the top right of the directory, as well as filtering options in the left sidebar. We should clarify what the correct design is.
Version
Pre-release (Development)
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Looks like this is addressed in #50


plotman plot not working

Hi im having this problem

...starting plot loop
Traceback (most recent call last):
  File "/home/sidekick/chia-blockchain/venv/bin/plotman", line 8, in <module>
    sys.exit(main())
  File "/home/sidekick/chia-blockchain/venv/lib/python3.8/site-packages/plotman/plotman.py", line 143, in main
    wait_reason = manager.maybe_start_new_plot(cfg.directories, cfg.scheduling, cfg.plotting)
  File "/home/sidekick/chia-blockchain/venv/lib/python3.8/site-packages/plotman/manager.py", line 131, in maybe_start_new_plot
    stdout=open(logfile, 'w'),
FileNotFoundError: [Errno 2] No such file or directory: '~/chiaPlotman/logs/2021-05-10-17:11:03.log'

mkdir -p ~/chiaPlotman/logs/

I'm also having this same issue. The directory exists and I tried granting all access to create/delete files.. still not working.

I'm also having this same issue. The directory exists and I tried granting all access to create/delete files.. still not working.

"not working". Funny sentence. There is probably error on the screen you should share.


How to make the tts update source compatible with obtainium?

How to make https://k2-fsa.github.io/sherpa/onnx/tts/apk-engine.html compatible with obtainium for updates?
It will be very useful :)

Sorry, we have no experience about https://github.com/ImranR98/Obtainium


fix gpkg query

Status
READY
JIRA Ticket
N/A
Description
Refactoring to fix an issue with querying a GeoPackage store after WFS store ran under the queryAllStores method.
Todos

[x] Tests
[x] Documentation
[x] License

Steps to Test or Reproduce
Outline the steps to test or reproduce the PR here.
git fetch --all
git checkout <feature_branch>
./gradlew connectedCheck

@boundlessgeo/spatial-connect

👍


[PowerToys]File actions menu docs

Linked PR: https://github.com/microsoft/PowerToys/pull/31220

@Aaron-Junker
Does it make sense to update gpo docs here too? Or do you create a new PR for the gpo docs?

@Aaron-Junker Does it make sense to update gpo docs here too? Or do you create a new PR for the gpo docs?

Thanks for the heads-up

ping @Aaron-Junker


26 update docstrings to google style

These are the docstrings I have changed so far. Let me know if there is anything wrong!

I won't forget to re-open this when we do something similar to https://github.com/SupertechLabs/general-superstaq/pull/218 before the repo-merge.


need to change acronym

Description
The HLC acronym should be changed to reflect that this SDK applies to the Fabric, not to Hyperledger generally.
Describe How to Reproduce
N/A - this needs to be changed throughout the code and documentation

@smithbk ^^ we should rename this 'fabric-node-sdk' to be consistent with other components (fabric-peer, fabric-membersrvc, fabric-chaintool, etc)

or maybe 'fabric-sdk-node' so that they all sort together assuming we have other SDKs.

@christo4ferris I'll change the acronym to "hfc" for "Hyperledger Fabric Client".  OK?

@christo4ferris In the fabric/sdk/node/README.md or anything under fabric/sdk/node, the acronym of course refers to the HLC node SDK.  The "hfc" npm module is of course node.  If there is documentation outside of the context of the node SDK, of course the acronym "hlc" will need to be qualified by saying the "node hlc" or "node hlc SDK".

   I meant to say ...
If there is documentation outside of the context of the node SDK, of course the acronym "hfc" will need to be qualified by saying the "node hfc" or "node hfc SDK".

@smithbk 'hfc' is fine, I suppose, but not very descriptive. I think I would prefer fabric-sdk (ok, I can be convinced that the npm module by definition means it is the node sdk). Basically, it should be something that when a dev does a search on NPM returns the obvious result. The problem with a TLA is that you need to know what it means before you run into it. Search on 'hyperledger' and which of the results do you think is the correct one? https://www.npmjs.com/search?q=hyperledger If we have a hyperledger account and publish a 'fabric-sdk' then it is crystal clear which one you want.


Modify tests for equations + start to work on equations2

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

24 of 24 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 35.838%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
5061

Relevant Lines:
14122

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

24 of 24 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 35.838%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
5061

Relevant Lines:
14122

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

24 of 24 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 35.838%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
5061

Relevant Lines:
14122

💛  - Coveralls


Use Trigger Config files

I've also used this PR to test filters for linting triggers

Shouldn't we also have a nightly trigger?

There isn't a way to create a manual trigger. You can only create a manual trigger through the UI. Should we have a "push" trigger instead that we can convert to manual?