indexes missing property - fieldOverrides for collectionGroup

Hello, first thanks for your great tool :)
I have generated indexes with this command:
firebase firestore:indexes>./firestore.indexes.json

so the syntax should be okay, but it returns 3 problems in the fieldOverrides array, first item, missing property "queryScope" and "fields" ;  and "order" close to arrayConfig:
{
  "indexes": [
    {
      "collectionGroup": "events",
      "queryScope": "COLLECTION",
      "fields": [
        {
          "fieldPath": "extendedProps.accepted",
          "order": "ASCENDING"
        },
        {
          "fieldPath": "start",
          "order": "ASCENDING"
        }
      ]
    },
    {
      "collectionGroup": "events",
      "queryScope": "COLLECTION",
      "fields": [
        {
          "fieldPath": "extendedProps.answered",
          "order": "ASCENDING"
        },
        {
          "fieldPath": "start",
          "order": "ASCENDING"
        }
      ]
    }
  ],
  "fieldOverrides": [
    {
      "collectionGroup": "events",
      "fieldPath": "extendedProps.answerTime",
      "indexes": [
        {
          "order": "ASCENDING",
          "queryScope": "COLLECTION"
        },
        {
          "order": "DESCENDING",
          "queryScope": "COLLECTION"
        },
        {
          "arrayConfig": "CONTAINS",
          "queryScope": "COLLECTION"
        },
        {
          "order": "ASCENDING",
          "queryScope": "COLLECTION_GROUP"
        }
      ]
    }
  ]
}

I also receive the same 3 problems. I don't think that the extension recognizes firebase.index.json files as index files. Changing the extension to .rule or .rules doesn't help either. I haven't figured out how to get this extension to apply syntax highlighting to index files.


PathLib: is_file(): PermissionError: [Errno 13] Permission denied: '/run/user/1000/gvfs'

Another exception to catch.  The underlying Linux stat(2) system call fails (error no 13)  while trying to get the type of file system thing this is.   The process was running as effective user root.  Thought root could do anything!  Host system was latest version of Linux Mint running in VirtualBox VM.
PermissionError.txt

These errors are now being caught.  With verbose on, an error message will print out o stderr.


"Multiple repositories are found" problem

I'm getting this when making a release for the first time (attempting to publish 2 sbt subprojects across 2 scala versions). Is this an issue with sbt-ci-release, or should I bug someone else? Possibly related to #11.
Note: I made sure to remove all staging repositories before trying to publish.
Here's the error I'm getting:
[error] Multiple repositories are found:
[error] [com[secure]-1046] status:open, profile:com.[secure](3cd6b19d807dd3) description: Implicitly created (auto staging).
[error] [com[secure]-1047] status:open, profile:com.[secure](3cd6b19d807dd3) description: Implicitly created (auto staging).
[error] [com[secure]-1048] status:open, profile:com.[secure](3cd6b19d807dd3) description: Implicitly created (auto staging).
[error] Specify one of the repository ids in the command line
[error] java.lang.IllegalStateException: Found multiple staging repositories

Edit: I looked at the contents of these staging repositories, and the first two contain one subproject each (2.11), whereas the third one contains both 2.12-compiled subprojects.

This error is expected when you have multiple open sonatype repositories. ci-release runs sonatypeRelease by default instead of sonatypeReleaseAll to avoid accidental publishing. You can ignore the error and manually run sonatypeReleaseAll if that was intended.

Could it be made so that ci-release releases only the repositories that it opened? With the current behavior, I assume it's impossible to have a fully automated multi-project publish :(
btw. thanks for the prompt response!

I use ci-release in multi-project cross-built cross-platform builds and it only creates one staging repository. I would try to understand why it creates multiple repos in your case (parallel jobs?).
One option is to allow users to run sonatypeReleaseAll through a setting, relevant line https://github.com/olafurpg/sbt-ci-release/blob/11e326b1c33f6f45002807f46524bda960e39b3d/plugin/src/main/scala/com/geirsson/CiReleasePlugin.scala#L67
Beyond that, I believe we're blocked by sbt-sonatype.

I think sonatypeRelease is a safe default because at worst it fails the publish, whereas sonatypeReleaseAll can at worst publish unintended artifacts.

Yeah, I'm pretty sure I don't want to use sonatypeReleaseAll and risk unintended publishing. I don't have any parallel jobs, so I guess there's something sketchy with my build :P


Rebuild to support p11-kit

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Looks like the p11 support must be coming from gnutls so we should rebuild it first...

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

FYI @wolfv Is this a bug in mamba-build? I expect to see solver error, but I get an assertion error that looks like a bad handling of the output message?
    result = api.build(
  File "/opt/conda/lib/python3.9/site-packages/conda_build/api.py", line 186, in build
    return build_tree(
  File "/opt/conda/lib/python3.9/site-packages/conda_build/build.py", line 3088, in build_tree
    packages_from_this = build(metadata, stats,
  File "/opt/conda/lib/python3.9/site-packages/conda_build/build.py", line 2051, in build
    output_metas = expand_outputs([(m, need_source_download, need_reparse_in_env)])
  File "/opt/conda/lib/python3.9/site-packages/conda_build/render.py", line 788, in expand_outputs
    for (output_dict, m) in deepcopy(_m).get_output_metadata_set(permit_unsatisfiable_variants=False):
  File "/opt/conda/lib/python3.9/site-packages/conda_build/metadata.py", line 2121, in get_output_metadata_set
    conda_packages = finalize_outputs_pass(ref_metadata, conda_packages, pass_no=0,
  File "/opt/conda/lib/python3.9/site-packages/conda_build/metadata.py", line 782, in finalize_outputs_pass
    fm = finalize_metadata(om, parent_metadata=parent_metadata,
  File "/opt/conda/lib/python3.9/site-packages/conda_build/render.py", line 546, in finalize_metadata
    build_unsat, host_unsat = add_upstream_pins(m,
  File "/opt/conda/lib/python3.9/site-packages/conda_build/render.py", line 408, in add_upstream_pins
    host_deps, host_unsat, extra_run_specs_from_host = _read_upstream_pin_files(m, 'host',
  File "/opt/conda/lib/python3.9/site-packages/conda_build/render.py", line 373, in _read_upstream_pin_files
    deps, actions, unsat = get_env_dependencies(m, env, m.config.variant,
  File "/opt/conda/lib/python3.9/site-packages/conda_build/render.py", line 138, in get_env_dependencies
    actions = environ.get_install_actions(tmpdir, tuple(dependencies), env,
  File "/opt/conda/lib/python3.9/site-packages/boa/cli/mambabuild.py", line 126, in mamba_get_install_actions
    conflict_packages = parse_problems(str(e))
  File "/opt/conda/lib/python3.9/site-packages/boa/cli/mambabuild.py", line 41, in parse_problems
    assert words[1] == "package", f"words = {repr(words)}"
AssertionError: words = ['-', '-', 'package', 'stoken-0.92-h0492b58_0', 'requires', 'nettle', '>=3.4.1,<3.5.0a0,', 'but', 'none', 'of', 'the', 'providers', 'can', 'be', 'installed']

@conda-forge-admin, please restart ci


ID wheat and more

Hello
first of all, please excuse me for my english, i'm french.
I have a concern about IDs for farmers, especially for the age of plantations, impossible to differentiate age 1 to age 7
Next, for hunter, during the / jobs info hunter -> the new monsters appears in 'Player' in the listing
I would like to know if there is a solution for plantations, thank you in advance
Corentin

I have the same problem but in addition I have it on the enchantment that apparraisent all under the name PROTECTION.
The problem for the enchants and the mob seems to me to be just visual because if I made an enchant kind feather falling I win well the XP that I had set for this One.
I use the latest version of Spigot 1.13.1 vault 1.7.1 and Job reborn 4.8.0 only
Sorry for my english I am also French

I've fixed the year of growing plants: commit (we are waiting for the latest version)
Only player showing in /jobs info command - same issue
We are still trying to fix enchants, but we have not found a solution yet. (same)

Km

t server with the latest version of Spigot and Vault 1.7.1.
I understand that for the enchantments and the view of the mobs in the/jobs Info command It was necessary to wait until you find a solution so no problem.
I noticed also that you had fix the age of plant shoot but the problem I have at the time is that for example for wheat leaving the config a CROP-7 The system tells me that this is not a valid block. I was wondering if you could document the new syntax to have in the Jobconfig. yml file for it to work.
With all my thanks for the work done.

I tested with WHEAT instead of CROP but I continue to earn money can import to what state of Sprout is the plant.
And it's the same thing for carrots and potatoes in fact all the plants
Is there not another feature to put behind the name of the Pante in the same style as before with the-7 behind the CROP
Merci pour votre réponse cordialement,

CROPS has been removed and is no longer supported now. Later, it will be supported that plants need not be entered individually.

Sorry I got it wrong explained if I put WHEAT in place of CROP, it works the console does not put any more error.
But I earn money every time I break the plant, no matter its blooming state
Or maybe I misunderstood what you told me earlier and it's normal in the current version and that will be resolved later.
Cordially,

You must upgrade DEV. version since this has been resolved. commit, releases

UH,,, I'm sorry for this... :(:(:(

no proThere is no problem an oversight its little happened XD

:o thats a scary one.

@Nogapra
I've fixed and you can test it: https://github.com/Zrips/Jobs/releases

I am so sorry but unfortunately the fix still does not work.
I always earn money as in the video.
In the old version it was necessary to define a value (-7) so that one earns single money on the last state of the growing age of the plant,
In the config I just put WHEAT: and I earn money all the time there is not one more parameter to put in the same kind as before.

I left the default config file and I just replaced CROP-7 by WHEAT if it's his you question.

But I did test and worked for me properly. I'm trying to do something else.

Hi, i was testing it with WHEAT and with WHEAT-7, but its not working correctly. you will get money even when the growth status is 0

I do not know if you have to watch my video but I show in detail what I did and what I replace as materials in the action breaks
I just replaced jobs. Jar with the last one you did

i just saw the youtube video of nogapra. and i did the same. and it is also not working with potatos and carrots etc. all the growing plants won't work proper.

These are the seeds that I could find in the code that should be added to the jobConfig.yml and Jobs code.  Of course, use the recommended values for each.  All four are not recognized by Jobs currently for "Place".
WHEAT_SEEDS:
income: 1
points: 1
experience: 1.0
MELON_SEEDS:
income: 1
points: 1
experience: 1
BEETROOT_SEEDS:
income: 1
points: 1
experience: 1
PUMPKIN_SEEDS:
income: 1
points: 1
experience: 1
Placing and Breaking POTATO and CARROTS after adding to jobConfig for Farmer PAY properly.  Just missing from the job.

What ??
Nothing to do with my problem.
For carrots and potatoes its not working better. I always earn money no matter if the plant does not grow completely.
If you put WHEAT in the action PLACE then the WHEAT_SEED is reporting money so no worries.
For the other I have not tested because the placement of seed does not interest me in my config of Jobs.
I would just recover the feature to earn money when the plant has grown to its maximum only.
Xd

@Nogapra - that was directed to @montlikadani for what to update, not directed towards you.  However, if you are using WHEAT_SEED you will notice in the console/logs that it is an invalid block as is what I listed above as the fully registered names. So I'd be surprised if you are getting paid for a block that doesn't exist. :-)

I understood correctly but in this issue we do not talk about seeds that's why I answered that this is not the subject.

my bad, posted to wrong Issue.

All is well, there are only those who do nothing that do not make mistakes. xD
;-)

Hi,
I'm like Nogapra for english.. :D
i try something... When i debug :
I break some carrots, CMIMaterial.CARROT return CARROT but block.getType().toString() return CARROTS
I try with this code and it work good :
`if (block.getType().equals(CMIMaterial.BEETROOT_SEEDS) || block.getType().equals(CMIMaterial.MELON_SEEDS) ||
block.getType().equals(CMIMaterial.WHEAT_SEEDS) || block.getType().equals(CMIMaterial.PUMPKIN_SEEDS) ||
block.getType().toString().equals("CARROTS") || block.getType().equals(CMIMaterial.COCOA_BEANS) ||
block.getType().equals(CMIMaterial.POTATO) || block.getType().equals(CMIMaterial.NETHER_WART)) {
Crops crop = (Crops) block.getState().getData();
	if (!crop.getState().equals(CropState.RIPE)) {
		return;
	}
}`

something wrong with CMIMaterial ? ( i only try with carrots.. )

@montlikadani it's done
Only for carrots

ac31db0927384f66c1862582c5e91081f86bedbf


error in built-in :dispatch-n effect handler?

I think there is an issue with this built-in effect handler: https://github.com/Day8/re-frame/blob/master/src/re_frame/fx.cljc#L84-L89
The console message implies that nothing will happen, but whatever the result of sequential?, the doseq will run (and probably throw an error not ISequable).
I'd make the PR myself but I have a lot of other modifications on my fork ^^

Okay, the effect handler just below also looks funny https://github.com/Day8/re-frame/blob/1710e86cedfe13ea14115577553df292e6fb0db9/src/re_frame/fx.cljc#L102-L108
The first if should not be there right?


WARNING: Could not parse n transform function.

Describe the bug
I have no idea what happened. I didn't change anything and it broke
WARNING: Could not parse n transform function.
Please report this issue with the "1720463648608-base.js" file on https://github.com/distubejs/ytdl-core/issues.
Stream URL may be slow but still works.
File
1720463648608-base.zip
Environment

@distube/ytdl-core version: 4.13.4
Node.js version: 21.7.3
Operating system: Linux 5.15.104-1-pve

i have the same error on windows 11 right now. Sometimes it works, sometimes not.

i got the same issue aswell. it was fine until this morning. i didnt change anything either but bot disconnects immediately after joining vc and gives this error.

Same here, tried npm update or reinstalling ytdl-core, still nothing

anyone what should i do to make it work??

switch to soundcloud for now, youtube is being strict even after having cookies this time

youtube cooked

Same error anyone figureout?

Will it be resolved?

here's the patch: https://github.com/soya-daizu/ytdl-core/tree/sig-patch

@soya-daizu can u tell us how to do it?

@soya-daizu should i just copy your package.json and copy it to my code?

@mamdouhaass Yes you can just replace it and it should work. However, I'm not going to update this further, so you should put it back as it used to be when it's fixed in this repo.

U will not fix it for good? @soya-daizu

here's the patch until it's fixed in the upstream https://github.com/soya-daizu/ytdl-core/tree/sig-patch
package.json: "@distube/ytdl-core": "github:soya-daizu/ytdl-core#sig-patch"

@soya-daizu Thank you so much. appreciate you ❤

@mamdouhaass It should work until youtube breaks it again. It's just that this branch will not be maintained in parallel to the original one.

Here's the patch until it's fixed in the upstream https://github.com/soya-daizu/ytdl-core/tree/sig-patch
package.json: "@distube/ytdl-core": "github:soya-daizu/ytdl-core#sig-patch"
note: This is essentially just copying Lavalink's patch lavalink-devs/youtube-source@7103b1a

It worked!

@vitor-kb bro can u tell me what u did?

what should i copy from the patch?

Here's the patch until it's fixed in the upstream https://github.com/soya-daizu/ytdl-core/tree/sig-patch
package.json: "@distube/ytdl-core": "github:soya-daizu/ytdl-core#sig-patch"
note: This is essentially just copying Lavalink's patch lavalink-devs/youtube-source@7103b1a

Thank you, saved the day.

@smclean117 can u tell me what to do?

Help
WARNING: Could not parse n transform function.
Please report this issue with the "1720559747647-base.js" file on https://github.com/distubejs/ytdl-core/issues.
Stream URL may be slow but still works.

@smclean117 I need help please

@smclean117 can u tell me what to do?

I'm a relative rookie when it comes to this but I replaced ytdl-core line in package.json with the line "@distube/ytdl-core": "github:soya-daizu/ytdl-core#sig-patch" deleted ytdl-core from node_modules folder then ran npm install again

i have more than one line in package.json called ytdl @smclean117

"dependencies": {
    "@discord-player/extractor": "^4.4.1",
    "@discordjs/opus": "^0.9.0",
    "conf": "^12.0.0",
    "discord-player": "^6.6.2",
    "discord.js": "^14.12.1",
    "dotenv": "^16.3.1",
    "ffmpeg": "0.0.4",
    "fluent-ffmpeg": "^2.1.2",
    "opusscript": "0.0.8",
    "prism-media": "^1.3.5",
    "@distube/ytdl-core": "github:soya-daizu/ytdl-core#sig-patch"
  },

this is my dependencies section if that helps

@smclean117
I did what you said to do and when I do npm install I get this error
PS C:\Users\conta\OneDrive\Desktop> npm install
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -4058
npm ERR! enoent An unknown git error occurred
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR!      C:\Users\conta\AppData\Local\npm-cache_logs\2024-07-09T21_29_36_194Z-debug-0.log

@smclean117 I did what you said to do and when I do npm install I get this error
PS C:\Users\conta\OneDrive\Desktop> npm install npm ERR! code ENOENT npm ERR! syscall spawn git npm ERR! path git npm ERR! errno -4058 npm ERR! enoent An unknown git error occurred npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent
npm ERR!  C:\Users\conta\AppData\Local\npm-cache_logs\2024-07-09T21_29_36_194Z-debug-0.log

I'm not sure i can help here sorry, maybe you formatted the line incorrectly due to it not being able to find the file? or git isnt installed on your machine correctly.
be aware we will all use this package in different ways and in different implementations so what i did may not be relevant to you, for example mine is a discord bot installed on Raspberry Pi OS.

@Seukoooowwdd
What you should have done is to replace only one line which defines the dependency to this package (@distube/ytdl-core)
Revert your changes and find the line that starts with "@distube/ytdl-core": . That should look like "@distube/ytdl-core": "^4.13.4" or something.
Now replace that line with "@distube/ytdl-core": "github:soya-daizu/ytdl-core#sig-patch" and run npm install again.

@mamdouhaass ^This is essentially what you also need to do

@soya-daizuShould I do that? Because that's what I did and when I do npm install I get an error I think there is something I didn't do that needed to be done

@soya-daizu thats what i did when i run npm i i get this error
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -4058
npm ERR! enoent An unknown git error occurred
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in: C:\Users\Administrator\AppData\Local\npm-cache_logs\2024-07-09T21_42_29_535Z-debug-0.log

should i change the package.lock json? too?

@mamdouhaass I think you don't have git installed on your system and that's causing the problem.

@soya-daizu How to install git?

how to do that?

i installed git windows same problem

i installed git windows same problem

what does running git --version state?

It's good for me but when I start the music it disconnects straight away

mine doesnt disconnect it create a new js file with numbers

what did u install @Seukoooowwdd

Thank you, it's all good for me, will the problem come back one day or not or is it good? @soya-daizu

@Seukoooowwdd I don't know. This will be the permanent fix for this specific problem, but if youtube decides to break things again then people need to find another workaround. Until then it will just happen to work and that's always how downloading from youtube has been. I guess it will be okay for a couple of months or so.

@vitor-kb bro can u tell me what u did?

Updated package.json and run npm i again

What should I do when I have this?
WARNING: Using old cookie format, please use the new one instead. (https://github.com/distubejs/ytdl-core#cookies-support)

What should I change? The problem is not solved. Please help me ?
{
"name": "ytdl-core",
"description": "YouTube video downloader in pure javascript.",
"keywords": [
"youtube",
"video",
"download"
],
"version": "4.11.5",
"repository": {
"type": "git",
"url": "git://github.com/fent/node-ytdl-core.git"
},
"author": "fent<EMAIL_ADDRESS>(https://github.com/fent)",
"contributors": [
"Tobias Kutscha (https://github.com/TimeForANinja)",
"Andrew Kelley (https://github.com/andrewrk)",
"Mauricio Allende (https://github.com/mallendeo)",
"Rodrigo Altamirano (https://github.com/raltamirano)",
"Jim Buck (https://github.com/JimmyBoh)",
"Paweł Ruciński (https://github.com/Roki100)",
"Alexander Paolini (https://github.com/Million900o)"
],
"main": "./lib/index.js",
"types": "./typings/index.d.ts",
"files": [
"lib",
"typings"
],
"scripts": {
"test": "nyc --reporter=lcov --reporter=text-summary npm run test:unit",
"test:unit": "mocha --ignore test/irl-test.js test/*-test.js --timeout 4000",
"test:irl": "mocha --timeout 16000 test/irl-test.js",
"lint": "eslint ./",
"lint:fix": "eslint --fix ./",
"lint:typings": "tslint typings/index.d.ts",
"lint:typings:fix": "tslint --fix typings/index.d.ts"
},
"dependencies": {
"m3u8stream": "^0.8.6",
"miniget": "^4.2.2",
"sax": "^1.1.3"
},
"devDependencies": {
"@types/node": "^13.1.0",
"assert-diff": "^3.0.1",
"dtslint": "^3.6.14",
"eslint": "^6.8.0",
"mocha": "^7.0.0",
"muk-require": "^1.2.0",
"nock": "^13.0.4",
"nyc": "^15.0.0",
"sinon": "^9.0.0",
"stream-equal": "~1.1.0",
"typescript": "^3.9.7"
},
"engines": {
"node": ">=12"
},
"license": "MIT"
}

@Seukoooowwdd What you should have done is to replace only one line which defines the dependency to this package (@distube/ytdl-core) Revert your changes and find the line that starts with "@distube/ytdl-core": . That should look like "@distube/ytdl-core": "^4.13.4" or something. Now replace that line with "@distube/ytdl-core": "github:soya-daizu/ytdl-core#sig-patch" and run npm install again.
Notice that you're changing the source of @distube/ytdl-core to my branch. Once this problem is also fixed on the original branch, you should put it back to the original or you won't receive future updates to this package.

i did exacly like your method, used it in my file and everything, yet bot when playing song joins and everything is okay, issue only does not play any song, even tried to sudo apt-get ffmpeg and update phyton also, sometimes it makes the problem for that too, but as i can see this time its not ffmpeg its actually tydl-core issue, and yet your method isn't working also bot keeps leaving the voice channel after joinning..

"dependencies": {
"@distube/ytdl-core": "github:soya-daizu/ytdl-core#sig-patch",
},
"@distube/ytdl-core": "github:soya-daizu/ytdl-core#sig-patch",
Just simply replace  "@distube/ytdl-core": "github:soya-daizu/ytdl-core#sig-patch"  at the line started with   "@distube/ytdl-core" in your package.json.
Then run npm i. If it still warning, remove node_module, package.json completely, run npm i agian.
It worked for me

"dependencies": {
 "@distube/ytdl-core": "github:soya-daizu/ytdl-core#sig-patch",

},
Just simply replace "@distube/ytdl-core": "github:soya-daizu/ytdl-core#sig-patch"  at the line started with   "@distube/ytdl-core" in your package.json.
Then run npm i. If it still warning, remove node_module, package-lock.json completely, run npm i again.
It worked for me.

This is really interesting. The patch worked for me locally. When I deployed it it no longer is working and is still returning the 403/could not parse n transform function error. Any thoughts to why this would be happening?

@matthewmichel have you delete .npm(if exist), node_modules & package_lock.json files and try run again npm i script?

I am delete node_modules, pnpm-lock.yaml, execute "pnpm store prune", changed package to "@distube/ytdl-core": "github:soya-daizu/ytdl-core#sig-patch", execute "pnpm install". And i still get WARNING: Could not parse n transform function + Server returned 403 Forbidden (access denied). I tried to change cookies and remove cookies entirely. Nothing changed.

Here's the patch until it's fixed in the upstream https://github.com/soya-daizu/ytdl-core/tree/sig-patch
package.json: "@distube/ytdl-core": "github:soya-daizu/ytdl-core#sig-patch"
note: This is essentially just copying Lavalink's patch lavalink-devs/youtube-source@7103b1a

Thank you it's worked

Aquí está el parche hasta que se solucione en el upstream https://github.com/soya-daizu/ytdl-core/tree/sig-patch
paquete.json: "@distube/ytdl-core": "github:soya-daizu/ytdl-core#sig-patch"
Nota: Esto es básicamente solo copiar el parche de Lavalink lavalink-devs/youtube-source@ 7103b1a

funcionó muchas gracias
it worked thank you very much

Aquí está el parche hasta que se solucione en el upstream https://github.com/soya-daizu/ytdl-core/tree/sig-patch
paquete.json: "@distube/ytdl-core": "github:soya-daizu/ytdl-core#sig-patch"
Nota: Esto es básicamente solo copiar el parche de Lavalink lavalink-devs/youtube-source@ 7103b1a

funcionó muchas gracias
it worked thank you very much

Hi bro, repo not found

Try this.
https://github.com/ybd-project-ver1/ytdl-core


Add undo/redo functionality, update docstrings

Added docstrings to backend functions and added an undo/redo button to the UI.

Makes sense, thanks so much! I'll work on adding that.


Space Shooter Game Added

Added basic functionality of the game such as
Player
Opponents
Collisions
Movements
Sound Effects
Explosion
Kindly add the label for my contribution towards Hacktoberfest. Thanks in advance!

This resolves #11


If you're harnessing this database, we want to talk!

Hi all,
First of all, thanks for being participants in the GitHub Advisory Database! Your contributions make our community safer and stronger.
If you are consuming this database in some programmatic manner or otherwise harnessing the OSV schema we've defined our vulnerabilities in, then we want your feedback!
We're happy to share a $60 gift card for a 25-minute call. You can arrange a time here: https://calendly.com/security-advisories-ux-calls/25min?month=2022-06
If that's too much of a commitment, also feel free to comment below!
Thank you in advance,
Kate Catlin
Senior Product Manager, Advisory Database Team

hey I'm very busy but may be able to set up a call soon

I've build osv-detector which originally used this database directly but has since expanded to use the databases from osv.dev (of which this is included in) - I've booked a meeting to chat :)

Fantastic, look forward to hearing from both of you soon. Thanks @G-Rath and @marquisinpro!


Check pages in the root of /docs/reference, Reference > API Overview and Reference > API Access Control for mentions of Docker

Umbrella issue: https://github.com/kubernetes/website/issues/30771
Description
Check Pages that live in the root of https://kubernetes.io/docs/reference/, Reference > API Overview and Reference > API Access Control and all their subpages for mentions of Docker.
This includes:

The word "docker" in plain text
References to or docker commands in code samples. Most docker commands start with docker so this shouldn't be an issue.

How to check

Pull down the repository
Navigate to the content english  content directory for the pages in question
Do a full-text search in an IDE or via the command line grep) in only this directory
Next, look at the pages on the live website: https://kubernetes.io/docs/concepts/overview/. Some content is pulled in dynamically and will not show up in full text searches.

Reporting your results
When you are done:

Generate a list of links to files in the repo and URLs on the website for pages which need attention.
Post your list as a comment on this issue and ask that the issue be closed.

/triage accepted
/milestone 1.24
/good-first-issue
/help-wanted
Note: Anyone taking this issue must complete it before December 31st.

No mentions found in these sections.


Create rule DDF00019: The study protocol should have an image of the Schedule of Activity (ScheduleTimeline).

Create rule defined for #21

Check that the rule exists in the rule editor with Executability = Not Executable, and all other attributes correct.

I made minor changes to the rule definition to prevent yellow lines.

Discussed with Dave IH and Berber at the extended DDF3 meeting. Consider for future.

@nickdedonder We moved this to the icebox as we can't work it until we've considered more for alignment between usdm and m11.

Copy of definition before removing from rule editor:
#this is specific to the M11 specification about an imageof the schedule of activity.
#Question - Although the M11 template says the protocol must have a schedule of activities, in the USDM, the ScheduleTimeline is connected to the StudyDesign. The StudyProtocolDocument connects to the ScheduleTimeline through three intermediate classes, StudyProtocolDocumentVersion, StudyVersion, and StudyDesign. I the that a StudyDesign must have a studyScheduleTimelines relationships to at least one ScheduleTimeline, even though the cardinality on that relationship in the UML is 0...*.
### What should the approach be?  image for one check and entity in another OR entity only?
#should all aspects of the checks be in relation to the USDM entity and/or attribute?

Authorities:
  - Organization: CDISC
    Standards:
      - Name: DDF
        References:
          - Citations:
              - Cited Guidance: 'USDM'
                Document: 'USDM v2.5'
              - Cited Guidance: 'ICH M11 Template'
                Document: 'https://www.ich.org/page/multidisciplinary-guidelines'
                Item: '1'
                Section: '1.3, page 22, 5.0, page 29, 5.6, p.30, 2022-09-27 Draft Release'
              - Cited Guidance: 'ICH M11 Technical Specification'
                Document: 'https://www.ich.org/page/multidisciplinary-guidelines'
                Item: '2'
                Section: '1.3, page 114, table 225, 5.0, page 154, table 296, 5.6, page 169,
                  table 323, 8.7, page 261, table 508,  2022-09-27 Draft
                  Release'
            Origin: DDF Conformance Rules
            Rule Identifier:
              Id: 'DDF00019'
              Version: '1'
            Validator Rule Message: 'Study Protocol Document must have Schedule of Activity
              Image (ScheduleTimeline may be called Schema)'
            Version: '1.0'
        Version: '2'
        #StudyProtocolDocument must have a schedule of activity image. in USDM the Schedule of Activities is noted as ScheduledTimeline. The name for the check might be the Study. Having difficulty with reading the USMD UML.

Check:
  any:
    - name: ScheduleTimeline
      operator: exists
      value: ScheduleTimeline

Core:
  Id: ''
  Status: Draft
  Version: '1'
Description: The study protocol should have an image of the Schedule of Activity
  (ScheduleTimeline).
Executability: Not Executable
Outcome:
  Message: The study protocol does not have an image for the Schedule of Activity.
  Output Variables:
    - StudyTimeline

Rule Type: Record Data
#should we have call or attribute presence check?

Scope:
  Entities:
    Include:
      - StudyProtocolDocumentVersion
      - ScheduleTimeline
Sensitivity: Record


spring boot application with redisson for spring cache usig aws elasticache redis

Our redis nodes seems to use lots of cpu, how can we find more information about why that much cpu ?
And what sort of redisson configuration we can do to help that ?
Having bigger instances in AWS would not sove it as redis is still limited to one cpu core.
we use redisson for caching with spring boot cache. One cache is caching 'big' data  (heavy structure for pagination), another one has more smaller entries but lots of potential cache check/write.
What sort of metrics we can get from redisson to get a better understanding of the cpu use in redis ?

You can use SLOWLOG Redis command to log the long running commands.


Material ui input The first input is invalid

Describe the bug
I am using material-ui
No problem when I don't use react-hook-form
When I introduce react-hook-form and add register ref on TextInput, the first time the input is invalid (note: input when opening the page for the first time)
In the codeSandbox I reproduced this situation.
CodeSandbox Link
What should I do?
I need your help very much

你好 @flycj , 你是不是写了value instead of defaultValue
因为react-hook-form 是uncontrolled.
看这个是不是解决你的问题

Thank you very much, it has been solved.


Multiple unit test failures with postgresql

FAILED tests/test_errors.py::test_empty_results - firepit.exceptions.UnknownViewname: relation "my_findings" does not exist
FAILED tests/test_storage.py::test_ops[url-value-MATCHES-^.example.com/page/1[0-9]$-http://www26.example.com/page/176-http://www67.example.com/page/264] - AssertionErro...
FAILED tests/test_storage.py::test_grouping - firepit.exceptions.IncompatibleType
FAILED tests/test_storage.py::test_extract - firepit.exceptions.IncompatibleType
FAILED tests/test_storage.py::test_reassign - KeyError: 'x_enrich'
FAILED tests/test_storage.py::test_appdata - TypeError: the JSON object must be str, bytes or bytearray, not NoneType
FAILED tests/test_storage.py::test_sort_same_name - psycopg2.errors.DependentObjectsStillExist: cannot drop view gmirloov because other objects depend on it

Closed by #16


Godot3: high level networking. set_network_slave() missing?

Not sure if this qualify as bug, but it seems like I am unable to find any reference about.
In the previous unofficial builds here: http://fixnum.org/godot/ there were Godot version with high level network functionality which was removed (latest build working is the "January 2, 2017 at 16:07" one).
Those functionalities are now under development in Godot 3, and few things are chanced (and probably it will be).
In the unofficial builds to set a node master or slave you'll had to use
node.set_network_mode(NETWORK_MODE_MASTER) or node.set_network_mode(NETWORK_MODE_SLAVE). Now it seems to me that this function is being replaced by the command set_network_master( int id, bool recursive=true )
But I wasn't able to find a counter-part to set a node as slave (ie: something like set_network_slave); now I was wondering: it is missing or there's new paradigm on how slave nodes are set?

It is considered to be slave if master id is not peer id, so calling this
function is not needed. By default the master is the server (id 1 i think).
On Oct 2, 2017 12:25 PM, "Satyr"<EMAIL_ADDRESS>wrote:

Not sure if this qualify as bug, but it seems like I am unable to find any
reference about.
In the previous unofficial builds here: http://fixnum.org/godot/ there
were Godot version with high level network functionality which was removed
(latest build working is the "January 2, 2017 at 16:07" one).
Those functionalities are now under development in Godot 3, and few things
are chanced (and probably it will be).
In the unofficial builds to set a node master or slave you'll had to use
node.set_network_mode(NETWORK_MODE_MASTER) or
node.set_network_mode(NETWORK_MODE_SLAVE). Now it seems to me that this
function is being replaced by the command set_network_master( int id,
bool recursive=true )
But I wasn't able to find a counter-part to set a node as slave (ie:
something like set_network_slave); now I was wondering: it is missing or
there's new paradigm on how slave nodes are set?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/11784, or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z21j25-OaERYNGxUStCABEXi63TKzks5soQBugaJpZM4Pqz2z
.

Great, I am using networking/simple_multiplayer demo and things are now finally get lot more sense to me; was afraid thing could be already unmanageable so fast.


Script to execute single notebook

We want the ability to generate the executed notebooks.  This can be run as a separate step after Jupinx.
First, lets add in a notebooks directory right under the lecture-source-jl root, and add in a .gitignore with .ipynb_checkpoints to be skipped.  This is where we will add in the Project.toml and Manifest.toml at some point as well.
First, lets have it as taking a given filename and it would just copy the file to the correct location.  e.g.
executenotebook mynotebook.ipynb, which would be done inside of where you run the make jupyter command.  It could then do something like
cp ./_build/jupyter/mynotebook.ipynb    ./notebooks/mynotebook.ipynb
jupyter nbconvert --ExecutePreprocessor.timeout=600 --to notebook --execute ./notebooks/mynotebook.ipynb

Play around with the settings to make sure it knows it can replace the existing one.
We can then get into the habit of calling executenotebook mynotebook.ipynb whenever we modify things.

Closed with 4c03382595a6679e52447c4af91dd53a7f88dbdf.


Why index l, r has the same type with data, should l, r always be int or size_t?

https://github.com/qxf-72/Codeforces-Cpp/blob/2cfad203d61c0e3201957ba0b8173d5f5c5cf6c9/copypasta/Advanced_Data_Structure/SegTree_lazytag.cpp#L14

Of course, you can set all index to the size_t type

Of course, you can set all index to the size_t type
当然，你可以将所有下标设置为size_t类型

What I actually mean is, should we always assume that SegTree's index type is the same with data type? For example, the index k, l, r can only be size_t (or int), but the data type T can be char, short, int, long, or even boolean, they are not necessarily the same.


Implementing Protocol command 'Target.getBrowserContexts'

I met an issue when using puppeteer to connect to an existing VSCode instance.
I use these steps

Open a instance by code . --remote-debugging-port=9222
Get the WSEndPoint in http://localhost:9222/json/version
Connect to this VSCode instance by puppeteer.connect, with the WSEndPoint get from step 2

However, puppeteer throw an error saying command  'Target.getBrowserContexts' is not supported.
I could see it sends command and waiting for a correct response, in Launcher.js
const {browserContextIds} = await connection.send('Target.getBrowserContexts');
So I tried to fix this by https://github.com/GoogleChrome/puppeteer/pull/4720
However, as the other page mentioned https://github.com/GoogleChrome/puppeteer/issues/4283, the command should be implemented by electron apps.
So could you please support the protocol command  'Target.getBrowserContexts'

Please file this issue against electron.


External Authentication Azure and Windows

I am using Windows and Azure AD login in my IdentityServer4 application.
I am also using these logins for native mobile app which requires offline_access,
If the access token & refresh tokens are once compromised, that person will have access to all the token eligible resources even if the actual user changes his password. This would be major security problem for this kind of Application Design.
So when the password changes in the above external login provides, I want to block subsequent requests to resources / refresh token / etc ...
Is there any possibility ?.

Sorry, Accidentally clicked close issue

Not built-in. IdentityServer cannot know if the password has changed.
The profile service has the IsActiveAsync method - if there is a programmatic way for you to find out if the password has changed, you can block the token request.

All set on this issue -- can we close?


Convert Type from Beaker Makefile to the tag section.

Create new option '--type' for tmt test import
Create tests for new option
details: https://github.com/psss/tmt/issues/759#issuecomment-843849407

Thank you for the review @psss!
Comments sound reasonable. I updated the PR.

@dkarpele, and sorry for my previous type_ hint, only during the second review I realized that for the multiple options types would be more natural, plus it does not clash with reserved words.

/packit test


Error when installing and running theme

I get errors below when calling "zola serve" after installing theme
Error: Reason: Failed to render 'index.html': error while rendering macro macros::render_header (error happened in a parent template)
Error: Reason: Function call 'get_url' failed
Error: Reason: Variable config.extra.juice_logo_path not found in context while rendering '_macros.html'

Also starts with this error
'Error: Failed to render section/content/_index.md'

This error went away when I added the following:
[extra]
juice_logo_name = ""
juice_logo_path = ""

juice_logo_path does not work though

This error went away when I added the following:
[extra] juice_logo_name = "" juice_logo_path = ""

Thanks, that worked for me! To get juice_logo_path working, I put my logo in the "static" dir, and zola build moved it to the "public" dir. Since it's at the top level in the public dir, you don't need to put "static" in the path.

That also worked for me.

Same here. You should update the README.


need help not supported

my rdp wrapper says not supported and when i try log in it says access denied can someone point me in the right direction on what to do cheers

my rdp wrapper says not supported

RDPConf screenshot, please!

my rdp wrapper says not supported

RDPConf screenshot, please!

Your solution in https://github.com/stascorp/rdpwrap/issues/1968


don't try to copy the .bbl directory

it isn't there anymore

commit that removed it: https://github.com/cloudfoundry/bosh-bootloader/commit/e7eb1d2de937c2d963fc16b4808fa88a0781693d
story that removed it: #153194965

Also, if you can, please bump the version of bosh-bootloader source that you have in the docker image at /var/repos to include at least https://github.com/cloudfoundry/bosh-bootloader/commit/fb80923c2eb326cda36be0711a93d8f60b20651f
That commit is required in order for bosh ssh to work properly with bosh-lites deployed by bbl 5.

Oh I see, that comes from the release.  i'll ask them to cut a new one.


VIS jqui - log: type "boolean" but received type "number"

lt apollon soll ich hier nochmal ein issue anlegen:
https://github.com/ioBroker/ioBroker.vis-jqui-mfd/issues/26
vgl.:
https://forum.iobroker.net/topic/54188/vis-jqui-log-type-boolean-but-received-type-number?_=1649927342788
jqui erzeugt warn-Meldungen im log.

Issue is that the widget always write 0/1 as value and that there is no way to specify true/false.
Proposed solution could be (like other widgets) to add attributed "min" and "max" and then have same logic ... on means "max" and max could be "true" which is converted to boolean if text is true. Then comparable widgets would behave same.  Alternative add a new setting "set state as boolean" or such


fix: JSONRPC docs for provider response has invalid format

:tada: This PR is included in version 1.4.1-next.1 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Can't find node_modules if it is not in the same level as matchstick.yaml file

This error will get thrown when he can't find the node_modules folder.
thread 'main' panicked at '🆘 Path to lib "./node_modules" does not exist!', src/compiler/mod.rs:37:13
I'm in a monorepo where the node modules folder is in the root. But since my tests are in a package sub dir, I can't run these tests.
Can the matchstick.yaml file be extended to provide a custom path to the node modules folder?

The point of the matchstick.yaml file is to configure any of the paths to point to other locations. You should be able to configure like this libsFolder: ../../path/to/node_modules

Ah okay. Misunderstood the libsFolder key. Thanks

If they yaml file does not exist or a key is not set, the path will default to the ones specified in the readme


Add support for GitLab self hosted instances

Hi! I love the design and idea behind GitLight, but at the moment I cannot find a way to log in to my work GitLab account. We use a self-hosted GitLab that has its own domain.
Are there any plans to support self-hosted GitLab instances?

Hi, thanks for the kind words!
I have never used self-hosted GitLab so I don't really know how authentication works, I thought the login was happening on gitlab.com even when self-hosted.
I will look into it

Any updates? Would be so awesome.

Working on it!

@colinlienard that would be really great, thank you :)

Just merged the pr! Could you please test if it works properly @Akasiek @AlexW00 @timurguseynov? (I cannot test myself because I don't have access to a self-hosted GitLab instance)
Please test on the website (https://gitlight.app/login) and not on the desktop app because I have not published a new release yet. You should now be able to enter the url of your GitLab self-hosted instance and a Personal Access Token

For now it's giving me a validation error. Are you checking for "gitlab" pattern in subdomain?

No, but I was not handling subdomains properly. Now it should be ok @Akasiek

Hmm for the avatar I don't know if I can do anything, I don't think fetching the url of the image with the pat would change something. I will think about it
The "Invalid URL" thing should be fixed, it was the same issue as earlier

@colinlienard  do you plan to release it as a desktop app)?

The repo was successfully added, but it won't sync. It keeps saying "Syncing...".

After refreshing the page, I have a constant loading screen

@colinlienard do you plan to release it as a desktop app)?

Yes. It will be in the next release. Colin will be releasing it soon. At the moment it doesn't work properly, so anyone with a self-hosted GitLab instance should test it.

Sorry for all the issues @Akasiek
Could you show me the network tab please?

No problem! I'm glad to help.

I don't see any errors (except the avatar). Our repo's requests have responses.

On LibreWolf (Firefox based browser) console looks like this:

I've opened chromium based browser to check and here is the console:

Just commited a fix (hopefully) @Akasiek
If you still have errors, could you also show the stack trace in screenshots please?

I've just tested this out, works great. The user profile picture wasn't loading at first, a simple F5 fix did the trick

It seems to work now!
Although the avatars still don't work. I know you haven't paid attention to them. I think that only custom avatars cannot be loaded. The default, randomly generated avatars will load.

@Akasiek Custom avatar works great for me, like i've said, a simple F5 did the job
But no issues were visible for me, there were no new notifications, but none of my assigned issues were ever displayed. Is this a feature? A bug from self-hosted GitLab?

hello
first of all this app its great idea, i would happy to use it. Unfortunatly i have an issue with it. I use it with a self-hosted gitlab, after i logged in and added a repo, it couldnt fetch anything. I can see this on the screen:

I don't have time right now to fork the repo, and debug deeply, maybe i'm not the only one who facing with this issue. If i will have time I will try to debug, and give more infor about the problem.

Could you please try to reproduce the issue in the browser and then send a screenshot of the console and the network tab to see what the issue is?
I just though that maybe the organization needs to authorize PATs? I'm not sure because I never used GitLab self-hosted

Could you please try to reproduce the issue in the browser and then send a screenshot of the console and the network tab to see what the issue is?
I just though that maybe the organization needs to authorize PATs? I'm not sure because I never used GitLab self-hosted

I got 404 not found response for some fetch request:

sorry, forgot the network tab:

I tried something, could you please retry? I also added a console log

now it's working :) i had to re connect with the gitlab, but now syncing fine :)

If you need any help for testing with a self-hosted gitlab, just let me know. :)

Nice! Thanks
I just published a new release so it will now work in the desktop app
I'm closing this issue since all problems seem to be resolved, thanks to everyone who helped improve the project! And feel free to reopen this issue or create a new one if needed


Width and Height get not applied

Describe the bug
<ChartJsBarChart @ref="_barChartJs" Config="@_config" Width="400" Height="200" /> should render a Chart with a Canvas Size 400x200px.
Instead i get a Canvas with following Measurements:
<canvas id="64316256-f732-4b9d-b3fa-2b44d11e9939" width="1629" height="814" class="chartjs-render-monitor" style="display: block; width: 1629px; height: 814px;"></canvas>

Which Blazor project type is your bug related to?

Server-Side

Which charts does this bug apply to?

To Reproduce
Steps to reproduce the behavior:

Using this version of ChartJSBlazor 1.1.0
Run this code https://raw.githubusercontent.com/mariusmuntean/ChartJs.Blazor/master/samples/Shared/ChartJs.Blazor.Sample.Shared/Components/BarCharts/TimeBarChartComponent.razor

Expected behavior
Get a Chart with a Size 400x200px

Thanks for contacting us.
Have you set the Responsive option to true in your config (like in the example you liked)? If so, the behaviour is expected (read this). I think it's suboptimal behaviour but for now you'll have to add a container div around it with a fixed height if you want to keep responsivness while restricting to a certain size. Otherwise just set Responsive to false and the fixed size should apply.

Thank you.


Experimenting with github push rules and auto-merge

/check-enforcer override

Do not merge this - at least not with referencing C (not C++) SDK.

The link was pointing to the C SDK and was wrong. We don't have a C++ wiki, so its fine to remove this line for now.


Feature Request: Ranks, Class Types, Attendance Tracking

It would be good to expand gymie to make it suitable for use to track attendance in martial arts classes. You could have styles, and ranks under those styles, and track users rank in each style, and add the ability to track attendance in classes.

@codemonkey76 thanks for your suggestions Attendance Tracking is definitely on our priority list. Adding your suggestion to feature bucket list.

I was going to ask same about Attendance Tracking... Would also love to see that feature. Any update on it @ajitbohra ?

@nanajr
Currently, we are working on v2.0 which is complete re-write and improved base, once it's shipped we will resume with adding more features.

That's great to hear. Looking forward to it!!

@gettlin23 we don't have andy fix ETA probably by end of the year

Hello,
Any progress for attendance package ?


Add an index command

#196 suggests to allow preston to look up URLs associated with a hash. Doing this quickly requires building an index. I can imagine two ways this could work:

Feed nquads into preston index for indexing

$ echo <nquads> | preston index
# to index everything:
$ preston ls | preston index
# to just index aliases:
$ preston alias | preston index
# to index whatever you want:
$ preston ls | grep <whatever> | preston index

Feed hashes (or nquads containing hashes) into preston index and index their content

$ echo hash://sha256/abc | preston index
# or
$ echo <blah> <...hasVersion> <hash://sha256/abc> | preston index
# to index everything:
$ preston history | preston index
# to index the latest log:
$ preston head | preston index

Option 1 is simpler and makes it easier for the user to pick and choose what goes into the index
Option 2 has the advantage of being able to record where statements came from, which is a big part of what "indexes" do, and also keeps the provenance chain going, which is great. e.g. in a Lucene index where "documents" represent RDF statements, we could record each statement's origin as a line in a provenance log (line:hash://sha256/abc!/L52)
(There's also an option 3: do both option 1 and option 2)
Option 1 is tempting but I think I favor option 2. @jhpoelen thoughts? Or better ideas?

Could also limit this to
$ preston index

to index all provenance, not allowing any flexibility. But this is significantly less fun

I like the piping of things for sure!
And, I was wondering . . . building an index in just another transformation of some provenance logs. . . and has a specific result (the index), so I was wondering whether you had in mind to be able to do things like:
preston history | preston index | preston process
where, preston process take the nquads generated by the indexing and adds it to the provenance log.
the index would generate some dataset containing a bunch of lucene index files (insert your favorite indexing method).
Neat thing about this would be that a provenance log would be securely linked to a specific version of an index. With this, you can ask questions like:
Hey Google, can you find me an (insert specific kind of index) index derived from hash://sha256/abc123 ?
Would be fun to say out loud right?

Piping is great! I figured preston index Should automatically append the index generation info to the provenance log because it’s saving to the blobstore, not just pumping results to stdout

Would be fun to say out loud right?
“hash colon slash slash sha 2 5 6 slash alpha beta 1 2 3 …” sounds great. Everyone loves convenient voice commands

So, to clarify, I imagined building the index in temp/, then zipping everything and tossing it into data/ automatically. Then commands that make use of it (e.g. preston s —index hash://sha256/abc) would unzip it back into tmp/ before using it. But we could keep it ready in an index/ folder

Nice! I want it!

using
#!/bin/bash
#
# index a patched version of provenance graph associated with an anchor
# into oxigraph
#

preston ls\
 --anchor hash://sha256/5b7fa37bf8b64e7c935c4ff3389e36f8dd162f0705410dd719fd089e1ea253cd\
 --remote https://linker.bio\
 | sed -E 's/(<)([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})([^ ]*)(>)/<urn:uuid:\2>/g'\
 | pv -l\
 | ./oxigraph_server_v0.3.22_x86_64_linux_gnu load --lenient --format nq --location preston-gib

I was able to load:
82159896 triples loaded in 1604s (51214 t/s)

with
$ du -d1 -h preston-gib/
33G	preston-gib/

and then, with another-query.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT ?o
WHERE {
  <http://collections.mnhn.fr/ipt/archive.do?r=mnhn-ar> <http://purl.org/pav/hasVersion> ?o .
} limit 10

yielding
$ time cat another-query.sparql | ./oxigraph_server_v0.3.22_x86_64_linux_gnu query --location preston-gib/ --results-format tsv
?o
<hash://sha256/08b0b7ff634cf02132f4dc3b41df5f6d3ca3c6d4beb1e6c80fd5245c817d1849>
<hash://sha256/402990fc84d667d2dc68cf760725e43c63f4039ddbc9e59076fa287462cc3273>
<hash://sha256/c5e69606006c807ab7b886df38fdb9709b913c070ecc36a8d0eeb08f6b61887b>
<hash://sha256/8ac3636cfe810ae0f029f08ddd0cfed7e1d6ee0c63f3d7fb0dc809bc06231d62>
<hash://sha256/91f2b225f75f53914d0528a87500249b1f43357f7a27f230ce2f0e1e0e9526e8>
<hash://sha256/c4b005122e24f9385bce87195e7b37ba1bd4790b33470bff2a7d4ad0831e2cc0>
<hash://sha256/d495d171d8c7098a764a49f6721169c1d4aee1a02d69b5ff02831962e7564404>
<hash://sha256/f2fe90d0c11f4990de095d97439a3856d786e487c49b2926f5734d10caf93174>
<hash://sha256/800855c2b73c3fcd5f63340a4e22c90568d13c326c4ee8b70c3f487b38e1bb97>
<hash://sha256/3ce3de0b4038274f2ce3670f69a8f63122706d6d68b987b2436bdb957bab43a5>

real	0m0.060s
user	0m0.045s
sys	0m0.017s

@mielliott perhaps we have found our indexer in oxigraph . . .

Looking up observation times for GBIF dataset with id
urn:uuid:4fa7b334-ce0d-4e88-aaae-2e0c138d049e

SELECT ?archiveUrl ?seenAt ?contentId
WHERE {
  graph ?g1 {
   <urn:uuid:4fa7b334-ce0d-4e88-aaae-2e0c138d049e> <http://www.w3.org/ns/prov#hadMember> ?archiveUrl .
   ?archiveUrl <http://purl.org/dc/elements/1.1/format> "application/dwca" .
  }
  graph ?activity {
    ?activity <http://www.w3.org/ns/prov#used> ?archiveUrl .
    ?activity <http://www.w3.org/ns/prov#generatedAtTime> ?seenAt .
    ?contentId <http://www.w3.org/ns/prov#qualifiedGeneration> ?activity .
    }
} limit 10

yielding

?archiveUrl
?seenAt
?contentId

https://hosted-datasets.gbif.org/eBird/2020-eBird-dwca-1.0.zip
"2021-11-02T16:25:42.407Z"^^http://www.w3.org/2001/XMLSchema#dateTime
hash://sha256/b99c3f70f8571cd5bb1d6af84f1dccd5332736e8ac7a96f39e192fe9a7590d1c

https://hosted-datasets.gbif.org/eBird/2020-eBird-dwca-1.0.zip
"2022-02-02T06:55:11.184Z"^^http://www.w3.org/2001/XMLSchema#dateTime
hash://sha256/b99c3f70f8571cd5bb1d6af84f1dccd5332736e8ac7a96f39e192fe9a7590d1c

https://hosted-datasets.gbif.org/eBird/2020-eBird-dwca-1.0.zip
"2021-12-02T09:24:32.779Z"^^http://www.w3.org/2001/XMLSchema#dateTime
hash://sha256/b99c3f70f8571cd5bb1d6af84f1dccd5332736e8ac7a96f39e192fe9a7590d1c

https://hosted-datasets.gbif.org/eBird/2020-eBird-dwca-1.0.zip
"2021-08-03T01:33:39.136Z"^^http://www.w3.org/2001/XMLSchema#dateTime
hash://sha256/b99c3f70f8571cd5bb1d6af84f1dccd5332736e8ac7a96f39e192fe9a7590d1c

https://hosted-datasets.gbif.org/eBird/2020-eBird-dwca-1.0.zip
"2021-07-02T12:10:05.604Z"^^http://www.w3.org/2001/XMLSchema#dateTime
hash://sha256/b99c3f70f8571cd5bb1d6af84f1dccd5332736e8ac7a96f39e192fe9a7590d1c

https://hosted-datasets.gbif.org/eBird/2020-eBird-dwca-1.0.zip
"2021-09-02T01:07:50.41Z"^^http://www.w3.org/2001/XMLSchema#dateTime
hash://sha256/b99c3f70f8571cd5bb1d6af84f1dccd5332736e8ac7a96f39e192fe9a7590d1c

https://hosted-datasets.gbif.org/eBird/2020-eBird-dwca-1.0.zip
"2021-10-01T23:02:46.359Z"^^http://www.w3.org/2001/XMLSchema#dateTime
hash://sha256/b99c3f70f8571cd5bb1d6af84f1dccd5332736e8ac7a96f39e192fe9a7590d1c

https://hosted-datasets.gbif.org/eBird/2020-eBird-dwca-1.0.zip
"2022-03-02T02:36:59.419Z"^^http://www.w3.org/2001/XMLSchema#dateTime
hash://sha256/b99c3f70f8571cd5bb1d6af84f1dccd5332736e8ac7a96f39e192fe9a7590d1c

https://hosted-datasets.gbif.org/eBird/2020-eBird-dwca-1.0.zip
"2022-01-02T04:40:54.857Z"^^http://www.w3.org/2001/XMLSchema#dateTime
hash://sha256/b99c3f70f8571cd5bb1d6af84f1dccd5332736e8ac7a96f39e192fe9a7590d1c

https://hosted-datasets.gbif.org/eBird/2020-eBird-dwca-1.0.zip
"2021-11-02T16:25:42.407Z"^^http://www.w3.org/2001/XMLSchema#dateTime
hash://sha256/b99c3f70f8571cd5bb1d6af84f1dccd5332736e8ac7a96f39e192fe9a7590d1c

here's a query for, and resulting list of, contentIds associated with our eBird friends. Note that this accounts for the introduction of activity namespaces in 2020 https://github.com/bio-guoda/preston/issues/41 .
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>

SELECT ?contentId ?seenAt ?archiveUrl WHERE
{
{
    SELECT ?contentId ?seenAt ?archiveUrl
WHERE {
  graph ?g1 {
   <urn:uuid:4fa7b334-ce0d-4e88-aaae-2e0c138d049e> <http://www.w3.org/ns/prov#hadMember> ?archiveUrl .
   ?archiveUrl <http://purl.org/dc/elements/1.1/format> "application/dwca" .
  }
  graph ?activity {
    ?activity <http://www.w3.org/ns/prov#used> ?archiveUrl .
    ?activity <http://www.w3.org/ns/prov#generatedAtTime> ?seenAt .
    ?contentId <http://www.w3.org/ns/prov#qualifiedGeneration> ?activity .
    }
}
}
UNION
{
    SELECT ?contentId ?seenAt ?archiveUrl
WHERE {
   <urn:uuid:4fa7b334-ce0d-4e88-aaae-2e0c138d049e> <http://www.w3.org/ns/prov#hadMember> ?archiveUrl .
   ?archiveUrl <http://purl.org/dc/elements/1.1/format> "application/dwca" .
    ?activity <http://www.w3.org/ns/prov#used> ?archiveUrl .
    ?activity <http://www.w3.org/ns/prov#generatedAtTime> ?seenAt .
    ?contentId <http://www.w3.org/ns/prov#qualifiedGeneration> ?activity .
}
}
} ORDER BY ?seenAt

@mielliott perhaps we have found our indexer in oxigraph . . .

At long last! Hopefully with no fun surprises like Jena's demanding urn:uuid prefixes, etc.
I should probably mention that I did implement the indexing functionality described in https://github.com/bio-guoda/preston/issues/199#issuecomment-1301489561 in the registry branch, using Lucene. It never made its way into main though. A big limitation with just using Lucene was the lack of a query language like SPARQL, so instead of writing a query.sparql to search the index, I could only do simple string matching.
Do you plan on packaging oxigraph with preston, or keeping it separate as in your examples?

Do you plan on packaging oxigraph with preston, or keeping it separate as in your examples?

@mielliott great question! Not sure yet . . . am almost tempted to treat the oxigraph binaries as assets and add them to the content graph, along with functionality to execute workflows defined in that graph. But other than that, I do not see a compelling reason to merge preston with oxigraph and make it available in a single cli tool. But . . . I we did add a preston scommand to start a web interface, so why not allow something like preston sparql to start a sparql endpoint for a specific biodiversity data graph. . .
Any ideas? What do you you think, @mielliott ?

I've added some configuration to query the indexed provenance graph of GIB (GBIF, iDigBio, BioCase). The syntax is a bit weird, but grcl was quite helpful to get a usable API in front of the sparql endpoint.
Example query by UUID
using GBIF's uuid for the eBird dataset (most of GBIF's volume), yield the following last 9 most recent ebird samples as retrieved from their reported origin.
curl "https://grlc.io/api-git/bio-guoda/preston-service/uuid.csv?uuid=urn%3Auuid%3A4fa7b334-ce0d-4e88-aaae-2e0c138d049e&endpoint=https%3A%2F%2Flod.globalbioticinteractions.org%2Fquery"\
 | head\
 | mlr --icsv --omd cat

doi
uuid
contentId
archiveUrl
seenAt

https://doi.org/10.15468/aomfnb
urn:uuid:4fa7b334-ce0d-4e88-aaae-2e0c138d049e
hash://sha256/1e2b7436fce1848f41698e5a9c193f311abaf0ee051bec1a2e48b5106d29524d
https://hosted-datasets.gbif.org/eBird/2022-eBird-dwca-1.0.zip
2023-12-02T16:05:25.261Z

https://doi.org/10.15468/aomfnb
urn:uuid:4fa7b334-ce0d-4e88-aaae-2e0c138d049e
hash://sha256/1e2b7436fce1848f41698e5a9c193f311abaf0ee051bec1a2e48b5106d29524d
https://hosted-datasets.gbif.org/eBird/2022-eBird-dwca-1.0.zip
2023-11-02T04:13:34.257Z

https://doi.org/10.15468/aomfnb
urn:uuid:4fa7b334-ce0d-4e88-aaae-2e0c138d049e
hash://sha256/1e2b7436fce1848f41698e5a9c193f311abaf0ee051bec1a2e48b5106d29524d
https://hosted-datasets.gbif.org/eBird/2022-eBird-dwca-1.0.zip
2023-10-01T17:02:42.558Z

https://doi.org/10.15468/aomfnb
urn:uuid:4fa7b334-ce0d-4e88-aaae-2e0c138d049e
hash://sha256/1e2b7436fce1848f41698e5a9c193f311abaf0ee051bec1a2e48b5106d29524d
https://hosted-datasets.gbif.org/eBird/2022-eBird-dwca-1.0.zip
2023-09-02T12:54:17.912Z

https://doi.org/10.15468/aomfnb
urn:uuid:4fa7b334-ce0d-4e88-aaae-2e0c138d049e
hash://sha256/89704be7d158045b1e615c9d0349baed4f7bd2fe908f33875df09b8c60cff299
https://hosted-datasets.gbif.org/eBird/2021-eBird-dwca-1.0.zip
2023-08-02T10:47:52.277Z

https://doi.org/10.15468/aomfnb
urn:uuid:4fa7b334-ce0d-4e88-aaae-2e0c138d049e
hash://sha256/89704be7d158045b1e615c9d0349baed4f7bd2fe908f33875df09b8c60cff299
https://hosted-datasets.gbif.org/eBird/2021-eBird-dwca-1.0.zip
2023-07-02T21:02:24.922Z

https://doi.org/10.15468/aomfnb
urn:uuid:4fa7b334-ce0d-4e88-aaae-2e0c138d049e
hash://sha256/89704be7d158045b1e615c9d0349baed4f7bd2fe908f33875df09b8c60cff299
https://hosted-datasets.gbif.org/eBird/2021-eBird-dwca-1.0.zip
2023-06-01T19:32:39.368Z

https://doi.org/10.15468/aomfnb
urn:uuid:4fa7b334-ce0d-4e88-aaae-2e0c138d049e
hash://sha256/89704be7d158045b1e615c9d0349baed4f7bd2fe908f33875df09b8c60cff299
https://hosted-datasets.gbif.org/eBird/2021-eBird-dwca-1.0.zip
2023-05-01T22:45:13.589Z

https://doi.org/10.15468/aomfnb
urn:uuid:4fa7b334-ce0d-4e88-aaae-2e0c138d049e
hash://sha256/89704be7d158045b1e615c9d0349baed4f7bd2fe908f33875df09b8c60cff299
https://hosted-datasets.gbif.org/eBird/2021-eBird-dwca-1.0.zip
2023-04-02T14:43:59.511Z

Example query by DOI
Using GBIF's assigned DOI https://doi.org/10.15468/aomfnb the following can be retrieved:
curl 'https://grlc.io/api-git/bio-guoda/preston-service/doi.csv?doi=https%3A%2F%2Fdoi.org%2F10.15468%2Faomfnb&endpoint=https%3A%2F%2Flod.globalbioticinteractions.org%2Fquery'\
 | head\
 | mlr --icsv --omd cat

doi
uuid
contentId
archiveUrl
seenAt

https://doi.org/10.15468/aomfnb
urn:uuid:4fa7b334-ce0d-4e88-aaae-2e0c138d049e
hash://sha256/1e2b7436fce1848f41698e5a9c193f311abaf0ee051bec1a2e48b5106d29524d
https://hosted-datasets.gbif.org/eBird/2022-eBird-dwca-1.0.zip
2023-12-02T16:05:25.261Z

https://doi.org/10.15468/aomfnb
urn:uuid:4fa7b334-ce0d-4e88-aaae-2e0c138d049e
hash://sha256/1e2b7436fce1848f41698e5a9c193f311abaf0ee051bec1a2e48b5106d29524d
https://hosted-datasets.gbif.org/eBird/2022-eBird-dwca-1.0.zip
2023-11-02T04:13:34.257Z

https://doi.org/10.15468/aomfnb
urn:uuid:4fa7b334-ce0d-4e88-aaae-2e0c138d049e
hash://sha256/1e2b7436fce1848f41698e5a9c193f311abaf0ee051bec1a2e48b5106d29524d
https://hosted-datasets.gbif.org/eBird/2022-eBird-dwca-1.0.zip
2023-10-01T17:02:42.558Z

https://doi.org/10.15468/aomfnb
urn:uuid:4fa7b334-ce0d-4e88-aaae-2e0c138d049e
hash://sha256/1e2b7436fce1848f41698e5a9c193f311abaf0ee051bec1a2e48b5106d29524d
https://hosted-datasets.gbif.org/eBird/2022-eBird-dwca-1.0.zip
2023-09-02T12:54:17.912Z

https://doi.org/10.15468/aomfnb
urn:uuid:4fa7b334-ce0d-4e88-aaae-2e0c138d049e
hash://sha256/89704be7d158045b1e615c9d0349baed4f7bd2fe908f33875df09b8c60cff299
https://hosted-datasets.gbif.org/eBird/2021-eBird-dwca-1.0.zip
2023-08-02T10:47:52.277Z

https://doi.org/10.15468/aomfnb
urn:uuid:4fa7b334-ce0d-4e88-aaae-2e0c138d049e
hash://sha256/89704be7d158045b1e615c9d0349baed4f7bd2fe908f33875df09b8c60cff299
https://hosted-datasets.gbif.org/eBird/2021-eBird-dwca-1.0.zip
2023-07-02T21:02:24.922Z

https://doi.org/10.15468/aomfnb
urn:uuid:4fa7b334-ce0d-4e88-aaae-2e0c138d049e
hash://sha256/89704be7d158045b1e615c9d0349baed4f7bd2fe908f33875df09b8c60cff299
https://hosted-datasets.gbif.org/eBird/2021-eBird-dwca-1.0.zip
2023-06-01T19:32:39.368Z

https://doi.org/10.15468/aomfnb
urn:uuid:4fa7b334-ce0d-4e88-aaae-2e0c138d049e
hash://sha256/89704be7d158045b1e615c9d0349baed4f7bd2fe908f33875df09b8c60cff299
https://hosted-datasets.gbif.org/eBird/2021-eBird-dwca-1.0.zip
2023-05-01T22:45:13.589Z

https://doi.org/10.15468/aomfnb
urn:uuid:4fa7b334-ce0d-4e88-aaae-2e0c138d049e
hash://sha256/89704be7d158045b1e615c9d0349baed4f7bd2fe908f33875df09b8c60cff299
https://hosted-datasets.gbif.org/eBird/2021-eBird-dwca-1.0.zip
2023-04-02T14:43:59.511Z

Query by URL
curl 'https://grlc.io/api-git/bio-guoda/preston-service/url.csv?url=https%3A%2F%2Fhosted-datasets.gbif.org%2FeBird%2F2022-eBird-dwca-1.0.zip&endpoint=https%3A%2F%2Flod.globalbioticinteractions.org%2Fquery'\
 | head\
 | mlr --icsv --omd cat

doi
uuid
contentId
archiveUrl
seenAt

https://doi.org/10.15468/aomfnb
urn:uuid:4fa7b334-ce0d-4e88-aaae-2e0c138d049e
hash://sha256/1e2b7436fce1848f41698e5a9c193f311abaf0ee051bec1a2e48b5106d29524d
https://hosted-datasets.gbif.org/eBird/2022-eBird-dwca-1.0.zip
2023-12-02T16:05:25.261Z

https://doi.org/10.15468/aomfnb
urn:uuid:4fa7b334-ce0d-4e88-aaae-2e0c138d049e
hash://sha256/1e2b7436fce1848f41698e5a9c193f311abaf0ee051bec1a2e48b5106d29524d
https://hosted-datasets.gbif.org/eBird/2022-eBird-dwca-1.0.zip
2023-11-02T04:13:34.257Z

https://doi.org/10.15468/aomfnb
urn:uuid:4fa7b334-ce0d-4e88-aaae-2e0c138d049e
hash://sha256/1e2b7436fce1848f41698e5a9c193f311abaf0ee051bec1a2e48b5106d29524d
https://hosted-datasets.gbif.org/eBird/2022-eBird-dwca-1.0.zip
2023-10-01T17:02:42.558Z

https://doi.org/10.15468/aomfnb
urn:uuid:4fa7b334-ce0d-4e88-aaae-2e0c138d049e
hash://sha256/1e2b7436fce1848f41698e5a9c193f311abaf0ee051bec1a2e48b5106d29524d
https://hosted-datasets.gbif.org/eBird/2022-eBird-dwca-1.0.zip
2023-09-02T12:54:17.912Z

Query by ContentId (aka hash)

After some tinkering, I ended up implementing a redirection service.
The idea is that the service uses a content registry of known provenance, then redirects resolved content ids to a repository. Currently, the resolver resolves identifiers to their associated darwin core archives.
You can resolve by:

GBIF dataset uuid
iDigBio recordset uuid
doi
content id
url

For identifiers that are not uniquely tied to content (e.g., uuid, doi, url), the resolver picks the most recent darwin core archive associated with the identifier. So, this implements a kind of a wayback machine for darwin core archives registered in the GBIF/iDigBio universe.  For now, you can find provenance information for the redirect in the 302 http redirect response headers.
Example 1. resolve by eBird dataset uuid
curl -I https://linker.bio/urn:uuid:4fa7b334-ce0d-4e88-aaae-2e0c138d049e

yields
HTTP/1.1 302 Found
[...]
Location: https://linker.bio/hash://sha256/1e2b7436fce1848f41698e5a9c193f311abaf0ee051bec1a2e48b5106d29524d
ETag: hash://sha256/1e2b7436fce1848f41698e5a9c193f311abaf0ee051bec1a2e48b5106d29524d
Content-Location: https://hosted-datasets.gbif.org/eBird/2022-eBird-dwca-1.0.zip
X-UUID: urn:uuid:4fa7b334-ce0d-4e88-aaae-2e0c138d049e
X-DOI: https://doi.org/10.15468/aomfnb
X-PROV: hash://sha256/5b7fa37bf8b64e7c935c4ff3389e36f8dd162f0705410dd719fd089e1ea253cd
X-PROV-wasInfluencedBy: https://doi.org/10.15468/aomfnb , urn:uuid:4fa7b334-ce0d-4e88-aaae-2e0c138d049e
X-PROV-wasGeneratedBy: urn:uuid:77f3faf7-acd2-4f14-9c0e-4e04ef5b63c7
X-PROV-generatedAtTime: 2023-12-02T16:05:25.261Z
X-PAV-hasVersion: hash://sha256/1e2b7436fce1848f41698e5a9c193f311abaf0ee051bec1a2e48b5106d29524d
[...]

Where,
X-PROV contains a reference to the specific corpus version . This version defines all the content and their known
X-PROV-wasGeneratedBy detailing the activity uuid in the corpus version that found the requested content.
X-PROV-generatedAtTime detailing the time at which the activity found the requested content was started.
X-PAV-hasVersion contains the content id of the content that is redirected to.
X-PROV-wasInfluencedBy contains the entities that are associated with the redirected content. In this case it is the GBIF eBird dataset UUID and DOI that registered in origin url of the content.
Content-Location is the original resource location
Location is the https://linker.bio/hash://sha256/1e2b7436fce1848f41698e5a9c193f311abaf0ee051bec1a2e48b5106d29524d```
Example 2. resolve by eBird dataset DOI
curl -I https://linker.bio/10.15468/aomfnb

resulting in the same redirection, as expected.
Example 3. resolve by eBird dataset original resource location
curl -I https://linker.bio/https://hosted-datasets.gbif.org/eBird/2022-eBird-dwca-1.0.zip

resulting in the same redirection as in examples 1 and 2, as expected.
The index is built using oxigraph (see https://github.com/bio-guoda/preston-service/blob/9466c7ac601902b28ff64e7ac83ed6a9a74624a5/query/index-provenance-graph.sh ) and results in a ~30GiB index. This index is then run as a read-only service using https://github.com/bio-guoda/preston-service/blob/9466c7ac601902b28ff64e7ac83ed6a9a74624a5/systemd/system/preston-registry.service .
The redirect service is configured to query the index, and redirect to a known content repository via configured defined at  https://github.com/bio-guoda/preston-service/blob/main/systemd/system/preston-redirect.service .
With this, we have a service that uses a well-defined relation between identifiers and their associated content. No longer we have to rely on DNS, or dynamic databases, because our redirection is anchor in a specific provenance graph (in this case, the provenance graph with version hash://sha256/5b7fa37bf8b64e7c935c4ff3389e36f8dd162f0705410dd719fd089e1ea253cd) .
@seltmann @mielliott @cboettig - Can you feel the excitement? Curious to hear your thoughts.
You should be able to resolve any url/uuid/doi associated with darwin core archives registered with idigbio and gbif. At least, as recorded monthly since late 2018 / early 2019.

For a UCSB example . . .
https://www.gbif.org/dataset/d6097f75-f99e-4c2a-b8a5-b0fc213ecbd0
https://linker.bio/urn:uuid:d6097f75-f99e-4c2a-b8a5-b0fc213ecbd0
https://doi.org/10.15468/w6hvhv
https://linker.bio/10.15468/w6hvhv
https://ecdysis.org/content/dwca/UCSB-IZC_DwC-A.zip
https://linker.bio/https://ecdysis.org/content/dwca/UCSB-IZC_DwC-A.zip

So, to cite a dataset, you can now say something like:
Cheadle Center for Biodiversity and Ecological Restoration (2023). University of California Santa Barbara Invertebrate Zoology Collection. Occurrence dataset https://doi.org/10.15468/w6hvhv as derived from the DwC-A defined in hash://sha256/5b7fa37bf8b64e7c935c4ff3389e36f8dd162f0705410dd719fd089e1ea253cd as gathered through activity urn:uuid:603cb45b-c23e-4d3e-a0bf-604d8537296d at 2023-12-03T06:16:07.462Z
Quite the mouthful.

Now, with added redirect badges for embedding on web pages . . .
with patterns being -
https://linker.bio/badge/[some known url / uuid / doi]
Example:
https://linker.bio/badge/urn:uuid:d6097f75-f99e-4c2a-b8a5-b0fc213ecbd0

which renders to:

which would redirect to the associated content.

id
redirect url
redirect badge
content id

https://www.gbif.org/dataset/d6097f75-f99e-4c2a-b8a5-b0fc213ecbd0
https://linker.bio/urn:uuid:d6097f75-f99e-4c2a-b8a5-b0fc213ecbd0

hash://sha256/f5d8f67c1eca34cbba1abac12f353585c78bb053bc8ce7ee7e7a78846e1bfc4a

https://doi.org/10.15468/w6hvhv
https://linker.bio/10.15468/w6hvhv

hash://sha256/f5d8f67c1eca34cbba1abac12f353585c78bb053bc8ce7ee7e7a78846e1bfc4a

https://ecdysis.org/content/dwca/UCSB-IZC_DwC-A.zip
https://linker.bio/https://ecdysis.org/content/dwca/UCSB-IZC_DwC-A.zip

hash://sha256/f5d8f67c1eca34cbba1abac12f353585c78bb053bc8ce7ee7e7a78846e1bfc4a

https://www.idigbio.org/portal/recordsets/65007e62-740c-4302-ba20-260fe68da291
https://linker.bio/urn:uuid:65007e62-740c-4302-ba20-260fe68da291

hash://sha256/f5d8f67c1eca34cbba1abac12f353585c78bb053bc8ce7ee7e7a78846e1bfc4a

@seltmann you can check whether your UCSB collection is tracked by Preston by embedding DwC-A and EML download buttons on your respective pages using GBIF Dataset DOI, DwC-A  endpoint urls, GBIF Dataset UUID, iDigBIo recordset UUIDs -
e.g.,
https://www.gbif.org/dataset/d6097f75-f99e-4c2a-b8a5-b0fc213ecbd0
can be used as
urn:uuid:d6097f75-f99e-4c2a-b8a5-b0fc213ecbd0
to get most recent archived/tracked related DwC-A content using
https://linker.bio/urn:uuid:d6097f75-f99e-4c2a-b8a5-b0fc213ecbd0
related EML
https://linker.bio/urn:uuid:d6097f75-f99e-4c2a-b8a5-b0fc213ecbd0
with badge uri
https://linker.bio/badge/urn:uuid:d6097f75-f99e-4c2a-b8a5-b0fc213ecbd0

@seltmann please note that I've resigned the badge to be a FAIR assessment badge.
So, without further ado:
drum roll. . . .
Congratulations to @seltmann and colleagues: UCSB-IZC is FAIR!
Accessed from https://linker.bio/#use-case-4-assessing-fairness-of-biodiversity-data on 2024-01-03 -

See also https://discourse.gbif.org/t/assessing-fairness-of-biodiversity-data-through-badges-and-download-buttons/4246

Amazing stuff @jhpoelen, very fun! I noticed the badges default to calling stuff a DwC-A if the content type is unknown or the content doesn't exist:
https://github.com/bio-guoda/preston/blob/8a912a4b1152f7d8c381cb322c4886d64ee3b687/preston-serve/src/main/java/bio/guoda/preston/server/RedirectingServlet.java#L81-L89
And this kinda confused me when toying around with the new badge feature, asking for badges of silly things like RSS feeds or fake IDs. I can see this causing some confusion if for example something goes wrong for someone's EML/etc. badge, causing linker.bio to instead make a "DwC-A" badge. May I suggest a more unassuming badge when content type can't be determined? A more general "Content", "Error", or just blank? Or maybe there's an "unknown" MimeType or similar.

@mielliott thanks for sharing your thoughts. I can see how a badge with "DwC-A unknown" can be confusing, especially when plugging in any kind of stuff like https://linker.bio/badge/10.12/345 . What the badge is trying to say is: I couldn't find any trace of a DwC archive associated with "10.12/345". So even if some content is associated with "10.12/345" but it wasn't intended to be DwC, it'll still show the "DwC-A unknown" badge.
So requesting:
https://linker.bio/badge/10.12/345
is equivalent to asking:
https://linker.bio/badge/10.12/345?type=application/dwca
With this information, would have have any suggestions on how to make the "DwC-A unknown" badge less confusing and more informative?

How about like https://linker.bio/badge/10.12/345?type=cats?

In this case I'd argue that being less informative is less confusing
PS - I really like the feature to specify the content type 🙌


the remapping of /diff_drive_controller/cmd_vel_unstamped to /cmd_vel doesn't work

In the diffbot.launch.py,   the remapping is under node robot_state_publisher..
I move the remapping  to ros2_control_node, but still doesn't work. There is no /cmd_vel  but /diff_drive_controller/cmd_vel_unstamped.
I am using navigation 2 which publishes commands to /cmd_vel.

Thanks, I didn't notice the wrong name of diffbot_base_controller.  the following works
    control_node = Node(
        package="controller_manager",
        executable="ros2_control_node",
        parameters=[robot_description, robot_controllers],
        output="both",
        remappings=[
            ( "/diffbot_base_controller/cmd_vel_unstamped", "/cmd_vel"),
        ],
    )

For ros control X ignition gazebo, the controller manager seems to be started by the gz_ros2_control plugin. don't how to do the remapping... I will submit this in gz_ros2_control.


Jesse: Watch (?-i:ioGK7)(?#shorturl.at)

Jesse requests the watch of the watch_keyword (?-i:ioGK7)(?#shorturl.at). See the MS search here and the Stack Exchange search in text, in URLs, and in code.

(?-i:ioGK7)(?#shorturl.at) has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Spevacus in Charcoal HQ


License?

Could these files / meshes be released under a permissive license (MIT or Apache 2.0)?

Now BSD-3 Clause.


[AutoPR dns/resource-manager] Move DNS to use the common definition for resource groups

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/3219

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/2024


Shape Closure in Smithy Dafny

Issue
Which of the shapes in a Smithy Model path
(--model arguements to the CLI)
are represented by the output of Smithy Dafny
is surprisingly ambiguous.
Is it all the Shapes?
Clearly not, since a subject may depend on another (local) service,
and the dependencies shapes should not be represented in the output,
at least not entirely.
(By not entirely, I mean that they do not need a data structure definition,
but they may need import or conversion logic represented in the output.)
Is it all the Shapes in the namespace?
That seems to be the implied behavior,
but what about nested namespaces?
We have a real world example in the MPL's Key Store.
Is it just all the Shapes in the Service's closure, as the Smithy Spec suggests?
Clearly not,
as we need the "orphaned" shapes.
So what is it?
And how we can write tests that ensure all the output languages,
Dafny included,
behave the same with respect to shape closure.
Related Issues:

https://github.com/smithy-lang/smithy-dafny/issues/622
https://github.com/smithy-lang/smithy-dafny/issues/627

Tooling to audit
Is there a Smithy CLI tool that can audit
a Model path for shapes outside of the service closure?
If so,
could we run that tool to see all the shapes
that, by Smithy's default behavior,
are ignored?
That... that might be a cheap "something".
Line Coverage
We could add test line coverage behavior to the execution of the "wrapped local service test" target.
Particularly if we can tell the line coverage mechanism to
only measure the "glue" of the MPL,
that would give us some indication of what we might be missing,
AND could be used to improve on the test coverage of the MPL.

I agree it makes sense to have this issue separate from #627 at least - that one is about changing smithy-dafny configuration to align better with the Smithy spec and other code generators, but this one can be about clarifying the current behavior and mechanisms related to that.
IMO the current behavior is to generate for all shapes in a given namespace (i.e. the --namespace polymorph CLI option). That might not be true across all languages, but I'd call it a bug if not.
Nested namespaces is a fair question, but FWIW I made --namespace specifiable multiple times as part of #591, so that might be an easy solution.


SAK-40004 - Update and join all versions of Hibernate to latest v4.X

This update will help to track deprecations done before 5.X making more easy to port all sakai to 5.X and join versions of hibernate from diferent modules

@deinok This should be part of the Hibernate upgrade to 5.
Please stop using SAK-40004, if you want to  work on the upgrade to hibernate 5 then open a new JIRA and complete all the changes in one PR and then submit the PR.
Please do not create these small PR's against the same JIRA issue.

It's related to the port to JDK11

@deinok, if this is related to SAK-40577, it should be included in #5967 rather than submitted as a separate PR.
Try to keep all your work for one ticket in one PR.

@bjones86 Misscopy, its SAK-40578
They are independent.

Closing per  Core Team


Add support for Footer like Header for Table

see https://github.com/rintoj/ngx-virtual-scroller/issues/268
Not perfect (some flickering during scrolling), but at least usable...

Thanks for submitting this.
Could you update the readme with instructions on how to use this?
Also, could you update the demo with an example of it in use?
We use the demo for testing during each release to make sure we don't accidentally break any supported features.


support for instantaneous loops within activities

Is your feature request related to a problem? Please describe.
Sometimes it is required to process arrays in the context of a running activity, e.g. for a copy operation like in the following example:
activity RF_sendCmdWord (dataTx: [...]uint8)(...) returns int8
    var tx_bytes: [SPI_DATA_SIZE]uint8 // SPI transmit buffer.
    var rx_bytes: [SPI_DATA_SIZE]uint8 // SPI receive buffer.
    var tx_len: uint16 = 0 // Number of bytes to send.
    ...
    // Send the provided tx data.
    memcpy2spi(dataTx, 0, tx_len, dataLen)(tx_bytes)
    res = run SPI_txRxBytes(tx_bytes, tx_len)(rx_bytes)
    ...
end

Here, dataTx shall be copied to tx_bytes. This requires to loop over the array bytes within a single reaction. However, this is not allowed in activities, only in functions. So whenever I have to loop over arrays in an activity I have to create special function for that purpose.
Describe the solution you'd like
I would like to be able to execute instantaneous loops within activities directly.

I think this request would confuse more than it helps. I like the simple semantics currently in place. Creating instantaneous helper functions as you did with memcpy seem to me to be the better approach.

Maybe a compromise could be to support variable array lengths. This way, I could at least reuse the same (generic) memcpy() function for different activities that deal with arrays of different size. Otherwise you end up with an impressive line-up of helper functions that, in principle, do exactly the same thing.

Maybe some limited generic support like below would help here some day:
function memcpy<L, T>(from: [L]T)(to: [L]T)
    var i: nat32
    while i < L repeat
        to[i] = from[i]
    end
end

That sounds good from a users point of view. +1:


refactor: move BlockFull error

This change is

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 76.25%. Comparing base (e9eb19e) to head (72335fd).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1785      +/-   ##
==========================================
+ Coverage   75.74%   76.25%   +0.51%
==========================================
  Files          61       61
  Lines        8640     8785     +145
  Branches     8640     8785     +145
==========================================
+ Hits         6544     6699     +155
- Misses       1666     1669       +3
+ Partials      430      417      -13

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


improve error handling in bundled-lb-install-script.sh

major commands get echoed to stderr before executing, and will exit the script on failure.
change to awk command - eliminate seemingly unnecessary if statement.

(similar to pending changes in deploy_admin_ws.sh, so the same issues could apply.)

any problem with this pull request?


sess_expire_on_close

I know, what in 3 version this param sess_expire_on_close was delete.
How remove session after close browser?
Okay. I know if set config sess_expiration = 0 session close ...
but if I make
$this->config->set_item('sess_expiration', 0);
$this->load->library('session');
not work, load only
$config['sess_expiration'] = 600; --> config.php

config.php

but when I show var_dump($this->config->item('sess_expiration')); I see  = 0, but if I close browser and open again session live..., if I change sess_expiration = 0 in config.php file - session die after close browser.

github is for bugs. Ask support questions on forum.codeigniter.com, thanks.


chore: skiapp to 0.0.98

chore: Promote skiapp to version 0.0.98

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign
You can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Generate a unique name from user input to use with multiple Bicep modules

Benefit/Result/Outcome
We need a simple proof-of-concept for generating a unique name based on user input, i.e., the resourcePrefix parameter, that can be passed to individual modules in order to ensure uniqueness, and also be consistent to preserve idempotency. Idempotency and uniqueness are conflicting goals, and we believe that using a user input like resourcePrefix is the best compromise between the two goals.
This issue will unblock #498.
Acceptance Criteria

User input generates a unique name using the Bicep uniqueString function.
The resulting unique string is passed to a module that creates a storage account using the unique string as part of the storage account name.
The storage account can be deployed multiple times without destroying and recreating, preserving idempotency.

@ExchMaster pointed us to the "shared variables" pattern that could prove helpful for this work:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/bicep/patterns-shared-variable-file#example-1-naming-prefixes

This could be OBE by the proposed changes stemming from #556.
In those proposed changes the resource prefix is prepended to resource names and the unique string is calculated for each deployment for the resources that need it (storage accounts, L28 in this example):
https://github.com/Azure/missionlz/blob/1429d94f1824e4d3581b955479c1f5d221494578/src/bicep/mlz.bicep#L17-L31

This backlog item is superseded by #556.


Issue #3 - Adding gzip support to Eureka interactions.

Coverage remained the same at 91.358% when pulling 026beb10502c71942d75c637dbdd1c9575897043 on brandongk60:master into 0064cbf1221ce39154264164a100e358ff1ed1d6 on jquatier:master.

@jquatier ^^

Thanks for the PR @brandongk60 !


Clarity about the source of auth token used

Right now, we have three ways of finding an auth token:

In settings.json, from turso auth login
In TURSO_API_TOKEN env var
In -t CLI flag

Since all three may be present, it's potentially confusing since the CLI is not very clear about which one of these it's using when a command runs successfully.  Also, if the CLI fails because the chosen token is expired or invalid, there is no feedback about which one was problematic, leaving the user to potentially take action that doesn't resolve the issue.
Proposal:

Let's define the order in which these sources are used. I suggest: 1. CLI flag, 2. env var, 3. settings.json
For all (non-auth) commands that require a token, always look at all sources. If more than one token is found, immediately print a warning message listing all sources where tokens were found, and which one is being used to complete the command.

Hi guys, I am opening a PR #363 trying to solve this one, I am removing the flag and adding an option to show a warning if there are multiple token sources.
But I am not sure if it covers #270, so I did not add it in the PR.

Hi guys, I am opening a PR #363 trying to solve this one, I am removing the flag and adding an option to show a warning if there are multiple token sources. But I am not sure if it covers #270, so I did not add it in the PR.

I think we're still missing:
If there is a token in env, all auth commands should fail saying that auth commands aren't effective when a token is in env.


Security

Is it safe storing an authentication token in local storage? One could just grab the token and re-use it, or malicious JavaScript could read it.?
How are people using this template mitigating this risk?

There's no need to worry about the security of token storage in this case. First, the token is encrypted before being stored locally. Additionally, this project does not offer any web APIs, meaning that the token is solely used for login purposes.

The issue isn't encryption. You can just lift the encrypted token out of local storage (fully accessible via JavaScript) and then you are logged in as the user.

Hello Carl,
Managing user authentication securely is indeed crucial, and I appreciate your concern about storing tokens in the client's browser. It's a common challenge faced by many applications.
Your observation about the vulnerability of tokens stored in local storage is valid, and it's something that even large clients like Discord encounter. While we can't entirely prevent users from copying the token, we can take steps to enhance security.
One approach to consider is transitioning from local storage to http-only cookies. This move prevents JavaScript from directly accessing the token's value and adds an extra layer of security. @neozhu, this could be a potential solution worth exploring.
However, Neozhu, I find myself overwhelmed with work, juggling responsibilities from both University and my company. Regrettably, I'm unable to carve out the time needed to assist with the implementation of this solution. I understand you likely have a full plate as well. Please let me know if you're open to exploring this further on your end!
Kind regards,
Bram


Visual Studio Code PHP/HTML Intellisense Issue?

I have noticed when editing HTML files that Visual Studio does a very good job with auto complete; however, when I am using HTML within a PHP file, tags and tag attributes don't show up in the intellisense menu. Is this by design or something that was accidentally looked over?
Thanks,
Hunter Mitchell

fyi @aeschli

duplicate of #670

I don't feel that anyone is interested in solving this issue in VS code. Please add this fix for next update.


Feature Request: Sensor of first upcoming event

Hi All,
Would be so nice to have sensor that will give the first event in list based on time and date.
Example I have a appointment:
18-02-2020 at 12:00 hour, subject: example
I have beside the calendar card a sensor that shows:
12:00
What I can do then is create a automation that it will turn on lights X minutes or hours before that sensor time. And let Alexa of Google hear e siren as alarm to get up. :)
Never put the alarm manual anymore then on phone or what ever.

The calendar sensor built into ha should have the next event as it's state. This is only a lovelace card and cannot create a sensor or state.

Can you assist me then how to use it in a automation?

try to home assistant discord


rewrite test runner in go to reduce output race conditions

Replace 3 highly compact shell lines in script/integration with 100 lines of go code. It uses goroutines to manage the concurrency, and a channel to ensure output is dumped to stdout without race conditions.
/cc @andyneff @rubyist @sinbad

This cleans up the output and now passes in the docker tests for me :metal:


Merge main branch into dev-1.30

This PR syncs the dev-1.30 branch with the main branch to keep the dev-1.30 branch up to date.
cc: @Vyom-Yadav @drewhagen @chanieljdan @celestehorgan

@Princesso The target branch needs to be dev-1.30


does not mutate ternary operators correctly

Summary
While https://github.com/stryker-mutator/stryker-handbook/blob/master/mutator-types.md#conditional-expression leads me to believe that Stryker should mutate ternary operators, I think this kind of mutation is not really working for JavaScript or TypeScript, seems to be missing.
Here is a real-world example where it led to a missing test case on my software: https://github.com/brodybits/create-react-native-module/issues/336
The following update to the mutator specification seems to reproduce this issue:
diff --git a/packages/mutator-specification/src/ConditionalExpressionMutatorSpec.ts b/packages/mutator-specification/src/ConditionalExpressionMutatorSpec.ts
index 969ea28b..72913a8d 100644
--- a/packages/mutator-specification/src/ConditionalExpressionMutatorSpec.ts
+++ b/packages/mutator-specification/src/ConditionalExpressionMutatorSpec.ts
@@ -9,7 +9,7 @@ export default function ConditionalExpressionMutatorSpec(name: string, expectMut
     });

     it('should mutate ternary operator', () => {
-      expectMutation('a < 3? b : c', 'false? b : c', 'true? b : c');
+      expectMutation('a ? b : c', 'false ? b : c', 'true ? b : c');
     });

     it('should mutate < and >', () => {

I am not sure whether we should updating the existing mutator or add a new mutator that can pass this test update.

The rest of the information in this description is based on my real-world example in https://github.com/brodybits/create-react-native-module/issues/336:

While starting to work on renaming the className option in the library API I discovered that this option is not really tested. In short, the following possible code mutation would not trigger any test failures:
diff --git a/lib/normalized-options.js b/lib/normalized-options.js
index 82c48db..f90b946 100644
--- a/lib/normalized-options.js
+++ b/lib/normalized-options.js
@@ -31,7 +31,7 @@ module.exports = (options) => {
     moduleName
       ? {}
       : { moduleName: `${modulePrefix}-${paramCase(name)}` },
-    className
+    false
       ? {}
       : { className: `${prefix}${pascalCase(name)}` },
     // namespace - library API member removed since Windows platform

I think we can see this here on Stryker dashboard, if we click to show killed mutations: https://dashboard.stryker-mutator.io/reports/github.com/brodybits/create-react-native-module/master#lib/normalized-options.js
Stryker config
For my real-world example: https://github.com/brodybits/create-react-native-module/blob/master/stryker.conf.js
module.exports = config => {
  config.set({
    mutator: 'javascript',
    mutate: [
      // TBD there seems to be an issue with
      // Stryker mutation testing on
      // bin/*.js  (...)
      // 'bin/**/*.js',
      'lib/**/*.js',
      'templates/**/*.js',
      'unsupported-platforms/**/*.js'
    ],
    packageManager: 'yarn',
    reporters: [
      'html',
      'clear-text',
      'progress',
      'dashboard'
    ],
    testRunner: 'jest',
    transpilers: [],
    coverageAnalysis: 'off'
  });
};

Test runner config
none
Stryker environment

for the real-world example:
├─┬<EMAIL_ADDRESS>│ ├─┬<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>deduped
├─┬<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>deduped

for the real-world example:
% yarn why jest
yarn why v1.22.4
[1/4] 🤔  Why do we have the module "jest"...?
[2/4] 🚚  Initialising dependency graph...
[3/4] 🔍  Finding dependency...
[4/4] 🚡  Calculating file sizes...
=> Found<EMAIL_ADDRESS>info Has been hoisted to "jest"
info This module exists because it's specified in "devDependencies".
info Disk size without dependencies: "48KB"
info Disk size with unique dependencies: "668KB"
info Disk size with transitive dependencies: "44.09MB"
info Number of shared dependencies: 92
✨  Done in 0.98s.

Test runner environment

for the real-world example:
npm run lint && npm run jest

removing the npm run lint part did not seem to have any effect
(no special Jest config file is used)
Your Environment
For my real-world example (I generally run Stryker in a cloud server which would be more powerful than my workstation):

software
version(s)

node
v12.16.3

npm
6.14.4

Operating System
Ubuntu 20.04 LTS, Linux 5.4.0-26-generic

And here is my GitHub action which keeps the Stryker dashboard updated:
# based on GitHub template:
name: Stryker CI

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
  push:
    branches: [ master ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
  # This workflow contains a single job called "build"
  build:
    # The type of runner that the job will run on
    runs-on: ubuntu-latest

    # Steps represent a sequence of tasks that will be executed as part of the job
    steps:
    # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
    - uses: actions/checkout@v2

    # Runs a single command using the runners shell
    - run: npm install

    # ref:
    # https://github.com/stryker-mutator/robobar-example/blob/master/.github/workflows/mutation-testing.yml
    - name: Run Stryker, with API key
      run: npm run stryker
      env:
        STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}

Add stryker.log
from the real-world example:
stryker.log

is it still and issue in newest releases?

I think this still needs investigation.

thinking about it... you say this:
a > b ? 1 : 2
works,
but this:
a ? 1 : 2
does not?

Yes:

a > b ? 1 : 2
works

That one "works" since Stryker is really mutating the binary a > b expression.

a ? 1 : 2
does not?

yup