Add plugin zip import command

1. Why is this change necessary?
There is still no really good way to version community store plugins.

sw:store:download is not available in shopware 6 yet
packages.friendsofshopware.com is not officially supported

Now you can at least version a downloaded plugin file and simply do:
bin/console plugin:zip-import SwagBundle.zip && bin/console plugin:install --activate SwagBundle
2. What does this change do, exactly?
Add a new command to import plugin zip files. Add optional parameter to disable file deletion on import via CLI.
3. Describe each step to reproduce the issue or behaviour.

Have a previously downloaded plugin zip file
Open /admin
Open plugin management
Upload zip file
Install plugin
Activate plugin
Be annoyed that it is not possible via CLI in an easy way to do the same

4. Checklist

[ ] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Hi @JoshuaBehrens
Thanks again for your contribution.
Please add tests, documentation and watch for deprecations before we proceed with importing your PR
Sunny regards
Pantrtxp

Wait? What deprecations? Am I already using these? Isn't this a task for a reviewer that there is such a conflict?
Where are any commands documented that I have to do as well?
Ok I will look for a way to test this.

I added docs and tests. I did not test the command itself as there are no templates how to do that yet but I test my changed behaviour.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-7340
Please use this issue to track the state of your pull request.

 I also post some nonsense here as well 😅

@JoshuaBehrens would you accept these changes?
this is the last step to getting this merged :)

I'll get on it ASAP 🚀 :shipit:

@JoshuaBehrens push again :see_no_evil:

Yes I am aware of this being open. Gimme time for the weekend. That looks good for it.

Sadly here are some failures as well.
Could you run the phpunit tests locally (after rebasing) and check out the failing ones?
Tests: 44, Assertions: 365, Failures: 18.
We are currently fixing the travis CI so you can rely on this again
Sorry for the inconvenience :(

After a rebase lots of tests fail as a refresh_token table is missing although I ran all the migrations :/

Apparently just one php version is failing. I don't understand the reason though

@JoshuaBehrens  sorry to say this, but could you fix the conflicts?
I wanted to do it but it seems like that the PluginManagementServiceTest was rewritten.
I sadly was not able to merge this before. I could not get our Pipeline to pass. Sorry :slightly_frowning_face:

Big oof. But I'll have a look at it

sorry! 😁
I think we also have to talk about my decisions to make the extract method private in future version

I see. So you see your last change and you see my feature. So do you think things have to be moved somewhere else? What are your thoughts, why did you plan to make it private?

it was just used in this class :wink:
so if this is not the case anymore with your PR, I'm fine with that. so just remove the deprecation annotation. maybe you could also re-add the test

Ok, I'll bring it back to life :D

Hi @JoshuaBehrens
This PR is still incomplete.
Will you please update this PR?
Sunny regards
Pantrtxp

I can retry testing it but the last time I tried my tests were not working because of a missing google client dependency.
I will also change my doc updates for the new layout.

Hi @JoshuaBehrens,
can you take a look again, your test suite works again I've heard through the grapevine ;-)

Spooky

*once your branch is rebased :wink:

Hey @mitelg rebase is out. I hope I included all expectations we had during this conversation

Tests look good :)

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-9223
Please use this issue to track the state of your pull request.

thanks for your contribution @JoshuaBehrens  :+1: :tada: :blue_heart:

merged with https://github.com/shopware/platform/commit/d4649700290679c058684b67e6bdc6d363c4696f

Thanks :) You're welcome


Couple of fixes

Markdown shows progress during publish.
Removed credential dependency from Monitor.

Ping

👍 pending master merge

It is merged with master.


fix(deps): update terraform-module

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/kms-key-ring/ibm (source)
module
patch
v2.4.0 -> v2.4.1

terraform-ibm-modules/kms-key/ibm (source)
module
patch
v1.2.3 -> v1.2.4

Release Notes

terraform-ibm-modules/terraform-ibm-kms-key-ring (terraform-ibm-modules/kms-key-ring/ibm)
v2.4.1
Compare Source
Bug Fixes

remove upper limit for required terraform version (#590) (854cad4)

terraform-ibm-modules/terraform-ibm-kms-key (terraform-ibm-modules/kms-key/ibm)
v1.2.4
Compare Source
Bug Fixes

remove upper limit for required terraform version (#594) (e9fb76c)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

/run pipeline

:tada: This PR is included in version 4.13.6 :tada:
The release is available on:

GitHub release
v4.13.6

Your semantic-release bot :package::rocket:


application.getAll: Use the new user__has_direct_access_to__application

Change-type: minor
See: https://github.com/balena-io/open-balena-api/pull/510 (v0.116.0)
See: https://github.com/balena-io/balena-api/pull/2849
See: https://github.com/balena-io/open-balena/pull/105 (v3.2.0)
See: https://www.flowdock.com/app/rulemotion/resin-frontend/threads/i6e-Rxp_O51M9WgW3aI-fPV61Jz
See: https://www.flowdock.com/app/rulemotion/p-organizations/threads/9dIPQ9751qYPy0G6PEs26riZCOK
Signed-off-by: Thodoris Greasidis<EMAIL_ADDRESS>
Contributor checklist

[ ] Includes tests
[ ] Includes typings
[ ] Includes updated documentation
[ ] Includes updated build output

@balena-ci I self-certify!


mempool:change sq to dq,free to head, alloc form tail

Summary
Mempool:Change single queue to double queue and add more checks
Impact
mempool
Testing
sim with mm_testing & mempool
add santiy check for used after free
Using a double linked queue can allow the free memory
to be malloced out in the end.
Use tools (Kasan) as much as possible to check
the memory stampede problem without causing
speed reduction or memory usage.

@anjiahao1 please add a little bit more information in the commit log message. Please explain the main motivation of this modification.

@xiaoxiang781216 @anjiahao1 @davids5 @raiden00pl  @patacongo is there some alternative to avoid declaring these functions inside a function? I'm afraid it is not C89 compatible.

@xiaoxiang781216 @anjiahao1 @davids5 @raiden00pl @patacongo is there some alternative to avoid declaring these functions inside a function? I'm afraid it is not C89 compatible.

If c89 must be enforced, --std=c89 must be added to ci, otherwise the violation can happen daily.

@xiaoxiang781216 @anjiahao1 @davids5 @raiden00pl @patacongo is there some alternative to avoid declaring these functions inside a function? I'm afraid it is not C89 compatible.

What do you mean "function inside a function"? The violation I can find is inline. I would say that it's very bad idea to disallow the using of inline.

That:
  dq_for_every(queue, entry)
    {
      count++;
    }

I don't see it usually in the source code, I don't know exactly what is it. I only found that dq_for_every() inside this python script: tools/gdb/lists.py
What is it? What is it used for?

dq_for_every is a new macro added in this patch:

just simply forward to sq_for_every macro which expand to a for loop.

dq_for_every is a new macro added in this patch:  just simply forward to sq_for_every macro which expand to a for loop.

Ok, now I got the idea, of each run in this loop it will run the code inside "{ }", in this case count++.


r.json()

I use python 3.5
async with session.get('http://www.zhihu.com') as r:      json = await r.json()
the json = await r.json() always report Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8 is there any bugs ?

@ZYecho text/html  is definitely not right content type for JSON data. Much likely you received not JSON data, but some HTML page instead. If your server returns JSON with such content type, you should fix it in first place to return correct application/json instead.

r is an object of ClientResponse. I don't understand your expanlation.
Here is my problem!
I want to get the cookies after I login (www.zhihu.com) by posting the data.
but according to documents,

Response cookies contain only values, that were in Set-Cookie headers of the last request in redirection chain. To gather cookies between all redirection requests you can use aiohttp.ClientSession object.

how can I get the correct cookies after I login?

@ZYecho
Use the same session for login request and all the following ones.

Hi, @ZYecho, I think I've got your problem:
async with session.get('http://www.zhihu.com') as r: json = await r.json()
this decodes page body as json.
If you need to access cookies after request you should do something like this:
await session.get('http://www.zhihu.com')
print(session.cookies)

Also see updated docs in #817


Set tags in alphabetical order, ignoring emojis.

Describe your changes
Feel free to disregard if someone else is going to open a request on this issue. I teach software development and we used this issue as a lesson in class today.
I've put the tags in alphabetical order, ignoring emojis. I've refactored the file with more expressive names and moved everything inside a function. I've added an interface for the resources being imported.
Related issue number/link
https://github.com/ClimateTown/knowledge-hub/issues/129
Thanks for contributing! 🥳🚀🌳

Thanks for the PR, and its great that it was a good teaching example! I'll be able to review this PR this weekend when I have more time.
Thanks @Micahg05 for #142 as well. I'll look at it as well this weekend and compare approaches. I'll be working on documenting more issues over the next week so that the direction of the project is clearer, and there is more space to avoid people doubling up on issues.

@all-contributors please add @werner33 for code

Closing as I work out some more changes. Will reopen later.

Feel free to discuss implementation/changes here.
I see that you're looking at adding scripts to validate resource tags? This would be a welcome change, but I think it would be much easier to use the existing jsonschema test which validates that the data/resources.yml adheres to data/resources.schema.json
https://github.com/ClimateTown/knowledge-hub/blob/main/data/yaml_test.py
Adding a list of approved tags is just a matter of modifying the schema to add an enum field, and then the test will handle the rest with rich error messages.
...
            "tags": {
                "description": "A list of tags to categorize the resource.",
                "type": "array",
                "items": {
                    "type": "string",
+                   "enum": ["tag1", "tag2", "tag3"]  // Add your allowed tags here
                },
                "minItems": 1,
                "maxItems": 6
            }
...

Regarding the sorting of the tags, it can be done by moidifying your prior implementation:

Split tags into two lists, one with emojis one without
Sort both lists ignoring emojis
Join lists back emojisList + nonEmojisList


Add contributing guidelines

Added

Added contributing guidelines.

Codecov Report

Merging #208 (895114a) into master (0e66c59) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #208   +/-   ##
=======================================
  Coverage   95.75%   95.75%
=======================================
  Files         112      112
  Lines        1745     1745
  Branches      241      241
=======================================
  Hits         1671     1671
  Misses         72       72
  Partials        2        2

Flag
Coverage Δ

cuaktask
99.17% <ø> (ø)

iocuak
94.21% <ø> (ø)

porygon
98.30% <ø> (ø)

porygon-typeorm
98.67% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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 b73a7a3...895114a. Read the comment docs.


Add Zapier integration.

Looks great @TomaszKolek!  I posted a few comments.

@timabbott I forgot about pinging...

Cool, can you add that?

Merged, thanks @TomaszKolek!


Maya: Set Context fails for new scene for V-Ray renderer

Running version
3.15.2
Describe the bug
When trying to set the resolution in Maya using V-Ray renderer but there's no VRaySettings node (yet?) then an error will occur in the code. This will for example happen on "new scene" when using V-Ray as renderer.
file -f -new;
# openpype.hosts.maya : Running callback on new..
# openpype.hosts.maya.api.lib : Setting scene FPS to: 'film'
# Error: openpype.hosts.maya.api.lib : Can't set VRay resolution because there is no node named: `vraySettings` #
# openpype.hosts.maya.api.lib : Setting scene resolution to: 1920 x 1080
# Warning: EventCallback : Failed to execute event callback < EventCallback - on_new > C:\Users\Dillon\AppData\Local\pypeclub\openpype\3.15\openpype-v3.15.2\openpype\hosts\maya\api\pipeline.py
Traceback (most recent call last):
  File "C:\Users\Dillon\AppData\Local\pypeclub\openpype\3.15\openpype-v3.15.2\openpype\lib\events.py", line 195, in process_event
    callback()
  File "C:\Users\Dillon\AppData\Local\pypeclub\openpype\3.15\openpype-v3.15.2\openpype\hosts\maya\api\pipeline.py", line 630, in on_new
    lib.set_context_settings()
  File "C:\Users\Dillon\AppData\Local\pypeclub\openpype\3.15\openpype-v3.15.2\openpype\hosts\maya\api\lib.py", line 2184, in set_context_settings
    reset_scene_resolution()
  File "C:\Users\Dillon\AppData\Local\pypeclub\openpype\3.15\openpype-v3.15.2\openpype\hosts\maya\api\lib.py", line 2152, in reset_scene_resolution
    set_scene_resolution(width, height, pixelAspect)
  File "C:\Users\Dillon\AppData\Local\pypeclub\openpype\3.15\openpype-v3.15.2\openpype\hosts\maya\api\lib.py", line 2062, in set_scene_resolution
    "{}.{}".format(control_node, aspect_ratio_attr), deviceAspectRatio)
RuntimeError: setAttr: No object matches name: defaultResolution.aspectRatio

It's because it continues here but then using the wrong attribute name (that's only valid for the v-ray node).

It's because VRaySettings node does not exist yet, but it still continues trying to set the resolution but then with the wrong attribute on the defaultResolution.
Because it had already overridden the aspect_ratio_attr for V-Ray but that's not the valid attribute for the default resolution node.

We should likely best case scenario force the VRaySettings node creation so that if V-Ray is the renderer but it did not exist yet that we'd create it.
Issue originally reported by Dillon Sinden (Lucan) on Discord
To Reproduce

Use V-Ray as renderer

(It might be that you need to set it as the "preferred renderer" in preferences so that the new scene initializes with it directly.)

Create new file

Expected behavior
No error, resolution should still be correct for V-Ray renderer.
[cuID:OP-5367]

No idea if still relevant in AYON - but I'll close it and see if it comes up for ayon-maya over time.


Python 3.9 support

Update the pipeline to support Python 3.9.

Python 3.9 support

Python 3.9 support


ROX-16532: Introduce Node Scanner container resources in Operator options

Description
This PR introduces configurable resource limits/requests for the Node Scanner container in the Operator.
The container was recently introduces to the Collector DaemonSet as part of the RHCOS Node Scanning feature.
The naming of new resources follows a combination of existing operator variables and the Helm variables for customizing the container resource limits/requests.
Checklist

[ ] Investigated and inspected CI test results
[x] Unit test and regression tests added
[x] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[x] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

Testing Performed
Testing was performed by running the operator locally (cdrox && cd operator && make install run) on a Colima cluster, as well as deploying the operator to an OpenShift 4.13 cluster via make deploy-via-olm.
Both, applying a custom resource by hand, as well as using the WebUI Operator wizard to create secured clusters was tested.

@msugakov Thanks for the feedback! Here is a screenshot of the WebUI changes. I have also expanded the Compliance Resource Settings to give a comparison.
I have verified that the container is created with the supplied limits and requests, yes. I have verified this for both, the WebUI and manually created CRDs.
The attached second screenshot is from the resulting DaemonSet after specifying resources in the WebUI.
(The image pull errors in that screenshot are because of missing pull credentials.)

Thanks @Maddosaurus ! It looks good to me. I tried to reproduce your testing steps but make install run and make deploy-via-olm struggles with building frontend for me locally. I trust you that it works as on the screenshots.

@vikin91 The deployment to an OS4 cluster is a bit fiddly, but testing locally on Colima or Minikube with CRs should work.
I was able to apply tests/common/secured-cluster-cr.yaml as described in the quickstart (here) and observe the cluster being created.
If you have any cluster init bundle on disk, you can apply it beforehand to spin up Secured Cluster Services even without going through setting up a central. They won't work, but it's the quickest path to verify that resource settings were applied.
If you would like to reproduce that, I would recommend to uncomment the OpenShift 4 switch in the Helm template (here and here) before running make install run to ensure the nodescanner container is in the DaemonSet. It will not start, but the resource limits/requests can be observed in the DaemonSet nonetheless 😄

The e2e failure is a known flake Verify admission controller performs image scans if Sensor is Unavailable: https://issues.redhat.com/browse/ROX-16249


Use Node 20

Changes to switch to Node 20, as 16 is no longer supported and GitHub is deprecating Node 16 actions.
Given the deprecation, these changes make a hard cut, and drop support for 16.
Also included are updates to the actions used internally, so that they are on versions using Node 20 as well

(Warnings when running the workflow with the previous versions)
Note that this upgrade should help unblock a fix for a similar issue for the action-docker-layer-caching action, which uses this action in the workflows.
CI checks passing on my fork:

Hey @jpribyl , do you think you'd be able to take a look at this?

Hey @jpribyl , do you think you'd be able to take a look at this?

Totally! yeah I'll try to carve out some time this week for it. Thanks for the PR!

I've also got a PR in action-docker-layer-caching, but that depends on this repo. Specifically I think the using: node20 in action.yml needs this update.
https://github.com/jpribyl/action-docker-layer-caching/pull/56


Build docker images for fixing port allocate for juicefs

Ⅰ. Describe what this PR does
Ⅱ. Does this pull request fix one issue?

fixes #XXXX
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

/approve


Expand hierarchicalMenu root item

By default, hierarchicalMenu items are collapsed and user has to click any item to see sub-items as you can see in below screenshot that Category Electric & Electronic item collapsed.

But as it is the only one root item(which has sub-items) so I want to expand it as soon as page loads so that user don't need to click on the item to see sub-items as below screenshot.

Here is the page: https://protenders.com/companies/bodet/products
Is it possible?

You can use the rootPath option to have the root expanded. The only drawback is that it hides the name of this category. Would that fit your needs?

Well, I need to show the category name and also how can i know that there is just one root item via instantSearch?

Well in this case this is not possible. We only expand what is selected, and what is selected influence the search results.

I think you might be able to do this with one of following options:

[this is a hack] in searchFunction, check how many facets there are, if it's only one, dispatch a click event on the root
with a connector, and displaying it as a single or collapsed interface


Model Proto issue

I can't use the onnx in Windows/Python.
I get:
DecodeError: Error parsing message with type 'onnx.ModelProto'
Any solutions? even a simple Python model check fails.
I have every library installed.
import onnx
import onnxruntime as ort
model_path = r"C:\models\ArtCNN_R8F64.onnx"
try:
with open(model_path, 'rb') as f:
    model_content = f.read()

model = onnx.ModelProto()
model.ParseFromString(model_content)

onnx.checker.check_model(model)
print("ONNX model is valid and loaded successfully.")

session = ort.InferenceSession(model_path, providers=['CUDAExecutionProvider'])
print("ONNX Runtime session created successfully.")

except Exception as e:
print(f"Error loading ONNX model: {e}")

Try chainner with onnx runtime, it works on my machine™.


AttributeError: module 'torch' has no attribute 'flip'

Hi I am using torch 0.4.0 as mentioned in the README file. I get the following error. Is this because of a version problem or do I need to install additional dependancies(apart from the ones mentioned in the README)
Traceback (most recent call last):
File "speaker_id.py", line 228, in
pout=DNN2_net(DNN1_net(CNN_net(inp)))
File "/home/paperspace/anaconda3/envs/sincnet/lib/python3.6/site-packages/torch/nn/modules/module.py", line 491, in call
result = self.forward(*input, **kwargs)
File "/home/paperspace/SincNet/dnn_models.py", line 448, in forward
x = self.drop[i](self.act[i](self.ln[i](F.max_pool1d(torch.abs(self.convi), self.cnn_max_pool_len[i]))))
File "/home/paperspace/anaconda3/envs/sincnet/lib/python3.6/site-packages/torch/nn/modules/module.py", line 491, in call
result = self.forward(*input, **kwargs)
File "/home/paperspace/SincNet/dnn_models.py", line 144, in forward
band_pass_right= torch.flip(band_pass_left,dims=[1])
AttributeError: module 'torch' has no attribute 'flip'

Tried with pytorch 1.0.1 and it is working fine

Ok..thank you! I should change the documentation..
On Apr 9, 2019 12:46 PM, "ravikirancap"<EMAIL_ADDRESS>wrote:

Tried with pytorch 1.0.1 and it is working fine
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mravanelli/SincNet/issues/30#issuecomment-481330941,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQGs1neqrvLPbSph3E0JqcENBzXyexTQks5vfMPjgaJpZM4cj_ZA
.

Another quick question (let me know if I should post as a different issue instead)
I am currently training a model (been a few hours into training already) and I noticed that the num epochs are too high. Is there a way to just freeze the current state of the model? I have used some your pytorch-kaldi toolkit and it provides checkpointing and restarting from the closest checkpoint. I want to know if this codebase also has that feature


Sync Commands Error

Error occurs when sync commands task (from cogs/synccommands.py) runs.
To do with command registering using guild_only commands in addition to global commands.
Unhandled exception in internal background task 'synccommands'.
Traceback (most recent call last):
  File "/home/container/.local/lib/python3.9/site-packages/discord/ext/tasks/__init__.py", line 178, in _loop
    await self.coro(*args, **kwargs)
  File "/home/container/cogs/synccommands.py", line 13, in synccommands
    await self.client.register_commands()
  File "/home/container/.local/lib/python3.9/site-packages/discord/bot.py", line 323, in register_commands
    to_update = update_guild_commands[guild_id]
KeyError:<PHONE_NUMBER>93270027
Ignoring exception in on_connect
Traceback (most recent call last):
  File "/home/container/.local/lib/python3.9/site-packages/discord/client.py", line 352, in _run_event
    await coro(*args, **kwargs)
  File "/home/container/.local/lib/python3.9/site-packages/discord/bot.py", line 758, in on_connect
    await self.register_commands()
  File "/home/container/.local/lib/python3.9/site-packages/discord/bot.py", line 323, in register_commands
    to_update = update_guild_commands[guild_id]
KeyError:<PHONE_NUMBER>93270027

Closing as #21 is more relevant


Supporting getting every release moving forward

RabbitMQ maintains three minor branches:

1.18.x
1.17.x
1.16.x

Our team (OSLO) has one pivnet resource for the entire RabbitMQ product. In other words, we don't configure the resource with version globbing. Currently there's no way for us to configure the resource to trigger for every minor release. The Pivnet resource will only obtain releases on the 1.18.x version line.
We want to be able to configure the pivnet resource to give us every release moving forward, no matter which version line it is.

As a workaround, could you create three instances of the Pivnet resource, one per minor branch of RabbitMQ that you want to track?

@rszumlakowski RabbitMQ is only one of close to thirty products we pull from. Also, the number of products grow dynamically. We don't know when these products add a new minor line.
On a larger scale, we want to know when any tile from any Pivotal products gets pushed to Pivnet.

The version matchers in the Pivnet resource are regular expressions.  Could you change your regular expression to match more than one minor product line.  I admit I have not tried this before.  I am just trying to think of possible workaround that you could try right away.

We have a workaround solution for the time being, but we are hoping to not have to rely on it in the future since it require manual triggering of the job.

Don't do this, because you'll end up reimplementing things that concourse provides for you, specifically version tracking.

We added a "last_updated" sort option on Pivnet Resource.  You can see the code changes in the commit https://github.com/pivotal-cf/pivnet-resource/pull/123.  The new sort is available in v0.31.37 of Pivnet Resource.  Please enjoy!


Add deployment options to Data-tier Application Wizard

When upgrading an existing database from a dacpac we are bound to use all standard options from Dacpac deploy as there is no way to set DacDeployOptions or a publish profile. So in the case we are upgrading a database with core functionalities built in a dacpac   there is no way to do this in ADS with a dacpac if you need to not drop objects not in source or set other options.
Proposed solution
Add options dialog button to "Deploy Dacpac Settings" page similar to the functionality already available in SqlProjects.Publish made in #15483
Alternatives
Convert .dacpac to a sqlproj and use publish or install SQLPackage.exe and set all options in CLI
Additional context
Page with missing options

Publish project currently supports both

+1


Cherry picks 1.11.0 rc4

Cherrypicking:
#18747
#21712
#21723
#21730
#21751
#21768
#21780
#21787
#21790
#21799
#21802
#21810
Noteworthy:

https://github.com/docker/docker/pull/21802/commits/ce87de21a7594f5d49987a7333f1f0e77984f117 was not cherrypicked since it modified tests that are not in the 1.11 branch.

LGTM

LGTM

LGTM, NAM

SGTM


Video looping is inconsistent

Describe the addition

Context

We currently define a time to loop back to once the controls show up. Right now, we try to loop back to that point by, when the video ends, seeking back to the beginning of the video, then immediately seeking to the point we want to loop to. This doesn't work the majority of the time.
Proposed Solution

https://github.com/cookpete/react-player/issues/1452 potential solution in here?

seeking in general is really inconsistent. need to look into switching video player frameworks

This was not a framework issue! It was actually an issue with the impact:// file protocol and it not being able to serve file ranges. This page got me there https://stackoverflow.com/questions/36783521/why-does-setting-currenttime-of-html5-video-element-reset-time-in-chrome

I feel confident that this is now fixed. Closing


Tiny mapper nuget package 2.0.5 for .net 4.0 not working on .net 4.0 machine.

The version works on my dev machine with net 4.5, but not working at server with 4.0.
The issue seems to be: http://stackoverflow.com/questions/13748055/could-not-load-type-system-runtime-compilerservices-extensionattribute-from-as?rq=1
Manually built version from 2.0.5 sources works as expected, without error. I didn't used "Release 4.0" build profile, just "Release", but manually changed target framework for TinyMapper project.

Hi,  thanks for the issue and this link.
Do you build on your dev machine? as per the the link you have to build on a machine with only .net 4.0.


examples/elf/tests: Ensure "build" before "install"

@yamt @liuguo09 do we need both patch?
https://github.com/apache/incubator-nuttx-apps/pull/101

no. i commented on the patch.

Please take @yamt patch. It's simple and more general : )


Suddenly receiving appcenter.derived_client.AppCenterHTTPException

Since approx. 10:00 AM CET we are receiving appcenter.derived_client.AppCenterHTTPException from appcenter/crashes.py
`

23-Feb-2022 10:19:34
Traceback (most recent call last):

23-Feb-2022 10:19:34
File "analyse_crashes.py", line 458, in

23-Feb-2022 10:19:34
main()

23-Feb-2022 10:19:34
File "analyse_crashes.py", line 350, in main

23-Feb-2022 10:19:34
android_reu_groups = android_reu_crashes_handler.groups()

23-Feb-2022 10:19:34
File "analyse_crashes.py", line 79, in groups

23-Feb-2022 10:19:34
groups = list(self.client.get_error_groups(owner_name=self.owner_name,

23-Feb-2022 10:19:34
File "/Users/bamboo/Library/Python/3.8/lib/python/site-packages/appcenter/crashes.py", line 208, in get_error_groups

23-Feb-2022 10:19:34
response = self.get(request_url)

23-Feb-2022 10:19:34
File  "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tenacity/init.py",  line 333, in wrapped_f

23-Feb-2022 10:19:34
return self(f, *args, **kw)

23-Feb-2022 10:19:34
File  "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tenacity/init.py",  line 423, in call

23-Feb-2022 10:19:34
do = self.iter(retry_state=retry_state)

23-Feb-2022 10:19:34
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tenacity/init.py", line 360, in iter

23-Feb-2022 10:19:34
return fut.result()

23-Feb-2022 10:19:34
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/_base.py", line 432, in result

23-Feb-2022 10:19:34
return self.__get_result()

23-Feb-2022 10:19:34
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/_base.py", line 388, in __get_result

23-Feb-2022 10:19:34
raise self._exception

23-Feb-2022 10:19:34
File  "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tenacity/init.py",  line 426, in call

23-Feb-2022 10:19:34
result = fn(*args, **kwargs)

23-Feb-2022 10:19:34
File "/Users/bamboo/Library/Python/3.8/lib/python/site-packages/appcenter/derived_client.py", line 185, in get

23-Feb-2022 10:19:34
raise create_exception(response)

23-Feb-2022 10:19:34
appcenter.derived_client.AppCenterHTTPException:  <method=GET,  url=https://api.appcenter.ms/v0.1/apps/Home-Connect/Home-Connect-App-1/errors/errorGroups?start=2021-11-25T11%3A19%3A03&$top=30&$token=e7cbb259-aeed-407b-8d63-1eb61d241b84,  status_code=502, text={"message":"internal error","err_message":"error:  activity_name: graph router, exception: ESOCKETTIMEDOUT,  current_request_url:  /v0.1/apps/Home-Connect/Home-Connect-App-1/errors/errorGroups?start=2021-11-25T11%3A19%3A03&$top=30,  api_path: v0.1/apps/{owner_name}/{app_name}/errors/errorGroups, beacon:  errors, code: ESOCKETTIMEDOUT. Correlation ID:  14863e1b-34c7-4d46-b3fa-7e6897c60faf"}>

`

A 502 error indicates that this is an App Center issue rather than an SDK issue. If this persists, you'll need to contact them directly. This SDK is actually owned by the Outlook Mobile team. Please re-open if this doesn't go away though.


feat(agent): support setting and deleting agents

This PR was generated using Autosynth. :rainbow:
Here's the log from Synthtool:
synthtool > Executing /tmpfs/src/git/autosynth/working_repo/synth.py.
synthtool > Ensuring dependencies.
synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:ef1a98ab1e2b8f05f4d9a56f27d63347aefe14020e5f2d585172b14ca76f1d90
Status: Image is up to date for googleapis/artman:latest
synthtool > Cloning googleapis.
synthtool > Running generator for google/cloud/dialogflow/artman_dialogflow_v2.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/js/dialogflow-v2.
synthtool > Running generator for google/cloud/dialogflow/artman_dialogflow_v2beta1.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/js/dialogflow-v2beta1.
.eslintignore
.eslintrc.yml
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.jsdoc.js
.kokoro/common.cfg
.kokoro/continuous/node10/common.cfg
.kokoro/continuous/node10/docs.cfg
.kokoro/continuous/node10/lint.cfg
.kokoro/continuous/node10/samples-test.cfg
.kokoro/continuous/node10/system-test.cfg
.kokoro/continuous/node10/test.cfg
.kokoro/continuous/node11/common.cfg
.kokoro/continuous/node11/test.cfg
.kokoro/continuous/node8/common.cfg
.kokoro/continuous/node8/test.cfg
.kokoro/docs.sh
.kokoro/lint.sh
.kokoro/presubmit/node10/common.cfg
.kokoro/presubmit/node10/docs.cfg
.kokoro/presubmit/node10/lint.cfg
.kokoro/presubmit/node10/samples-test.cfg
.kokoro/presubmit/node10/system-test.cfg
.kokoro/presubmit/node10/test.cfg
.kokoro/presubmit/node11/common.cfg
.kokoro/presubmit/node11/test.cfg
.kokoro/presubmit/node8/common.cfg
.kokoro/presubmit/node8/test.cfg
.kokoro/presubmit/windows/common.cfg
.kokoro/presubmit/windows/test.cfg
.kokoro/publish.sh
.kokoro/release/docs.cfg
.kokoro/release/docs.sh
.kokoro/release/publish.cfg
.kokoro/samples-test.sh
.kokoro/system-test.sh
.kokoro/test.bat
.kokoro/test.sh
.kokoro/trampoline.sh
.nycrc
.prettierignore
.prettierrc
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
codecov.yaml
renovate.json
samples/README.md
synthtool > Replaced '@google-cloud\\/dialogflow' in src/v2/intents_client.js.
synthtool > Replaced '@google-cloud\\/dialogflow' in src/v2/session_entity_types_client.js.
synthtool > Replaced '@google-cloud\\/dialogflow' in src/v2/sessions_client.js.
synthtool > Replaced '@google-cloud\\/dialogflow' in src/v2/agents_client.js.
synthtool > Replaced '@google-cloud\\/dialogflow' in src/v2/entity_types_client.js.
synthtool > Replaced '@google-cloud\\/dialogflow' in src/v2/contexts_client.js.
synthtool > Replaced '@google-cloud\\/dialogflow' in src/v2beta1/intents_client.js.
synthtool > Replaced '@google-cloud\\/dialogflow' in src/v2beta1/session_entity_types_client.js.
synthtool > Replaced '@google-cloud\\/dialogflow' in src/v2beta1/sessions_client.js.
synthtool > Replaced '@google-cloud\\/dialogflow' in src/v2beta1/agents_client.js.
synthtool > Replaced '@google-cloud\\/dialogflow' in src/v2beta1/entity_types_client.js.
synthtool > Replaced '@google-cloud\\/dialogflow' in src/v2beta1/knowledge_bases_client.js.
synthtool > Replaced '@google-cloud\\/dialogflow' in src/v2beta1/documents_client.js.
synthtool > Replaced '@google-cloud\\/dialogflow' in src/v2beta1/contexts_client.js.

><EMAIL_ADDRESS>postinstall /tmpfs/src/git/autosynth/working_repo/node_modules/core-js
> node scripts/postinstall || echo "ignore"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

><EMAIL_ADDRESS>postinstall /tmpfs/src/git/autosynth/working_repo/node_modules/protobufjs
> node scripts/postinstall

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 918 packages from 1303 contributors and audited 5682 packages in 20.231s
found 0 vulnerabilities

><EMAIL_ADDRESS>fix /tmpfs/src/git/autosynth/working_repo
> eslint '**/*.js' --fix

/tmpfs/src/git/autosynth/working_repo/samples/detect-intent-sentiment.v2.js
  25:30  error  "dialogflow" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/detect-intent-TTS-response.v2.js
  26:30  error  "dialogflow" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/detect.js
   20:26  error  "pb-util" is not found     node/no-missing-require
   27:30  error  "dialogflow" is not found  node/no-missing-require
  101:30  error  "dialogflow" is not found  node/no-missing-require
  136:30  error  "dialogflow" is not found  node/no-missing-require
  177:30  error  "dialogflow" is not found  node/no-missing-require
  243:30  error  "dialogflow" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/detect.v2beta1.js
   19:26  error  "pb-util" is not found     node/no-missing-require
   26:30  error  "dialogflow" is not found  node/no-missing-require
   56:30  error  "dialogflow" is not found  node/no-missing-require
   79:30  error  "dialogflow" is not found  node/no-missing-require
  106:30  error  "dialogflow" is not found  node/no-missing-require
  135:30  error  "dialogflow" is not found  node/no-missing-require
  178:30  error  "dialogflow" is not found  node/no-missing-require
  211:30  error  "dialogflow" is not found  node/no-missing-require
  236:30  error  "dialogflow" is not found  node/no-missing-require
  263:30  error  "dialogflow" is not found  node/no-missing-require
  329:30  error  "dialogflow" is not found  node/no-missing-require
  378:30  error  "dialogflow" is not found  node/no-missing-require
  441:30  error  "dialogflow" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/quickstart.js
  20:28  error  "dialogflow" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/resource.js
   25:30  error  "dialogflow" is not found  node/no-missing-require
   51:30  error  "dialogflow" is not found  node/no-missing-require
   77:30  error  "dialogflow" is not found  node/no-missing-require
  105:30  error  "dialogflow" is not found  node/no-missing-require
  134:30  error  "dialogflow" is not found  node/no-missing-require
  163:30  error  "dialogflow" is not found  node/no-missing-require
  192:30  error  "dialogflow" is not found  node/no-missing-require
  237:30  error  "dialogflow" is not found  node/no-missing-require
  289:30  error  "dialogflow" is not found  node/no-missing-require
  312:30  error  "dialogflow" is not found  node/no-missing-require
  340:30  error  "dialogflow" is not found  node/no-missing-require
  371:30  error  "dialogflow" is not found  node/no-missing-require
  405:30  error  "dialogflow" is not found  node/no-missing-require
  447:30  error  "dialogflow" is not found  node/no-missing-require
  476:30  error  "dialogflow" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/system-test/detect.test.js
  19:26  error  "chai" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/system-test/detect.v2beta1.test.js
  19:26  error  "chai" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/samples/system-test/resource.test.js
  19:26  error  "chai" is not found  node/no-missing-require

✖ 40 problems (40 errors, 0 warnings)

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>fix: `eslint '**/*.js' --fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>fix script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/kbuilder/.npm/_logs/2019-06-14T11_11_52_890Z-debug.log
synthtool > Cleaned up 2 temporary directories.
synthtool > Wrote metadata to synth.metadata.

@alexander-fenster seeing some test failures here, looks like maybe some of the test fixtures are setup incorrectly?


cron 0.3.0 fails to compile on rustc nightly-2017-07-09

Receiving the following error on rustc nightly-2017-07-09:
error: use of unstable library feature 'iterator_step_by': unstable replacement of Range::step_by (see issue #27741)
   --> /Users/joshua.holmer/.cargo/registry/src/github.com-1ecc6299db9ec823/cron-0.3.0/src/time_unit/mod.rs:219:55
    |
219 |                 Ok((start..Self::inclusive_max() + 1).step_by(step).collect())
    |                                                       ^^^^^^^
    |
    = help: add #![feature(iterator_step_by)] to the crate attributes to enable

error[E0308]: mismatched types
   --> /Users/joshua.holmer/.cargo/registry/src/github.com-1ecc6299db9ec823/cron-0.3.0/src/time_unit/mod.rs:219:63
    |
219 |                 Ok((start..Self::inclusive_max() + 1).step_by(step).collect())
    |                                                               ^^^^ expected usize, found u32

error: aborting due to 2 previous errors

error: Could not compile `cron`.

cron 0.3.0 compiles successfully on rustc nightly-2017-07-02.

Hi, thanks for reporting this. It was fixed in the latest commit to mainline, but I still need to package up a new version for crates.io. In the meantime you can point directly at github to get unblocked.

Thanks for the quick response! I will go ahead and close this since it is fixed in master.


"error: plugin compilation failed:" prefix turns a Gnu-compliant error message into one that isn't Gnu-compliant.

Description
Generalized IDEs scrape tool output lines for errors, and I'm now getting errors  from SPM like this one,
error: plugin compilation failed: /Users/dave/src/hylo/Plugins/FatalFilePathPlugin/FatalFilePathPlugin.swift:19:35: error: cannot convert value of type 'Path' to expected argument type '[Path]'
      inputFiles: swiftFiles.first!,

which doesn't match the Gnu-compliant format of the original error message starting with a backslash, and is thus unrecognized.  You need a newline before the original error message if you want to avoid interfering with it.
Expected behavior
No response
Actual behavior
No response
Steps to reproduce
No response
Swift Package Manager version/commit hash
Swift Package Manager - Swift 5.8.1
Swift & OS version (output of swift --version ; uname -a)
swift-driver version: 1.75.2 Apple Swift version 5.8.1 (swiftlang-<IP_ADDRESS>.5 clang-14<IP_ADDRESS>.100)
Target: arm64-apple-macosx13.0
Darwin DaveA-MBP14.localdomain 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul  5 22:22:05 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6000 arm64

Yah seems like we should align this with how it works for manifests, a single statement that we couldn't compile it and then the compilation errors as-is on their own lines.
This is part of the larger issue that we completely separated ManifestLoader and DefaultPluginScriptRunner in the first place even though they are largely doing the same thing.


nlink not correct after dump->load->dump

What happened:
     META_URL=sqlit3://test.db
    ./juicefs format $META_URL myjfs --trash-days 1 --enable-acl
    ./juicefs mount -d $META_URL /jfs --enable-xattr
    SEED=$SEED MAX_EXAMPLE=100 STEP_COUNT=50 PROFILE=generate ROOT_DIR1=/jfs/fsrand ROOT_DIR2=/tmp/fsrand python3 .github/scripts/hypo/fsrand2.py || true
    ./juicefs dump $META_URL dump.json --fast
    ./juicefs load sqlite3://test2.db dump.json
    ./juicefs dump sqlite3://test2.db dump2.json --fast

root@bench-01:~/juicefs# diff dump.json dump2.json
1020c1020
<     "attr": {"inode":0,"type":"directory","mode":365,"uid":0,"gid":0,"atime":1711344962,"mtime":1711344962,"ctime":1711344962,"atimensec":617063975,"mtimensec":617063975,"ctimensec":617063975,"nlink":2,"length":0},
---
>     "attr": {"inode":0,"type":"directory","mode":365,"uid":0,"gid":0,"atime":1711344962,"mtime":1711344962,"ctime":1711344962,"atimensec":617063975,"mtimensec":617063975,"ctimensec":617063975,"nlink":3,"length":0},

What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?
Environment:

JuiceFS version (use juicefs --version) or Hadoop Java SDK version:
Cloud provider or hardware configuration running JuiceFS:
OS (e.g cat /etc/os-release):
Kernel (e.g. uname -a):
Object storage (cloud provider and region, or self maintained):
Metadata engine info (version, cloud provider managed or self maintained):
Network connectivity (JuiceFS to metadata engine, JuiceFS to object storage):
Others:

Why the inode is 0?

Why the inode is 0?

inode is set to 0 manually.

fixed by https://github.com/juicedata/juicefs/pull/4572


Could we see a screen shot?

I'm new to Slack, and haven't yet tried slack-jira-plugin. It would be really nice if one could get an idea of what it does by seeing it in action in a screenshot, before I go through hoops of installing it.. ;-)

Automatically append a link to a message whenever there is a mention of a JIRA issue in the message

I'm hoping that it'll look somewhat like this:

Is it so that if I mention BUG-4345 in any slack converstation, the metadata (title) is extraced and shown?
I'd love to see a screenshot to help me understand what slack-jira-plugin actually is! :-)

I also found shaunburdick/slack-jirabot: Slack Bot to listen for JIRA tickets and enhance conversation which looks like the screenshot below. Assuming that is the only thing slack-jirabot does, how does this project compare to slack-jirabot featurewise?

@pmorch Yeah, it does similar things.  It simply looks at messages and will add links and other information to the actual ticket to the message stream.  The display is somewhat configurable and looks similar to what you posted.


coverity 1021753: Uninitialized pointer field

clang format successful! https://ci.trafficserver.apache.org/job/clang-format-github/457/

RAT check successful! https://ci.trafficserver.apache.org/job/RAT-github/467/

FreeBSD11 build failed! https://ci.trafficserver.apache.org/job/freebsd-github/2150/

AU check successful! https://ci.trafficserver.apache.org/job/autest-github/454/

Intel CC build successful! https://ci.trafficserver.apache.org/job/icc-github/580/

Linux build successful! https://ci.trafficserver.apache.org/job/linux-github/2046/

clang-analyzer build successful! https://ci.trafficserver.apache.org/job/clang-analyzer-github/711/

It's annoying you can't declaration initialize bit fields. Ship it.


Make use of Vulkan when available ?

Vulkan is not yet released but will be the next month so I prepare the issue.
Vulkan will double performance,particulary needed for smartphones.

Well, probably Servo will do this, not Shumway: https://github.com/glennw/webrender/wiki

Ok sorry


Add optional parameters to $get

First of all, thank you very much for your hugely useful module.
Here I have added optional parameters to $get.
So one could use resource.$get({ param1: 'foobar', param2: 42 }).then(...) to add additional URL parameters.

Thanks for the contribution, Alex. Can you tell me a little bit about the use-case? In my mind, http://example.com/foo is simply a different resource from http://example.com/foo?bar=qux.

Yes, sure.
In the application where I'm going to use this, the requested resource contains some filter dependent data. I figured it would be more concise not to basically have or use a resource location  for every possible filter combination.

Let's see if I understand you. You have a resource, say http://example.com/projects that represents a list of projects. You can now get http://example.com/projects?closed=true to get only a list of closed projects? In such cases I have used a templated relation, e.g. http://example.com/projects{?closed}. And indeed, every resolved template URI then become a separate resource.
Do you have a good example? (The example added to the README does not really make any sense: what does a pineapple have to do with John William's resource or representation?) I appreciate that you put effort into creating a clean, ready-to-merge pull request, but I need a bit more justification.

Yes, your example puts it very well.
I admit, that I am quite new to this API design as of yet and I didn't know about the templated relations.
Using your example, I would have to use the following code for it to work:
var projects = new ResourceContext().get('http://example.com/projects');
projects.closedHref = 'http://example.com/projects{?closed}';
var closed = projects.$propRel('closedHref', {closed: true});
...

If I can solve it that way (or kind of), I'll try.
Then, the changes are not of much use.
Thank you very much for your time and your help!

Your example looks good. I can totally see how the project list would have a link to the filter for that same list.
Often, I find that I link to resources like a projects list from a generic resource that is commonly called the root resource, a resource that represents the different components or features that an API provides.
Good luck with the API design!


Resolved conflict of reserved delimiter ':' in device names when booting

Description of changes
bcachefs uses : in device paths to separate multiple devices, but it might occur in valid device paths too. If for example a device path in /dev/disk/by-id is used that contains a :, the stage-1 init script will split that path and wait for two devices that will never exist. This additional check for bcachefs tests, whether the splitted paths are absolute and in /dev, which very likely would not happen with normal device paths.
Here an example for a configuration that NixOS can't boot without the fix, but is desireable, because of the unique device path:
{...}:
{
  fileSystems."/" = {
    device = "/dev/disk/by-id/md-uuid-87f8d026:9d4e4aa1:b8ac6c73:7cf43cb2";
    fsType = "ext4";
  };
}

I've tested the change with the following code snipped that emulates the waitDevice function:
test() {
    local device="$1"
    local IFS=:
    for dev in $device; do
        if ! [ "${dev:0:5}" = "/dev/" ]; then
            IFS=
        fi
    done
    for dev in $device; do
        echo "$dev"
    done
}

echo ":: Test 1"
test "/dev/disk/by-id/md-uuid-87f8d026:9d4e4aa1:b8ac6c73:7cf43cb2"
echo ":: Test 2"
test "/dev/sda:/dev/sdb:/dev/sdc"

which outputs
:: Test 1
/dev/disk/by-id/md-uuid-87f8d026:9d4e4aa1:b8ac6c73:7cf43cb2
:: Test 2
/dev/sda
/dev/sdb
/dev/sdc

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Hi,
i accidentily deleted the fork and now the pull request has closed. Is it still possible to merge it? Or do i have to create a new one?
Best regards
Gerolf


stack upgrade to install if not found

like kontena vault update --upsert key value
kontena stack should support kontena stack upgrade --install for better scriptability

This should be straightforward to script:
kontena stack show $stack && kontena stack upgrade $stack $source || kontena stack install --name $stack $source


⚠ Mobitopup has degraded performance

In 92ef450, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 3273 ms

Resolved: Mobitopup performance has improved in 5ab16a3.


Do not include JS and CSS files in our repository

External dependencies such as AngularJS and Bootstrap bring in JavaScript and CSS files, but they shouldn't be in our repository. Instead we should look to manage these with something like npm to avoid having them in our repository.

As part of our next big release we switched from NuGet packages to libman.json. This allows the libraries to be restored during build, rather than having to commit them to Git.


Are Mention Flag Embedding tables shared between different layers？

Details

In the code ACL2021MF t5.py by GaryYufei, I noticed that mention flag embedding is declared in class T5Attention, which means that every transformer layer has different and independent embedding tables, and I didn't find any code about special initialization part about them.
class T5Attention(nn.Module):
    def __init__(self, config: T5Config, has_relative_attention_bias=False, is_bidirectional=False, use_mention_flag=False, mention_flag_num=3, use_orginal_enc_pos_embs=True, use_mf_scalar=False):
        super().__init__()
        """
        """
        self.has_mention_flag = False
        self.use_mf_scalar = use_mf_scalar
        if self.use_mention_flag and mention_flag_num > 0:
            if not self.use_mf_scalar:
                self.k_mention_flag = nn.Embedding(mention_flag_num, self.d_kv)
                self.v_mention_flag = nn.Embedding(mention_flag_num, self.d_kv)
            else:
                self.mention_flag_scalar = nn.Embedding(mention_flag_num, self.n_heads)

My Question is, why can't we embed MF matrix uniformly in T5 decoder (such as class T5Block), which is like trainable absolute position embedding of BERT or GPT-2? And will the different and independent embedding influence the understanding of MF's  meaning, or we just simply initialize with the same and frozen parameters for all the MF embedding table?
In the paper, the following details are pretty sketchy so I couldn't find any explanation.

Thanks for your interests in our research work. In the MF paper, Table 5, we did run shared MF which is shared by all T5 layers. It performs slightly worse than having separated MF for each layer.
In general, both settings are OK for PLMs to understand MF.
Let me know if you would like to know more about this!

Sorry for my negligence and thanks a lot.


unsafe opaque does not allow unsafe body

unsafe opaque verySafeCast : α → β := unsafeCast
-- (kernel) invalid declaration, it uses unsafe declaration 'unsafeCast'

Can also occur without a body:
@[extern] unsafe opaque mk (α : Type u) : α -- declaration uses 'sorry'


Retry middleware: Is there a way to know which request is being retried?

I know we can do this:
should_retry: fn
  {:ok, %{status: status}} when status in [400, 500] -> true
  {:ok, _} -> false
  {:error, _} -> true
end

I'm running into some timeout issues, which from what I can tell emit {:error, :timeout}. The retry logic in that function clause (the third one) work fine, but I also want to log the occurrence in the console in the form of:
The request to #{url} timed out after #{timeout_seconds}. This will be the #{retry_count} time the request is being retried.

Is there a way to add this type of detailed logging?
Use case: I have an importer that imports a whole bunch of data from various APIs, and the total number of possible URLs that data might be fetched from is in the hundreds. I need to know exactly which endpoints are timing out, and how frequently, so I can troubleshoot on the other end.

There is no way to accomplish that as of today:
https://github.com/elixir-tesla/tesla/blob/30c3a298bc0de841d8929055429598342ef75573/lib/tesla/middleware/retry.ex#LL90C16-L90C28
Open to accepting a function with two arities passing an object with extra information.


The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption.

Driver version
mssql-jdbc-10.2.0.jre8
SQL Server version
Microsoft SQL Server 2019 (RTM-GDR) (KB4583458) - 15.0.2080.9 (X64)   Nov  6 2020 16:50:01   Copyright (C) 2019 Microsoft Corporation  Developer Edition (64-bit) on Windows 10 Enterprise 10.0  (Build 19042: ) (Hypervisor)
Client Operating System
Windows 10 Enterprise 10.0
JAVA/JVM version

Error I'm currently getting:

Content of config file it is referencing:

Doing this same process on 8.5.1 it runs perfectly fine, only get this error on 8.5.4.  I have tried:
-Updating java version
-adding trustServerCertificate=true
-specifying username/password
-sslProtocol=TLSv1/v1.2
Produces same error every time.

Hi @v-zhangw thanks that seems to work now.  Strange I'm sure I tried adding that in, I must have done some other configuring in the meantime

No problem. The unable to find valid certification path error usually means an issue with certificates set up. Using trustservercertificate is a quick fix if you can use it.


Update OWNERS file

Signed-off-by: Alexander Greene<EMAIL_ADDRESS>

/lgtm

Force merging as this PR only affects the OWNERS file and we don't need to continuously run the e2e-tests workflow to get a successful check for this be automatically merged.


Unpredictable results when using EF Core plugin and mapping type onto itself

Sorry for such a vague issue but I don't have the skills to narrow it down.
In most scenarios mapping an object to itself with a object mapper is pointless.  However when using the EF Core mapper this is a useful scenario because one object may be tracked by EF Core and the other object untracked and the mapping process would therefore update the EF Core change tracker.
Here is some example code that does not work.
        public async Task UpdateIntroducer(Introducer disconnectedIntroducer)
        {
            var id = disconnectedIntroducer.IntroducerID;
            var trackedIntroducer = _context.Introducers.Where(i => i.IntroducerID == id)
                .Include(i => i.IntroducerBranches).ThenInclude(j => j.IntroducerPeopleOrTeams)
                .Include(i => i.FeeScales)
                .FirstOrDefault();

            disconnectedIntroducer.BuildAdapter()
                .EntityFromContext(_context)
                .AdaptTo(trackedIntroducer);

            await _context.SaveChangesAsync();
        }

Whereas if you have separate Dto objects for the root object and all the included objects it will work fine
        public async Task UpdateIntroducer(IntroducerDto disconnectedIntroducerDto)
        {
            var id = disconnectedIntroducerDto.IntroducerID;
            var trackedIntroducer = _context.Introducers.Where(i => i.IntroducerID == id)
                .Include(i => i.IntroducerBranches).ThenInclude(j => j.IntroducerPeopleOrTeams)
                .Include(i => i.FeeScales)
                .FirstOrDefault();

            disconnectedIntroducerDto.BuildAdapter()
                .EntityFromContext(_context)
                .AdaptTo(trackedIntroducer);

            await _context.SaveChangesAsync();
        }

In trying to investigate further and trying to get a minimal example together I think the issue is something to do with the fact that the relationship between Introducer and FeeScale is an EF Core 5.0 many to many.  I will post when I have a minimal example.

There is no point in leaving this open, I'll reopen when I have a repro.


jinja url_param in Sql_lab sql query not working

Unable to run query after passing url_param parameters to sql_lab query. Button does not do anything.

This functionality used to run in 0.28 version, however after upgrading to 0.35 it not running anymore.
Are these fields supposed to be pre-filled using url_param?

Can some one please help with this, if possible please post some examples on how to pass url_param in newer version.
A clear and concise description of what the bug is.
Expected results
what you expected to happen.
Actual results
what actually happens.
Screenshots
If applicable, add screenshots to help explain your problem.
How to reproduce the bug

Pass the table parameters in the url and sql query with url_param
All database,schema and table fields are supposed to be empty.
Click "Run query" button.
Nothing happens.

Environment
(please complete the following information):

superset version: 0.35.1
python version: 3.6
node.js version: node -v
npm version: npm -v

Checklist
Make sure these boxes are checked before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[x] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
Add any other context about the problem here.

There was a fix related to url_params that was included in 0.35.1, see #8536 . However, that particular PR focused on all other areas of Superset except SqlLab. I can look into this in the coming days.

There was a fix related to url_params that was included in 0.35.1, see #8536 . However, that particular PR focused on all other areas of Superset except SqlLab. I can look into this in the coming days.

@villebro I try to do exactly (I think...) of what it's shown in the PR and it does not work. url_params in the dashboard are not being passed to the chart and then to the datasource sql.
I'm on 0.35.2


Word wrapping

as in tangram-js

[x] alignments (center/left/right)
[x] add stylesheet support

Missing word_wrap parameter parsing to have styling control for text wrapping. Currently only default values will be respected.

@tallytalwar it's actually text_wrap, but it looks like @karimnaaji got it.

@bcamper yup. Sorry meant that :D.

This looks good to me now.


[New game]: Falling Words

🎮 Game Request
A game where players need to type falling words before they reach the bottom of the screen.
Point down the features
It will have difficulty level
Points will be scored based on how many words correctly typed.
If the words reach bottom of the screen then the game will be over
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @somilyadav7 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

Hey @somilyadav7 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


fix: bump version of follow-redirects to avoid vulnerability

This PR includes an update to package-lock.json that bumps up the version of follow-redirects in order to avoid a snyk vulnerability.
Checklist

[ ] npm test passes (tip: npm run lint-fix can correct most style issues)
[ ] tests are included
[ ] documentation is changed or added

I ran the cra adhoc job on this branch and everything looks clean.

:tada: This PR is included in version 2.17.9 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Documentation

There are a number of dead links, will you ever consider fixing them?

http://grouper.ieee.org/groups/1619/email/msg00310.html
http://grouper.ieee.org/groups/1619/email/pdf00020.pdf
http://grouper.ieee.org/groups/1619/email/msg00218.html
http://grouper.ieee.org/groups/1619/email-2/msg00005.html

For IEEE P1619.2™/D9 Draft Standard for Wide-Block Encryption for Shared Storage Media, maybe use this link https://ieeexplore.ieee.org/document/5729263

Oh dear, they deleted the whole mailing list archive. But everything seems to be archived at http://web.archive.org/ .


window.openFilesInNewWindow  not working as excpected

Refs: https://github.com/Microsoft/vscode/issues/18609

VSCode Version: 1.9 insider
OS Version: Windows 10

Steps to Reproduce:
See screen cast. I would have expected to see the file opened in the new window.

In addition I think it is not clear what should happen if the setting is on and a file from the same workspace is opened with File > New. Should it open in a new window or in the existing one.

Same is true for window.openFoldersInNewWindow. If set to true Open Folder is still replacing the current folder in the active window instead of opening a new one.

@dbaeumer you seem to be setting this as workspace setting and not user setting. Unfortunately this can not be defined in workspace settings. Once we have a story to not show some workspace settings I would add it there (https://github.com/Microsoft/vscode/issues/8772)

@bpasero would have help if part of the test description :-)

@dbaeumer took me a while to figure this out myself ;)


fix debian packages

correct debian dependencies, packaging version

fixes #80
temporarily bodges #81

add debian bullseye to packages
add raspbian bullseye too

The fix to #81 is very temporary, as the version is still hard coded instead of being driven by some release automation reading tags or the like. So unless someone updates it again, the next release will still be wrong :)
I tested building the new debian bullseye packages, but haven't tested the raspbian bullseye one since I don't have an arm64 target right now, and the build scripts don't support cross-builds for that, though I think that could be easily added if one was willing to endure the slowness of qemu-user-static.

I get the feeling that the buildkit layer caching hung onto this somehow.
The version is not hardcoded.

Aah, that makes more sense!
Thanks for :eyes: this so quick!


Remove previews downloading when task creating with cloud storage data

Motivation and context

PR removes previews downloading from CS when task creating (skipped in PR #5478). In addition, I had to change the test to check for the file name existing in the message when the specified file is not found in the bucket, because now the preview is no longer downloaded at the stage of creating a task.
How has this been tested?

Manually
Checklist

[x] I submit my changes into the develop branch
- [ ] I have added a description of my changes into CHANGELOG file
- [ ] I have updated the documentation accordingly
- [ ] I have added tests to cover my changes
- [ ] I have linked related issues (read github docs)
- [ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.

@Marishka17 , could you please update the PR?

@azhavoro , could you please review the PR?

@nmanovic, @azhavoro, were you waiting for me to return from vacation to review my PR?:)


Problem in BuildAgent: New-PSSession : Unable to load DLL 'vmcompute.dll': ...

The call of Get-NavContainerSession.ps fail in my BuildAgent (based on Windows Server 2019 with Containers)
2018-12-19T10:10:17.5008497Z ##[section]Starting: Compile C/Side
2018-12-19T10:10:17.5015675Z ==============================================================================
2018-12-19T10:10:17.5015900Z Task         : PowerShell
2018-12-19T10:10:17.5016008Z Description  : Run a PowerShell script on Windows, macOS, or Linux.
2018-12-19T10:10:17.5016114Z Version      : 2.140.2
2018-12-19T10:10:17.5016228Z Author       : Microsoft Corporation
2018-12-19T10:10:17.5016346Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkID=613736)
2018-12-19T10:10:17.5016535Z ==============================================================================
2018-12-19T10:10:19.4659787Z Generating script.
2018-12-19T10:10:19.5611925Z ##[command]"C:\windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\Agent\_work\_temp\3c209e8d-952f-4056-a6e6-c2d93da2507b.ps1'"
2018-12-19T10:10:20.9293746Z Import sources from 'C:\Agent\_work\1\s\CSide\src' into container
2018-12-19T10:10:23.7444970Z New-PSSession : Unable to load DLL 'vmcompute.dll': The specified module could not be found. (Exception from HRESULT:
2018-12-19T10:10:23.7445383Z 0x8007007E)
2018-12-19T10:10:23.7445660Z At C:\Program Files
2018-12-19T10:10:23.7446692Z (x86)\WindowsPowerShell\Modules\navcontainerhelper\<IP_ADDRESS>\ContainerHandling\Get-NavContainerSession.ps1:37 char:24
2018-12-19T10:10:23.7447411Z + ...  $session = New-PSSession -ContainerId $containerId -RunAsAdministrat ...
2018-12-19T10:10:23.7448275Z +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2018-12-19T10:10:23.7449480Z     + CategoryInfo          : InvalidOperation: (:) [New-PSSession], PSInvalidOperationException
2018-12-19T10:10:23.7450226Z     + FullyQualifiedErrorId : CreateRemoteRunspaceForContainerFailed,Microsoft.PowerShell.Commands.NewPSSessionCommand
2018-12-19T10:10:23.7450573Z
2018-12-19T10:10:23.8445516Z ##[error]PowerShell exited with code '1'.
2018-12-19T10:10:23.8843852Z ##[section]Finishing: Compile C/Side

any ideas?

There are some other people experiencing this: https://github.com/docker/for-win/issues/2020.
I haven't seen this myself.

@freddydk, the problem is still present at the build agent. When I logon, and run the scripts from PowerShell with admin rights, everything is fine. But from CI Pipeline, it fails.
Any idea, what I can check or do you suggest, to create a new VM and forget?

Yeah, I have no idea what the cause of this is, but I don't think it is related to navcontainerhelper or our docker images. I would create a new build agent (http://aka.ms/getbuildagent) and remove the faulty one.
If this happens again we can always start troubleshooting.

I'll check after the holidays.  Merry Christmas!


In swipe mode, width of persist column grows with each interaction

I discovered this in my own code and replicated in the swipe demo: each time you swipe/toggle left or right, the width of the column set to persist increases a few pixels.

Is a fix in the works for this yet? I've just integrated it into a project on tight time constraints and found the same issue.

Actually, when using tablesaw.js, the persistent column grows just slightly, but when using tablesaw.jquery.js, it collapses severely along with the other columns starting to overlap one another

This will be included with 3.0.0 (non-beta).


Pyplate support for calling AWS APIs and Python version to 3.10.

Issue #, if available:
Description of changes:
Added the ability for PyPlate to call AWS services via boto3.  When the PyPlate template is deployed an optional IAM Policy ARN can be provided which gets added to the Lambda execution role, providing AWS API permissions.  An optional override of the default Lambda 3-second timeout can also be provided; more time is needed for boto3 functionality, close on 5 seconds at least, so 10 seconds is recommended as a minimum.
Increased the Python version from 3.6 to 3.10.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

For example scenarios see https://www.linkedin.com/pulse/extending-aws-cloudformation-api-calls-from-python-steve-kinsman/.


Different chain networks should not route each other's p2p node information to each other.

2019-03-04 15:23:44.419 INFO Banned PeerId(QmdU82FC39tj6YUFsie2cC3LLjqWEqA6C7N5piWb8XTjWX) (#5, Dialer { address: "/ip4/<IP_ADDRESS>/tcp/31127" }, None).
There are some different p2p information in network/node.json.

CC @tomaka

Right now the network is differentiated based on the protocol_id in the chain spec: https://github.com/paritytech/substrate/blob/f429a0cb8983cebe380d1cbc7aaf753db0aeba55/core/service/src/chain_spec.rs#L92
Later I'd like to try switch to a different discovery mechanism that allows knowing which chain a node belongs to when discovering it.
cc https://github.com/libp2p/rust-libp2p/pull/942

Progress report: #5045 is the first step towards fixing this.
We need a transition period during which nodes support both the old Kademlia and the one-DHT-per-chain. Then later we can finish this by removing the old Kademlia.

#5993 removed the old Kademlia.
The last step is https://github.com/paritytech/substrate/issues/5825

Fixed in https://github.com/paritytech/substrate/pull/6549


Error Retrieving Facts

Hi,
I'm having the following issue below. Note that I'm running puppet 3.x, I bring that up because I'm modifying a hash in the code below. I'm doing that because of time constraints, we are demoing at the end of this month. That part (line 2 below) will be updated later so please don't focus on that.
Thanks!
# This is for puppet 3.x

$es_config                 = hiera_hash('elasticsearch.config')
$es_config['network.host'] = "['${hostname}','_local_']"
$proxy_addr                = hiera('proxy.url')
$es_rpm_url                = hiera('es.rpm.url')

class { 'elasticsearch':
        package_url       => $es_rpm_url,
        proxy_url         => $proxy_addr,
      }->
      elasticsearch::instance { "${es_instance_name}":
        init_defaults => hiera_hash('elasticsearch.init_defaults'),
        config        => $es_config
      }

————

The following gets written to /etc/elasticsearch/instancename/elasticsearch.yml:
### MANAGED BY PUPPET ###
---
discovery:
  zen:
    ping:
      multicast:
        enabled: false
elasticsearch:
  node:
    local: true
http:
  cors:
    allow-credentials: true
    allow-origin: /.*/
    enabled: true
  max_header_size: 24kb
network:
  host: ["myhost","_local_"]

node:
  name: myhost-es-01
path:
  data: /usr/share/elasticsearch/data/es-01

transport:
  host:

——————

After puppet finishing running elasticsearch will be installed correctly and it will launch the elasticsearch service correctly.
Any additional puppet run will cause the following error:

Error: Could not retrieve local facts: syntax error on line 17, col 36: `  host: ["myhost","_local_"]'
Error: Failed to apply catalog: Could not retrieve local facts: syntax error on line 17, col 36: `  host: ["myhost","_local_"]'

Hi @cpitzak,
If you could move this question to the Elasticsearch Discourse forum that would be useful to keep the issues here strictly for bug reports.
You can pull me into the new topic over at the forums by tagging my handle there (@tylerjl).

k

@tylerjl
I moved it here: https://discuss.elastic.co/t/elasticsearch-puppet-error/43554
Thanks

Thanks!


[Feature Request]: add Companion-specific Device Action

What feature would you like to see added to TallyArbiter?
Rather than assuming the user should know the Companion HTTP, OSC, TCP, or UDP API, let’s create a Companion specific device action. It could be as simple as IP, Port, page, and button, or it could be cooler like you type in the IP and port and then a pop up loads where you can select the page and button similar to the Companion web interface. If we use the socketio calls of the web emulator page, we can get that data.

Working on it tomorrow


fix(curriculum): clear up confusion of array index example

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #45572

Hi @sprajams. Congrats on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We are happy to accept these changes and look forward to future contributions. 📝

Hi @gikf, thank you for the feedback and I am very excited to continue contributing! 😄


Could not find a declaration file for module 'three-orbitcontrols'.

1 | import { useEffect, useRef } from 'react';
2 | import { AmbientLight, Color, PerspectiveCamera, PointLight } from 'three';

3 | import OrbitControls from 'three-orbitcontrols';
|                           ^
4 |
5 | import {
6 |   CAMERA_DAMPING_FACTOR,

Hi @mavrickp, I fixed the Typescript types in 3.1.1 (codesandbox example).  Please install the latest version with yarn/npm!
For your specific example, it seems you are calling three-orbitcontrols in your project.  This library is untyped so I think you need to declare it as a module in a module.d.ts file in your project.  If you are just using react-wordcloud, you should not need to access orbit controls, and this problem might go away.
Closing the issue!


use api-key as query parameter

this should address ISSUE #1

Thanks for the contribution @zoomequipd. I admit this module was neglected for a while, however we have released a new version with this and other issues fixed.


self.attacked_model.train() leads to autograd error

Hi, thanks for your solid work！
I want to change the loss function, which requires setting self.attacked_model.train() in prbcd.py （ I haven't changed anywhere else.）
However, this will cause the backward function in utils.grad_with_checkpoint to report an error:
"RuntimeError: Trying to backward through the graph a second time..."
Set retain_graph in backward() to True, then the grad of self.perturbed_edge_weight after backward() is None.
I've been confused about this bug for a long time, could you please help me?

I haven't tried setting train. Spontaneously I would suggest switching off caching here.
If this does not resolve your issue, I would appreciate if you could generate a minimal example or explain how to reproduce the error (e.g. what code to insert where).

Thanks for your suggestion!
You saved me!!!


Add castling

Fixes #41

Current coverage is 63.96%

Merging #65 into master will decrease coverage by -1.11% as of cf869b0

@@            master     #65   diff @@
======================================
  Files           48      49     +1
  Stmts          839     924    +85
  Branches       125     152    +27
  Methods          0       0
======================================
+ Hit            546     591    +45
- Partial         31      32     +1
- Missed         262     301    +39

Review entire Coverage Diff as of cf869b0

Powered by Codecov. Updated on successful CI builds.


[BUG] oredict mess up

arc furnace gives all steel entries in oredict

A next time use the template. B what version of ar and libVulpes? What version of Minecraft etc.
Sent from my iPhone

On Jun 27, 2019, at 4:01 PM, AwesomeNoob999<EMAIL_ADDRESS>wrote:
arc furnace gives all steel entries in oredict
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Dependabot does not respect open pull request limit

We upgraded from Dependabot version 1 to version 2. Since then, Dependabot does not respect the
open-pull-requests-limit: 20

for npm ecosystem and created yesterday 135 PRs.

Same for us. We are in the nuget ecosystem. 1 PR should be created, but 25 got created.
run-dependabot.yml
# Docs: https://marketplace.visualstudio.com/items?itemName=tingle-software.dependabot
# - also check out the related file in .azuredevops/dependabot.yml
trigger: none # Disable CI trigger

schedules:
  - cron: '30 6 * * 1-5'
    always: true
    branches:
      include:
        - develop
    batch: true
    displayName: Run dependabot every weekday

jobs:
  - job: dependabotUpdate
    displayName: Dependabot Update Job
    timeoutInMinutes: 180 # 60 minutes was previously not enough in some cases
    pool:
      vmImage: 'ubuntu-latest' # requires macos or ubuntu (windows is not supported)
    steps:
      - task: dependabot@2
        inputs:
          setAutoComplete: false # "true" failed with "403 Forbidden", could maybe be fixed by changing some permissions

dependabot.yml
# Docs: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
# - this file is expected to be located at /.azuredevops/dependabot.yml
# - also check out the related file in /pipelines/run-dependabot.yml
version: 2
updates:
  - package-ecosystem: "nuget"
    directory: "/"
    schedule:
      interval: "daily"
    target-branch: "develop"
    open-pull-requests-limit: 1 # let's start low, we can increase this later
    commit-message:
      prefix: "🤖"
    ignore:
      - dependency-name: "*"
        update-types: [ "version-update:semver-major" ] # Ignore major version updates
    groups:
      # Define groups that should be updated together
      application-insights:
        patterns:
          - "Microsoft.ApplicationInsights*"
      ef-core:
        patterns:
          - "Microsoft.EntityFrameworkCore*"
      event-hubs:
        patterns:
          - "Azure.Messaging.EventHubs*"
      hot-chocolate:
        patterns:
          - "HotChocolate*"
      nsubstitute:
        patterns:
          - "NSubstitute*"
      xunit:
        patterns:
          - "xunit*"

@Patrick-3000 and @sgabler-solytic, thanks for the reports.
This will be fixed in https://github.com/tinglesoftware/dependabot-azure-devops/pull/1461.

This fixed the issue for me.


Turtlebot doesn't move / nothing happens

Hello,
I did the following just like in the tutorial:

export TURTLEBOT_3D_SENSOR=hokuyo
rosrun gazebo_ros spawn_model -file ~/catkin_ws/src/ROS_maze_challenge/maze_practice/model.sdf -sdf -model -maze -x 16 -y 5

After these steps I have everything in Gazebo loaded:

When I launch the last command:
roslaunch ch_171744_maze start_maze.launch
Nothing happens and in the Terminal I have the following:
[INFO] [1558683162.052747, 18.730000]: start Maze Solver Node

Hi,
sorry for the late answer. I'm on a roadtrip.
Can you move the robot with the keyboard:
roslaunch turtlebot_teleop keyboard_teleop.launch
You need to use the keys that are printed at the console.
Greets

Hello, thank you for your quick answer.
I've noticed that the library:
https://github.com/turtlebot/turtlebot_simulator
doesn't have the kinetic branch and I was just cloning into with:
git clone https://github.com/turtlebot/turtlebot_simulator
And tried to run it from my catkin workspace. It didn't work, not even with turtlebot_teleop.
Then I followed your steps and installed the package using:
sudo apt-get install ros-kinetic-turtlebot
which installed ros-kinetic-turtlebot-gazebo too.
I used:
cd /opt/ros/kinetic/share
sudo rm -r turtlebot_description
sudo mv turtlebot_description /opt/ros/kinetic/share
It still didn't work with turtlebot_teleop.
Then I reinstalled sudo apt-get install ros-kinetic-turtlebot and manually copied these 4 files to  /opt/ros/kinetic/shareturtlebot_description:

turtlebot_description/urdf/turtlebot_gazebo.urdf.xacro
turtlebot_description/urdf/sensors/hokuyo.urdf.xacro
turtlebot_description/robots/kobuki_hexagons_hokuyo.urdf
turtlebot_description/meshes/sensors/hokuyo.dae

I noticed that in the turtlebot_description/robots/kobuki_hexagons_hokuyo.urdf:
<?xml version="1.0"?>
<!--
    - Base      : kobuki
    - Stacks    : hexagons
    - 3d Sensor : hokuyo
-->
<robot name="turtlebot" xmlns:xacro="http://ros.org/wiki/xacro">

  <xacro:include filename="$(find turtlebot_description)/urdf/turtlebot_common_library.urdf.xacro" />
  <xacro:include filename="$(find kobuki_description)/urdf/kobuki.urdf.xacro" />
  <xacro:include filename="$(find turtlebot_description)/urdf/stacks/hexagons.urdf.xacro"/>
  <xacro:include filename="$(find turtlebot_description)/urdf/sensors/kinect.urdf.xacro"/>

  <kobuki/>
  <stack_hexagons parent="base_link"/>
  <sensor_hokuyo  parent="base_link"/>
</robot>

I changed the line <xacro:include filename="$(find turtlebot_description)/urdf/sensors/kinect.urdf.xacro"/> to:
<xacro:include filename="$(find turtlebot_description)/urdf/sensors/hokuyo.urdf.xacro"/>
And it suddenly worked.
Maybe you can test it yourself and if so update the package.
Thank you.


[discussion] retrieve rtsp ntp time

Hi!
I have a use case where I would benefit from retrieving the camera's NTP time from a RTSP container. FFMPEG contains structures capable of parsing this information, but unfortunately they are internal and are not available in the public API.
I made this small patch to solve my problem. It is not generic enough, as it hardcodes ntp time into demux return. I also had to include vendor/ffmpeg-4.2 in include_dirs on setup.py.
My intention with this PR is to share the solution with you and hopely find out a way to change the code so that it can be incorporated into the project.

Run failed because of fatal error: libavformat/rtsp.h: No such file or directory.
This was expected, due to the private structures.
I tested the code myself with this snippet and it worked:

input_ = av.open('RTSP_URL')

for (ntp, packet) in input_.demux(video=0):
    print('ntp', ntp)
    print('packet', packet)

I would like to use this code, since I also need the timestamp from the rtcp packets. I'm however not that experienced with installing pyav using compilation, and using the make command I run into the issue mentioned above fatal error: libavformat/rtsp.h: No such file or directory. And as I would expect, after the failed compilation I can not import av.
How to I get this code running? Do I have to alter the Makefile to ensure the missing file is found? Or do I have to install PyAv using a package manager (pip, conda) and it will be replaced using the make?
Thanks in advance

I used your branch to download the video stream with RTSP. The returned ntp value is as follows, how should I interpret it?
...
1627412725.1005974
1627412724.9732378
1627412725.1492114
...

@HoBeom It's time in seconds since epoch. You can use this converter: https://www.epochconverter.com/.

A very useful commit, unfortunately it fails completing the checking part :/

I'm sorry but I don't see this PR going anywhere, it completely changes the API.

Hi!
I have a use case where I would benefit from retrieving the camera's NTP time from a RTSP container. FFMPEG contains structures capable of parsing this information, but unfortunately they are internal and are not available in the public API.
I made this small patch to solve my problem. It is not generic enough, as it hardcodes ntp time into demux return. I also had to include vendor/ffmpeg-4.2 in include_dirs on setup.py.
My intention with this PR is to share the solution with you and hopely find out a way to change the code so that it can be incorporated into the project.

Great !!
Very very useful.
Does this patch work in Windows ? Is it up-to-date ?
Jim


nixos/nginx: add strictTransportSecurity options

Let me know if this needs a changelog entry, I wasn't sure whether it was significant enough.
This is my first nontrivial nixpkgs PR, so sorry about any mess :) I didn't nixfmt these modules because it would change a lot more than what I touched.
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[X] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Something else I considered: should we have any warnings that e.g. complain if strictTransportSecurity.enable && !hasSSL ? I leant in the direction of trusting the user and imagining there might be some weird combination of reverse proxies and so on where it makes sense to send the header even though SSL termination is somewhere else in the path, but I also want to be helpful as far as possible.

whoever reviews this: is it OK to just tag a random apache-httpd reviewer (or reviewers) to ask if they want the same to be added there? (which also prompts the question: should we be sharing code between the two / plus maybe caddy / others as well? my guess is that code sharing usually isn't helpful and it doesn't make sense to bother doing it for those few cases where it would work, but idk the idea of having all webserver configs look ~ the same is cool)

@SuperSandro2000 are you happy with this PR after my changes?


Transforms: Add automatic normalisation type inference

The idea: use goodness of fit measures to choose between different probability distributions for normalisation.
We should be able to decide for example, whether a normal distribution, exponential distribution, lognormal distribution or uniform distribution is most appropriate for a given column.
Once we know the most appropriate distribution for the data, it should be reasonably straightforward to pick an appropriate normalisation method - at least in many cases.
Additionally, we may want to manually set the normalisation for a few columns and infer it automatically for the remainder. We may wish to enforce the same normalisation method (with different statistics, however) for certain set of columns.
It can be quite time-consuming to select appropriate normalisation when the number of columns is 100 or more.

What's the map of distribution-to-normalization you have in mind @AlexDBlack  ?

https://github.com/deeplearning4j/deeplearning4j/issues/5193


Add snapping to floating windows

Describe your PR, what does it fix/add?
Adds a floating window snapping option: https://github.com/hyprwm/Hyprland/issues/3230
Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
It adds 3 configuration options:

misc:snap_floating: Enable snapping to either the windows or the monitor's edge (values: "", monitor, windows)
misc:snap_floating_strength: determines the distance at which snapping occurs
misc:snap_floating_outside: if false, windows will only snap to the inside of windows/monitor. If true, windows will snap inside and outside. I disabled it by default, because it reacts a bit weird depending on gap size and strength. Especially if strength is bigger then gap size.

Is it ready for merging, or does it need work?
Ready

request my review when ready

@shadowmax31 Why did you close the snapping windows PR?

@Oglo12 Check my last comment on https://github.com/hyprwm/Hyprland/issues/3230


makeFileRelativePath not resolving anything directory path

task run terminal output:
 *  Executing task in folder WORKSPACE: make -f Makefile --warn-undefined-variables --no-silent HandleAOOBE

make: Makefile: No such file or directory
make: *** No rule to make target 'Makefile'.  Stop.

 *  The terminal process "D:\msys64\usr\bin\bash.exe '-c', 'make -f Makefile --warn-undefined-variables --no-silent HandleAOOBE'" terminated with exit code: 2.

manual cli run:
$ (1unitFile) $ make -f ../Makefile  CalculatorCli
javac -d ../out -sourcepath "CalculatorCli.class/.." CalculatorCli.java
java -classpath ../out CalculatorCli
Space separated expression: 2 + 3
2 + 3 = 5.000000

tasks.json:
{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "make: build with extra args",
            "type": "make",
            "options": {
                // "cwd": "${relativeFileDirname}"
                "cwd": "${workspaceFolder}/${relativeFileDirname}"
            },
            // I thought about this location earlier, couldn't make it work; then moved the Makefile closer to the source file
            // "makeFileRelativePath": "${workspaceFolderBasename}/.vscode/Makefile",
            // "targetName": "${relativeFileDirname}/${fileBasenameNoExtension}",
            // "makeFileRelativePath": "../Makefile", // Still doesn't work
            "targetName": "${fileBasenameNoExtension}",
            "makeFileRelativePath": "Makefile",
            "args": [
                "--warn-undefined-variables",
                "--no-silent",
            ],
            "group": {
                "kind": "build",
                "isDefault": true,
            },
        }
    ],
}

Make file:
:DELETE_ON_ERROR:

BUILD_DIR := ../out
vpath %.class $(BUILD_DIR)

JC:=javac
JV:=java

%: %.class
	$(JV) -classpath $(BUILD_DIR) $@

%.class: %.java
	$(JC) -d $(BUILD_DIR) -sourcepath<EMAIL_ADDRESS>$*.java

directory structure:
$ tree --filesfirst -a
.
├── java.code-workspace
├── .vscode
│   └── tasks.json               <-- Config file
└── src_standalone
    ├── Makefile                 <-- Makefile
    ├── 1unitFile
    │   └── FileHandling.java    <-- Source file
    └── out
        └── FileHandling.class   <-- Output file

Environment Versions:
$ codium --list-extensions --show-versions | grep "carlos-algms.make-task-provider"
<EMAIL_ADDRESS>
$ codium -v
1.84.0
695a9146b1347633e608f9f166c81b5b2843b492
x64

$ make -v | head -n2
GNU Make 4.4.1
Built for x86_64-pc-msys

$ systeminfo | grep -iA1 "os name"
OS Name:                   Microsoft Windows 10 Home Single Language
OS Version:                10.0.19045 N/A Build 19045

Thank you very much for taking the time to report this; I'm sorry it isn't working for you.
It's probably something related to Windows only, even though I test Mac, Linux, and Windows before releasing.
A contribution is more than welcome if you have the time 😉.
Otherwise, the Bot will notify here when a fix is released.

It might also be your cwd
@goyalyashpal can you try instead?:
"cwd": "${workspaceFolder}/src_standalone"

Because then, the final Makefile path would translate to:
D:\your-project\src_standalone\Makefile

"cwd": "${workspaceFolder}/src_core"

Because then, the final Makefile path would translate to:
D:\your-project\src_core\Makefile

hi, i tried, but the it shows following error:
(i have changed the dir name from src_standalone to src_core)
is there a way to make the extension explicitly tell the path it has calculated from the given task config?
Error: The make task detection didn't contribute a task for the following configuration:
{
    "label": "make: build with extra args",
    "type": "make",
    "options": {
        "cwd": "${workspaceFolder}/src_core"
    },
    "makeFileRelativePath": "Makefile",
    "targetName": "${fileBasenameNoExtension}",
    "args": [
        "--warn-undefined-variables",
        "--no-silent"
    ],
    "group": {
        "kind": "build",
        "isDefault": true
    },
    "presentation": {
        "echo": true,
        "reveal": "always",
        "focus": true,
        "panel": "shared",
        "showReuseMessage": true,
        "clear": false
    }
}
The task will be ignored.


test: add a dedicated test to component client http

This change is

Codecov Report
Attention: Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 82.41%. Comparing base (9611e27) to head (32cb9db).
Report is 4 commits behind head on main.

Files
Patch %
Lines

crates/mempool_infra/src/component_client.rs
75.00%
0 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #361      +/-   ##
==========================================
+ Coverage   82.38%   82.41%   +0.02%
==========================================
  Files          33       33
  Lines        1612     1609       -3
  Branches     1612     1609       -3
==========================================
- Hits         1328     1326       -2
+ Misses        219      218       -1
  Partials       65       65

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


Redis caching

Basic redis caching of tweets, hashtags, mentions and photos.  Keys are named with their search time_hash as the last bit behind the colon.  The UI doesn't do anything with this yet, it's just a first step.

Lookin' good. It's interesting how things like CountHashtags can now be done using redis instead of the static files...