Sync branch dev-tw from main

Describe your changes
Sync branch dev-tw from main

Conflicts: config.toml

Related issue number or link (ex: resolves #issue-number)
resolves #2413
Checklist before opening this PR (put x in the checkboxes)

[x] This PR does not contain plagiarism

don’t copy other people’s work unless you are quoting and contributing it to them.

[x] I have signed off on all commits

signing off (ex: git commit -s) is to affirm that commits comply DCO. If you are working locally, you could add an alias to your gitconfig by running git config --global alias.ci "commit -s".

This PR does not require review for its content. I've checked manually merged file https://github.com/cncf/glossary/pull/2461/files#diff-28043ff911f28a5cb5742f7638363546311225a63eabc365af5356c70d4deb77 and LGTM. Thanks @ydFu
Let me merge this PR as one of the maintainers. :)


【CVE】libbz2-a273e504.so.1.0.6 still has 2 CVE

This issue seems to be still not fixed？
https://github.com/opencv/opencv-python/issues/659
libbz2-a273e504.so.1.0.6 has 2 CVE
CVE-2019-12900
CVE-2016-3189
installation method:
pip install opencv-python
get opencv_python-<IP_ADDRESS>-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

opencv-python<IP_ADDRESS> has the same issue

This issue is fixed in https://github.com/opencv/opencv-python/pull/715 and the next release of packages will be without this lib in case of it is unused there.


Switch snap to gnome-3-28 extension

As promised; a big refactor of the snap.

Switch to base: core18. So now the snap is using Ubuntu 18.04 as a base. This also makes it a lot easier to build the snap because it now automatically uses multipass to create a VM to build the snap in. Just run snapcraft in the product/snapcraft folder and it will create an Ubuntu 18.04 VM to build the snap in. You can now build the snap on any Linux version as long as you have the snapcraft and multipass snaps installed.
Switch to gnome-3-28 extension. This removes a lot of boilerplate and pulls in the latest fixes to the desktop-launch script.
Added "cleanup" part to remove duplicated files. This reduces the snap size from 208MB to 108MB and reduces the time until you see the spash screen on a cold start from 6 seconds to 3 seconds!
Fallback to xwayland when running on wayland.
Adopt metadata from AppStream appdata.xml file. Metadata like name, summary, license, the .desktop launcher and the icon are now extracted from the AppStream file.
Get version from jar: the version number is extracted from the jar and added as metadata. So now the snap version shows the actual dbeaver version!
Add MySQL and MariaDB clients to the snap. Fixes https://github.com/dbeaver/dbeaver/issues/7548 and https://github.com/dbeaver/dbeaver/issues/7521

This will probably also fix all of the issues in https://github.com/dbeaver/dbeaver/issues/6704

Thanks!
We'll try to adapt it in 7.0.1 version.


Add simple examples to README.md

README.md could be a gentle guide for users to start centraldogma-python for the first time.
Examples:
https://github.com/line/centraldogma-go
https://github.com/line/centraldogma-rs

We can update the document later after the first release.
I think we need to do that before we make an announcement on Twitter or other social media for the first time
so that users get a nice impression from our projects.

Let me remove the milestone away before it is a mandatory task for the initial release.


1.0.0 release 1.0.2 readme 1.0.4 marketplace

I use the most recent zig and zls in a gitpod cloud ide by using update-tools.sh when my cloud host initializes.
I am trying to untangle and improve a few things.
Firstly, zls-vscode has 1.0.2 listed in the readme, the readme points to releases which has 1.0.0, and finally the marketplace has 1.0.4.
How might we resolve this?
Regards,
Mark

https://github.com/zigtools/zls#vscode in particular refers to releases which is out of date


Fix get_size in ConsistentScatter

get_size is completely broken, returning only the size of the value on the stack.
https://github.com/shotover/shotover-proxy/blob/bc93765a20a05925bb51af81eca39697544f0278/shotover-proxy/src/transforms/distributed/tunable_consistency_scatter.rs#L78
This will require a bit of thinking on how to actually get a proper size value (maybe we shouldnt even be doing that because its possibly more expensive than originally thought)
And it isnt causing the cargo test --release issues so ill leave this for now.

This transform has been deleted


Minor: Makefile cleaning

Making this pr because I wasted like an hour confused because I misread $O as $0.
This changes $O to $(OUT_DIR) and spaces colons consistently

always good to consistently space the colon


Get-EntraUser's -Top parameter doesn't work as expected when combined with the -All parameter

Get-EntraUser -Top $topValue -All should return $topValue number of users.
At the moment, it returns all users which is wrong.
# incorrect output
PS> Get-EntraUser -Top 5 -All | Measure-Object

Count             : 29

# compare it to Microsoft Graph PowerShell
PS> Get-MgUser -Top 5 -All | Measure-Object

Count             : 5

# Without -All
PS> Get-EntraUser -Top 5 | Measure-Object

Count             : 5

@alexandair Thanks for raising the issue, We are looking into it.

@alexandair
I wonder if we have a legitimate usecase for having both Top and All parameters used within the same command.
Can we enforce not using them together?

I agree that -Top and -All shouldn't be in the same parameter set.
But, what we are missing is the -PageSize parameter.
-Top is also unfortunate parameter name.
-Limit is much better one.
We should have one parameter set with the -Limit and -PageSize.
And the other parameter set with the -All and -PageSize.
Microsoft Graph PowerShell SDK also has wrong implementation of the -Top, -PageSize, and -All and allows all 3 parameters in the same parameter set.
Can you guess how many users you get with Get-MgUser -Top 7 -PageSize 5?


How to use it  cli mode ?

i want to use captura-cli, but i dont know how to specific a display to capture in cli mode?

Argument
Description

--cursor
Include cursor

--keys
Include keystrokes

--clicks
Include mouse clicks

--delay
Delay before starting recording (in ms)

-t or --length
Length of recording (in s)

--source
The source to record from. See here.

--mic
The microphone index to use. (-1 = none (Default)) (0 is first device).

--speaker
The speaker output index to use. (-1 = none (Default)) (0 is first device).

--webcam
Webcam to use. (-1 = none (Default)) (0 is first webcam).

-r or --framerate
Frame Rate (Default is 10).

--encoder
The video encoder to use. See below.

--vq
Video Quality (1 to 100) (Default is 70).

--aq
Audio Quality (1 to 100) (Default is 50).

-f or --file
Output file path.

-y
Overwrite existing file.

--replay
Replay recording. Specify duration in seconds as parameter. e.g. --replay 20.

Verb: start
Starts Recording.
There are two modes.
When Length is specified, recording runs until specified Length.
When Length is not specified, press q to quit message is displayed.

Argument
Description

--cursor
Include cursor

--keys
Include keystrokes

--clicks
Include mouse clicks

--delay
Delay before starting recording (in ms)

-t or --length
Length of recording (in s)

--source
The source to record from. See here.

--mic
The microphone index to use. (-1 = none (Default)) (0 is first device).

--speaker
The speaker output index to use. (-1 = none (Default)) (0 is first device).

--webcam
Webcam to use. (-1 = none (Default)) (0 is first webcam).

-r or --framerate
Frame Rate (Default is 10).

--encoder
The video encoder to use. See below.

--vq
Video Quality (1 to 100) (Default is 70).

--aq
Audio Quality (1 to 100) (Default is 50).

-f or --file
Output file path.

-y
Overwrite existing file.

--replay
Replay recording. Specify duration in seconds as parameter. e.g. --replay 20.

e.g. Record 10 seconds with cursor and keystrokes and audio from first speaker output.
captura-cli start --length 10 --cursor --keys --speaker=0

Using the Encoder argument
By default, SharpAvi Motion JPEG encoder is used.
SharpAvi
Use sharpavi:<index> as argument. index is a zero-based index identifying the encoder.
You can use captura-cli list to check encoder indices.
e.g.
captura-cli start --encoder sharpavi:0

Media Foundation
Use mf as argument.
e.g.
captura-cli start --encoder mf

FFmpeg
Use ffmpeg:<index> as argument. index is a zero-based index identifying the encoder.
You can use captura-cli list to check encoder indices.
e.g.
captura-cli start --encoder ffmpeg:0

Stream
Use stream:<url> as argument. url is the rtmp url of the streaming service.
e.g. Stream to Twitch
captura-cli start --encoder stream:rtmp://live.twitch.tv/app/TWITCH_KEY

Steps
Use steps:video and steps:images as encoder for Steps recording mode.
Record steps to video (avi)
captura-cli start --encoder steps:video

Record steps to a folder containing images (png)
captura-cli start --encoder steps:images


Can't make it work

Thanks for creating resque-ui, I am trying to make it work on mac but I cannot. Not sure what I am missing here. I took following steps, since the instructions on readme page didn't work for me.
In the project folder, execute below command.

npm install actionhero --save
node ./node_modules/.bin/actionhero generate
npm install ah-resque-ui  --save
node ./node_modules/.bin/actionhero link --name ah-resque-ui (npm run ... give missing script: ./node_modules/.bin/actionhero error)
finally node ./node_modules/.bin/actionhero start

No code is injected in routes.js and http://localhost:8080 shows the default actionhero page with "CONGRATULATIONS!" message.
What am I missing?

Those look like the proper steps!
I cannot reproduce the error you noted in #6.  Can you share any more information about your system (node version, npm version, etc)?
There should be no visible changes to config/routes.js.  Visit http://localhost:8080/resque in your browser to see the plugin

Going to http://localhost:8080/resque  worked!
Looks like I did everything correctly. Just wasn't sure how to get to it.
Thanks for updating Readme.


CVE-2007-4559 Patch

Patching CVE-2007-4559
Hi, we are security researchers from the Advanced Research Center at Trellix. We have began a campaign to patch a widespread bug named CVE-2007-4559. CVE-2007-4559 is a 15 year old bug in the Python tarfile package. By using extract() or extractall() on a tarfile object without sanitizing input, a maliciously crafted .tar file could perform a directory path traversal attack. We found at least one unsantized extractall() in your codebase and are providing a patch for you via pull request. The patch essentially checks to see if all tarfile members will be extracted safely and throws an exception otherwise. We encourage you to use this patch or your own solution to secure against CVE-2007-4559. Further technical information about the vulnerability can be found in this blog.
If you have further questions you may contact us through this projects lead researcher Kasimir Schulz.

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

@TrellixVulnTeam since you opened this PR, could you also add tests for this change please.


Item as unit of reporting

Clarifying implication of item as unit on book reporting

Merging to facilitate clean up and text edit issues


Adds replicas to Contour API type

Makefile: Set v1 as the CRD version to support CRD defaulting.
api/v1alpha1/contour_types.go: Adds spec.replicas and status.availableReplicas fields to the Contour API type.
config/crd/bases/operator.projectcontour.io_contours.yaml: Generated CRD updates from changes to api/v1alpha1/contour_types.go.
config/samples/operator_v1alpha1_contour.yaml: Removed example foo field. Note that {} is required since spec can not be null.

/assign @jpeach
/cc @youngnick @Miciah

$ kubectl describe contours does not describe the API. Does anyone know the magic sauce to get the CRD info displayed?

$ kubectl describe contours does not describe the API. Does anyone know the magic sauce to get the CRD info displayed?

You have to add a shortName field to +kubebuilder:resource

You have to add a shortName field to +kubebuilder:resource

@jpeach I see the shortname:
$ kubectl api-resources | grep contour
contours                                       operator.projectcontour.io     true         Contour
$ kubectl get contours
NAME             AGE
contour-sample   3h17m

I did not have an instance of the contour CR when I ran kubectl describe. It works as expected now:
$ kubectl describe contours.operator.projectcontour.io
Name:         contour-sample
Namespace:    default
Labels:       <none>
Annotations:  kubectl.kubernetes.io/last-applied-configuration:
                {"apiVersion":"operator.projectcontour.io/v1alpha1","kind":"Contour","metadata":{"annotations":{},"name":"contour-sample","namespace":"def...
API Version:  operator.projectcontour.io/v1alpha1
Kind:         Contour
Metadata:
  Creation Timestamp:  2020-09-01T01:12:13Z
  Finalizers:
    contour.operator.projectcontour.io/finalizer
  Generation:  2
  Managed Fields:
    API Version:  operator.projectcontour.io/v1alpha1
    Fields Type:  FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          .:
          f:kubectl.kubernetes.io/last-applied-configuration:
      f:spec:
        .:
        f:foo:
    Manager:      kubectl
    Operation:    Update
    Time:         2020-09-01T01:12:13Z
    API Version:  operator.projectcontour.io/v1alpha1
    Fields Type:  FieldsV1
    fieldsV1:
      f:metadata:
        f:finalizers:
          .:
          v:"contour.operator.projectcontour.io/finalizer":
      f:status:
    Manager:         start
    Operation:       Update
    Time:            2020-09-01T01:12:13Z
  Resource Version:  67937
  Self Link:         /apis/operator.projectcontour.io/v1alpha1/namespaces/default/contours/contour-sample
  UID:               1823839b-4ea9-490c-8e2d-b4a304cbfddd
Spec:
  Foo:  bar
Status:
Events:  <none>


Extra Byte0 module identifier in Cava2HDL.cabal

Continued from #354
Why is this line required in other-modules for Cava2HDL.cabal, and can we get rid of it?
https://github.com/project-oak/oak-hardware/blob/d708157e89b2b7cdf7a30c1ac57fb4cf3ba980ca/cava/Cava2HDL.cabal#L94

This is because we are now using definitions from Coq.Strings.Byte and Coq.Init.Byte in extracted files and they both extract to Byte.hs.

I suspect this is not anything we can easily change since it is not in our code. Closing.

I suspect this is not anything we can easily change since it is not in our code. Closing.


Update data download and processing

A two part PR which adds two files to be downloaded (CRISPRGeneEffect.csv and depmap_gene_meta.tsv).
These are very important files that we will use throughout this project.
The CRISPRGeneEffect file is what we actually need to use to train our models (not the Dependency data), and the depmap_gene_meta file includes the genes that we will use to train (already QC'd).
I add documentation describing this important change, and I also create a new file (gene dictionary) which will help with subsetting and analyses in the future.

Sounds good! I will squash and merge now. Please make sure to sync!


Allow handling ACME challenges with custom routers

What does this PR do?
This PR introduces the allowACMEByPass option per entryPoint, which controls whether handling ACME challenges with custom routers is possible.
However, when this option is set to false, and when no TLS resolvers are configured, this PR makes Traefik stop preempting TLS-01 ALPN connections, which allows handling TLS-01 ALPN challenges connections with custom routers.

Motivation
Fixes #10684

More

[x] Added/updated tests
[x] Added/updated documentation

Additional Notes

+1 for this PR


DATAJDBC-175 - Supports simple types as return type for annotated methods

I've fixed a part of DATAJDBC-175.
Please review.
Thanks.

That's merged. Thanks for the addition.


SyntaxError: Unexpected token I in JSON at position 0

The error in the headline appears when visiting the following URL: https://datengui.de/statistiken?region=10&data=12511%3ABEV008&labels=name&time=&layout=long

Thanks for letting us know. We had some server issues over the past couple of days but they've been fixed. The data portal should be up and running again.

Thanks for letting us know. We had some server issues over the past couple of days but they've been fixed. The data portal should be up and running again.


Sending a more events to EDH

See detailed description in the commit message.
CB-11067 Support stop, start, upscale, downscale and upgrade reporting to EDH. There are some incompatible changes in the usage.proto, but since the usage.proto was not promoted to thunderhead yet, this shaould not cause any problem, but it will reduce the maintenance cost in the future. (HEAD -> edh-improve, origin/edh-improve) [Attila Kanto]
CB-11046 Provide more details about which flow step has failed. This is particularly important in case of Datahub and Datalake since they are created in flowchains and it can have multiple exists. [Attila Kanto]

Merging, since 3 approve has been received.


Request: Make objective function with kwarg parameters (instead of list)

It would be nice to have a general use case objective function generator where you give it a scorer and a parameter space.
If space could be something like this:
`space = {"max_depth":(1, 5), "max_features":(1, X.shape[1]), "min_samples_split":(2, 100)}`

With a make objective class:
def make_objective(self, params):
    kwargs = dict(zip(self.param_labels, params))
    self.model.set_params(**kwargs)
    score = np.mean(model_selection.cross_val_score(self.model, self.X, self.y, cv=self.cv, n_jobs=-1, scoring=self.scorer))
    return score

Let me know if I should elaborate on this. Basically something that makes an objective function so one can give it a scorer and parameter space in the form of a dictionary.

That was proposed here (https://github.com/scikit-optimize/scikit-optimize/pull/198)
An alternative way is to have an attribute for Dimension that has a name attribute (https://github.com/scikit-optimize/scikit-optimize/issues/424) which is more verbose than the above proposed dict-space.

Do you think this would be generally useful for applications beyond scikit-learn?
We recently added BayesSearchCV which has the same interface as GridSearchCV in scikit-learn. This should be/become the preferred way to search for hyper-parameters for sklearn compatible models. If there is something missing from BayesSearchCV that makes you roll your own then maybe we should fix that?

Just saw this now.  BayesSearchCV is great!  Is n_calls from gp_minimize the same as n_iter from BayesSearchCV?  For the surogate, can you give it ensembles?

Is n_calls from gp_minimize the same as n_iter from BayesSearchCV?

Yes, we kept the scikit-learn name in BayesSearchCV for compatibility

For the surogate, can you give it ensembles?

Yes, see for example the parameter for skopt.utils.cook_estimator on how to get a random forest, extra tree or gradient boosted tree ensemble.

I'm going to close this one out b/c this is exactly what I was envisioning. Thanks guys!


Benchmarks

Please add benchmarks. Otherwise the “fast” part of the repo description is meaningless.

Thanks for your request, I'll add this to the readme soon!

I've added it in commit 6ca310c, this was the first time i did a benchmark so please tell me if I did somenthing wrong :)

Geez, these node http libs are slow.

Geez, these node http libs are slow.

My internet also isn't the best, I'll re-do the benchmark when I get back with my ethernet

It’s best if you do benchmarks from servers with little to no load.
On Tue, Apr 23, 2019 at 11:06 AM Wessel T<EMAIL_ADDRESS>wrote:

Geez, these node http libs are slow.
My internet also isn't the best, I'll re-do the benchmark when I get back
with my ethernet
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/PassTheWessel/wumpfetch/issues/14#issuecomment-485912908,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH7D6NWVB3VRIRS46KLCNCDPR5F3LANCNFSM4HHZRPLQ
.

Ah okay, I'll go and do that then :D

new benchmarks coming soon, can confirm wumpfetch is fastest


Docs: Add 14 pages explaining register allocation

I think the title speaks for itself.

Before I forget: I use XeLaTeX, and I'm not sure if this compiles with pdflatex...


Postgis preview

Description
When a postgis column is selected (POINT, POLYGON or MULTIPOLYGON), the preview with default OpenstreetMap (or the other ones) not works but instead is request to save an HTML file on disk.

DBeaver Version
Community Edition <IP_ADDRESS>210231354
Operating System
Xubuntu 22.04
Database and driver
Postgresql jdbc 42.5.0
postgis jdbc 2.5.0
postgis geometry 2.5.0
waffle jna 1.9.1
Steps to reproduce
Select a postigis value in a postgis column (POINT, POLYGON or MULTIPOLYGON);
Additional context
No response

Hi @mc1986, it's a known issue. I suggest using this workaround.

Hi @mc1986, it's a known issue. I suggest using this workaround.

Yes, it works!
I'm sorry: I tried to find a solution (or a workaround), but I didn't find anything before your suggestion.
Have a nice day


Update cats-core, cats-laws to 2.4.2

Updates

org.typelevel:cats-core
org.typelevel:cats-laws

from 2.2.0 to 2.4.2.
GitHub Release Notes - Changelog - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel" } ]

labels: library-update, semver-minor

Superseded by #272.


Use StringBuilders instead of StringBuffers for local variables

Some old parts of the code, originally written before Java 5 was
available use StringBuffers in their local variables. Since local
variables pose no concurrency problems, they can safely be replaced
with non thread safe StringBuilders, for a slight performance gain.

Coverage remained the same at 94.529% when pulling 2f6aa84a98a8e7a84049aa681ddda1feb2a40c7d on mureinik:StringBuilder into ce1bd5785d05d3df324e1169aab4abd45f4281f7 on apache:master.


Backstage kubernetes app stop refreshing the catalog and components from the DB

I have created the Backstage App using the create-app, added a few plugins and github authentication.
Then created the docker image and the kuberntes deployments.
The kubernetes deployment starts successfully, I'm able to browse the Backstage App, the template catalog and the components created.
After a few hours the Backstage App stops trying to refresh the catalog and the components.
I'm able to browse the existing catalog and components up to the last refresh.
I'm also able to create new components and they get created on the DB, but they are not listed on the portal.
Expected Behavior
Backstage continues to refresh the catalog from the DB
Current Behavior
After a few hours the Backstage App stops trying to refresh from the catalog and the compornenets from DB.
Possible Solution
A workaround could be to restart the deployment after 2hs.
Steps to Reproduce
I followed the default instructions:
Create App

https://github.com/backstage/backstage/blob/master/docs/getting-started/create-an-app.md
https://backstage.io/docs/auth/github/provider
https://backstage.io/docs/auth/#adding-the-provider-to-the-sign-in-page
https://github.com/backstage/backstage/blob/master/contrib/docs/tutorials/help-im-behind-a-corporate-proxy.md#config

Plugins

https://github.com/backstage/backstage/tree/master/plugins/github-actions
https://roadie.io/backstage/plugins/github-pull-requests/?utm_source=backstage.io&utm_medium=marketplace&utm_campaign=github-pull-requests
https://roadie.io/backstage/plugins/github-insights/?utm_source=backstage.io&utm_medium=marketplace&utm_campaign=github-insights
https://github.com/backstage/backstage/tree/master/plugins/graphiql

Docker/Kubernetes

https://github.com/backstage/backstage/blob/master/docs/deployment/docker.md
https://github.com/backstage/backstage/blob/master/docs/deployment/k8s.md

As suggested I'm using the postgres container.
Context
This is the backstage log in debug mode.
2021-07-15T01:10:42.908Z backstage info Loaded config from app-config.yaml
2021-07-15T01:10:42.918Z backstage info Created UrlReader predicateMux{readers=azure{host=dev.azure.com,authed=false},bitbucket{host=bitbucket.org,authed=false},github{host=github.dxc.com,authed=true},github{h
ost=github.com,authed=false},gitlab{host=gitlab.com,authed=false},fetch{}
2021-07-15T01:10:43.386Z auth info Configuring provider, github type=plugin
2021-07-15T01:10:43.403Z techdocs info Creating Local publisher for TechDocs type=plugin
2021-07-15T01:10:43.408Z search info Added DefaultCatalogCollator collator for type software-catalog type=plugin
2021-07-15T01:10:43.417Z app info Serving static app content from /app/packages/app/dist type=plugin
2021-07-15T01:10:43.736Z app info Injecting env config into module-backstage.aa336aff.js type=plugin
2021-07-15T01:10:43.749Z backstage info Initializing http server
2021-07-15T01:10:43.752Z backstage info Listening on :32700
2021-07-15T01:10:44.618Z catalog debug Skipped stitching of template:default/automation-template-v2, no changes type=plugin
2021-07-15T01:10:44.630Z catalog debug Skipped stitching of template:default/runbook_base, no changes type=plugin
2021-07-15T01:10:44.637Z catalog debug Skipped stitching of template:default/contact_information, no changes type=plugin
2021-07-15T01:10:44.646Z catalog debug Skipped stitching of template:default/infrastructure_environment, no changes type=plugin
2021-07-15T01:10:44.650Z catalog debug Skipped stitching of template:default/system_monitoring, no changes type=plugin
2021-07-15T01:10:44.653Z catalog debug Skipped stitching of template:default/application_installation_procedures, no changes type=plugin
2021-07-15T01:10:44.677Z catalog debug Skipped stitching of template:default/disaster-recovery, no changes type=plugin
2021-07-15T01:10:44.704Z catalog debug Skipped stitching of template:default/runbook-template-v2, no changes type=plugin
2021-07-15T01:10:46.410Z search info Starting all scheduled search tasks. type=plugin
2021-07-15T01:10:46.412Z search debug Collating documents for software-catalog via DefaultCatalogCollator type=plugin
.
.
.
2021-07-15T07:40:51.066Z search debug Collating documents for software-catalog via DefaultCatalogCollator type=plugin
2021-07-15T07:40:51.129Z backstage info ::ffff:<IP_ADDRESS> - - [15/Jul/2021:07:40:51 +0000] "GET /api/catalog/entities HTTP/1.1" 200 - "-" "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" type=in
comingRequest

2021-07-15T07:43:57.908Z catalog debug Skipped stitching of component:default/testbase, no changes type=plugin
2021-07-15T07:43:57.921Z catalog debug Skipped stitching of template:default/automation-template-v2, no changes type=plugin
2021-07-15T07:43:57.952Z catalog debug Skipped stitching of template:default/system_monitoring, no changes type=plugin
2021-07-15T07:43:57.966Z catalog debug Skipped stitching of template:default/contact_information, no changes type=plugin
2021-07-15T07:43:58.158Z catalog debug Skipped stitching of location:default/generated-a46dbbea0cbe03cc548edd58c37e953737a2d1f6, no changes type=plugin
2021-07-15T07:44:05.961Z catalog debug Skipped stitching of template:default/runbook_base, no changes type=plugin
2021-07-15T07:44:05.964Z catalog debug Skipped stitching of template:default/disaster-recovery, no changes type=plugin
2021-07-15T07:44:05.972Z catalog debug Skipped stitching of template:default/application_installation_procedures, no changes type=plugin
2021-07-15T07:44:05.981Z catalog debug Skipped stitching of template:default/runbook-template-v2, no changes type=plugin
2021-07-15T07:44:09.273Z catalog debug Skipped stitching of location:default/generated-1ed150fa2b6e9ffedd9f55ab9dabd58fa5e15b21, no changes type=plugin
2021-07-15T07:44:09.911Z catalog debug Skipped stitching of template:default/infrastructure_environment, no changes type=plugin

This is the last try to refresh from the DB
Then, the log only shows this:
2021-07-15T07:50:51.171Z search debug Collating documents for software-catalog via DefaultCatalogCollator type=plugin
2021-07-15T07:50:51.248Z backstage info ::ffff:<IP_ADDRESS> - - [15/Jul/2021:07:50:51 +0000] "GET /api/catalog/entities HTTP/1.1" 200 - "-" "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" type=in
comingRequest

Your Environment
NodeJS Version (v12): v14.15.3
Operating System and Version (e.g. Ubuntu 14.04): Linux backstage-dev 5.4.0-1034-azure
backend: added generic dockerfile + docker-compose #35~18.04.1-Ubuntu SMP Thu Dec 10 09:13:52 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Browser Information: Firefox 85.0 (64-bit)
Kubernetes 18

@biancoda if you have multiple replicas do they all fail at the same time? Do you have any metrics on memory usage of the containers that you can share? Also some stats on how many entities you have? Would give us a good baseline to replicate this I think.
@backstage/maintainers I can't remember if we built a timeout thing so that if a connection to Postgres or whatever is hanging, do we clear up and try to go back to the queue for more or just hang?

I think that's up to knex's connection pool implementation.  Yes this could possibly be a connection starvation but hard to tell, we'll have to try to replicate indeed

Hi @benjdlambert, regarding your question.

@biancoda if you have multiple replicas do they all fail at the same time? Do you have any metrics on memory usage of the containers that you can share? Also some stats on how many entities you have? Would give us a good baseline to replicate this I think.

I'm testing it using only one replica at the moment. The idea, in the future, is to add more.
I don't have metrics set up, but I'm the only one using it. So there is no load on the container.
There are 8 entities/templates, all of them are documentation.
There are only 1 or 2 components created, usually I delete them after testing.

@biancoda and just to confirm this is using PostgreSQL right? could you do us an awesome favour and run it with sqlite in memory and see if the same happens on another container somewhere with your code? it will help is massively isolate if this is a DB thing or not

@biancoda and just to confirm this is using PostgreSQL right? could you do us an awesome favour and run it with sqlite in memory and see if the same happens on another container somewhere with your code? it will help is massively isolate if this is a DB thing or not.

Yup, I'm using PostgresSQL.
As part of the testings, I added the livenessProbe/readinessProbe to the postgres deployment. They are not checking against Backstage, but checking if postgres is available.
          livenessProbe:
            exec:
              command:
                - /bin/sh
                - -c
                - -e
                - exec pg_isready -U $POSTGRES_USER -d "postgres" -h <IP_ADDRESS> -p 5432
            initialDelaySeconds: 30
            timeoutSeconds: 5
          readinessProbe:
            exec:
              command:
                - /bin/sh
                - -c
                - -e
                - exec pg_isready -U $POSTGRES_USER -d "postgres" -h <IP_ADDRESS> -p 5432
            initialDelaySeconds: 5
            timeoutSeconds: 5

I will create the docker image with sqlite and try it again.
I will keep you posted. :)

Sweet - I think by using the inmemory sqlite it's going to help us understand if there's something going on with the database in terms of it holding a non-finishing transaction or something. WIth SQLite I'd expect it to be pretty fast an no network problems. If it still hangs now I'd say that it points towards memory usage or something and it locking up there.
But at this point, of course it's all speculation as we don't have all the info, but i'm guessing it's something like that.

So, like we discussed, I recreated the docker image with sql instead of postgres DB and I left it running all night.
The container started around 2021-07-16T20:05:30.154Z and the last DB refresh was around 2021-07-17T04:55:38.665Z
There are no errors on the logs, it just stopped refreshing :S and there were no memory/CPU/storage.

@nattymachado and I are seeing the same issue with our deployment. We'll start looking at this now.

It looks like the issue we were experiencing was unrelated. In our case, we had a faulty processor that had an infinite loop. Backstage processed a few processors, get to the faulty processor and get stuck in it forever. It looked similar but was caused by something else.


Consul startup doc error

The Readme for the Consul Deploy says to start Consul with docker in host networking mode, then start the linkerd-vis docker container without host networking mode. This will not work because the linkerd-vis configuration for consul is set to use localhost:8500. The localhost will not work unless the linkerd-vis container is also run in host networking mode.

Nice catch @dlaidlaw, fix is up: #39.


mill: Add Petsfile hook for go-get

Hello @yuindustries, @pmt,
Please review the following commits I made in branch nicks/service:
bbec9674023467df7e8ab17b33930954944c61d5 (2018-07-24 18:12:57 -0400)
mill: Add Petsfile hook for go-get
8fbeb68c51606de9b0114c43163994f4bf3dfc2d (2018-07-24 17:58:07 -0400)
Turn dry-run into a real flag (#17)

Turn dry-run into a real flag

Flags become persistent

7ac5ec73308fd47c84aaa7003d3727ec43e0daa5 (2018-07-24 15:23:55 -0400)
loader: Add a loader for Go repos

note that this builds on https://github.com/windmilleng/pets/pull/18


[7.x] Add missing argument to the Broadcast::routes() method

The attributes argument is missing from the @method annotation in the Broadcast Facade.

This PR adds the missing argument to make the annotation identical to the BroadcastManager::routes method signature.

Test suite is failing for an unrelated reason. No clue why 🤔
@taylorotwell Maybe it's best we wait with merging this PR until we can confirm that other prs also trigger the failure.

Tests are failing on the branches too: https://github.com/laravel/framework/runs/557414302?check_suite_focus=true. Unfortunately fast finish is hiding which PHP versions.

It looks like the switch from PHPUnit 9.0.2 to 9.1.0 could be causing this...

Yep, that was it. I wonder what they broke...

Submitted a bug report and investigating: https://github.com/sebastianbergmann/phpunit/issues/4162


Detect unused, private protocols?

See https://github.com/python/typeshed/pull/8418.
This might not work (checking for unused type aliases had too many false positives, see https://github.com/PyCQA/flake8-pyi/issues/93#issuecomment-1016710539). But it would be good to try it and see.

I think you tried the private type alias check before we had TypeAlias coverage in typeshed. It may be worth trying again now.


Apple Metal

Hi, Is there a plan for suppor metal？

Yes there is a plan.

@Perksey Any update on this? Projects like Ryujinx could very much benefit from Metal bindings in the future.

Guys, I build a dotnet binding for Metal 3.0 here is the link : https://github.com/haolange/SharpMetal/tree/main

Guys, I build a dotnet binding for Metal 3.0, Here is the link : https://github.com/haolange/SharpMetal/tree/main

Hi there, you seem to have plagiarised my repository. You are within your rights to do so under the MIT license that that code was initially distributed under, but it's generally not a good idea to then advertise that plagiarism on a thread with the original dev :)

Guys, I build a dotnet binding for Metal 3.0, Here is the link : https://github.com/haolange/SharpMetal/tree/main

Hi there, you seem to have plagiarised my repository. You are within your rights to do so under the MIT license that that code was initially distributed under, but it's generally not a good idea to then advertise that plagiarism on a thread with the original dev :)

I'm really sorry, this library was given to me by a friend. After asking him, he did indeed download it from your library. I have made some modifications to this library, mainly focusing on iOS support and GC free objects, as well as the content of MetalFX. May I add your library link as the source library for this library? Or should i delete it?

I'm really sorry, this library was given to me by a friend. After asking him, he did indeed download it from your library. I have made some modifications to this library, mainly focusing on iOS support and GC free objects, as well as the content of MetalFX. May I add your library link as the source library for this library? Or should i delete it?

I'm just fine if you link it. Also, consider PRing the GC stuff, as that is a core issue with the current implementation :)

I'm really sorry, this library was given to me by a friend. After asking him, he did indeed download it from your library. I have made some modifications to this library, mainly focusing on iOS support and GC free objects, as well as the content of MetalFX. May I add your library link as the source library for this library? Or should i delete it?

I'm just fine if you link it. Also, consider PRing the GC stuff, as that is a core issue with the current implementation :)

Ok i‘m already link it. Thank you and very very sorry. Finally what is PRing GC stuff？


Cardano Serialization Lib error on initial setup

Hello! Thanks Mesh team for all your work on the SDK. I attempted to follow your documentation from https://meshjs.dev/guides/nextjs exactly to set up a Next.js application, but ran into trouble trying to wrap a component in ....The stack trace is pointing to cardano-serialization-lib but I have no idea how to fix! Any help appreciated, would really love to give your SDK a try. I'm running Next version 13.4.0 and have configured Next.config.js exactly as in your documentation.
=======================================
warn  -<EMAIL_ADDRESS>Critical dependency: the request of a dependency is an expression
Import trace for requested module:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>./app/page.tsx
<EMAIL_ADDRESS>Critical dependency: the request of a dependency is an expression
Import trace for requested module:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>./app/page.tsx
error - Error: ENOENT: no such file or directory, open 'C:\Users\katie\Documents\WebDevelopment\nextpractice2.next\server\app\cardano_serialization_lib_bg.wasm'
at Object.openSync (node:fs:600:3)
at Object.readFileSync (node:fs:468:35)
at webpack_require (C:\Users\katie\Documents\WebDevelopment\nextpractice2.next\server\webpack-runtime.js:33:42)
at webpack_require (C:\Users\katie\Documents\WebDevelopment\nextpractice2.next\server\webpack-runtime.js:33:42)
at webpack_require (C:\Users\katie\Documents\WebDevelopment\nextpractice2.next\server\webpack-runtime.js:33:42)
at eval (./app/page.tsx:11:72)
at (sc_client)/./app/page.tsx (C:\Users\katie\Documents\WebDevelopment\nextpractice2.next\server\app\page.js:1228:1)
at webpack_require (C:\Users\katie\Documents\WebDevelopment\nextpractice2.next\server\webpack-runtime.js:33:42)

I just tested the instructions, seems ok.
How about try starting from this starter kit? it produce the same outcome as the guide.

Tried the starter kit, it worked! Was able to submit my first transaction to the network. Thank you so much :)

This issue is still present - it is due to it being incompatible with latest version of NextJS.

Hi BlueKornChips,
Thanks for the comment. I was able to get things to work with Next version 13.4.1, but found I had to switch back to the "pages router" rather than Next's new "app router". With the new "app router", did not have any luck trying to wrap the application in the context provider


HWKAGENT-90 register the agent feed under all the tenant IDs from all endpoints

Other than the comments, LGTM


Responsive graph? Doubt

I've seen some examples of responsive d3 where we append some attributes to the svg. I believe there must be a way to make responsive react-d3-graph from scratch, I just don't know how.
What snippet of code would I need to make this graph responsive?
<Graph
                id="graph-id1"
                data={data}
                config={myConfig}
                onClickNode={this.onClickNode}
            />

Here you go https://github.com/danielcaldas/react-d3-graph/issues/23
As you can see in the issue you can set the width and height values. To make it responsive just listen to the window resize event and set those values accordingly.


Fix/pointer focus children

covers #103, contains commits from #102

[x] allow get/focus-target to pass focus identity exceptions to is/focusable
[x] make fix/pointer-focus-children ignore flexbox on target identification
[x] add functional test to gover this automatically
[x] make sure that a click on #target lands on #gustav in

[ ] wait for #102 to land (to rebase)

As BrowserStack is still out-of-service, I've run the tests on SauceLabs' VMs. Averything's fine in IE, Chrome and Firefox have a problem loading fix/pointer-focus-children in a WebWorker (which doesn't happen in the when running intern/client.html in the browser itself). Safari VMs don't work on Sauce…
× firefox 43 on Windows 8.1 - unit tests - core: WebWorker - load ally.js/fix/pointer-focus-children (30.003s)
CancelError: Timeout reached on firefox 43 on Windows 8.1 - unit tests - core: WebWorker - load ally.js/fix/pointer-focus-children
  at Test.prototype.restartTimeout/this._timer<  <__intern/lib/Test.js:162:20>

Added tests for fix/pointer-focus-input and fix/pointer-focus-parent and fixed fix/pointer-focus-input to support nested content in <button> and . Could not run automated test for fix/pointer-focus-parent because Safari doesn't work on SauceLabs…

The following test fails on BrowserStack but passes locally and on SauceLabs.
IE10 on WIN - fix/pointer-focus-children - div[tabindex="-1"] > span (1.589s)
AssertionError: expected 'BODY' to equal 'normal-fail-target'

In the branch browserstack/ie10-click-focus I've created a minimal test-case (commit 9e2d79, build 381)  to discuss with BrowserStack support.


[Urgent] consul_watcher.go:14: undefined: watch.WatchPlan

Wanted to start by saying this project is great and we appreciate all the great work.

As of roughly 12 hours ago, go-micro can no longer be built. The hashicorp team refactored WatchPlan to Watch and now it breaks any and all usage of go-micro.
Here's the error:
vendor/github.com/micro/go-micro/registry/consul_watcher.go:14: undefined: watch.WatchPlan

This appears to be the commit that breaks go-micro:
https://github.com/hashicorp/consul/commit/d7e23857ad1943edeaa7e490e0642019d44812e6

I think it is imperative that any sort of dependency management should be added to the project but I'll add a new issue for that.

PR has been merged. Closing this issue. Appreciate the comments and the fact that you're using the project.


Rename an experimental enum

Associated XML change is here: https://github.com/KhronosGroup/OpenCL-Docs/pull/266

Superceded by https://github.com/KhronosGroup/OpenCL-Headers/pull/88, closing this PR without merging.


Adds a note about modern add-ins

I work on the docs for Office Add-ins (https://github.com/OfficeDev/office-js-docs-pr) and by studying web analytics data, we think that adding a note to select high-trafficked pages of this docset will drive customers to a more modern add-ins solution, if they want that. Data from our customer surveys and interviews show that most people who have used previous versions of related Office technology do not discover the modern Office Add-in docs, so we are trying to drive discoverability. Happy to answer more questions on this if you have them.

Docs Build status updates of commit 54d1033:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

docs/about-the-open-xml-sdk.md
:x:Error

Details

docs/getting-started.md
:x:Error

Details

docs/how-to-parse-and-read-a-large-spreadsheet.md
:x:Error

Details

docs/open-xml-sdk.md
:x:Error

Details

docs/structure-of-a-spreadsheetml-document.md
:x:Error

Details

docs/about-the-open-xml-sdk.md

[Error] Cannot resolve '../includes/addinsnote.md' relative to 'about-the-open-xml-sdk.md'.

docs/getting-started.md

[Error] Cannot resolve '../includes/addinsnote.md' relative to 'getting-started.md'.

docs/how-to-parse-and-read-a-large-spreadsheet.md

[Error] Cannot resolve '../includes/addinsnote.md' relative to 'how-to-parse-and-read-a-large-spreadsheet.md'.

docs/open-xml-sdk.md

[Error] Cannot resolve '../includes/addinsnote.md' relative to 'open-xml-sdk.md'.

docs/structure-of-a-spreadsheetml-document.md

[Error] Cannot resolve '../includes/addinsnote.md' relative to 'structure-of-a-spreadsheetml-document.md'.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit cc932ee:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

docs/about-the-open-xml-sdk.md
:x:Error

Details

docs/getting-started.md
:x:Error

Details

docs/how-do-i.md
:x:Error

Details

docs/how-to-parse-and-read-a-large-spreadsheet.md
:x:Error

Details

docs/open-xml-sdk.md
:x:Error

Details

docs/structure-of-a-spreadsheetml-document.md
:x:Error

Details

docs/about-the-open-xml-sdk.md

[Error] Cannot resolve '../includes/addinsnote.md' relative to 'about-the-open-xml-sdk.md'.

docs/getting-started.md

[Error] Cannot resolve '../includes/addinsnote.md' relative to 'getting-started.md'.

docs/how-do-i.md

[Error] Cannot resolve '../includes/addinsnote.md' relative to 'how-do-i.md'.

docs/how-to-parse-and-read-a-large-spreadsheet.md

[Error] Cannot resolve '../includes/addinsnote.md' relative to 'how-to-parse-and-read-a-large-spreadsheet.md'.

docs/open-xml-sdk.md

[Error] Cannot resolve '../includes/addinsnote.md' relative to 'open-xml-sdk.md'.

docs/structure-of-a-spreadsheetml-document.md

[Error] Cannot resolve '../includes/addinsnote.md' relative to 'structure-of-a-spreadsheetml-document.md'.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 05cd9ee:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/about-the-open-xml-sdk.md
:white_check_mark:Succeeded

docs/getting-started.md
:white_check_mark:Succeeded

docs/how-do-i.md
:white_check_mark:Succeeded

docs/how-to-parse-and-read-a-large-spreadsheet.md
:white_check_mark:Succeeded

docs/includes/addinsnote.md
:white_check_mark:Succeeded

docs/open-xml-sdk.md
:white_check_mark:Succeeded

docs/structure-of-a-spreadsheetml-document.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add dynamic mode to benchmarks

What do you mean by dynamic mode?

:tada: This issue has been resolved in version 2.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Refactor multi-dimensional time series concept

POJO representation
ChronixRDD
DataFrame

Introduce a new POJO TimeSeries beside MetricTimeSeries with:

"metric" as a normal dimension
the ability to transform itself into a statically typed data type with all dimensions as fields
a flexible way to express the identity (opt-in or opt-out dimensions)

Use http://objenesis.org for flexible instantiation


Revert "Enable std::span instead of vespalib::ArrayRef."

Reverts vespa-engine/vespa#31973
@vekterli : please review
In case revert is needed.

Not needed


feature request: only show linter in atom tray when a python file type is open

The behavior I'm seeing in my installation is that the linter check always shows in the system tray despite the type of file I'm currently looking at (markdown, sql, etc. etc.). To reduce visualize noise, though, it'd be awful nice to have an option to only show the linter status if the currently viewed file is a type that the linter looks at. Better yet, having the option to specify the files that the linter doesn't look at would allow the user to have the flexibility they'd need.

Please file this over on Linter, this package has nothing to do with the UI as it is just a data provider.

Sorry for the noise, posting there.

No worries 😉.


Typo

I believe I've found a typo in the docs that probably no one but me will have noticed.
mapSpread()
The mapSpread method iterates over the collection's items, passing each nested item value into the given callback. The callback is free to modify the item and return it, thus forming a new collection of modified items:

const collection = collect([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]);

const chunks = collection.chunk(2);

const sequence = chunks.mapSpread((odd, even) => {
    return odd + even;
});

sequence.all();

//=> [1, 5, 9, 13, 17]

The typo is const sequence = chunks.mapSpread((odd, even) => { should be const sequence = chunks.mapSpread((even, odd) => {  See the first iteration 0 is passed as the first argument (although mathematically zero is neither odd nor even) and 1 is passed as the second argument.  Every iteration after that is the same with the even number being passed first and the odd second.  The other way to "fix" this would be to remove 0 from the collection.

I've got the parameter names mixed up in the example.
It should have been .mapSpread((even, odd)) =>
Laravel Docs
> const collection = collect([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]);
undefined

> const chunks = collection.chunk(2);
undefined

> const sequence = chunks.mapSpread((odd, even) => {
...     console.log('odd', odd);
...     console.log('even', even);
...     return odd + even;
... });
odd 0
even 1
odd 2
even 3
odd 4
even 5
odd 6
even 7
odd 8
even 9
>


Add support for Lombok dependency

I can see a lot setter and getter methods and autowired annotations on service layer. To look more clear and readable we can add lombok support in backend system.

Good idea. I will work on this.

What If we use both Record and Lombok?
Records: for simple, immutable data structures like DTOs used in API responses.
Lombok: for more complex and mutable classes, such as entities and DTOs that need additional behaviour or configuration.

@abhi9720
Yes, I was thinking that, too.


Class number and name association

Hey I am unable to understand how to class values in mask correspond to class names. I want to only use a subset of classes and for that need to know which classes to set as background and which to keep.
I used the encoding function to convert the 3 dimensional mask and got:

As you can see in image, after using encoding function provided I am getting two different class numbers for the class of person while it should be only one. It is not corresponding to colours and numbers given in https://docs.google.com/spreadsheets/d/1se8YEtb2detS7OuPE86fXGyD269pMycAWe2mtKUj2W8/edit?usp=sharing. Person has idx of 14 here.
(I got the encoding function https://github.com/meetshah1995/pytorch-semseg/blob/master/ptsemseg/loader/ade20k_loader.py as encode_segmap)
If I see the masks individually I see

which shows in the first channel humans are not coded the same, in the second and third they share colour code with some background class.
Can anyone please help me figure out how do I figure this out? I want the correct way to get association of class value with class name.

On a follow-up to this question: if I wanted to train on all of the ADE20K classes, should I only need to modify the config file parameter
"DATASET:
num_class: "? How should I generate a corresponding class value-to-names dictionary and a color encoding?


enable_token_authentication was turned off after upgrading to 2.25.0

Describe the bug
We have a remote docker repository that proxies dockerhub. We need to turn on enable_token_authentication to make sure Artifactory makes authenticated requests to dockerhub. We use resource type artifactory_remote_repository to manage the repo.
# a tf module that defines generic remote repo
terraform {
  required_version = ">= 0.13"
  required_providers {
    artifactory = {
      source  = "jfrog/artifactory"
      version = "2.25.0"
    }
  }
}

resource "artifactory_remote_repository" "remote" {
  package_type = var.package_type
  key          = var.key
  url          = var.url

  /*
   * General
   */

  repo_layout_ref  = var.repo_layout_ref
  description      = var.description
  notes            = var.notes
  includes_pattern = var.includes_pattern
  excludes_pattern = var.excludes_pattern
  offline          = var.offline

  /*
   * Remote Authentication
   */

  username               = var.username
  password               = var.password
  client_tls_certificate = var.client_tls_certificate

  /*
   * Network
   */

  proxy                 = var.proxy
  local_address         = var.local_address
  socket_timeout_millis = var.socket_timeout_millis
  # TODO: Missing: Query Params
  allow_any_host_auth      = var.allow_any_host_auth
  enable_cookie_management = var.enable_cookie_management

  /*
   * Property sets
   */

  property_sets = var.property_sets

  /*
   * Cache
   */

  unused_artifacts_cleanup_period_hours = var.unused_artifacts_cleanup_period_hours
  retrieval_cache_period_seconds        = var.retrieval_cache_period_seconds
  # TODO: Missing: Assumed Offline Period
  missed_cache_period_seconds = var.missed_cache_period_seconds

  /*
   * Others
   */

  blacked_out = var.blacked_out
  # TODO: Missing: Allow content browsing
  store_artifacts_locally = var.store_artifacts_locally
  synchronize_properties  = var.synchronize_properties
  # TODO: Missing: Propagate query params
  bypass_head_requests         = var.bypass_head_requests
  block_mismatching_mime_types = var.block_mismatching_mime_types

  # TODO: Missing: Override default blocked Mime types JIRA-213

  /*
   * VCS based settings
   * Affects Bower, CocoaPods, Go, PHP Composer, VCS.
   */

  vcs_type             = var.vcs_type
  vcs_git_provider     = var.vcs_git_provider
  vcs_git_download_url = var.vcs_git_download_url

  /*
   * Bower settings
   */

  bower_registry_url = var.bower_registry_url

  /*
   * Docker settings
   */

  enable_token_authentication = var.enable_token_authentication

  /*
   * Gradle/Ivy/Maven/SBT settings
   */

  remote_repo_checksum_policy_type = var.checksum_policy_type
  max_unique_snapshots             = var.max_unique_snapshots
  fetch_jars_eagerly               = var.fetch_jars_eagerly
  suppress_pom_consistency_checks  = var.suppress_pom_consistency_checks
  fetch_sources_eagerly            = var.fetch_sources_eagerly
  handle_releases                  = var.handle_releases
  handle_snapshots                 = var.handle_snapshots

  /*
   * Nuget settings
   */

  v3_feed_url           = var.v3_feed_url
  download_context_path = var.download_context_path
  feed_context_path     = var.feed_context_path

  # TODO: Support Nuget Force Authentication

  /*
   * PyPi settings
   */

  pypi_registry_url = var.pypi_registry_url

  content_synchronisation {
    enabled = false
  }
}

# a tf module for docker remote repo
module "remote" {
  source = "../common"

  key         = var.key
  url         = var.url
  blacked_out = var.blacked_out
  username    = var.username
  password    = var.password

  package_type                   = "docker"
  enable_token_authentication    = true
  retrieval_cache_period_seconds = var.retrieval_cache_period_seconds
  missed_cache_period_seconds    = var.missed_cache_period_seconds

  excludes_pattern = var.excludes_pattern
  includes_pattern = var.includes_pattern
}

# docker hub remote repo
module "dockerhub" {
  source = "./modules/remote/docker"

  key = "dockerhub"
  url = "https://registry-1.docker.io/"

  retrieval_cache_period_seconds = 3600

  username         = var.dockerhub_username
  password         = var.dockerhub_password
}

When running tf plan, terraform prints out
 ~ resource "artifactory_remote_repository" "remote" {
        id                                    = "dockerhub"
      ~ password                              = (sensitive value)
        # (34 unchanged attributes hidden)
        # (1 unchanged block hidden)
    }

Although terrafrom does not menton it will change enable_token_authentication, the attribute is turned off after running tf apply and the flag is also changed to false in tfstate.
Artifactory: 7.35.1
Terraform: 1.2.2
TF proider: 2.25.0
Expected behavior
enable_token_authentication attribute should not be modified if it is not changed in tf code.
Additional information
This seems to be a bug introduced in newer version of the provider. It did not exist when we use 2.2.15

@zymzxq The code for handling Docker remote repository between 2.25.0 and latest is largely unchanged.
The enable_token_authentication attribute is marked Computed: true, meaning it will override the TF state with the value retrieved from Artifactory. This may be the reason it gets reset to false in your case.
Can you verify that this option is unset in Artifactory UI?

@alexhung , It is not just tfstate was set to false, the flag in Artifactory was also turned off by tf apply, which broke our remote proxy :(

@zymzxq I suspect something else is going on other than a code bug. If the flag in your HCL hasn't changed there's zero reason/way the provider will flip that for you. My hunch is that the Artifactory instance was changed and it just so happens you notice it after you apply the HCL, and the provider picks up the new value from Artifactory.
I shall have time to take a quick look in a day or 2.

@zymzxq I have not been able to reproduce your issue. I am using the following HCL:
# Required for Terraform 0.13 and up (https://www.terraform.io/upgrade-guides/0-13.html)
terraform {
  required_providers {
    artifactory = {
      source  = "registry.terraform.io/jfrog/artifactory"
      version = "6.9.3"
    }
  }
}

provider "artifactory" {
  //  supply ARTIFACTORY_ACCESS_TOKEN / JFROG_ACCESS_TOKEN / ARTIFACTORY_API_KEY and ARTIFACTORY_URL / JFROG_URL as env vars
}

resource "artifactory_remote_docker_repository" "my-remote-docker" {
  key                            = "my-remote-docker"
  external_dependencies_enabled  = true
  external_dependencies_patterns = ["**/hub.docker.io/**"]
  enable_token_authentication    = true
  url                            = "https://hub.docker.io/"
  block_pushing_schema1          = true
}

Execute terraform apply and the remote repo was created on Artifactory with the 'Enable Token Authentication' option set.
Then I set external_dependencies_enabled to false and ran terraform apply.
alexh@alexh-mac terraform-provider-artifactory % terraform apply
artifactory_remote_docker_repository.my-remote-docker: Refreshing state... [id=my-remote-docker]

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # artifactory_remote_docker_repository.my-remote-docker will be updated in-place
  ~ resource "artifactory_remote_docker_repository" "my-remote-docker" {
      ~ external_dependencies_enabled         = true -> false
        id                                    = "my-remote-docker"
        # (31 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

artifactory_remote_docker_repository.my-remote-docker: Modifying... [id=my-remote-docker]
artifactory_remote_docker_repository.my-remote-docker: Modifications complete after 0s [id=my-remote-docker]

Apply complete! Resources: 0 added, 1 changed, 0 destroyed.

The 'Enable Token Authentication' option remains set.

Thanks @alexhung . Please note I am using artifactory_remote_repository instead of artifactory_remote_docker_repository. I suspect it is caused by the refactor that makes MessyRemoteRepo a composition struct instead containing each attribute locally. Also migrating to the new artifactory_remote_docker_repository is annoying because we have to do that by manipulating our tfstate in order to avoid outage of our services.

@zymzxq That make more sense now. I'll take a look at artifactory_remote_repository code.

@zymzxq I tested with artifactory_remote_repository in 2.25.0 and can confirm this issue exists.
My recommendation is to upgrade to the latest version (currently at 6.9.2). If that is not possible (for variety of reasons) my next recommendation is to migrate from artifactory_remote_repository to the repository specific resource, e.g. artifactory_remote_docker_repository.
You can do that by first importing your docker repository into a new artifactory_remote_docker_repository resource. Test and confirm that this is correct, then you can use terraform state rm to remove the existing artifactory_remote_repository resource.
As always, we encourage you to test this process in testing environment or test repositories before applying to production environment.

Thanks, I migrated to the new resource type in the end


Nordic NRF52840 RAM usage.

I have been developing my Nordic NRF52840 mqtt over BLE application using the ble-beta branch. With no modifications, the demo application used roughly 177KB of RAM. That is still quite a bit but I still had enough left over for my application.
After switching to the release-1.5 branch I noticed the unmodified demo uses over 230KB of the 256KB available on the NRF52840. This is way to much to even fit my application into, making this release unusable for me in it's current state.
What caused the RAM usage to increase this much and is there anything I remove or modify to decrease some of the RAM usage?

Hi @ljaynes87,
The difference is due to the configuration of the FreeRTOS heap on release-1.5 vs feature/ble-beta.

On feature/ble-beta, the FreeRTOS heap is 120KB.
On release-1.5, the FreeRTOS heap is 175KB

We increased the size of the heap to occupy more of the available RAM.  You can decrease the size of this heap size, or make your application use this memory through pvPortMalloc and vPortFree.

Okay thank you. I missed the heap size increase. I will just decrease the heap size for now.


[Bug]: When starting with Rsdoctor, I still get the message "rspack-plugin" even though it has been installed.

Version
windows
edge
 "@rsbuild/core": "^1.0.1-rc.0",
    "@rsbuild/plugin-babel": "^1.0.1-rc.0",
    "@rsbuild/plugin-less": "^1.0.1-rc.0",
    "@rsbuild/plugin-node-polyfill": "^1.0.4",
    "@rsbuild/plugin-sass": "^1.0.1-rc.0",
    "@rsbuild/plugin-vue2": "^1.0.1",
    "@rsbuild/plugin-vue2-jsx": "^1.0.1-beta.14",
    "@rsdoctor/rspack-plugin": "^0.3.11",

Details
如图所示：，已经安装了rspack-plugin，应该不需要再提示了。
Reproduce link
无
Reproduce Steps
无

I have added a fix for this issue., can you try the latest RC version? https://github.com/web-infra-dev/rsbuild/releases/tag/v1.0.1-rc.4

Neither rc4 or rc5 solves it for me on windows with pnpm

Here is the reproduction: https://github.com/melMass/reproduction/tree/js/rsbuild-rsdoctor

@melMass I wasn't able to reproduce the issue using the reproduction. Could you try deleting the node_modules directory and then run pnpm install again

@easy1090 are you using Windows?

@chenjiahan  I didn't notice Windows. Let me try it on Windows.

I guess this issue is similar to this one: https://github.com/rspack-contrib/rsbuild-plugin-ejs/pull/2/files
Using pathToFileURL should fix it.


Add ManaAllotment in Node.js

fixes https://github.com/iotaledger/iota-sdk/issues/914
I think that's all what we need in Node.js since we don't need the ManaAllotments as in Rust because it can be just represented as ManaAllotment[].

We could add a type alias Mana Allotments anyway to mimic rust code more.

Have we done that with the other list/set types? Like Inputs, Outputs, NativeTokens, ... ?

We could add a type alias Mana Allotments anyway to mimic rust code more.

In Rust it's necessary, but I'm not sure how the type alias would bring any benefit to TS. I would just use a normal array.


Add custom settings provider

Codecov Report

Merging #19 into master will increase coverage by 1.06%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #19      +/-   ##
==========================================
+ Coverage   91.62%   92.69%   +1.06%
==========================================
  Files          16       17       +1
  Lines         227      260      +33
  Branches       32       32
==========================================
+ Hits          208      241      +33
  Misses          7        7
  Partials       12       12

Impacted Files
Coverage Δ

toofz/ServiceSettingsProvider.cs
100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7d096c5...0f0e646. Read the comment docs.


Migrate CI (Travis) to Ubuntu Xenial (16.04)

See:
https://blog.travis-ci.com/2018-11-08-xenial-release
Also, slightly related: this environment is fully virtualized, not container-based, which means that the sudo: false setting is not supported.

https://docs.travis-ci.com/user/reference/xenial/#differences-from-the-trusty-images

Closed via #100.


USB device stack (new and old) assertion on STM32

Describe the bug
When using the new and old USB device stack ECM class on STM32H7 the assertion is raised due to mutex usage within ISR.
To Reproduce
Steps to reproduce the behavior:

build USB device with ECM class for STM32 MCU with enabled asserts (CONFIG_ASSERT=y)
run against linux

Expected behavior
~The existing stack doesn't have this issue. Assuming the new stack shall not fail as well.~
It should work fine with CONFIG_ASSERT=y.
Impact
The new stack stops working.
Logs and console output
The "mutexes cannot be used inside ISRs" assertion happens within udc_stm32_lock that is called from HAL_PCD_SetupStageCallback.
#0  arch_system_halt (reason=4) at <workspace>/zephyr/kernel/fatal.c:32
#1  0x90077762 in k_sys_fatal_error_handler (reason=4, esf=0x240203a8 <z_interrupt_stacks+3496>) at <workspace>/zephyr/kernel/fatal.c:46
#2  0x90077988 in z_fatal_error (reason=4, esf=0x240203a8 <z_interrupt_stacks+3496>) at <workspace>/zephyr/kernel/fatal.c:131
#3  0x9008c3cc in z_arm_fatal_error (reason=4, esf=0x240203a8 <z_interrupt_stacks+3496>) at <workspace>/zephyr/arch/arm/core/aarch32/fatal.c:73
#4  0x9008c3ec in z_do_kernel_oops (esf=0x240203a8 <z_interrupt_stacks+3496>, callee_regs=0x2) at <workspace>/zephyr/arch/arm/core/aarch32/fatal.c:118
#5  0x90013e76 in _oops () at <workspace>/zephyr/arch/arm/core/aarch32\swap_helper.S:573
#6  <signal handler called>
#7  assert_post_action (file=0x900e0aa0 "WEST_TOPDIR/zephyr/kernel/mutex.c", line=101) at <workspace>/zephyr/lib/os/assert.c:44
#8  0x9007988a in z_impl_k_mutex_lock (mutex=0x240009ec <udc0_data+132>, timeout=...) at <workspace>/zephyr/kernel/mutex.c:101
#9  0x90098624 in k_mutex_lock (mutex=0x240009ec <udc0_data+132>, timeout=...) at <workspace>/<app>/zephyr/include/generated/syscalls/kernel.h:984
#10 0x900986a6 in udc_lock_internal (dev=0x900cb0d8 <__device_dts_ord_88>, timeout=...) at <workspace>/zephyr/drivers/usb/udc/udc_common.h:257
#11 0x90098704 in udc_stm32_lock (dev=0x900cb0d8 <__device_dts_ord_88>) at <workspace>/zephyr/drivers/usb/udc/udc_stm32.c:60
#12 0x90031564 in udc_ep_buf_alloc (dev=0x900cb0d8 <__device_dts_ord_88>, ep=0 '\000', size=8) at <workspace>/zephyr/drivers/usb/udc/udc_common.c:622
#13 0x90097ed8 in udc_ctrl_alloc (dev=0x900cb0d8 <__device_dts_ord_88>, ep=0 '\000', size=8) at <workspace>/zephyr/drivers/usb/udc/udc_common.c:646
#14 0x900322da in HAL_PCD_SetupStageCallback (hpcd=0x24003fa4 <udc0_priv>) at <workspace>/zephyr/drivers/usb/udc/udc_stm32.c:149
#15 0x900719f6 in PCD_EP_OutSetupPacket_int (hpcd=0x24003fa4 <udc0_priv>, epnum=0) at <workspace>/modules/hal/stm32/stm32cube/stm32h7xx/drivers/src/stm32h7xx_hal_pcd.c:2327
#16 0x900c3076 in HAL_PCD_IRQHandler (hpcd=0x24003fa4 <udc0_priv>) at <workspace>/modules/hal/stm32/stm32cube/stm32h7xx/drivers/src/stm32h7xx_hal_pcd.c:1140
#17 0x900988fa in udc_stm32_irq (dev=0x900cb0d8 <__device_dts_ord_88>) at <workspace>/zephyr/drivers/usb/udc/udc_stm32.c:361
#18 0x90013fc6 in _isr_wrapper () at <workspace>/zephyr/arch/arm/core/aarch32\isr_wrapper.S:264

Environment:

OS: irrelevant
Toolchain: gcc-arm-none-eabi-10.3-2021.07
Zephyr : d9fe26

Ping @loicpoulain

Tested the old stack (ECM device class) against the same host (ST usb host library) and experienced similar issue:
#0  arch_system_halt (reason=4) at <workspace>/zephyr/kernel/fatal.c:32
#1  0x900749ae in k_sys_fatal_error_handler (reason=4, esf=0x24022018 <z_interrupt_stacks+2968>) at <workspace>/zephyr/kernel/fatal.c:46
#2  0x90074bd4 in z_fatal_error (reason=4, esf=0x24022018 <z_interrupt_stacks+2968>) at <workspace>/zephyr/kernel/fatal.c:131
#3  0x9008a34e in z_arm_fatal_error (reason=4, esf=0x24022018 <z_interrupt_stacks+2968>) at <workspace>/zephyr/arch/arm/core/aarch32/fatal.c:73
#4  0x9008a36e in z_do_kernel_oops (esf=0x24022018 <z_interrupt_stacks+2968>, callee_regs=0x2) at <workspace>/zephyr/arch/arm/core/aarch32/fatal.c:118
#5  0x90017c5a in _oops () at <workspace>/zephyr/arch/arm/core/aarch32\swap_helper.S:573
#6  <signal handler called>
#7  assert_post_action (file=0x900d9464 "WEST_TOPDIR/zephyr/kernel/mutex.c", line=101) at <workspace>/zephyr/lib/os/assert.c:44
#8  0x90076ad6 in z_impl_k_mutex_lock (mutex=0x24001750 <__net_if_eth_netusb_0+8>, timeout=...) at <workspace>/zephyr/kernel/mutex.c:101
#9  0x9008ce3e in k_mutex_lock (mutex=0x24001750 <__net_if_eth_netusb_0+8>, timeout=...) at <workspace>/<app>/zephyr/include/generated/syscalls/kernel.h:984
#10 0x9001fa80 in net_if_lock (iface=0x24001748 <__net_if_eth_netusb_0>) at <workspace>/zephyr/include/zephyr/net/net_if.h:544
#11 0x900219fe in net_if_carrier_on (iface=0x24001748 <__net_if_eth_netusb_0>) at <workspace>/zephyr/subsys/net/ip/net_if.c:4470
#12 0x9001a1e6 in netusb_enable (func=0x24000570 <ecm_function>) at <workspace>/zephyr/subsys/usb/device/class/netusb/netusb.c:101
#13 0x9001aa9a in ecm_status_interface (desc=0x240017e7 <cdc_ecm_cfg+56> "\t\004\001\001\002\n\006") at <workspace>/zephyr/subsys/usb/device/class/netusb/function_ecm.c:351
#14 0x9001abbc in ecm_status_cb (cfg=0x24001888 <cdc_ecm_config>, status=USB_DC_INTERFACE, param=0x240017e7 <cdc_ecm_cfg+56> "\t\004\001\001\002\n\006") at <workspace>/zephyr/subsys/usb/device/class/netusb/function_ecm.c:369
#15 0x9000cb68 in forward_status_cb (status=USB_DC_INTERFACE, param=0x240017e7 <cdc_ecm_cfg+56> "\t\004\001\001\002\n\006") at <workspace>/zephyr/subsys/usb/device/usb_device.c:1263
#16 0x9000c0ca in usb_set_interface (setup=0x2400319c <usb_dev>) at <workspace>/zephyr/subsys/usb/device/usb_device.c:799
#17 0x9000c5c8 in usb_handle_std_interface_req (setup=0x2400319c <usb_dev>, len=0x240031ac <usb_dev+16>, data_buf=0x240031a4 <usb_dev+8>) at <workspace>/zephyr/subsys/usb/device/usb_device.c:981
#18 0x9000c9a2 in usb_handle_standard_request (setup=0x2400319c <usb_dev>, len=0x240031ac <usb_dev+16>, data_buf=0x240031a4 <usb_dev+8>) at <workspace>/zephyr/subsys/usb/device/usb_device.c:1167
#19 0x9000ae02 in usb_handle_request (setup=0x2400319c <usb_dev>, len=0x240031ac <usb_dev+16>, data=0x240031a4 <usb_dev+8>) at <workspace>/zephyr/subsys/usb/device/usb_device.c:229
#20 0x9000b180 in usb_handle_control_transfer (ep=0 '\000', ep_status=USB_DC_EP_SETUP) at <workspace>/zephyr/subsys/usb/device/usb_device.c:336
#21 0x90031006 in HAL_PCD_SetupStageCallback (hpcd=0x24004c20 <usb_dc_stm32_state>) at <workspace>/zephyr/drivers/usb/device/usb_dc_stm32.c:1069
#22 0x9006ec42 in PCD_EP_OutSetupPacket_int (hpcd=0x24004c20 <usb_dc_stm32_state>, epnum=0) at <workspace>/modules/hal/stm32/stm32cube/stm32h7xx/drivers/src/stm32h7xx_hal_pcd.c:2327
#23 0x900bcdf6 in HAL_PCD_IRQHandler (hpcd=0x24004c20 <usb_dc_stm32_state>) at <workspace>/modules/hal/stm32/stm32cube/stm32h7xx/drivers/src/stm32h7xx_hal_pcd.c:1140
#24 0x9002f2da in usb_dc_stm32_isr (arg=0x0) at <workspace>/zephyr/drivers/usb/device/usb_dc_stm32.c:197
#25 0x90017daa in _isr_wrapper () at <workspace>/zephyr/arch/arm/core/aarch32\isr_wrapper.S:264
#26 <signal handler called>
#27 arch_cpu_idle () at <workspace>/zephyr/arch/arm/core/aarch32\cpu_idle.S:136
#28 0x9007651a in idle (unused1=0x0, unused2=0xaaaaaaaa, unused3=0x9007651b <idle+70>) at <workspace>/zephyr/kernel/idle.c:88
#29 0x00000000 in ?? ()

Not sure what the root cause is. The issues are not observed with *nix host.

These are different bugs. For the first, I am probably partly to blame for not having clear documentation or examples. The second is due to the current device stack design, and if the driver does not offload the callback call to a workqueue or thread, it hits various areas where the USB device is involved, I thought all drivers were fixed.

@jfischer-no is that part of the fixes you pushed recently ?

@jfischer-no is that part of the fixes you pushed recently ?

No, there are stm32 shim driver implementation issues.

@loicpoulain do you have any comment on this ?

@loicpoulain do you have any comment on this ?

Yes, so we need to move some operations out of isr context, I can look at this next week. I'll update that issue accordingly.

except if someone else can/want to fix that, I can look at this next week.

It would be great if you have some time. We're pretty busy with HW model migration, it would be helpful if you can tackle this.

@GeorgeCGV, @loicpoulain Is that still valid ?

@erwango there was no change in the HAL_PCD_SetupStageCallback implementation in the drivers.

I can confirm this issue. Any plans for reworking the driver to offload these tasks from ISR context?

@erwango who can take a look at this issue?

Hi, i just ran into this problem. Is a fix for this issue on the roadmap?
For the meantime - is there a workaround except disabling CONFIG_ASSERT?

Ran into the same issues on a ST STM32H747 Discovery
Currently blocking a project. Several pieces of code that ran with no issues on NRF52 trigger this bug on STM32 H7.

Since we don't have a huge bandwidth atm, my proposal is to work on fixing this in new STM32 USB driver and keep current behavior in old version (which will avoid risk of adding regressions in an otherwise stable driver which will be deprecated soon anyway).
@loicpoulain For my information, did you already tried fixing this in new STM32 USB driver and if yes, did you face specific issues to do so ? Or more likely, you just didn't had time...
@jfischer-no Does it sound like a reasonable plan to you (taking into account the resources I can allocate to this) ?
Also quick questions as I'm not a USB expert:
Do you suggest using thread or the work queue to offload treatment ? I've seen that NRF implementation switched from workq (usb/device) to thread (udc) while NXP moved from thread to workq on the new driver. Is that just a matter of footprint ? There are more things to consider ?

@jfischer-no Does it sound like a reasonable plan to you (taking into account the resources I can allocate to this) ? Also quick questions as I'm not a USB expert:

I think you will not be able to keep up with the progress of the DWC2 driver. It may be better to use all SoCs with the DWC2 controller with native driver. DWC2 driver implementation is vendor neutral, vendors have to implement quirks if required. To determine if this is already possible (STM32F4 devices should work fine), we need to know what IP configuration the STM32 SoCs have. Extracting it from the register files in the HAL is a bit tedious. Other STM32 controller type may have a simpler shim or native driver.

Do you suggest using thread or the work queue to offload treatment ? I've seen that NRF implementation switched from workq (usb/device) to thread (udc) while NXP moved from thread to workq on the new driver. Is that just a matter of footprint ? There are more things to consider ?

That is a question of taste. Both are okay.

I think you will not be able to keep up with the progress of the DWC2 driver. It may be better to use all SoCs with the DWC2 controller with native driver. DWC2 driver implementation is vendor neutral, vendors have to implement quirks if required. To determine if this is already possible (STM32F4 devices should work fine), we need to know what IP configuration the STM32 SoCs have. Extracting it from the register files in the HAL is a bit tedious. Other STM32 controller type may have a simpler shim or native driver.

I took some time to ask around internally and here is the status:
There are 4 types of USB IPs on overall STM32 offer (with a 5th one coming).

2 blocks are ST own IPs
2 IPs are DWC2 based (OTGHS, OTGFS), each one available in ~10 revisions.

For DWC2, this would represent more than 20 configurations versions to analyse and develop to make support available.
And even if I do that, DWC2 native driver would only work for part of the STM32, and I'd still need to maintain the HAL driver for the ST IPs.
OTOH, all of those IPs are supported through STM32 HAL based USB driver.
So, I do see indeed the pros in contributing to DWC2, but that is anyway significantly more work than continuing to maintain the HAL based driver for all STM32.

@loicpoulain For my information, did you already tried fixing this in new STM32 USB driver and if yes, did you face specific issues to do so ? Or more likely, you just didn't had time...

Unfortunately I've not much time for now. The idea would indeed to mimic what other driver are doing, moving some stuff in valid thread/schedulable context.

Unfortunately I've no much time for now. The idea would indeed to mimic what other udc drivers are doing, moving some stuff in valid thread/schedulable context.

Ok, sure thanks. Next task is to define "stuff" :D

Not stale ! Still very problematic


Add support for PostgreSQL create extension

Hi, this is a pull request for implementing #1832
This is my first PR to an open source project, so forgive me if the code is sub-standard. I tried to implement the same tests and functionalities as in other CREATE commands, but I am new to the code base so I might be missing something. Please give feedback!
Also, PostgreSQL supports two options in the CREATE EXTENSION command, namely version and old_version, which are not implemented here yet (but this is straight forward to do).

Hi @roehst, this PR looks excellent!
One of the reasons we decided to support extension in Ecto was to make sure the bidirectional migrations, the ones that uses change instead of up/down, work properly.
However, I have just realized that, instead of supporting extension, it would be better if we changed the execute command in migrations to accept two commands: the forward command and the backward command:
execute "create extension foo",
        "drop extension foo"

This way we no longer need to support extensions and we generalize the feature. The way it works is that we can only reverse the execute command if the second argument is given. If the second argument is not given, we should continue raising as today.
That said, I think we should rather improve the execute statement above instead of directly supporting extensions (which are PG specific). Could you instead send a PR that improves execute then? I apologize for not being able to see the improvements to execute sooner, but I only realized this as I reviewed your PR.
Thank you!

@josevalim and @michalmuskala  Thanks for your prompt feedback!
This feature actually did seem odd to me because extensions are postgresql specific while the other migration commands (table, index, ...) are more general. Anyways, it was a good exercise to get know a bit more about the codebase!
If I understand correctly, the revised proposal is to make execute support two command strings, one for going forward and one for going backward.
Now, just as a constructive reflection. As a developer I would feel fine about using the execute command with two strings inside the change method. But is this substantially better than writing an up/down method in each specific migration?
Nevertheless, I need a couple days to study the execute command, but I can submit a PR on this. It will be good exercise again even if reasoning on the question above it looks like it is better to stick to using UP/DOWN methods vs. "reversible executes".
Thanks again!

It is better than writing up and down because sometimes you have multiple
commands and a single non reversible command may force you to rewrite
everything with up/down.
--
José Valimwww.plataformatec.com.br
http://www.plataformatec.com.br/Founder and Director of R&D

@josevalim It makes a lot of sense! I will work on it. Thanks

Awesome, thank you @roehst!  :heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart:


Missing intellisense for .NET Assemblies

The PTVS intellisense for .NET classes, interfaces and methods within VS does not work if a type implements an interface from another assembly.
Formally: If a class C in Assembly A implements an Interface X, which is placed in Assembly B the intellisense does not work for_ class C_.
Workaround: If I added the assembly which includes the interfaces to the GAC it works fine.
In my point of view the PTVS cannot find the assembly which provides the base interfaces. I also try to reference the assembly which includes the base interfaces but this neither works. Is there any opportunity to get intellisense in the described scenario without using the GAC?
Thank you very much!

PTVS cannot find the assembly which provides the base interfaces

That seems most likely. Is there a copy of assembly A alongside the assembly B that you are referencing? I'm fairly sure we should pick it up automatically then, but if they are not in the same directory then we may not.

In my situation the assemblies are not alongside. I try to place them alongside but that does not work.
I set up a testproject you can see here:
IronPythonApplication1.zip
I added two classes "ClassThatWorks" and "ClassThatDoesNotWorks". "ClassThatDoesNotWorks" implements BaseInterface from another assembly (ClassLibrary1).
Within the IronPythonApplication1 project you can reproduce the problem. For "x" there is intellisense fro "y" there is no intellisense.
import clr
clr.AddReference("ClassLibrary1")
clr.AddReference("ClassLibrary2")
from ClassLibrary2 import ClassThatWorks
from ClassLibrary2 import ClassThatDoesNotWork
def test():
x = ClassThatWorks()
y = ClassThatDoesNotWork()
It also does not work if I reference the assemblies ClassLibrary1.dll and ClassLibrary2.dll which are placed alongside.
May I change something at the import statments "clr.AddReference("ClassLibrary1")" or somethong else?
Thank you very much!


Clear all filters

button to clear all filters?

(If yes, list here)
Screenshot
(Link above will always be the most up-to-date version.)

Could you add some description to this please @Connor1892

@maria-kuzmenko we talked about functionality, but I don't know how you want the button positioned.
Pls, remove the UX tag when you've updated this!

@jadmsaadaot, @Connor1892 uploaded screenshots and added scenarios


correction of an error

This change is

Fixed by https://github.com/oaeproject/3akai-ux/pull/4229


clojure-repl doesn't highlight if prompt is missing

e.g.
=> (+ 1 1)

does not highlight. This kind of example can be found in many docs where the namespace doesn't matter.

Fixed!


3MF exporter

My current need for Mittsu is to be able to convert files into more efficient forms, as a feature for https://manyfold.app. So, I'm working on a 3MF exporter. This is NOT an existing THREE.js feature, so you may want it to be in a separate addon gem - up to you.
It adds two dependencies; builder which was already a transitive dependency from minitest, and rubyzip which is completely new. It also uses rexml in dev for testing the output.
THREE.js annoyingly uses parse for exporting which makes no sense; I've rename it export and made parse an alias for consistency with the original.

Getting there with this; it now generates valid 3MF files. Just working on getting the child object traversal and relationships right, because at the moment running the example produces a version of male02.obj without various parts, which is... suboptimal :)

OK, the root cause of my problem is in the OBJ loader, rather than the 3MF output, and I've filed it for a rainy day as https://github.com/danini-the-panini/mittsu/issues/123.
I'll update the converter example to use a simpler model, and then this should be done, at least for an initial basic form.

OK, working 3MF export is ready! There are probably plenty of edge cases to find, but as an MVP, I'm happy with it.

This is also green now, I was missing a gem dependency for rexml.

@danini-the-panini it's just occurred to me that while I'm writing mesh analysis code in https://github.com/manyfold3d/manyfold/pull/1981/files#diff-b33a35020b14550d6b315e9628edd985f88159a26555ab2f4027358e592ebfab, this is actually required to check that meshes are valid for 3MF files before exporting. Would you like me to PR that stuff into the mittsu core? It checks that meshes are manifold, and that they aren't inside out.

As in, generic manifold checks for all meshes? I'm not sure that's necessary, since inside out meshes are useful in some cases, and are still valid in mittsu

Yeah, that's what I was thinking, it's probably too specific as those things are totally valid unless you're trying to bring things into the real world. I wonder if that has similar implications for this PR, because it currently could produce invalid 3MF files.

What with 3mf being non-threejs functionality, that might be another argument that this should be in a separate extension gem, not core.

No i think it's fine in Core, at least for now

@Floppy after thinking about this for a bit, I think it would make more sense as a separate gem, especially due to the extra dependency

OK, cool, I can move it out. :+1:

I'll probably create couple of addon gems; mittsu-analysis for things like the mesh structure checks, and mittsu-3mf for 3MF export (and later import too). Are you OK with that naming?

That sounds good 👍🏻


more sensitive html entities for IE

CLA is valid!

@neraliu , please refer to PPSE-1742 for references when review. thanks.

it looks good, but one thing comes to my mind is that we should extend the fuzz project to support different browsers testing from @stuartlarsen

Yes. We can explore how to extend that.


Autoskill doesnt recognize 2nd turn.

The auto skill works with arash 3rd skill and NP, but afterwards, it just spams cards...
Device Info (please fill atleast 'Device model'):

Device model: Realme 5 Pro (has notch)
Android Version: Android 10
RAM: 8 gb

Can you post your skill command? And maybe a screen recording with the debug mode on? That way it'll be easier to see what's going on. To do that, go to main menu, click More options, and tick the Debug Mode and Record Screen options, then just try to use the app like you usually would. After that, it'll create a file named Record.mp4 on your internal memory/Fate-Grand-Automata folder, and upload that file somewhere, like Streammable, Youtube or any file hosting websites.
Also, after getting the recording, go back to the app and disable both debug and record option, since it's no longer needed.


Add confirmJs template in FormHelper.php to fix Cannot find template …

Running the 4.0.1-alpha release and just updated to CakePHP 3.7.1 and received an error
Error: [RuntimeException] Cannot find template named 'confirmJs'.
So have added the confirmJs key to src/View/Helper/FormHelper.php templates array.
https://api.cakephp.org/3.7/class-Cake.View.Helper.HtmlHelper.html

I wanted to cherry-pick this from your repository to keep authorship but you made a modification on the master branch and not the 4.0.1-alpha so a clean cherry-pick is not possible. Would you mind making this change on your 4.0.1-alpha branch? If you do not care about authorship I can make the change by myself.

@jmcd73 Forget my previous comment, I did not see that the fix was included in the other commit.


terminal.integrated.profiles.windows not working in .vscode/settings.json

VS Code Version:  1.56.1
OS Version: win 10 pro 64X

Workspace settings (.vscode/settings.json) terminal settings now give deprecated warnings

This is deprecated, use #terminal.integrated.defaultProfile.windows# instead

however adding
  "terminal.integrated.profiles.windows": {
    "PowerShell -NoProfile": {
      "source": "PowerShell",
      "args": ["-NoProfile","echo",]
    }
  },

makes no difference and does not add any option in the terminal dropdown
Steps to Reproduce:

remove  "terminal.integrated.shell.windows": "cmd.exe",
add   "terminal.integrated.profiles.windows": {
"PowerShell -NoProfile": {
"source": "PowerShell",
"args": ["-NoProfile","echo",]
}
},

this does work in the user settings but not in the workspace settings

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

You have to set terminal.integrated.allowWorkspaceConfiguration: true

You have to set terminal.integrated.allowWorkspaceConfiguration: true

@meganrogge That doesn't help my use case or make sense. Please let me explain
I have a template (https://github.com/Mair/create-esp32-app) that thousands of people are using, when the template is run it creates a vs-code project with the settings in place.
"terminal.integrated.shell.windows": "cmd.exe",
  "terminal.integrated.shellArgs.windows": ["/k", "C:\\esp\\idfv_4_2\\esp-idf\\export.bat"],
  "terminal.integrated.shell.linux": "/bin/bash",
  "terminal.integrated.shellArgs.linux": ["--init-file", "C:/esp/idfv_4_2/esp-idf/export.sh", "-i"],
  "terminal.integrated.shell.osx": "/bin/bash",
  "terminal.integrated.shellArgs.osx": ["--init-file", "C:/esp/idfv_4_2/esp-idf/export.sh", "-i"],

the paths to the scripts are dynamically created.
it is assumed that users will be able to run the script, create the project and it should just work without having to change other settings I cannot control.
In other words I have a template that thousands of users are using and this is a breaking change and I have no way of fixing this because I can't get a terminal to work correctly on someone else's vs code instance.


Update Terraform versions to latest (12.x -> 1.x)

Describe the bug
We need the Terraform versions updated in the modules. We are expected to deliver customer projects in GCP with these modules.
Expected behavior
At least Terraform 1.0.8 at the time of this writing.
Current behavior
We would have to ask our customer to use Terraform 12.x in cloud shells and local env.

This is resolved now


Several fixes to the node v0.6.x port

add setEncoding() to replace 'data_as_buffer'.
expose the public properties.
add 'connect' method that takes a callback.
fix zk_promise.
fix tests

dave,
Why did you change the default behavior from Buffer to utf8 string? This is
the only change i flat out disagree with.
This is not the default behavior of zookeeper itself which is a byte buffer
storage system.
otherwise, i appreciate and mostly like the commits. thanks for the work!
i made some comments on your checkins, mostly just to understand what you
were doing (been a bit out of the node version upgrade loop).
I did try to keep the module version in line with the zk lib version it
worked with, using another variable for rev spin. It seems you've departed
from this, which is a bit confusing to me.
If the versions are going to diverge, i think the readme should be updated
front/center to document the version it should work with by default with an
npm install, people shouldn't need to read the wscript to figure it out.
On Mon, Dec 12, 2011 at 6:34 PM, Dave Dopson <
<EMAIL_ADDRESS>
wrote:

add setEncoding() to replace 'data_as_buffer'.
expose the public properties.
add 'connect' method that takes a callback.
fix zk_promise.
fix tests
You can merge this Pull Request by running:
git pull https://github.com/ddopson/node-zookeeper master
Or you can view, comment on it, or merge it online at:
https://github.com/yfinkelstein/node-zookeeper/pull/27
-- Commit Summary --

add setEncoding() to replace 'data_as_buffer'.  expose the public
properties.  add 'connect' method that takes a callback. fix zk_promise.
fix tests

-- File Changes --
M lib/test-promise.js (6)
M lib/zk_promise.js (89)
M lib/zookeeper.js (80)
M src/node-zk.cpp (36)
A test/foo.js (55)
M test/zk_test_buffer.js (32)
M test/zk_test_create.js (2)
M test/zk_test_utf8.js (2)
M test/zk_test_watcher_promise.js (22)
-- Patch Links --
https://github.com/yfinkelstein/node-zookeeper/pull/27.patch
https://github.com/yfinkelstein/node-zookeeper/pull/27.diff

Reply to this email directly or view it on GitHub:
https://github.com/yfinkelstein/node-zookeeper/pull/27

I am in 100% agreement with you that the default behavior shouldn't change (principle of backwards compat).
However, I think in the original the default behavior was string.  I'll go back and try to double-check that behavior.  If you are right that the default behavior was Buffer, then 100% that should be the new default as well.  In fact, that's the conventional default for Node, and thus my preference absent any backwards-compatible behavior.
"I did try to keep the module version in line with the zk lib version it worked with, using another variable for rev spin." -- that's a good idea that just occurred to me this morning.  Fortunately, we haven't pushed the module to the NPM repo yet, so we can fix that.  I had wanted to bump the version to indicate a major departure.  Fortunately v3.3.x -> 3.4.x should be sufficient.
"to document the version it should work with "  -- few clarifications: the wscript is written such that the module is statically linked.  Thus it shouldn't depend on any local install of the zk library.  I'm not a zk expert by any means, but hopefully you don't mean that there are any compat issues between the client lib and a down-version server? (dear god, I hope not, that would be aweful ugly).  Either way, I agree with you on the versioning scheme and will make that change.

ok, so there's some confusion on my side.
Short Story: You are right.
Long Story: something about a test that failed in a way that made it seem like the default used to be string.


Add support for skipping execution (parent POM)

I would like to use this plug-in in a parent POM. I have several plug-ins configured in the build-section and all are "disabled" when mvn installing the parent POM itself. All plug-ins support something like:

....
${disable_parent_functionality}
....
</configuration
Please add support for skipping execution.

Can you please push the new version to maven central repo? I wanna use the skip ability. Thanks.


AWS Beanstalk Custom Access Log Format

Im trying to figure out how to set the custom access log for Beanstalk
The example

<IP_ADDRESS> (<IP_ADDRESS>, <IP_ADDRESS>) - - [15/Jan/2020:20:02:40 +0000] "GET /test?station=25&playtime=cool/playlist.m3u8 HTTP/1.1" 200 975 "-" "Mozilla/5.0 (Linux; Android 7.1.2; AFTMM Build/NS6268; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/70.0.3538.110 Mobile Safari/537.36"

I hope this helps

Please try:
goaccess access.log --log-format=COMBINED

It worked thank you!!

How would I be able to get the X-FORWARDED ip the part (<IP_ADDRESS>, <IP_ADDRESS>) with COMBINED it doesn't get the ip from the user Im just getting the ip from the server. I have tried to use.
--log-format= %h (~h{,}) -- [%d:%t %^] "%m %U %H" %s %b "%R" "%u" --date-format=%d/%b/%Y --time-format=%T
I tried that but I get a %h has been specified error

Close, this should work:
goaccess access.log --log-format='%^ (~h{, }) %^[%d:%t %^] "%r" %s %b "%R" "%u"' --date-format=%d/%b/%Y --time-format=%T

Closing this. Feel free to reopen it if needed.


Pass through searxng search modifiers

Is your feature request related to a problem? Please describe.
Searxng has the ability to limit searches to pre-defined categories and engines, even custom backends.  In some cases when using Perplexica, the user knows that the best results will come from one or more of these categories, so hinting to Perplexica which ones to use would be useful.
Describe the solution you'd like
In the search text box, use the same hints as searxng uses, eg !reddit best phone or !google :de experience with remote work.  Perplexica extracts them, runs the query through its internal rewriter, and then prepends the hints to the queries sent to searxng.

There are some pre-defined agents that already send an engines spec, but being able to use arbitary modifiers allows using custom searxng backends (eg, opensearch corpus defined in searxng/settings.yml) without having to update perplexica.

We have focus modes set up to choose the best engines for different types of searches. This means we already use the best options to get you the results you need. I'm going to close this issue for now but we can always revisit it if needed.


Add files via upload

Essentially, its a test to see if I get how to nest lists.

not sure what LGTM means.. Lesbian, Gay, Trans Mothers?

https://gprivate.com/5zmlx


Several issues with running docker container

If running you are running jupyter notebook already, you will get the

error: 8888: bind: address already in use

Do we need to remove or close the container after use, e.g.,

sudo docker-compose down
sudo docker rm -f $(sudo docker ps -aq)

I need "sudo" in the container, which asks for password? What is the password for the root password in the container?

sudo docker ps
sudo docker container exec -u 0 -it c48485a94568 bash

The version in main branch right now points to a not-yet implemented address for the Docker image. This will give an error:

ERROR: manifest unknown

Temporary fix is to open the docker-compose.yml file and replace the address (image: "ghcr.io/noresmhub/noresm_land_sites_platform:${VERSION:-latest}") with this one: ghcr.io/noresmhub/noresm_land_sites_platform:platform_dev

this should work now