[Bug][Module Name] Bug title Webhook Deployment not appearing in DORA metrics dashboard

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
I set up a project with only a webhook as the data input and made an api call on my local machine to generate a deployment.  The API call returns a success code, and I see the deployment when I look at the lake.cicd_deployments and  lake.cicd_deployments_commits tables, but I don't see a mapping for it in the lake.cicd_scopes table, which I think is the main issue.  Because there's no mapping for lake.cicd_scopes (there are mappings for my jenkins and AzureDevOps deployment pipelines), it doesn't show up in the DORA metrics dashboard.  I followed the steps here to set it up: https://devlake.apache.org/docs/Configuration/webhook/
What do you expect to happen
I expect the deployment to show up on the DORA metrics dashboard like it does for my Jenkins and Azure DevOps deployments.
How to reproduce

Create a new project named Webhook Test
Create a new webhook and name it Webhook Test
Run Collect Data
Create an API key to authenticate with DevLake
Make the following API call (using your own url):

curl http://localhost:4000/api/rest/plugins/webhook/9/deployments -X 'POST' -H 'Authorization: Bearer {MY_API_KEY}' -d '{
"id": "Test 2",
"createdDate":"2024-09-02T11:00:00+00:00",
"startedDate":"2024-09-02T12:00:00+00:00",
"finishedDate":"2024-09-03T13:00:00+00:00",
"environment":"PRODUCTION",
"result": "SUCCESS",
"displayTitle":"optional-custom-deploy-display-title",
"name": "Test Name",
"deploymentCommits":[
{
"repoUrl":"required-repo-url",
"refName": "optional-release-v0.17",
"startedDate":"2024-01-01T11:00:00+00:00",
"finishedDate":"2024-01-02T11:00:00+00:00",
"commitSha":"c1",
"commitMsg":"optional-msg-1",
"result":"SUCCESS",
"name":"Test Commit 1",
"displayTitle":"Test Commit 1"
},
{
"repoUrl":"repo-2",
"refName": "optional-release-v0.17",
"startedDate":"2024-01-01T11:00:00+00:00",
"finishedDate":"2024-01-02T11:00:00+00:00",
"commitSha":"c2",
"commitMsg":"optional-msg-2",
"result":"FAILURE",
"name":"Test Commit 2",
"displayTitle":"Test Commit 2"
}
]
}'

Run Collect Data
Check the DORA or DORA Details - Deployment Frequency dashboard

Anything else
I have tried multiple projects and multiple webhooks, but still have this problem with each one.
Version
v1.0.1-beta8@e195107
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

Hi, I had already looked at that issue and it did not help.  The webhook is also already associated with a project and I copied the payload from the Webhook documentation for the fields before editing the data to match what a typical deployment would expect.

Hi @vincentpatella , we'll look into this problem.

Hi @vincentpatella , I followed the steps you provided with two differences:
The URL’s IP and API key are from my own environment.
In the POST request, I updated deploymentCommits[0].startedDate and deploymentCommits[0].finishedDate to more recent dates. Other than that, everything remained the same.
After completing the steps, I checked the Deployment Frequency dashboard, and there is data, as shown in the attached screenshot.

Could you confirm if the data in the screenshot is what you were expecting?


[ML][Pipelines]Support node output setting path

Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
SDK:
        def pipeline():
            node1 = component_func1(component_in_number=1, component_in_path=job_input)
            node1.outputs.component_out_path.path = "azureml://datastores/workspaceblobstore/paths/outputs/1"
            return node1.outputs

CLI:
jobs:
  node1:
    type: command
    inputs:
      component_in_number: 1
      component_in_path:
        type: uri_file
        path: https://dprepdata.blob.core.windows.net/demo/Titanic.csv
    outputs:
      component_out_path:
        path: ${{parent.outputs.component_out_path}}
        # This is not included in schema, it's supported to write.
        uri: azureml://datastores/workspaceblobstore/paths/outputs/1
    component: ../components/helloworld_component.yml
settings:
  default_compute: azureml:cpu-cluster
experiment_name: azure-ai-ml

If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

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


Infinite loop

Sometimes when I'm uploading a batch of files to the vector store, it hangs here:

I will be showing this command next week at psconf -- would love if it could be fixed by then. ill come back and show you the command once ive made it public, if needed.

It is odd that the loop does not exit even though the status is set to complete.
Could you tell me what command you are running? I'm assuming you are probably using a combination of Start-VectorStoreFileBatch and Wait-VectorStoreFileBatch, is that correct?
As a temporary workaround, you might be able to use the -TimeoutSec parameter of Wait-VectorStoreFileBatch to avoid the infinite loop.

Thanks for the prompt response! Here is the command it's embedded within
https://github.com/potatoqualitee/PSHelp.Copilot1/blob/main/public/New-ModuleAssistant.ps1

https://github.com/potatoqualitee/PSHelp.Copilot/blob/e24c0fff5e34c5d26f08a1b0b496e7b879f05aab/public/Initialize-VectorStore.ps1#L123-L125
Perhaps this is where the infinite loop occurs?
You are using the -StatusForWait parameter incorrectly, if you specify "completed" for -StatusForWait, it will wait until the batch status becomes "other than" completed. If you want to wait until completion, specify "completed" for -StatusForExit. Also, it is necessary to prevent an infinite loop in such a case, since the batch status may become "failed" due to some problem.
$null = PSOpenAI\Wait-VectorStoreFileBatch -VectorStore $vectorStore -BatchId $filebatch.id -StatusForExit 'completed', 'failed'

The default if nothing is specified is-StatusforWait "in_progress", which means that the batch will wait while in_progress and will exit the loop when the status becomes other than in_progress.

Sweet thank you! I'll try that and close this issue if it's resolved.

cant duplicate 😊


[IOS] Disable animation loop

Exists for android  lottie_loop prop, how can i disable it for ios?

loop disabled by default on ios

What about enabling loop? :)

@TheOmran : in Dynamic.swift replace play function with
@objc func play(animationView: AnimationView) {     animationView.play(fromProgress: 0.0, toProgress: 1.0, loopMode: LottieLoopMode.loop, completion: { (success) in           RNSplashScreen.setAnimationFinished(true)         }     );   }

What about enabling loop? :)

Same question, can anyone help?

@TheOmran : in Dynamic.swift replace play function with
@objc func play(animationView: AnimationView) { animationView.play(fromProgress: 0.0, toProgress: 1.0, loopMode: LottieLoopMode.loop, completion: { (success) in RNSplashScreen.setAnimationFinished(true) } ); }

@vfa-locltb it doesn't work ?

@TheOmran : in Dynamic.swift replace play function with
@objc func play(animationView: AnimationView) { animationView.play(fromProgress: 0.0, toProgress: 1.0, loopMode: LottieLoopMode.loop, completion: { (success) in RNSplashScreen.setAnimationFinished(true) } ); }

@vfa-locltb it doesn't work ?

Sorry, I thought this was an android thread, I got it figured out now.


Add Branch() support

Codecov Report

Merging #23 into master will increase coverage by 0.02%.
The diff coverage is 96.77%.

@@            Coverage Diff             @@
##           master      #23      +/-   ##
==========================================
+ Coverage   99.12%   99.14%   +0.02%
==========================================
  Files          26       27       +1
  Lines        1600     1640      +40
==========================================
+ Hits         1586     1626      +40
  Misses          7        7
  Partials        7        7

Flag
Coverage Δ

#dot
99.14% <96.77%> (+0.02%)
:arrow_up:

#dot_encoding
96.42% <ø> (ø)
:arrow_up:

#dot_encoding_rich_text
100% <ø> (ø)
:arrow_up:

#dot_encoding_set
100% <ø> (ø)
:arrow_up:

#dot_encoding_sparse
100% <ø> (ø)
:arrow_up:

#dot_vc
98.78% <96.77%> (+0.16%)
:arrow_up:

Impacted Files
Coverage Δ

vc/control.go
100% <100%> (ø)
:arrow_up:

vc/map.go
100% <100%> (ø)
:arrow_up:

vc/branch.go
100% <100%> (ø)

vc/slice.go
100% <100%> (ø)
:arrow_up:

vc/string.go
93.65% <77.77%> (-2.72%)
:arrow_down:

vc/vc.go
100% <0%> (+8%)
:arrow_up:

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 a41e095...be9201f. Read the comment docs.


setting up travis ci

I know there is an issue with the 'build' badge, https://github.com/arobson/rabbot/issues/42. I wanted to see if I could get this running with travis ci, and it seems like it works. Feel free to close this if it isn't helpful.

oh, now i see that you are using drone.io, wasn't sure what that was before.  like i said you can just close this if you want.

i will just close this for now, and see if i can get the drone.io build to work.


Proposal for lists

Choosing what to recommend can be a tricky subject, and the pros and cons of various options are more than can be expressed in a small popup. Thus I believe that it would be better to use a third-party list of replacements. That way you can link to a more complete explanation and simply worry about the browser extension rather than the politics of recommending certain replacements. It also allows the users to more reasonably consider the alternatives instead of making a judgement based on a short phrase.
I like how this extension often recommends switching.software. I believe this would be a good precedent to extend to the other recommendations as well.

Yes, this is an important point. The pop-up can just have on short sentence to pique the user's interest in the alternative - which may not be enough. I find myself leaning more & more towards link to an explanatory page rather than a single alternative product. Fortunately, this is completely driven by the list and we can iterate to find the best approach.
@justjosias Thanks for stopping by! Appreciateit.


Add a license to the repository

I recently came across your project Qiskit-Laboratories and I noticed that the repository github.com/10CarlosEsteves/Qiskit-Laboratories currently does not have a license specified.
Why Adding a License is Important?
As GitHub documents

Public repositories on GitHub are often used to share open source software. For your repository to truly be open source, you'll need to license it so that others are free to use, change, and distribute the software.

Would be possible to add a valid license to this repository? Probably something really OpenSource such as the Apache 2.0 license would fit really well.
Thanks!

Thanks!


python311Packages.aioapns: 3.0 -> 3.1

Changelog: https://github.com/Fatal1ty/aioapns/releases/tag/v3.1
Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] 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/)
23.11 Release Notes (or backporting 23.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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 262932 run on x86_64-linux 1

4 packages built:

python310Packages.aioapns
python310Packages.aioapns.dist
python311Packages.aioapns
python311Packages.aioapns.dist


Add API diff between .NET Core 3.0 preview5 and preview6.

cc @leecow, @danmosemsft, @joshfree, @stephentoub, @maryamariyan, @ahsonkhan, @Anipik, @tannergooding, @safern
PTAL to see if the diffs make sense (no need to do any manual inspection of binaries, just see if the diffs called out in the PR match what you would expect, given what we changed in preview6).

System.Text.Encodings.Web and System.Text.Unicode seams good to me. @GrabYourPitchforks could you please double check that?

Any more concerns on the diffs called out here?  CC @GrabYourPitchforks @steveharter @bartonjs

cc @terrajobst


Setup cache server for overnigth jobs

See original issue on GitLab
In GitLab by [Gitlab user @jjardon] on Feb 6, 2019, 11:04
Background
This will have two benefits:

Overnight test will not build everything from scratch all the time (cache key of bst master is different from bst-1.2) (there is already a separate test for testing overnigth jobs without cache)
There will be a place to test a remote cache server works with buildstream

Task description

[x] Setup cache server using the one included in buildstream (see https://gitlab.com/BuildStream/infrastructure/infrastructure/-/merge_requests/1)

[x] Supports master
[x] Supports bst-1 branch

[x] Change CI to point to it (see https://gitlab.com/BuildStream/buildstream/-/merge_requests/2004)

Acceptance Criteria
Overnight tests use the new cache server

In GitLab by [Gitlab user @tpollard] on Feb 6, 2019, 12:38
The overnight tests should also still ensure nothing fails doing clean builds. In general I do think that buildstream should provide a remote cache of some sort.

In GitLab by [Gitlab user @jjardon] on Feb 6, 2019, 12:40

The overnight tests should also still ensure nothing fails doing clean builds

Yeah, there is already a separate test for that; let me update the description

In GitLab by [Gitlab user @jjardon] on Feb 6, 2019, 12:40
changed the description

In GitLab by [Gitlab user @jjardon] on Jul 10, 2020, 14:10
changed title from Setup cache server to Setup cache server{+ for overnigth jobs+}

In GitLab by [Gitlab user @jjardon] on Jul 10, 2020, 14:10
changed the description

In GitLab by [Gitlab user @jjardon] on Jul 10, 2020, 14:10
assigned to [Gitlab user @willsalmon]

In GitLab by [Gitlab user @jjardon] on Jul 10, 2020, 14:14
changed the description

In GitLab by [Gitlab user @jjardon] on Jul 10, 2020, 14:15
changed the description

In GitLab by [Gitlab user @jjardon] on Jul 22, 2020, 12:21
assigned to [Gitlab user @tcanabrava]

In GitLab by [Gitlab user @willsalmon] on Jul 24, 2020, 16:31
mentioned in merge request !2004

In GitLab by [Gitlab user @jjardon] on Jul 27, 2020, 10:56
marked the task Setup cache server using the one included in buildstream as completed

In GitLab by [Gitlab user @jjardon] on Jul 27, 2020, 10:56
marked the task Supports master as completed

In GitLab by [Gitlab user @jjardon] on Jul 27, 2020, 10:56
marked the task Supports bst-1 branch as completed

In GitLab by [Gitlab user @jjardon] on Jul 27, 2020, 10:57
changed the description

In GitLab by [Gitlab user @marge-bot123] on Jul 27, 2020, 14:33
mentioned in commit fecf3534d887e52b5bf5bbc5ef6861a54d858d12

In GitLab by [Gitlab user @jjardon] on Jul 28, 2020, 10:48
marked the task Change CI to point to it (see https://gitlab.com/BuildStream/buildstream/-/merge_requests/2004) as completed


Allow customisation of host.testcontainers.internal

I'm testing a docker setup with 2 Redis sentinels, one Redis master and 2 replicas.
The Redis sentinel container is configured with an environment variable that specifies the Redis master host that the sentinel discovers. The sentinel checks if the Redis host can be resolved(and it is cause i've set it to the env var host.testcontainers.internal) but it also returns the Redis master host to whatever client asks for it.  The issue is that returned host cannot be resolved outside the docker network.
It would be great if host.testcontainers.internal could be customised. In my case, INTERNAL_HOST_HOSTNAME would be set to "localhost", thus making it accessible from within the container as well as outside the container.
        PortForwardingContainer.INSTANCE.getNetwork().ifPresent(it -> {
            withExtraHost(INTERNAL_HOST_HOSTNAME, it.getIpAddress());
        });

Hi @corinapurcarea,
host.testcontainers.internal may not be the right API to use here.
Have you considered doing something similar to how KafkaContainer is working? It delays starting the process before the host/port are available, so that it can pass them to the process and it will return the correct values to the consumer:
https://github.com/testcontainers/testcontainers-java/blob/8965712f239ae3c449cec579264af5e79265f314/modules/kafka/src/main/java/org/testcontainers/containers/KafkaContainer.java#L103

Thanks for the quick answer!
Unfortunately, the Kafka setup you mentioned doesn't help because the Redis master host must be resolvable from inside docker network as well from outside it.
The application(in my case, the tests) asks sentinel process for the master, but also the sentinel periodically checks if master is available. The application is outside Docker network, the sentinel and master are started with test-containers.
I will leave here 2 solutions for this complicated setup:

passing the Redis master host as the ip of the host machine.
using a dns cache manipulator (https://github.com/alibaba/java-dns-cache-manipulator) that will translate host.testcontainers.internal to whatever ip one needs thus making host.testcontainers.internal resolvable from outside as well from inside Docker network.
 DnsCacheManipulator.setDnsCache("host.testcontainers.internal", "<IP_ADDRESS>");


Title: Spiderman like cursor animation using javascript

Is your feature request related to a problem? Please describe.
The feature request for a Spiderman cursor animation effect using JavaScript addresses the need for enhanced user engagement on websites, particularly those themed around superheroes or entertainment. Standard cursors lack visual appeal and interactivity, which can make a site feel static and less immersive. By adding a dynamic Spiderman-themed cursor, we can create a more engaging and thematic user experience, increasing user retention and enjoyment.
Describe the solution you'd like.
I would like to implement a Spiderman-themed cursor animation effect using JavaScript. This involves transforming the standard cursor into a Spiderman icon that follows the user's movements and includes animations such as web-slinging effects or Spiderman's hand shooting webs when clicking. The animation should be smooth, responsive, and seamlessly integrated into the website, enhancing the overall user experience while maintaining performance and compatibility across different browsers and devices.
Describe alternatives you've considered.
none
Add any other context or screenshots about the feature request here.
https://github.com/swapnilsparsh/30DaysOfJavaScript/assets/137754636/05c17396-b69b-4811-840c-0eacc2c9e4b0

@Praneeth-2602 Thank you for providing your insight but it is not required as of now


Bulk action policy issue

Hi thanks for the package, there is an issue on the index when trying to run a bulk action to update a field on multiple resources. The action says "sorry you are not authorized to perform this action"
Removing the package returns the expected functionality. I tried with CanSee and the other steps to allow the authorisation with no success.
Thanks!

the same

Same here also!

Hi, we have the same problem


Fixing English Typos

Fixed typos present in both en/content/news and en/content/faq.

Thank you very much for your first pull request.
Will adjust concerned files


luci-app-simple-adblock: sync with the latest version of simple-adblock

Signed-off-by: Stan Grishin<EMAIL_ADDRESS>

Wrong branch in backport ?
stangri wants to merge 1 commit into openwrt:master from stangri:openwrt-19.07-luci-app-simple-adblock

Sorry, will resubmit correct PR!


Issue Importing Spell

Spell wont import. come up with error message to report via here.
I'm trying to import the following and it just errors
{
"name": "Ensnaring Strike",
"type": "spell",
"img": "icons/magic/nature/root-vine-entangled-humanoid.webp",
"data": {
"description": {
"value": "The next time you hit a creature with a weapon attack before this spell ends, a writhing mass of thorny vines appears at the point of impact, and the target must succeed on a Strength saving throw or be restrained by the magical vines until the spell ends. A Large or larger creature has advantage on this saving throw. If the target succeeds on the save, the vines shrivel away.\nWhile restrained by this spell, the target takes 1d6 piercing damage at the start of each of its turns. A creature restrained by the vines or one that can touch the creature can use its action to make a Strength check against your spell save DC. On a success, the target is freed.\nAt Higher Levels. If you cast this spell using a spell slot of 2nd level or higher, the damage increases by 1d6 for each slot level above 1st.",
"chat": "",
"unidentified": ""
},
"source": "PHB pg. 219",
"activation": {
"type": "bonus",
"cost": 1,
"condition": ""
},
"duration": {
"value": 1,
"units": "minute"
},
"target": {
"value": null,
"width": null,
"units": "",
"type": "self"
},
"range": {
"value": null,
"long": null,
"units": "self"
},
"uses": {
"value": 0,
"max": "0",
"per": ""
},
"consume": {
"type": "",
"target": "",
"amount": null
},
"ability": "",
"actionType": "other",
"attackBonus": 0,
"chatFlavor": "",
"critical": null,
"damage": {
"parts": [],
"versatile": ""
},
"formula": "",
"save": {
"ability": "",
"dc": null,
"scaling": "spell",
"value": ""
},
"level": 1,
"school": "evo",
"components": {
"value": "",
"vocal": true,
"somatic": false,
"material": false,
"ritual": false,
"concentration": true
},
"materials": {
"value": "",
"consumed": false,
"cost": 0,
"supply": 0
},
"preparation": {
"mode": "prepared",
"prepared": true
},
"scaling": {
"mode": "level",
"formula": "1d6"
},
"attributes": {
"spelldc": 10
},
"attunement": 0
},
"effects": [
{
"_id": "6hAZJkE4UfjO7Adp",
"changes": [
{
"key": "flags.dnd5e.DamageBonusMacro",
"mode": 0,
"value": "ItemMacro.Ensnaring Strike",
"priority": "20"
}
],
"disabled": false,
"duration": {
"startTime": null
},
"icon": "icons/magic/nature/root-vine-entangled-humanoid.webp",
"label": "Ensnaring Strike",
"origin": "Compendium.midi-qol.midiqol-sample-items.dlP9fWGo3ggfkOfm",
"transfer": false,
"flags": {
"dae": {
"stackable": "none",
"macroRepeat": "none",
"specialDuration": [
"1Hit:mwak"
],
"transfer": false,
"durationExpression": ""
},
"ActiveAuras": {
"isAura": false,
"radius": null,
"aura": "None",
"alignment": "",
"type": "",
"ignoreSelf": false,
"height": false,
"hidden": false,
"hostile": false,
"onlyOnce": false,
"displayTemp": false
},
"core": {
"statusId": ""
}
},
"tint": null,
"selectedKey": "flags.dnd5e.DamageBonusMacro"
}
],
"flags": {
"midi-qol": {
"onUseMacroName": "[postActiveEffects]ItemMacro",
"effectActivation": false
},
"core": {
"sourceId": "Item.Z2bmzJrSSmIZdOFp"
},
"itemacro": {
"macro": {
"data": {
"_id": null,
"name": "Ensnaring Strike",
"type": "script",
"author": "6vTpMaaKHYGwKSiO",
"img": "icons/svg/dice-target.svg",
"scope": "global",
"command": "// Modules Required - Item Macro, MIDQOL, Dynamic Active Effects\n// Card settings - Target & range: Self\n// DAE settings - [1] flags.dnd5e.DamageBonusMacro / Custom / ItemMacro.Wrathful Smite \n\n// Notes - If you use convient effects; on line 26 - replace "macro.CUB" with "macro.CE"\n\nif (!["mwak","rwak"].includes(args[0].item.data.actionType)) return {}; \nif (args[0].hitTargetUuids.length === 0) return {}; // did not hit anyone\n\nlet selected = await MidiQOL.MQfromActorUuid(args[0].actorUuid); \nlet DC = selected.data.data.attributes.spelldc;\n\nfor (let tokenUuid of args[0].hitTargetUuids) {\n    const target = await fromUuid(tokenUuid);\n    const targetActor = target.actor;\n  \n    const flavor = <p>${\"Strength Saving Throw\"}</p><p>${CONFIG.DND5E.abilities[\"str\"]} DC ${DC} </P> ;\n    let conSave = (await targetActor.rollAbilitySave("str", { flavor, fastForward: false})).total; \n \n    if (conSave < DC) {\n      const effectData = {\n        label: "Ensnaring Strike", \n        icon: "icons/magic/nature/root-vine-entangled-humanoid.webp",\n        changes: [\n          {key: "flags.midi-qol.OverTime", mode: 0, value: \"turn=start,damageRoll=1d6,damageType=piercing,label=Ensnaring Strike\" , priority: 20}, \n          {key: "data.attributes.movement.all", mode: 0, value: "0", priority: 20},\n          {key: "flags.midi-qol.disadvantage.attack.all", mode: "0", value: "0", priority: 20},\n          {key: "flags.midi-qol.grants.advantage.attack.all", mode: 0, value: "0", priority: 20},\n          {key: "data.attributes.movement.walk", mode: 5, value: "0", priority: 20}\n // macro to apply the damage\n                ],\n  \n        origin: "Ensnaring Strike", \n        disabled: false,\n        duration: {rounds: 10, seconds: 60, startRound: undefined, startTime: undefined, startTurn: undefined, turns: undefined},\n        icon: "icons/magic/nature/root-vine-entangled-humanoid.webp",\n        label: "Ensnaring Strike"\n      }\n      await targetActor.createEmbeddedDocuments("ActiveEffect", [effectData]);\n} \n}\nHooks.once("midi-qol.RollComplete", (workflow) => {\n    console.log("Deleting concentration")\n    const effect = MidiQOL.getConcentrationEffect(actor);\n    if (effect) effect.delete();\n    return true;\n})\nreturn{flavor: "Ensnaring Strike"}\n//return{damageRoll: 0, flavor: "Ensnaring Strike"}",
"folder": null,
"sort": 0,
"permission": {
"default": 0
},
"flags": {}
}
}
},
"cf": {
"id": "temp_ovon30cu8t",
"color": "#000000"
},
"midiProperties": {
"nodam": false,
"halfdam": false,
"fulldam": false,
"critOther": false,
"concentration": false,
"rollOther": false
},
"autoanimations": {
"killAnim": false,
"below": false,
"override": false,
"targetToken": {
"enable": false
},
"sourceToken": {
"enable": false
},
"allSounds": {
"explosion": {
"audioExplodeEnabled": false,
"file": "",
"delay": 100,
"volume": 0.25
},
"item": {
"enableAudio": false,
"file": "",
"delay": 100,
"volume": 0.25
}
},
"autoOverride": {
"enable": false
},
"version": 2,
"audio": {
"a01": {
"enable": false,
"file": "",
"delay": 100,
"volume": 0.25
},
"e01": {
"enable": false,
"file": "",
"delay": 100,
"volume": 0.25
}
}
},
"exportSource": {
"world": "lost-mines",
"system": "dnd5e",
"coreVersion": "9.255",
"systemVersion": "1.5.7"
}
}
}
can you please help.

It does not import json can you paste here the non working spell? Or PM me.

I am getting the same error when I try and import a spell that I copy the text from PDF.
Locate Node
2nd-level divination
Casting Time: 1 action
Range: 1 mile
Components: V, S
Duration: Concentration, up to 10 minute
You sense the direction of any earth node within
range, which is doubled if you have visited the
specific node before. The spell is blocked by even
a thin sheet of lead, and it cannot detect nodes
protected by a node lock spell.
At Higher Levels. When you cast this spell using
a spell slot of 3rd level or higher, the range increases by 1 mile for each slot level above 2nd
Example spell

fixed by 1.3.4

It's happening again. I did the update and it was working. Not sure what is happening.

From: Luca Gioppo @.>
Sent: Saturday, August 10, 2024 6:25 AM
To: gioppoluca/5e-spellblock-importer @.>
Cc: rednek74 @.>; Comment @.>
Subject: Re: [gioppoluca/5e-spellblock-importer] Issue Importing Spell (Issue #8)
Closed #8https://github.com/gioppoluca/5e-spellblock-importer/issues/8 as completed.
—
Reply to this email directly, view it on GitHubhttps://github.com/gioppoluca/5e-spellblock-importer/issues/8#event-13827566446, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASG6FBCTIJOWJ664XAXHH2LZQXTAHAVCNFSM6AAAAABF3M6XUOVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTHAZDONJWGY2DINQ.
You are receiving this because you commented.Message ID: @.***>

Send the text you pasted in the form. Otherwise could be difficult to debug, send It by pm if you do not want to paste here.

Node Door
3rd-level conjuration
Casting Time: 1 action
Range: Varies
Components: V
Duration: Instantaneous
You instantly transfer yourself from your current
earth node to any other earth node you have visit-
ed. You always arrive exactly at the spot desired—
whether by simply visualizing the area or by de-
scribing your destination (for example, “the earth
node that serves the kuo-toa as a secret temple to
Blibdoolpoolp”). After using this spell, you can’t
take any other actions until your next turn.
If you arrive in an earth node that is already par-
tially occupied by a newly added object, you arrive
in the closest clear space in that node. If the earth
node is completely filled or has been destroyed by
any means, you bounce to the next closest earth
node (determined randomly or by the DM). Each
such “bounce” deals you and any who accompany
you 1d10 force damage.
Worked for a little while then quit again. I did make sure to update

From: Luca Gioppo @.>
Sent: Monday, August 12, 2024 12:59 PM
To: gioppoluca/5e-spellblock-importer @.>
Cc: rednek74 @.>; Comment @.>
Subject: Re: [gioppoluca/5e-spellblock-importer] Issue Importing Spell (Issue #8)
Send the text you pasted in the form. Otherwise could be difficult to debug, send It by pm if you do not want to paste here.
—
Reply to this email directly, view it on GitHubhttps://github.com/gioppoluca/5e-spellblock-importer/issues/8#issuecomment-2284505228, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASG6FBF372I7S2KPBBGZZ2TZRDSWBAVCNFSM6AAAAABF3M6XUOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBUGUYDKMRSHA.
You are receiving this because you commented.Message ID: @.***>

now should work


Send event/request from board/device

Hi,
I got find belay in search of way to communicate RPi Pico <=> PC via serial (both ways).
I saw examples (i.e. 07_lcd), and it looks like communication is initiate by PC only.
Beside printing something at LCD or return value from some function executed at Pico, I need as well way to get notified about pushed button at Pico (or event form LCD touch screen).
Shortly when message/request was initiate by Pico itself.
Can belay support this, or maybe you know already existed solution.

Hi @emcek! As you noticed, all transactions in Belay are initiated by the  PC.  I think the best solution would be to have an interrupt on-button-press to set a flag on-device, and periodically poll for this flag from the PC. You could also directly read the input while polling from PC, but you might miss rapid button presses that way.
I think that this is a common enough use-case that if we can figure out a generic way of making this easier, I'd be happy to add features to Belay to support it.

Yes, I got same idea... with setting a flag, my project is at early stage so maybe delay wouldn't be an issue.

please keep me updated with the route you end up taking and your success with it!

Micropython doesn't support multiple CDC on USB https://forums.raspberrypi.com/viewtopic.php?t=305834 You could use a 2nd UART on the microcontroller to create a connection between the microcontroller and your PC.  Belay would continue to use the primary to interact.  Your microcontroller would write data to that 2nd UART so that the host program could read it.  https://docs.micropython.org/en/latest/library/machine.UART.html

You could connect the PC and controller using a Serial/USB cable, a second wired collection.
I've done something similar on a UART (not in belay) with a Bluetooth CDC virtual serial.

Another option is to use CIrcuitPython and USB CDC to add a 2nd USB serial port. You could open a 2nd virtual serial port using usb_cdc in circuit python.  https://docs.circuitpython.org/en/latest/shared-bindings/usb_cdc/index.html
I'm just spitballing here and haven't tried it yet.

closing now for inactivity, I'll re-open if there's more discussion.


CMake

Is anyone interested in CMake support? I have a WIP now, I can make a pull request if there is demand.
It comes with a drawback, though. I might have to rearrange the files in the /src folder, and possibly more. Existing Makefiles and VS projects will certainly break.

I am interested in cmake support.
.. greg
On Mon, Feb 20, 2017 at 7:25 PM Tan Li Boon<EMAIL_ADDRESS>wrote:

Is anyone interested in CMake support? I have a WIP now, I can make a pull
request if there is demand.
It comes with a drawback, though. I might have to rearrange the files in
the /src folder, and possibly more. Existing Makefiles and VS projects
will certainly break.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tbeu/matio/issues/53, or mute the thread
https://github.com/notifications/unsubscribe-auth/AA2xDub9eRs0VJw8dI_UGoueKY50M7E7ks5reksBgaJpZM4MGzhx
.

Sorry, I am not a big supporter of CMake, especially not as replacement of VS project files. The autotools build scripts are pretty mature and were just recently updated to newer config templates. Thus, I do not see any added value to have CMake support.

Well Cmake doesn't just replace VS projects, it replaces all project files on all platforms.

Check what the OpenMEEG devs already have done https://github.com/openmeeg/openmeeg/blob/master/cmake/externals/projects_modules/matio.cmake

CMake is also convenient to support all the triplets required to create a vcpkg port of matio ( https://github.com/Microsoft/vcpkg/issues/621 ).
Furthermore, I don't think it is strictly necessary to rearrange the files in the /src directory, so there is not need to break existing build systems.

Thing is, that I was aware of the tedious and still ongoing CMake support for the exiv2 lib/tool. They stopped it after several months of effort. Do not expect that all targets work out of the box. Ever tried CMake for MinGW or VS? It is painful. Sorry, I just had too many bad experiences with CMake. And once it is merged in the repo, it will be me maintaining it, which I simply want to avoid.

I've only had good experiences with CMake. Chances are, you're using it wrongly.
I've had a few cross-platform projects that were much easier to maintain after I moved to CMake, because the configure.ac workflow was too much work to maintain and it was easier to have CMake generate the makefiles instead.
CMakeLists has been incredibly easy to maintain as well, since it is only a handful of lines at most for small projects like this one.

But well, if you still don't want CMake, I guess I can always maintain it on my fork and pull changes from this upstream.

On 02/21/2017 05:00 AM, Greg Sjaardema wrote:

I am interested in cmake support.
.. greg
On Mon, Feb 20, 2017 at 7:25 PM Tan Li Boon<EMAIL_ADDRESS>wrote:

Is anyone interested in CMake support? I have a WIP now, I can make a pull
request if there is demand.
It comes with a drawback, though. I might have to rearrange the files in
the /src folder, and possibly more. Existing Makefiles and VS projects
will certainly break.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tbeu/matio/issues/53, or mute the thread

https://github.com/notifications/unsubscribe-auth/AA2xDub9eRs0VJw8dI_UGoueKY50M7E7ks5reksBgaJpZM4MGzhx

I'm interested toif some support is integrated in matio directly. We are
using an alternate github repo with cmake support and as far as I
remember it was fully compatible with the existing automake/autoconf
solution, without much file rearragment.
https://github.com/openmeeg/matio-openmeeg
Best regards,

Theo.

@tbeu I think this is your decision, after all you create this excellent library. And I personally like
autotools a lot, so I concur with you there.
But just my two cents: I'd also be happy about cmake. For continuous integration on many platforms,
it makes things easier for me. I find it super hard to read Visual Studio project files, let alone change
settings in an automatic build system.  Even if its not perfect, its much better than hardcoded Visual Studio project files for
me. But thats just me, I can pull the OpenMEEG cmake integration and live with that, no worries.

 We are updating it regularly but we do not follow all the matio commits...
Integrating the two, would not disturb autotools (they continue to work as before) and would allow an easier way to maintain the cmake port...
And yes, I volunteer to maintain the port (I do it already in the OpenMEEG version, so it would not be too much of a trouble). And of course, others would be welcome...

@papadop I can give you push rights if you like to maintain the cmake port.
Once there is a new release published, I also push to the official sf repo.

Deal.... Le 16 nov. 2017 7:45 PM, tbeu<EMAIL_ADDRESS>a écrit :@papadop I can give you push rights if you like to maintain the cmake port.
Once there is a new release published, I also push to the official sf repo.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.

@papadop I would like to start with cmake support. Could you try to update to the latest sources so that we can start testing and discussion of the integration? I think its better to start a bit early (before there is the next official release) so that we have something ready when the release comes. I can help if you can give us a start?

Checkout this for a non invasive cmake build.

Is there any news on the possibility of using CMake with matio?

@emmenlau Are you working on CMake support right now?

:+1: on cmake support. I would be happy to help @papadop @JohanMabille and @massich if things come up with cmake.
This would be very helpful to package matio on conda-forge, especially on windows.
Also, we rely on cmake for the xtensor stack and it would make it simpler for us if matio could be built with cmake, especially on windows.

Thanks for considering to contribute. Last commitment I have was from @emmenlau who wanted to go ahead with CMake support.

@SylvainCorlay pick place and date, and I'll be there either IRL or remote.

I won't have time this week but I'm happy to test PRs. Feel free to move ahead.

Well, this issue is open exactly 2 years as of today. No need to rush this week.

Thanks for the interestiong discussion, I also come from the autotools world but slowly I discovered Cmake that helps me to manage in consistent way dependency also for very large system through the so call subuild pattern. At the end it is like moving from functional development to OO.  It was not always trivial but the capability to integrate different platform support with installation instruction and even packaging it is really powerful. Concerning the test I understand the reluctance towards ctest, altough it it possible to wrap its behaviour in almost transparent way. I manage to handle more than 50 different projects (with different tools for testing CppUTest, Google Catch and so on) under an unique ctest project and consequently an unique dashboard.

@MicheleBe Thanks for your comments. Feel free to test #107 (still lots of open issues to tacklebefore ready to merge).


Add "intellisense" and sample for /teams/{teamId}/primaryChannel

The primaryChannel relationship for the team resource type was added in January 2020. Add this to the intellisense/prompt when entering a url and a sample.
https://docs.microsoft.com/en-us/graph/changelog?context=graph%2Fapi%2F1.0&view=graph-rest-1.0#january-2020
https://docs.microsoft.com/en-us/graph/api/resources/team?view=graph-rest-1.0#relationships

related to #480


College Board MC Review

https://shriya1401.github.io/shriyap_2025/2024/10/20/MCQReview_IPYNB_2_.html

Good job doing your corrections, I also got similar questions wrong. Practice similar problems in order to reduce the problems you get wrong next time

Your MC Review looks great! You explained each question pretty well, and your overall website is very easy to follow and read. One thing you could improve upon is adding additional pictures or diagrams within your explanations. Overall, good job!

Your corrections look good, however, I think you can add a picture or write the code segments that you need to find an error in or insert missing code into so that it is more clear.


add rule for python3-lxml for mac os

@mjcarroll based on https://github.com/ros2/ros2/issues/656#issuecomment-472614723 it looks like this definition will be needed for users using rosdep on MacOS. Is that right ?

With macOS: The dependency should be resolved either with rosdep [...]

lgtm, though will it be python3 by default?

Yeah I had the same concern but saw that matplotlib below had a pip entry so assumed it worked in some cases.
I don't have any macOS machine available to try it on.
Looking at the wheels available it looks like there are separate binaries for python2 and 3, so it will likely be python2 :/

I'll assume that this will actually be the Python 2 version and close this PR.


python3Packages.nifty8: init at 8.5.2

Description of changes
NIFTy8 (https://gitlab.mpcdf.mpg.de/ift/nifty) is a Bayesian imaging library.
It is designed to infer the million to billion dimensional posterior distribution in the image space from noisy input data.

It has been consistently in development for over a decade and is relied upon by scientists.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] 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

[ ] Fits CONTRIBUTING.md.

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

Thanks a lot for the review. All requested changes are implemented and rebased to current master.

Is there anything from my side that I can do to make this pull request ready for merging?

@ofborg build python312Packages.nifty8


update to use cloudposse-github-actions/string-transformer

what
The upstream dependency name changed to cloudposse-github-actions/string-transformer from cloudposse/github-action-string-transformer
references

(https://github.com/cloudposse-github-actions/string-transformer/issues/33)

@dmuscanell, thanks for your contribution.

@dmuscanell The changes was released https://github.com/cloudposse/kubernetes-namespace-builder-composite-action/releases/tag/0.4.0


In-memory mosaic backend

If you have a mosaic in memory and you want to access backend methods like .tile, you currently need to know that you can pass FileBackend(path=None, mosaic_def=...). It might be clearer to expose a InMemoryBackend that doesn't require a path argument.

Well i though we solved this with cogeo_mosaic.backends.MosaicBackends, but making an official one would be nice.
If we had a InMemoryBackend (fallback for MosaicBackend when path is not given) we could then make path a required arguments in the other backends 🤷♂

Well i though we solved this with cogeo_mosaic.backends.MosaicBackends, but making an official one would be nice.
If we had a InMemoryBackend (fallback for MosaicBackend when path is not given) we could then make path a required arguments in the other backends 🤷♂

Well I think I'd suggest
def MosaicBackend(url: str = '', *args: Any, **kwargs: Any) -> BaseBackend:
    """Select mosaic backend for url."""
    parsed = urlparse(url)

	...

    # file:///{path}
    elif parsed.scheme == "file":
        return FileBackend(parsed.path, *args, **kwargs)

    # Invalid Scheme
    elif parsed.scheme:
        raise ValueError(f"'{parsed.scheme}' is not supported")

	elif url:
        return FileBackend(url, *args, **kwargs)

    # fallback to MemoryBackend
    else:
        return MemoryBackend(*args, **kwargs)

Then yes all other backends could have path be required.

Well I think I'd suggest
def MosaicBackend(url: str = '', *args: Any, **kwargs: Any) -> BaseBackend:
    """Select mosaic backend for url."""
    parsed = urlparse(url)

	...

    # file:///{path}
    elif parsed.scheme == "file":
        return FileBackend(parsed.path, *args, **kwargs)

    # Invalid Scheme
    elif parsed.scheme:
        raise ValueError(f"'{parsed.scheme}' is not supported")

	elif url:
        return FileBackend(url, *args, **kwargs)

    # fallback to MemoryBackend
    else:
        return MemoryBackend(*args, **kwargs)

Then yes all other backends could have path be required.


try to run tests with ats

Changes for the upcoming split of app-build-suite and app-test-suite in ci
Checklist

[ ] Update changelog in CHANGELOG.md.

@MarcelMue feel free to hijack this

yo @stone-z check this out


After Installing the Add-In on our TFS (2015 Update 3) server i cant see the "Drop Down" Tab under the relevant sprint.

Using Chrome Browser "Version 59.0.3071.86 (Official Build) (64-bit)"

Here is a Console Log:

Those screenshots relates to other extension that you are running, TaskBoardEnhancer. Can you send the relevat screenshots?

Hi Yaniv,
I have disabled the TaskBoardEnhancer Extension and it seems that their is no Error messages regarding the  "Drop Down"
but here is the Console Snapshot that i am getting now:


use RPC directly instead of calling external process

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.
I think this is more straightforward than going via vespa-sentinel-cmd utility.
@baldersheim please review
@gjoranv @hmusum FYI

@bjorncs FYI


Document OPT_SAVEGAMESCREENSHOTLAYER in Globalfunctions_General

https://github.com/adventuregamestudio/ags-manual/wiki/Globalfunctions_General#setgameoption
Added new game-wide option OPT_SAVEGAMESCREENSHOTLAYER that lets to define which of the game's render layers will be captured when making a standard screenshot for the save game.
RenderLayer is documented in #259 , and screenshot is discussed in #258
Example
function game_start()
{
  SetGameOption(OPT_SAVEGAMESCREENSHOTLAYER, eRenderLayerRoom);
}

This option was added in PR https://github.com/adventuregamestudio/ags/pull/2526

added below
https://github.com/adventuregamestudio/ags-manual/wiki/_compare/84645bfa93cfb09667eccae337b9b64112d97cde...db44e59abe5c90b0e8bbe1448fdbe1ceaaf82097


refactor: fix logic errors found by no-unnecessary-condition rule

Description
Extracted the fixes from #18798
It should work the same as long as the types are not lying.

/ecosystem-ci run


Fixing plot sizing

Describe your changes
Do the following before requesting a review

[ ] I have written tests covering functions I have added or changed.
[ ] I have run tests and they all pass.
[ ] I have ensured all new functions will show up in the _pkgdown.yml file.
[ ] I have updated DESCRIPTION with any new package dependencies.
[ ] I have updated NEWS.md with a brief description of my changes.
[ ] I have updated the package documentation with devtools::document().
[ ] I have updated the package website with pkgdown::build_site_github_pages().

Just re-pointed this to the dev branch rather than main.


[speech-to-text]  1006 Connection dropped by remote peer.

I'm testing files of roughly 75MB through the Websocket route.
After weeks of working consistently, today I am getting the message:
1006 Connection dropped by remote peer.
This is occurring immediately, with no result messages.
About to send ./in/1861034_xxx_lp.f4v-part000.flac
connect. config is {"maxReceivedFrameSize":1048576,"maxReceivedMessageSize":8388608,"fragmentOutgoingMessages":true,"fragmentationThreshold":16384,"webSocketVersion":13,"assembleFragments":true,"disableNagleAlgorithm":true,"closeTimeout":5000,"tlsOptions":{}}
1006 Connection dropped by remote peer.

Is this issue something to report here, or to another ticketing system for the S2T service itself?

Happens also for various-sized files -- 11MB, 21MB, 37MB

parameters that I am using have not changed in awhile:
{
    content_type: self.options.contenttype,
    'content-type': self.options.contenttype,
    base_url: credentials.url,
    continuous: true,
    timestamps: true,
    inactivity_timeout: -1,    // -1 means Infinity
    max_alternatives: 1,
    interim_results: true,
    keywords: KEYWORDS,               // beta feature
    keywords_threshold: 0.9,          // beta feature
    word_alternatives_threshold: 0.25,  // beta feature
    objectMode: true,                   // wishful
    readableObjectMode: true
  };

Hello @monte-hayward we are aware of this issue an trying to resolve it asap, sorry for the inconvenience.
Dani

Thanks!

@monte-hayward  please try now, the STT service is fully functional now :)

@daniel-bolanos thanks!
Semi-related question:
https://developer.ibm.com/answers/questions/249101/patterns-for-watsonauthorization-tokens-in-node-mo.html


alveolus development

Hi,
Could I request the new process term "alveolus
development", as a part-of child of "lung development"
(GO:0030324).
Definition:
Development of a sac for holding air in the lungs; formed
by the terminal dilation of air passageways.
PubMed Ref: 9751757
cheers,
Emily
(for annotation of P35247 +IMP )
Reported by: edimmer
Original Ticket: "geneontology/ontology-requests/1561":https://sourceforge.net/p/geneontology/ontology-requests/1561

thanks www.movied.org


Fix decoding of TLV payload data

Fixes #27832
Fixes #27833

I am not sure if this was the right fix ... maybe ignoring the error is more correct. #27908 specifically still shows up and this compile error did not occur with any of the CI compilers.

Supposedly ISO 9899:2011 <IP_ADDRESS> says If the expression is a constant expression, it shall have a value greater than zero. ... so we do indeed need to remove these.


Spinner - new component initial setup.

Created new component - Spinner.
Added props and set up Spinner in Storybook (docs and playground).

@harish-sethuraman

@amalkrishna

@harish-sethuraman

Thanks for sending an PR. However do not have priority on adding newer components without design team's input. We really appreciate the time taken. Please make sure you raise an issue before sending an PR to confirm with the maintainer if it is feasible or not.


raftstore: manually compact region after delete a lot of keys.

For issue https://github.com/pingcap/tikv/issues/1179
Note:
This PR does not count deleted keys when GC executes,  but count it when the raft command applies.
A counter is managed for each Peer and it is checked periodically by RaftStore.
@zhangjinpeng1987 @siddontang @BusyJay

Please add test.

@zhangjinpeng1987
I think we should consider compacting raft cf too.

I think we should consider compacting raft cf too.
I don't think so, because the raft cf is used frequently, what we need to do is to keep fresh entries in write buffer, but compact range will flush memtable to sst file.

LGTM
PTAL @zhangjinpeng1987

LGTM


FIX tests

Codecov Report

Merging #2 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##             master    #2   +/-   ##
======================================
  Coverage         0%    0%
  Complexity      146   146
======================================
  Files            15    15
  Lines           428   428
======================================
  Misses          428   428

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 4e01c03...1a1c9e9. Read the comment docs.


Redis error from socket.io->redis client (sub): Error: Redis connection to leader

Just trying to push to a staging version of my app but it failing and when checking the logs I can see errors such as
2016-08-09T17:48:23.798908Z app[web.cluster2-093bc41a-0e48-4afa-a8e1-0213485e16c0]: Redis error from socket.io->redis client (sub): Error: Redis connection to leader.redis-8661f01f-1369-49ab-b918-8859c981b6b1.discoverd:6379 failed - getaddrinfo ENOTFOUND leader.redis-8661f01f-1369-49ab-b918-8859c981b6b1.discoverd leader.redis-8661f01f-1369-49ab-b918-8859c981b6b1.discoverd:6379
2016-08-09T17:48:23.799012Z app[web.cluster2-093bc41a-0e48-4afa-a8e1-0213485e16c0]:     at errnoException (dns.js:27:10)
2016-08-09T17:48:23.799650Z app[web.cluster2-093bc41a-0e48-4afa-a8e1-0213485e16c0]:     at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:78:26)

any ideas why this might be?

Did it work previously?
Please collect the debug info.

Not sure as haven't used it for a while, maybe I should delete it an d try again?

The error probably indicates that one of these things is true: discoverd is broken, the redis instance is broken, or the redis instance doesn't exist.

yes something is wrong as it won't let me delete the app and I get the error unknown_error: Something went wrong
Not sure if it's related to the issues I had the other day. Anyway I'll collect the debug info and get it over to you.

Ok it's been sat at getting job logs for some time now, doesn't usually take this long.

OK it's been nearly 20 mins now so doesn't look like it's going to collect the debug info

Okay, you can manually tar up /var/log/flynn and email to<EMAIL_ADDRESS>

Ok those have been sent to you. Also as a bit of a test I just tried creating a new app and pushing but it ended in the same result.

@dottodot was this cluster updated with flynn-host update or restored from a backup?
The Redis jobs are failing to start because the image artifact is incorrect, which coincidentally I have proposed a fix for today in #3247.

It was restored from a backup. So do I just go through the instructions in the post to fix it?

If so I've just run the first command and get.
The program 'docker' is currently not installed. You can install it by typing:
apt-get install docker
       redis:
The program 'docker' is currently not installed. You can install it by typing:
apt-get install docker
 slugbuilder:
The program 'docker' is currently not installed. You can install it by typing:
apt-get install docker
  slugrunner:

@dottodot no you don't need to run those commands, those commands are just proof that the change in that PR works.
You can update the image URI with the following:
$ REDIS_IMAGE_URI=$(grep -oP 'https://dl.flynn.io/tuf\?name=flynn/redis&id=\w+' /etc/flynn/bootstrap-manifest.json | uniq)

$ flynn -a controller pg psql -- -c "UPDATE artifacts SET uri = '${REDIS_IMAGE_URI}' WHERE uri LIKE '%flynn/redis%'"

You should see UPDATE 1 (or UPDATE N if you have N Redis resources).
You may need to scale the Redis app down and back up again, e.g.:
$ flynn -a $REDIS_APP scale redis=0

$ flynn -a $REDIS_APP scale redis=1

(you can get $REDIS_APP from flynn apps).

flynn -a controller pg psql -- -c "UPDATE artifacts SET uri = '${REDIS_IMAGE_URI}' WHERE uri LIKE '%flynn/redis%'"

gives an error of
ERROR:  duplicate key value violates unique constraint "artifacts_type_uri_idx"
DETAIL:  Key (type, uri)=(docker, https://dl.flynn.io/tuf?name=flynn/redis&id=57b74ddacab85a36f263957ae042bddbae8a8432631cf023029aed52ca109d7e) already exists.

@dottodot ah ok, try this instead:
$ flynn -a controller pg psql -- -c "UPDATE release_artifacts SET artifact_id = (SELECT artifact_id FROM artifacts WHERE uri = '${REDIS_IMAGE_URI}') WHERE release_id IN (SELECT release_id FROM apps WHERE meta->>'flynn-system-app' = 'true' AND name LIKE 'redis-%')"

Note that the proper fix (#3247) is now merged so should make it into a release later today.

That gives the error
ERROR:  null value in column "artifact_id" violates not-null constraint
DETAIL:  Failing row contains (93516c6f-f8fd-46ef-aa00-68724ebb7c39, null, 2016-05-23 13:52:54.484808+00, null, 0).

@dottodot ok that doesn't make much sense, the error you got from the first command indicates that the Redis artifact already exists, but the second that it doesn't exist!
Are you sure you had $REDIS_IMAGE_URI set when you ran the second command?
You could just do things more directly:
grab the appropriate artifact_id:
$ flynn -a controller pg psql -- -c "SELECT artifact_id FROM artifacts WHERE uri = 'https://dl.flynn.io/tuf?name=flynn/redis&id=57b74ddacab85a36f263957ae042bddbae8a8432631cf023029aed52ca109d7e'"

update the Redis apps to use that id (substitute $ARTIFACT_ID with the id from above):
$ flynn -a controller pg psql -- -c "UPDATE release_artifacts SET artifact_id = '${ARTIFACT_ID}' WHERE release_id IN (SELECT release_id FROM apps WHERE meta->>'flynn-system-app' = 'true' AND name LIKE 'redis-%')"

You can also wait for the next nightly release which will include a fix for this.

OK I updated to the nightly which seem to have worked as I can now create a new app with redis however the app I was having issues with seem to be a bit broken as I can't delete it as I get the error
unknown_error: Something went wrong

@dottodot sorry I missed your reply, so you get an error deleting your app or deleting the Redis app? Can you try it again then gist the output of flynn -a controller log? sudo flynn-host collect-debug-info would also be useful.

It's the app called bailey-staging I'm trying to delete. I've sent the logs via email.

@dottodot ok so the app is failing to delete because the Redis provider can no longer find the original release which was created when the resource was provisioned.
Because app deletion is not transactional, I suspect a previous failed attempt at deleting the app did actually manage to delete the Redis release, can you check if it still exists in the database with:
$ flynn -a controller pg psql -- -c "SELECT release_id, env->>'FLYNN_REDIS', created_at, deleted_at FROM releases WHERE release_id = '1a9c4aa7-5ebb-414f-9b6b-ddfb25ced2d1'"

If it does exist, run the following to undelete it then try deleting the app once more:
$ flynn -a controller pg psql -- -c "UPDATE releases SET deleted_at = NULL WHERE release_id = '1a9c4aa7-5ebb-414f-9b6b-ddfb25ced2d1'"

If it doesn't exist we will need to try and figure out how that happened.

running the first command I got
              release_id              | ?column? |          created_at           |          deleted_at
--------------------------------------+----------+-------------------------------+-------------------------------
 1a9c4aa7-5ebb-414f-9b6b-ddfb25ced2d1 |          | 2016-05-30 08:29:35.359494+00 | 2016-08-11 09:49:40.812447+00

then the second i got
UPDATE 1

but on deleting the app I still get
unknown_error: Something went wrong

@dottodot ok, please collect debug info again, sorry this is getting drawn out but it's always good for us to understand exactly what is going on.

OK I've emailed you the latest logs

@dottodot ok so the previous undelete of the release worked, but then the release is missing the FLYNN_REDIS environment variable (which is really strange) so the worker can't find the appropriate Redis app to delete.
First, please post the env column of that release (just so I can understand what is going on):
$ flynn -a controller pg psql -- -c "SELECT env FROM releases WHERE release_id = '1a9c4aa7-5ebb-414f-9b6b-ddfb25ced2d1'"

Then, fix the env by grabbing the name of the Redis app which is supposed to get deleted with:
$ FLYNN_REDIS="$(flynn -a bailey-staging env get FLYNN_REDIS)"

and set FLYNN_REDIS to this same value for the broken Redis release:
$ flynn -a controller pg psql -- -c "UPDATE releases SET env = '{\"FLYNN_REDIS\": \"${FLYNN_REDIS}\"}' WHERE release_id = '1a9c4aa7-5ebb-414f-9b6b-ddfb25ced2d1'"

Now, with your fingers crossed, try deleting the app again :wink:.

OK the first command gives me
 env
------
 null
(1 row)

then the second
no app release found

@dottodot ok, just set FLYNN_REDIS to the app name of the Redis app which you know needs to be deleted (e.g. FLYNN_REDIS=redis-xxx, you can find it in flynn apps).
Feel free to ping me in IRC if you want to do this synchronously (lmars in #flynn on Freenode).

After a conversation in IRC, we figured out that the Redis app also no longer exists, so we just removed the resource record in the database:
$ flynn -a controller pg psql -- -c "UPDATE app_resources SET deleted_at = now() WHERE app_id = '${APPID}'"

and then deleting the app worked.


DBZ-1956 Updates to CloudEvents content, and fix for a table format

This updates the content about exportiing CloudEvents format, based on Chris's comments in this Google document:
https://docs.google.com/document/d/1lKSq4WUU7I3Ndz1CYgPuQRf5B10A4Y7wWIMZflkWrck/edit?usp=sharing
I also adjusted the column widths for a table that is reused for the doc for multiple connectors.

@TovaCohen, we realized there's an issue when using CloudEvents with Avro. Could you therefore conditionalize all Avro-related parts for the time being, so that it only mentions JSON? Thanks!

@gunnarmorling  I added a commit that conditionalizes Avro content for upstream only.
Let me know if anything needs to change.
These updates will need to be backported to 1.1.

LGTM, thanks, @TovaCohen. Applied to master and 1.1.

@gunnarmorling  Downstream, I just fetched updates from the upstream 1.1 branch. But I am not gettting the updates in cloudevents.adoc. Can you check things and make sure that the 1.1 branch really does have the conditionalization updates to exclude Avro content? I'll check things downstream as well.

So I did just check the 1.1 branch, and cloudevents.adoc does not have the updates in this PR.

Whoops, sorry. I had applied it locally but forgot to push. Done now.

No problem. The updated CloudEvents content is visible in the Pantheon Stage site now:
https://access.redhat.com/documentation/en-us/red_hat_integration/2020-q2/html-single/debezium_user_guide/index?lb_target=stage#exporting-cloud-events


Generic metadata, please

The spec doesn't allow generic metadata in the grammar for metadata.  (The CFE actually does allow it, analyzer doesn't.)  This seems like an unnecessary restriction.
class Resolvable<T, U> {
  final U Function(T) resolve;
  const Resolvable(this.resolve);
}

void resolveInt(int n) { print(n); }

@Resolvable(resolveInt)
class D { ...

Agree that it's probably unnecessary.
Prom a parsing perspective, if we can recognize @foo and @foo(...), then we should also be able to recognize @foo<...>(...). I don't think there is any annotatable element that can start with <.

I also want type inference to work here, based on the constructor arguments.

I had a CL a while ago about this, but it got no traction and it was abandoned. However, I believe there would not be any problems doing it, and I agree that the current lack of support is surprising.

I just tested this for real (without relying on type inference) and the CFE and Analyzer do agree that it's not allowed to write the type arguments there.

This can be closed right?

Absolutely! Fixed!


does not show adapters available for updating.

The info page says that all adapters are updated. And there are updates on the page with adapters.

System data:
Model: Intel(R) Celeron(R) CPU G1610T @ 2.30GHz
RAM: 9.73 GB
Node.js: v12.18.2
NPM: 6.14.5
Platform: linux
Distribution: Debian GNU/Linux
Architecture: x64
Model: ARMv7 Processor rev 4 (v7l)
RAM: 975.6 MB
Node.js: v12.18.1
NPM: 6.14.5
JS-Controller (1): 3.1.6
Information tab: 1.7.5

created by ioBroker.info

here the same, checked with different browsers ( chrome, firefox, at windows, linux ) and cleaned the cache. Looks like the info-adapter get no message about the updates from admin?
Logfile with debug say everthing fine, no faults seen.

Wich Admin version? Are there some errors on the browser console?

Admin 4.1.1, js-controller 3.1.6. I mean with 3.1.4 and info 1.7.2 is running, must check this with a old vm... can that be?

I've updated an old VM from js-controller 2.2.8 with Admin 4.0.5 and info-adapter 1.5.7 step by step, first upgrade node8 to 12, works fine. Next upgrade js-controller to 3.1.6, works fine. Next upgraded info-adapter to 1.7.5, and it works fine.
Here we are now on Admin 4.0.5...  updated.. to 4.1.1.works fine.. I can't reproduce it.
On my productiv system:


PEXBuilder does not respect interpreter when compiling source to bytecode

Today when calling add_source on a PEXBuilder, any '.py' files are byte code compiled using the current ambient interpreter and not the PythonInterpreter the PEXBuilder was constructed with: https://github.com/pantsbuild/pex/blob/v1.0.0/pex/pex_builder.py#L136
This leads to problems when the PEXBuilder is being used in an interpeter that has language incompatibilites with the target interpreter; ie: when running under 2.7 and trying to contruct a pex targeted to 3.4 using python 3 only language features.  An example of this is outlined in https://github.com/pantsbuild/pants/issues/1658

Fix submitted @ ac3c7f1


Copy external format detection methods from transformers.onnx in optimum.exporters.onnx

@michaelbenayoun I don't think pytorch exposes any method for this https://github.com/pytorch/pytorch/blob/82dff8ee09278bfea385c27d21d88b978ef911c9/torch/csrc/jit/serialization/export.cpp#L397
This is copy paste from transformers.onnx.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Docking?

I've tested Docking and it doesn't seem to work.  I know this is a new feature to imgui so am patiently looking for assistance or time-fame.

In the upstream C++ library, docking is an experimental extra feature maintained in a separate branch, and imgui-rs provides bindings only to the main releases of dear imgui. Once docking gets merged in upstream, it'll be supported in imgui-rs as well.

Hey, so I really want this feature, so I'm happy to do the work for this. Am looking into it now.

Notice that a port of the docking branch already exists: https://github.com/Gekkio/imgui-rs/pull/285
It works (I'm using it). It's using the docking branch from January 2020, I can update it if somebody wants to use a newer one.

@rasky This is awesome. Looks like you've done what I just spent today doing. Updated to the docking_inter branch on cimgui repo. Can you update now ?

It would be great if the docking branch stuff could be at least on the same API version as the regular imgui bindings (compatible with 1.77 at time of writing I guess). That would make it very easy to switch.
I'm assuming this work is just for the docking flags and not for the multi-window support?

@Gekkio, what do you think about making a long lived 'docking' branch in this repo?, to parallel the one in the upstream c++ repo? It would bring rust users up to speed with what c++ developers have had for a year or more?

@rasky hey. I copied your io.rs changes into my fork. So please don't rush to update, but when you do. Let me know, I'll sync to your work.

Hey @Gekkio, have you got any time to talk about this? It would be great to get this work into this repo?

Sorry, but as I've said before, experimental features will not be supported in imgui-rs because of the maintenance overhead.
Upstream doesn't consider docking good enough to be merged to master -> I don't consider docking worth the maintenance cost.
People can create or use forks that add support to these kind of things, but my recommendation is to direct all effort to helping upstream stabilize this feature, although I don't know what is needed to make it happen...testing? API feedback? actual programming work? In any case, docking is not in master, and there's no plans to support the various feature branches of Dear ImGui in imgui-rs.

Hey,
Sorry I seemed to have posted a reply at the same time as you under issue #292 talking about the same thing.
I am disappointed, but I understand. Would you be opposed to another crate being created that contains the docking work ? imgui-docking-rs, something like this? For people who want access to the beta docking work, without having to clone it themselves?

Hey so following on from @Gekkio's request to have a fork repo for the docking work I've put an up to date repo online here:
https://github.com/luke-titley/imgui-docking-rs.
I'll try to keep this up to date so that there is a single place to go for a repo that has all the latest and greatest from imgui-rs but also docking.
Although this risks fragmenting development a little, there is no need to fragment the discussion about what the dockbuilder api should look like for imgui-rs, so I think it's still worth discussing on this issue and not an issue on that repo. The api for the DockBuilder in dearimgui has been stable for over a year now, so i'm hoping it won't change too much before it is merged to master.
If anyone has already done this work already, please say so and I'll just copy that, I need this feature now and I'm just trying to make sure I don't have to re-write the api when there is an official imgui-rs api.
Here's what I have now.

Then you build the docking layout.
imgui::Dock::new().build(|root| {
    root.size([500_f32, 500_f32]).position([0_f32, 0_f32]).split(
        imgui::Direction::Left,
        0.7_f32,
        |left| {
            left.dock_window(im_str!("Viewport"));
            left.dock_window(im_str!("NodeGraph"));
        },
        |right| {
            right.dock_window(im_str!("Properties"));
            right.dock_window(im_str!("Outliner"));
        },
    )
});

It's basically just copying the builder mechanism imgui-rs already has.

@luke-titley Great work! If it's not too much trouble, could you throw that sample code into an example.rs? I'm trying to add docking to my app using your branch and the dock windows aren't responding correctly so I was wondering if I could repro it using a bare bones example.

ok. Make sure you're using the docking branch. That's the default on github, but you might not have switched to it after clone. I'm gonna keep master identical to the master branch on this repo.

So I've uploaded an example.
Should look like this.

imgui::Dock::new().build(|root| {
                root.size([512_f32, 512_f32])
                    .position([0_f32, 0_f32])
                    .split(
                        imgui::Direction::Left,
                        0.7_f32,
                        |left| {
                            left.dock_window(im_str!("Hello"));
                        },
                        |right| {
                               right.split(imgui::Direction::Up, 0.5_f32,
                                |top| {
                                    top.dock_window(im_str!("Docking"));
                                },
                                |bottom| {
                                    bottom.dock_window(im_str!("Awesome"));
                                }
                               );
                        },
                    )
            });
        }

@luke-titley Thanks! It wasn't clear to me that the dock should only be created once, since that wasn't part of your example in the readme. Changing that in my code makes it work perfectly.

Done some experimenting with imgui-wgpu and viewports. Still a long way to make it stable and encapsulate in a safe abstraction, but it works.

Have rebased docking repo on top 0.5.0.
Branch 'release/docking/0.5.0'

@luke-titley Btw, is this draggable edge between ChildWindows only possible in the docking branch?
Or is it also possible with the current imgui-rs master? I have a real need for draggable edges in my UI..

@Boscop
hey. Sorry for the slow reply. I think it's only available on the docking branch. Without the docking, windows float around independently.

@thomcc
Since imgui-rs is under a new direction. Is it possible to re-start this discussion ? At the moment I have a fork of imgui-rs which just has the docking feature in. Is it possible to bring that in to at least this repo ? With either the same api or an equivalent/better one?

@luke-titley that would be great. I think we'd ideally solve https://github.com/imgui-rs/imgui-rs/issues/435 first. There's another branch, a string_view branch, which theoretically could obviate the need for the im_str macro. That'd be a pretty great improvement too. If we could more easily generate these bindings, then we'd be in a better place for implementing more branches more easily.

agreed, it's a pain to update. That's why my fork is still on 0.5. I takes me half an hour to remember/update to the latest.

In case anyone wants to check I've got a branch on 1.81 with docking support enabled. I am currently using the unsafe API if I ever need to do anything related to docking but it works. Don't use them directly as I'll probably change them for my needs by feel free take a look.
This is what I'm currently using on my cargo.toml
imgui = { git = "https://github.com/NoxWings/imgui-rs.git", tag = "1.81dock" }
imgui-sdl2 = { git = "https://github.com/NoxWings/rust-imgui-sdl2.git" }
imgui-opengl-renderer = { git = "https://github.com/NoxWings/rust-imgui-opengl-renderer.git" }

This is pretty much the only thing you need to enable it
let mut context = Context::create();
context.io_mut().config_flags |= ConfigFlags::DOCKING_ENABLE;

Would be nice if this could be integrated into the official library

@thomcc Sorry to bother but can I ask what the plans are for docking support in this crate?
I know it's experimental in the upstream library but I think the value it provides is so incredibly high that an implementation is well worth it in my opinion. C++ devs have been enjoying this feature since 2018.
Maybe even provide unsafe bindings, for the time being, so we can dip our toes without resorting to third party forks.

I'm no longer the lead maintainer (@sanbox-irl has taken over), but there's some discussion over https://github.com/imgui-rs/imgui-rs/issues/531.
It's hard to provide both, and doesn't scale well unfortunately... but it's still a goal.

Oh sorry I should've known that. Reading the issue you mentioned I now understand a little bit more the technical challenges that make supporting docking hard. Thank you!

Done in https://github.com/imgui-rs/imgui-rs/pull/557 which will be part of imgui-rs 0.9


[BUG]Categories, logo and bottom bar navigation are not displayed on  iOS, v9 and less

Describe the bug
Categories, logo and bottom bar navigation are not displayed on  iOS, v9
How to reproduce
Steps to reproduce the behavior:

Go to Home page on iOS v9 or less
See the error

Expected behavior
Categories, logo and bottom bar navigation are correctly displayed on  iOS, v9 - v7
Actual behavior
Categories, logo and bottom bar navigation are not displayed on  iOS, v9 and less
Screenshots

Devices (please complete the following information):
iOS v9 and less

@akrajna can you recheck? Potentially fixed with #595

is included in this issue #780


Problem when accesing webui from a device in a local network

I am serving the webui from a pc with windows 10 and i see this when i connect trough my phone.
Tried using civetweb and nginx to serve the webui, the result is the same.

I also tried the live server but it renders the same, like so:

This is an issue with webui. It doesnt currently work on Windows Edge browser on Windows mobile and Windows 10. @jdarias can you try using a different browser? It should then work

This phone has windows phone 8.1 which still has... internet explorer (yay!)
I did a test in my desktop to see which MS browser works, and the problem also happens with IE desktop:

Edge desktop seems to work.. don´t know about edge mobile.
I dont have more devices to test, sorry...

This is an issue with webui. It doesnt currently work on Windows Edge browser on Windows mobile and Windows 10. @jdarias can you try using a different browser? It should then work

It also doesn't wotk with Midori browser on Linux. Could you fix it?

I'm not involved in browser support for this project. But i'm talking as a developper.
 The reason why they don't  work is because these browser does not support most of the nowadays javascript / css features.
Developper community has some times (while) ago started to devellop "polyfills" which adds common features to dumb browsers ^^
When you find yourself in such situations, it might be times to switch to a full feature browser. 😉


cant recognize .vue file, just treat like js

But vetur works normally (before I removed it).
I didnt find same problem on internet

Duplicate of #264, #370


suggest to make a single package for all the packages of @iconify-icons

hi team, i'm using @iconify-icons in my application but when the currect icon exist on other package that is annoying to install package again & again for each icon which exist in different npm package.
so i just want to suggest make a common package for all the @iconify-icons's icons. i'm sure after this there will be good increasing in @iconify-icons users.

That would be a mess because there are over 100k icons.
There are few other solutions:

Generate icon you need yourself.
Use https://github.com/antfu/unplugin-icons which installs icon packages as needed and generates those files.

To generate files yourself, you need to install all icon sets: @iconify/json package, then use one of these options:

Install @iconify/utils package and use it to get data for icons you need: https://docs.iconify.design/tools/utils/get-icon-data.html
Generate bundles: https://docs.iconify.design/sources/bundles/

Bundles tutorial is a bit outdated, it relies on @iconify/json-tools package, which works, but doesn't have typings, so has been replaced by @iconify/utils package. Updating documentation to new code is in todo list.

Documentation has been rewritten.
Also Iconify Tools have been rewritten, now it has a function to generate NPM packages for icon sets, so packages can be easily created for custom icon sets.


rating quality is zeroed

The quality of ratings is always zero when reaching the control ui

fixed with #294


Mchiro restore recoverable items patch 1

updated wording and formatting for SourceFolder and RestoreTargetFolder for clarity and uniformity.

none of the errors shown by OpenPublishing.Build have to do with my pull request in Restore-RecoverableItems. Can this be overridden and merged still?


implement spicetify program

Description of the new feature / enhancement
Can you implement the spicetify program inside the code?
I saw there're some problems with it.
📸 Screenshots
Spicetify revealed, SpotX was installed, but xpui.js.bak & xpui.css.back files to retrieve was not finded. Please, unistall spotify and reopen install.bat

If you like the idea, add a 👍 reaction to this post

Perform a clean install of Spicetify then install Spotx


Workshop image -  link not valid

If I click on the link for the workshp image a RWTH page opens - but the message is: 'link not valid'

Sorry for this, the link has expired. I have updated it. Please have another try.

works now - thank you

Is the link down again? I wanted to try out the image but the following is displayed:

I hope this can be fixed.
Thanks a lot in advance!

Please upload image to something like Google Drive/Dropbox to avoid such issue further.


deepin.disomaster: 5.0.0 -> 5.0.1

Motivation for this change
Update to version 5.0.1
Things done

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

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

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

Result of nixpkgs-review pr 88901 1

3 packages built:
- deepin.dde-file-manager
- deepin.disomaster
- deepin.startdde


Implement schema registry - protobuf typings

:tada: This issue has been resolved in version 0.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Error trying to create a project based on clerk-utils template: coord with missing sha

Hello!
When I follow the instructions on this page to create a new project based on the clerk-utils/custom template, I get an error.
$ clojure -Sdeps '{:deps {io.github.mentat-collective/clerk-utils {:git/tag "v0.3.0"}}}' \
-Tnew create \
:template clerk-utils/custom \
:name myusername/my-notebook-project
Error building classpath. Library io.github.mentat-collective/clerk-utils has coord with missing sha

I tried referencing the sha of that tag directly and it worked.
$ clojure -Sdeps '{:deps {io.github.mentat-collective/clerk-utils {:git/sha "582c804b90086ab3d0ed31b3b4777df79bf0baa6"}}}' \
-Tnew create \
:template clerk-utils/custom \
:name jaydeesimon/test-project
Creating project from clerk-utils/custom in test-project

For reference:
$ clojure --version
Clojure CLI version <IP_ADDRESS>8

In trying to debug this, I found I can turn on GITLIBS_DEBUG=true. Here's what happens when I do that in case this is helpful.
$ GITLIBS_DEBUG=true clojure -Sdeps '{:deps {io.github.mentat-collective/clerk-utils {:git/tag "v0.3.0"}}}' \
-Tnew create \
:template clerk-utils/custom \
:name jaydeesimon/test-project
git --git-dir /Users/jeffreysimon/.gitlibs/_repos/https/github.com/seancorfield/deps-new fetch --quiet --all --tags --prune
git --git-dir /Users/jeffreysimon/.gitlibs/_repos/https/github.com/seancorfield/deps-new tag --sort=v:refname
git --git-dir /Users/jeffreysimon/.gitlibs/_repos/https/github.com/seancorfield/deps-new rev-parse 48bf01edfa6a959a970d7dcab3d882a93607a7f6^{commit}
git --git-dir /Users/jeffreysimon/.gitlibs/_repos/https/github.com/seancorfield/deps-new rev-parse v0.5.0^{commit}
git --git-dir /Users/jeffreysimon/.gitlibs/_repos/https/github.com/mentat-collective/clerk-utils fetch --quiet --all --tags --prune
git --git-dir /Users/jeffreysimon/.gitlibs/_repos/https/github.com/mentat-collective/clerk-utils tag --sort=v:refname
Error building classpath. Library io.github.mentat-collective/clerk-utils has coord with missing sha

It looks like it is looking for a specific sha by executing these git queries and ultimately can't find it. The reason I think that is true is if I do a GITLIBS_DEBUG=true and reference the sha of the tag, it doesn't print any git commands. My interpretation is it didn't go down some path where it tried to search for it.
For example:
$ GITLIBS_DEBUG=true clojure -Sdeps '{:deps {io.github.mentat-collective/clerk-utils {:git/sha "582c804b90086ab3d0ed31b3b4777df79bf0baa6"}}}' \
-Tnew create \
:template clerk-utils/custom \
:name jaydeesimon/test-project2
Creating project from clerk-utils/custom in test-project2

Let me know if there's any info that would be useful here.
-Jeff

Thank you for the report! I didn't realize that :git/tag wasn't enough by itself without an accompanying sha... I'll get the template instructions fixed up. Let me know if you run into other problems!

Ah that makes sense. I don't have much day-to-day experience with deps.edn/Clojure Deps and didn't realize that either. Learn something new every day. Thanks @sritchie.

Okay, this should be fixed up!


How to take an event from context menu?

G6 Version: 3.5.3
Platform: MacOS Catalina 10.15.5

Do you have any mechanism to work with context menu as in this example?
How I can add some listeners and take information from node to this context menu?

The parameter of the callback of the G6's event contains the manipulated item. And here goes a single way to bind click listener for the menu and get the information of the clicked node
// a global variable stores the currentclicked node
let clickedNode;
// add a click listener to the li DOM of the context menu
firstLi.addEventListener('click', e => {
  console.log('clicking first li', clickedNode.getID());
});

raph.on('node:contextmenu', evt => {
  // evt.item is the clicked node
  clickedNode = evt.item;
  // ...

@Yanyan-Wang thanks a lot! It's saved me


Can't use GPU in getting embedding layers?

Versions:
OS: Ubuntu 16.04 LTS
OS RAM: 15gb
GPU: Tesla k80 w/ 12gb memory
TF: 1.8.0
Keras: 2.1.5
Facenet: Latest (git cloned 5/11/2018)
CUDA: Cuda compilation tools, release 9.0, V9.0.176
To make sure TF/Keras can access the GPU, i ran
from keras import backend as K; print(K.tensorflow_backend._get_available_gpus())

2018-05-12 05:27:28.496005: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that thi
s TensorFlow binary was not compiled to use: AVX2 FMA
2018-05-12 05:27:28.584137: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:898] successful NUMA node read from S
ysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2018-05-12 05:27:28.584531: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1356] Found device 0 with properties:
name: Tesla K80 major: 3 minor: 7 memoryClockRate(GHz): 0.8235
pciBusID: 0000:00:04.0
totalMemory: 11.17GiB freeMemory: 11.09GiB
2018-05-12 05:27:28.584556: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1435] Adding visible gpu devices: 0
2018-05-12 05:27:28.891873: I tensorflow/core/common_runtime/gpu/gpu_device.cc:923] Device interconnect StreamExecutor w
ith strength 1 edge matrix:
2018-05-12 05:27:28.891948: I tensorflow/core/common_runtime/gpu/gpu_device.cc:929]      0
2018-05-12 05:27:28.891958: I tensorflow/core/common_runtime/gpu/gpu_device.cc:942] 0:   N
2018-05-12 05:27:28.892256: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1053] Created TensorFlow device (/job:loc
alhost/replica:0/task:0/device:GPU:0 with 10749 MB memory) -> physical GPU (device: 0, name: Tesla K80, pci bus id: 0000
:00:04.0, compute capability: 3.7)
/home/T/anaconda3/lib/python3.6/site-packages/h5py/init.py:34: FutureWarning: Conversion of the second argument of i
ssubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).t\ ype.
from ._conv import register_converters as _register_converters
Using TensorFlow backend.
['/job:localhost/replica:0/task:0/device:GPU:0']

import tensorflow as tf;sess = tf.Session(config=tf.ConfigProto(log_device_placement=True))

2018-05-12 05:26:45.383271: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that thi
s TensorFlow binary was not compiled to use: AVX2 FMA
2018-05-12 05:26:45.471990: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:898] successful NUMA node read from S
ysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2018-05-12 05:26:45.472361: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1356] Found device 0 with properties:
name: Tesla K80 major: 3 minor: 7 memoryClockRate(GHz): 0.8235
pciBusID: 0000:00:04.0
totalMemory: 11.17GiB freeMemory: 11.09GiB
2018-05-12 05:26:45.472382: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1435] Adding visible gpu devices: 0
2018-05-12 05:26:45.757933: I tensorflow/core/common_runtime/gpu/gpu_device.cc:923] Device interconnect StreamExecutor w
ith strength 1 edge matrix:
2018-05-12 05:26:45.757980: I tensorflow/core/common_runtime/gpu/gpu_device.cc:929]      0
2018-05-12 05:26:45.757996: I tensorflow/core/common_runtime/gpu/gpu_device.cc:942] 0:   N
2018-05-12 05:26:45.758367: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1053] Created TensorFlow device (/job:loc
alhost/replica:0/task:0/device:GPU:0 with 10749 MB memory) -> physical GPU (device: 0, name: Tesla K80, pci bus id: 0000
:00:04.0, compute capability: 3.7)
2018-05-12 05:26:45.949442: I tensorflow/core/common_runtime/direct_session.cc:284] Device mapping:
/job:localhost/replica:0/task:0/device:GPU:0 -> device: 0, name: Tesla K80, pci bus id: 0000:00:04.0, compute capability
: 3.7
/home/T/anaconda3/lib/python3.6/site-packages/h5py/init.py:34: FutureWarning: Conversion of the second argument of i
ssubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).t\ ype.
from ._conv import register_converters as _register_converters
Device mapping:
/job:localhost/replica:0/task:0/device:GPU:0 -> device: 0, name: Tesla K80, pci bus id: 0000:00:04.0, compute capability
: 3.7

Problem:
When i run this:
CUDA_VISIBLE_DEVICES=0 python compare.py  (... rest of parameters ...)
Watching the output of nvidia-smi, i see that load_and_align_data() seems to getting the GPU memory spiked.. but during the sess.run(), GPU memory is at zero.. which makes me wonder

why is the GPU being used ONLY for load_and_align_data?
if not, how do I get the GPU to be used for generating the embedding layers as well?

Ok I solved my own case. Turns out to be CUDA/CUDNN version issue
As of this post's date... for anyone who's having similar issues, make sure your CUDA toolkit version is 9.0.x.. and your CUDNN is 7.0.X...   (note that latest CUDA toolki is 9.1'ish.. and CUDNN is 7.1'ish)
But one question I had @davidsandberg  - load_and_align_data() is quite slow . 80 images took 10 seconds. Particularly, align.detect_face.detect_face() took 7.5 second.
Is there any way to run that in parallel?

I found bulk_detect_face, can't quite make out what the return values are

@taewookim I am sure my CUDA toolkit version is 9.0.176 and CUDNN is 7.0.5, but when I ran the recommand :
python3 align/align_dataset_mtcnn.py align/lfw/ align/lfw_mtcnnalign_160 --image_size 160 --gpu_memory_fraction 0.6
My computer fan is very loud and the display does not have graphics output signal which is black screen. I am sure my environment is no problem for other cv project. Do you know the reason?


Extend Platform specification

Fixes #105

Some of it is now available. Explained here: https://github.com/obsidianmd/obsidian-api/issues/105#issuecomment-1517156657


Chore: Fix software tests

About
Nightly test runs started failing 3 weeks ago, more specifically on Wed, 22 May 2024 2 o'clock AM GMT.

https://github.com/crate/crate-python/actions/workflows/nightly.yml

Problem
Test runs on Python 3.12 are tripped by this error, coming from zc.buildout.
 Traceback (most recent call last):
  File "/path/to/.venv/bin/buildout", line 5, in <module>
    from zc.buildout.buildout import main
  File "/path/to/.venv/lib/python3.12/site-packages/zc/buildout/buildout.py", line 18, in <module>
    import zc.buildout.easy_install
  File "/path/to/.venv/lib/python3.12/site-packages/zc/buildout/easy_install.py", line 28, in <module>
    from pkg_resources import packaging
ImportError: cannot import name 'packaging' from 'pkg_resources'

https://github.com/crate/crate-python/actions/runs/9184331584/job/25256465879#step:4:229

Thoughts
How could it have worked before?

Thx for taking care @amotl !


not even close

i have no idea what im doing, still working on making this make sense to me

Hi @barnjamin, thanks for working on this! this is a draft, but maybe already interesting: you can run cargo fmt on root or if you're using VSCode have it run on save (https://stackoverflow.com/a/72282191/930450). This is Rust's opinionated code formatter, everyone uses it and it makes code formatting a non topic usually.

https://github.com/manuelmauro/algonaut/pull/184


Deployment status indicator

During deployment, we should periodically poll CloudFormation to determine the status of the stack deployment and fail gracefully in the event of a stack deployment failure.
We should probably also add another deployment option: automatically clean up on deployment failure or leave the failed stack as-is for triage/debug purposes.

Closing down project: #52


re-organised gemfile

re-organised gemfile

Bliss.AI: summary

Verdict
Criteria

-
No test coverage report

:-1:
0% test added, below acceptable levels

:+1:
No high churn files touched

:+1:
No complexity added

:+1:
No duplication added

:+1:
Style guide followed


Compilation failure with hmatrix 0.17

Unpacking to hmatrix-repa-<IP_ADDRESS>/
Resolving dependencies...
Configuring hmatrix-repa-<IP_ADDRESS>...
Building hmatrix-repa-<IP_ADDRESS>...
Preprocessing library hmatrix-repa-<IP_ADDRESS>...

lib/Data/Packed/Repa.hs:24:18:
    Could not find module ‘Data.Packed.Vector’
    Use -v to see a list of the files searched for.

lib/Data/Packed/Repa.hs:25:18:
    Could not find module ‘Data.Packed.Matrix’
    Use -v to see a list of the files searched for.

Awaiting versioning bump from repa
$ cabal configure
Resolving dependencies...
Configuring hmatrix-repa-<IP_ADDRESS>...
Warning: This package indirectly depends on multiple versions of the same
package. This is highly likely to cause a compile failure.
package repa-<IP_ADDRESS> requires vector-<IP_ADDRESS>
package hmatrix-repa-<IP_ADDRESS> requires vector-<IP_ADDRESS>
package hmatrix-<IP_ADDRESS> requires vector-<IP_ADDRESS>

https://github.com/amcphail/hmatrix-repa/commit/04e09cae054b82763622988d9683b40316fc2d43

Bumping

I needed this patch to comile with hmatrix-<IP_ADDRESS>.


Flow not catching type errors for some unions as function arguments

Hi,
Looks like Flow 0.20.1 is having trouble type-checking unions that are parameters to polymorphic functions.
Here's an example with a function with 3 arguments: some data, a function to transform that data into props, and a react component that can use those props.  The function then calls the react component, returning a react element.  I inserted a mistake in the call site of this test function where the transform function actually returns the same type as the input data, rather than returning the appropriate props.  This leads to wrong behavior at runtime as flagged by React's proptypes validation, and Flow should detect the type error as well.
test-lib.js
/* @flow */
import React from "react"

export type FunctionalComponent<Props> = (props: Props) => ReactElement
export type Component<Props, State> = ReactClass<any, Props, State> | FunctionalComponent<Props>
export type StatelessComponent<Props> = Component<Props, void>

type Transform<Data, Props> = (data: Data) => Props

export function test<Data, Props>(data: Data, transform: Transform<Data, Props>, component: StatelessComponent<Props>): ReactElement {
  const Comp = component
  const props = transform(data)
  return <Comp {...props} />
}

and a test component:
test-component.js
/* @flow */
import React from "react"

export type TestProps = { pageTitleID: string }

const TestComponent = (props: TestProps): ReactElement => {
  const { pageTitleID } = props
  return <span pageTitleID={pageTitleID} />
}
TestComponent.propTypes = {
  pageTitleID: React.PropTypes.string.isRequired
}

export default TestComponent

test.js
/* @flow */
import { test } from './test-lib'
import component from './test-component'

export type TestData = { prop: string }
const data: TestData = { prop: 'test data' }

function transform(data: TestData): TestData {
  return {
    prop: data.prop
  }
}

const result = test(data, transform, component)
console.log('result', result)

Running under babel-node shows the broken behavior at runtime, with React warning about the wrong props shape:
$ npm install<EMAIL_ADDRESS>react react-dom
$ node_modules/babel/bin/babel-node.js babel-test.js
Warning: Failed propType: Required prop `pageTitleID` was not specified in `TestComponent`.
result { '$$typeof': Symbol(react.element),
  type: { [Function: TestComponent] propTypes: { pageTitleID: [Function: bound checkType] } },
  key: null,
  ref: null,
  props: { prop: 'test data' },
  _owner: null,
  _store: {} }

Flow should catch this as well, but reports no errors.
Flow does report the error if I change StatelessComponent in test-lib.js to be:
export type StatelessComponent<Props> = FunctionalComponent<Props>

$ flow
test.js:15
 15: const result = test(data, transform, component)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function call
  6: const TestComponent = (props: TestProps): ReactElement => {
                                   ^^^^^^^^^ property `pageTitleID`. Property not found in. See: test-component.js:6
  9: function transform(data: TestData): TestData {
                                         ^^^^^^^^ object type

Found 1 error

It still reports no errors if I change that type to be
export type StatelessComponent<Props> = ReactClass<void, Props, void>

Yup, I ran into this problem too, and it is affecting large portions of our codebase. Just a +1 for impact of this bug.

> Checks closing comment. AbstractComponent? That's been around for a bit.
> Scrolls up: Flow 0.20.1? Oh boy.
> Checks date. Yup, Dec 30, 2015.

Thanks @TrySound for looking through the old open issues 😄

This is for I have an access :) Hope this will let team to focus on more relevant issues.


added stopwords for polish language

I would like to use your module in my project and would like to have better handling of polish language. List of words based on http://www.ranks.nl/stopwords/polish, https://github.com/bieli/stopwords and https://pl.wikipedia.org/wiki/Wikipedia:Stopwords

Fantastic, thank you so much for this. Can you also add a link to add "pl" in the list of available languages like done here?: https://github.com/codelucas/newspaper/commit/3cd0e2c486ebd6f17d9489738d83bf1c81106282
Please copy the format of above ^, that way the library is more helpful to users, so they know pl is a valid language!

I will accept after this is done


Add Playwright Test Runner usage to README

View test runner docs: https://playwright.dev/docs/test-intro
It took me a little while to figure this out so I thought it would be helpful information for others...

Thanks for this PR.