[iOS][AccountKit] addition

This is a PR for adding in the bindings for AccountKit on iOS per issue https://github.com/xamarin/FacebookComponents/issues/19.
I have tested this and am happy with the basic functionality (both email and sms) however I want to get more people using it to surface any issues. The nuget version has been labeled as "alpha". (This is same for my android PR)
This is using version Facebook.AccountKit.iOS SDK v4.32 in the PR.
Also, I did not add a "Components" directory to this project as Xamarin Components is going away.

@SotoiGhost Thank you for the help! Good stuff, I have updated the PR accordingly. Please let me know of any other areas for improvement.

@SotoiGhost, OK all set, thanks again. Yes let me know your thoughts on the Sample, I do not write a lot of Xamarin native ios apps so please be let me know if you me doing anything weird.

@S1r-Lanzelot All done! Thanks a lot for your contribution! This now will go thru our internal review process and will be alive I hope by the next week on NuGet.
If you have any other doubt, don't hesitate to ask.
Best!
Israel Soto.

@S1r-Lanzelot It seems that the Components folder is still needed in our build process. Can you please add it and create a new PR? You don't have to create another branch, you can work on the same branch. Also, add Account Kit for iOS in the manifest.yaml file.
Don't worry about the Details.md and GettingStarted.md files, just create them as empty files and I'll do the docs.
Thanks in advance!


N queen solved

hi @akadeepesh,
add your details in profile, index.html and style.css file
see this Youtube video for details.

Hey @akadeepesh,
dont add two different issues in one pr.
delete the phonebook, you need to word on only assigned issue, after that you can work on other issue and submit another pr

Done!

hi @akadeepesh,
add your details in index.html and style.css file too
see this Youtube video for details.
also mention your assigned issue number

Added

N queen solved #53

hi, add your details in style.css too.
the last change

hey @akadeepesh,
one last step is remaining,
add your details to style.css file, so that i can merge your pr

All done ig

sorry for not following the yt tutorial at once. hope you can understand :)

issue #52


Evaluate Rules step is failing

Describe the bug
As of today we started facing the following error in gitStream workflow automation during the Evaluate Rules step:
Run linear-b/gitstream-github-action@v2
Run actions/setup-node@v4
Attempting to download 20.12.2...
Acquiring 20.12.2 - x64 from https://github.com/actions/node-versions/releases/download/20.12.2-8647736879/node-20.12.2-linux-x64.tar.gz
Extracting ...
/usr/bin/tar xz --strip 1 --warning=no-unknown-keyword --overwrite -C /home/runner/work/_temp/23eb7448-bcb6-451c-a1a9-72f6ca3fab9b -f /home/runner/work/_temp/4fa59221-6f40-4f1d-b463-86da1c1bfd31
Adding to the cache ...
Environment details
Run actions/setup-python@v5
Installed versions
Run rm -rf gitstream && rm -rf code && mkdir gitstream
Run actions/checkout@v4
Syncing repository: ORG/REPO
Getting Git version info
Temporarily overriding HOME='/home/runner/work/_temp/0bdf0e2a-a6a6-4e07-98de-448c8f35b988' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
/usr/bin/git config --global --add safe.directory /home/runner/work/REPO/REPO/gitstream/repo
Deleting the contents of '/home/runner/work/REPO/REPO/gitstream/repo'
Initializing the repository
Disabling automatic garbage collection
Setting up auth
Fetching the repository
Determining the checkout info
/usr/bin/git sparse-checkout disable
/usr/bin/git config --local --unset-all extensions.worktreeConfig
Checking out the ref
/usr/bin/git log -1 --format='%H'
'78bc3fec6e75c0020ce4003d355270747eeadc29'
Run actions/github-script@v7
Run ALL=2147483647
From https://github.com/ORG/REPO
 * branch                base_branch       -> FETCH_HEAD
From https://github.com/ORG/REPO
 * branch                head_branch -> FETCH_HEAD
 * [new branch]          head_branch -> upstream/head_branch
Switched to a new branch 'upstream/head_branch'
branch 'upstream/head_branch' set up to track 'upstream/head_branch'.
Switched to branch 'base_branch'
Your branch is up to date with 'origin/base_branch'.
hint: If you meant to check out a remote tracking branch on, e.g. 'origin',
hint: you can do so by fully qualifying the name with the --track option:
hint:
hint:     git checkout --track origin/<name>
hint:
hint: If you'd like to always have checkouts of an ambiguous <name> prefer
hint: one remote, e.g. the 'origin' remote, consider setting
hint: checkout.defaultRemote=origin in your config.
fatal: 'head_branch' matched multiple (2) remote tracking branches
Error: Process completed with exit code 128.

To Reproduce
The issue can be reproduced by manually executing the steps inside the Run ALL=2147483647 inner step (in Ubuntu terminal):
  ALL=2147483647
  cd gitstream && cd repo
  git fetch --deepen=$ALL origin $'base_branch'
  git remote add upstream $'https://github.com/ORG/REPO'
  git fetch --deepen=$ALL upstream $'head_branch'
  git checkout -b $'upstream/head_branch' $'upstream/head_branch'
  git checkout $'base_branch'
  git checkout $'head_branch'

Expected behavior
The last git checkout command is successful.

@yakirm-cr can you share the PR URL?

@vim-zz
For some reason the issue is not reproducible.
I am closing the issue.

@yakirm-cr we think it's related to a corner case when using forks, could it be the case?

@vim-zz
YES :slightly_smiling_face:
You are absolutely right!!!
This is encountered in a fork repository.


Trouble with non-existing fields

Hi,
fn main() {
    let toml = r#"[package]
    name = "test"
    version = "0.1.0"
    edition = "2021"
     "#;

    let doc = toml.parse::<Document>().expect("invalid doc");
    dbg!(&doc["package"]["resolver"].is_none());
}

This code panic with message 'index not found', meaning it panic before evaluating is_none()
Same code worked well with toml_edit = "0.6.0" :
[src/main.rs:12] &doc["package"]["resolver"].is_none() = true

It stopped working with 0.7 to 0.12.6
If it's not a bug, how can I easily test if a field exists ?
thanks,

Use get instead of indexing. The previous behavior was changed in https://github.com/ordian/toml_edit/pull/240 to match indexing semantics to std libs.

It's documented in the changelog btw:
https://github.com/ordian/toml_edit/blob/master/CHANGELOG.md#breaking-changes-6

I was just running into fighting this with upgrading cargo-edit from toml_edit v0.4.
I just released 0.13 which improves some consistency with this which made porting easier for me.
I'm overall torn on this.  In some aspects, always dealing with Item::None (ie pre-0.7) makes the indexing easily chainable at the cost of being unlike the rest of Rust, unintentionally inserting tables, being sloppier in error handling, inconsistencies between Table and InlineTable because there isn't a Value::None, and extra internal complexity.
Right now we are in a mixed state where we deal with Item::None with IndexMut which simplifies inserting a deeply nested item (would involve a lot of entry calls).  The main problems with this is InlineTables IndexMut can't participate and Item::get returns Item::None, making it inconsistent with Table::get.
I have a branch that explores switching to be more like the Rust stdlib.  It greatly simplifies the code and better matches expectations at the cost of extra complexity in some cases for users.

thanks for the explanation.
I should have read the changelog more carefully.

I just realized that the example from README.md is broken now. Would be good to fix that as well.
The original Index implementation was inspired by serde-json
https://github.com/serde-rs/json/blob/master/src/value/index.rs
and wasn't consistent with stdlib on purpose.
I agree about the downsides of this approach and am wondering what are we trading off here in the API ergonomics with more stdlib API/semantics.

I've posted what work I've done as https://github.com/ordian/toml_edit/pull/301 so others can play with it.  The part that gave me pause as I was working on it was &mut table[key1][key2] type stuff because that would be table.entry(key1).or_insert_with(|| table()).entry(key2).or_insert_with(|| rable()).

doc["package"]["resolver"]["random_field"]

is easier to write and to deal with, and maybe I'm also used to that kind of writing (JSON crates), but it has it's drawback.
if it returns None, you don't know what part of the "path" is wrong.
As far as I'm concerned, the new writing suits me.


feat(model): Support tongyi embedding

Description
Support tongyi  embedding
How Has This Been Tested?
Test passed
Snapshots:
Include snapshots for easier review.
Checklist:

[✔] My code follows the style guidelines of this project
[✔] I have already rebased the commits and make the commit message conform to the project standard.
[✔] I have performed a self-review of my own code
[✔] I have commented my code, particularly in hard-to-understand areas
[] I have made corresponding changes to the documentation
[✔] Any dependent changes have been merged and published in downstream modules

Thanks for your PR， great feature.

File /DB-GPT/dbgpt/rag/embedding/embeddings.py", line 891, in embed_documents
        |     embeddings = resp["output"]["embeddings"]
        | TypeError: 'NoneType' object is not subscriptable

EMBEDDING_MODEL=proxy_tongyi
proxy_tongyi_proxy_backend=text-embedding-v1
proxy_tongyi_proxy_api_key={your-api-key}

EMBEDDING_MODEL=proxy_tongyi
proxy_tongyi_proxy_backend=text-embedding-v1
proxy_tongyi_proxy_api_key={your-api-key}

how to use  this ,set those  in .env?


grammar/style editing

ran through the Kube quickstart & made small grammar & style changes throughout. Some diffs are simply spacing changes to make lines easier to review. @rshriram could you take a look?

signed the CLA

Jenkins job istio.github.io/presubmit passed

Can you attach a screenshot/double check the layout and indentation hasn't accidentally changed ?

I don't see any spacing changes for the commands (except one, which is basically aligning things properly).

Jenkins job istio.github.io/presubmit passed


Put back send to back, bring to front on the left menu

See twitter discussion: https://twitter.com/levsthings/status/1224116584970629121?s=21

Despite what's said in the twitter discussion, for more complex diagrams with a lot of overlapping elements that I'm trying to use excalidraw for, I personally feel like I would benefit from a layers panel, at least to select elements there when it's hard to do on the whiteboard.

https://github.com/excalidraw/excalidraw/issues/7468
still it is having this issue means it is not working only
As it is to annoying while using as it is killing the time of the user again need to remove the element and then need to add it again
I hope considering will help user for the better usage


Implement better TextMenu

The one we have right now is fine but it's poorly designed, it relies on menu id which can be very messy and not user friendly when it comes to modules.
A new implementation would look like..
// Functions
TextMenu_Show(playerid, const callback[], const header[]);
TextMenu_Add(menuid, const body[]);

// e.g
new id = TextMenu_Show(playerid, "OnPlayerBuyAmmuWeapon", "Ammunation");
TextMenu_Add(id, "M4 $5,000"):
TextMenu_Add(id, "Deagle $10,00");
// etc...

// Handler
forward OnPlayerBuyAmmuWeapon(playerid, listitem);
public OnPlayerBuyAmmuWeapon(playerid, listitem) {
  switch(listitem) {
    case 0: {
      GivePlayerWeapon(playerid, WEAPON_M4, 500);
      GivePlayerMoney(playerid, -5000);
    }
    case 1: {
      GivePlayerWeapon(playerid, WEAPON_DEAGLE, 500);
      GivePlayerMoney(playerid, -10000);
    }
  }
  return 1;
}

compared to
// Functions
TextMenuShowForPlayer(playerid, menuid, const header[], content[], items=0);

forward OnTextMenuResponse(playerid,menuid,listitem);
public OnTextMenuResponse(playerid,menuid,listitem)
{
    if(menuid == MENU_AMMU)
    {
        switch(listitem)
        {
            case 1:
            {
                if(GetPlayerMoney(playerid) < 50000) {
                    return SendServerMsg(playerid, "Not Enough Money!");
                }
                GivePlayerWeapon(playerid, WEAPON_TEC9, 500);
                GivePlayerMoney(playerid, -50000);
            }
            case 2:
            {
                if(GetPlayerMoney(playerid) < 25000) {
                    return SendServerMsg(playerid, "Not Enough Money!");
                }
                GivePlayerWeapon(playerid, WEAPON_TEC9, 250);
                GivePlayerMoney(playerid, -25000);
            }
            case 3:
            {
                if(GetPlayerMoney(playerid) < 50000) {
                    return SendServerMsg(playerid, "Not Enough Money!");
                }
                GivePlayerWeapon(playerid, WEAPON_UZI, 500);
                GivePlayerMoney(playerid, -50000);
            }
            case 4:
            {
                if(GetPlayerMoney(playerid) < 25000) {
                    return SendServerMsg(playerid, "Not Enough Money!");
                }
                GivePlayerWeapon(playerid, WEAPON_UZI, 250);
                GivePlayerMoney(playerid, -25000);
            }
            case 5:
            {
                if(GetPlayerMoney(playerid) < 50000) {
                    return SendServerMsg(playerid, "Not Enough Money!");
                }
                GivePlayerWeapon(playerid, WEAPON_MP5, 500);
                GivePlayerMoney(playerid, -50000);
            }
            case 6:
            {
                if(GetPlayerMoney(playerid) < 25000) {
                    return SendServerMsg(playerid, "Not Enough Money!");
                }
                GivePlayerWeapon(playerid, WEAPON_MP5, 250);
                GivePlayerMoney(playerid, -25000);
            }
            case 7:
            {
                if(GetPlayerMoney(playerid) < 50000) {
                    return SendServerMsg(playerid, "Not Enough Money!");
                }
                GivePlayerWeapon(playerid, WEAPON_SAWEDOFF, 500);
                GivePlayerMoney(playerid, -50000);
            }
            case 8:
            {
                if(GetPlayerMoney(playerid) < 25000) {
                    return SendServerMsg(playerid, "Not Enough Money!");
                }
                GivePlayerWeapon(playerid, WEAPON_SAWEDOFF, 250);
                GivePlayerMoney(playerid, -25000);
            }
            case 9:
            {
                if(GetPlayerMoney(playerid) < 50000) {
                    return SendServerMsg(playerid, "Not Enough Money!");
                }
                GivePlayerWeapon(playerid, WEAPON_DEAGLE, 500);
                GivePlayerMoney(playerid, -50000);
            }
            case 10:
            {
                if(GetPlayerMoney(playerid) < 25000) {
                    return SendServerMsg(playerid, "Not Enough Money!");
                }
                GivePlayerWeapon(playerid, WEAPON_DEAGLE, 250);
                GivePlayerMoney(playerid, -25000);
            }
            case 11:
            {
                if(GetPlayerMoney(playerid) < 50000) {
                    return SendServerMsg(playerid, "Not Enough Money!");
                }
                GivePlayerWeapon(playerid, WEAPON_SNIPER, 500);
                GivePlayerMoney(playerid, -50000);
            }
            case 12:
            {
                if(GetPlayerMoney(playerid) < 25000) {
                    return SendServerMsg(playerid, "Not Enough Money!");
                }
                GivePlayerWeapon(playerid, WEAPON_SNIPER, 250);
                GivePlayerMoney(playerid, -25000);
            }
            case 13:
            {
                if(GetPlayerMoney(playerid) < 50000) {
                    return SendServerMsg(playerid, "Not Enough Money!");
                }
                GivePlayerWeapon(playerid, WEAPON_M4, 500);
                GivePlayerMoney(playerid, -50000);
            }
            case 14:
            {
                if(GetPlayerMoney(playerid) < 25000) {
                    return SendServerMsg(playerid, "Not Enough Money!");
                }
                GivePlayerWeapon(playerid, WEAPON_M4, 250);
                GivePlayerMoney(playerid, -25000);
            }
            case 15:
            {
                if(GetPlayerMoney(playerid) < 15000) {
                    return SendServerMsg(playerid, "Not Enough Money!");
                }
                GivePlayerWeapon(playerid, WEAPON_CHAINSAW, 1);
                GivePlayerMoney(playerid, -15000);
            }
            case 16:
            {
                if(GetPlayerMoney(playerid) < 1000) {
                    return SendServerMsg(playerid, "Not Enough Money!");
                }
                SetPlayerArmour(playerid, 100);
                GivePlayerMoney(playerid, -1000);
            }
        }
    }
   return 1;
}

As far as i know this is done Closed.


add adapter to dbt docs's "Available Adapters" page

howdy @jwills
The Available Adapters page is one of the dbt community's most-visited docs pages. It would be of great benefit for first-time visitors to the dbt docs to see:

that this adapter is a possible option for using dbt-core, and
how many large the dbt ecosystem of support databases is.

https://github.com/dbt-labs/docs.getdbt.com/issues/1489 exists to address this with all as-of-yet undocumented adapters.
We just released Documenting a new adapter, a new guide on how to add an adapter to the Available Adapters page. I'd love to see this adapter on that page, so feel free to reach out with any questions/blockers by either replying to this issue, or posting in the #adapter-ecosystem channel of the dbt Community Slack.
Looking forward to the contribution!

I was looking for a way to get started in open source and this looked like a good first issue. I hope you don't mind Josh, I went ahead and created a pull request . Let me know if you have any objections.

None whatsoever @TylerHillery - thank you so much! ❤

I think we're good-to-go here, right?

Yes, all good here!


Possibly incomplete find feature

since our find keyword is based on OR, meaning for the command
find A B
it returns any person with A or B, it means that when searching for anything like a name with multiple words, the user can never find just the person they are looking for
e.g. find David Sim
return: all david, and all sim
is this a not-meeting user needs issue?
possible solution would be to switch to find /key words 1 /key words 2
this will allow both OR and AND in find

done


Write assumptions

#likely delta for next role and if you do less than that you should roll again and more than that chill.
Any time you toss 3 diuce you expect something you like. 4s is 50% line, so 2 6s turn into 3 6s is on par and beats a lot. If you stopped there how much would you make? If you roll again do your odds increase or decrease

#anything less than (2,4,1) loses more often than wins
#anything less than (3,4,2) loses more often than wins


Changelog is out of date

Can someone please update the changelog? It's way behind I feel!

As are the release tags, mentioned it here in #681 before seeing this issue. A bit slack on the details at drifty. Makes me worry.

:+1: It peculiar when the CLI tells you to update and links to an outdated changelog.

+1

+1

:+1: Slightly confusing when the CLI notifies that you're out of date, but i can't see a note in the changelog or a tag in the releases.

+1

+1

No update yet...

Still a thing.

Changelog should stay updated now, sorry about this.


Add CapabilityStatementIndexer

Add Indexer for CapabilityStatements
Tests for same
Update SearchParameterResolver to respect the index if present

Related to the SNAPSHOT being updated from a feature branch, looks like that happened back when .travis.yml was updated to use bash  scripts. Before the change, deployments were only for develop and master:  https://github.com/DBCG/cql_engine/commit/1431958c2e031f6ff9df95bde17fa373f4cf9d57#diff-6ac3f79fc25d95cd1e3d51da53a4b21b939437392578a35ae8cd6d5366ca5485L25
After the change, deployments happen regardless of the branch in the bash script. Not sure if the behavior change was intentional, but wanted to point out that the behavior did used to be different.

Related to the SNAPSHOT being updated from a feature branch, looks like that happened back when .travis.yml was updated to use bash  scripts. Before the change, deployments were only for develop and master:  https://github.com/DBCG/cql_engine/commit/1431958c2e031f6ff9df95bde17fa373f4cf9d57#diff-6ac3f79fc25d95cd1e3d51da53a4b21b939437392578a35ae8cd6d5366ca5485L25
After the change, deployments happen regardless of the branch in the bash script. Not sure if the behavior change was intentional, but wanted to point out that the behavior did used to be different.

It should not be publishing from feature branches. I'll fix that.
On Fri, Jan 15, 2021, 9:00 AM Matthew Sargent<EMAIL_ADDRESS>wrote:

Related to the SNAPSHOT being updated from a feature branch, looks like
that happened back when .travis.yml was updated to use bash scripts. Before
the change, deployments were only for develop and master: 1431958
#diff-6ac3f79fc25d95cd1e3d51da53a4b21b939437392578a35ae8cd6d5366ca5485L25
https://github.com/DBCG/cql_engine/commit/1431958c2e031f6ff9df95bde17fa373f4cf9d57#diff-6ac3f79fc25d95cd1e3d51da53a4b21b939437392578a35ae8cd6d5366ca5485L25
After the change, deployments happen regardless of the branch in the bash
script. Not sure if the behavior change was intentional, but wanted to
point out that the behavior did used to be different.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/DBCG/cql_engine/pull/440#issuecomment-761027068, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACNJW7VSDQQMJFSFX4SLIQLS2BRBZANCNFSM4WDJKYSQ
.

It should not be publishing from feature branches. I'll fix that.
On Fri, Jan 15, 2021, 9:00 AM Matthew Sargent<EMAIL_ADDRESS>wrote:

Related to the SNAPSHOT being updated from a feature branch, looks like
that happened back when .travis.yml was updated to use bash scripts. Before
the change, deployments were only for develop and master: 1431958
#diff-6ac3f79fc25d95cd1e3d51da53a4b21b939437392578a35ae8cd6d5366ca5485L25
https://github.com/DBCG/cql_engine/commit/1431958c2e031f6ff9df95bde17fa373f4cf9d57#diff-6ac3f79fc25d95cd1e3d51da53a4b21b939437392578a35ae8cd6d5366ca5485L25
After the change, deployments happen regardless of the branch in the bash
script. Not sure if the behavior change was intentional, but wanted to
point out that the behavior did used to be different.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/DBCG/cql_engine/pull/440#issuecomment-761027068, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACNJW7VSDQQMJFSFX4SLIQLS2BRBZANCNFSM4WDJKYSQ
.

I reverted the SNAPSHOT to the develop branch and disabled the build on this branch until I have time to look at it. Busy at the Connectathon today. Give you builds a shot.

I reverted the SNAPSHOT to the develop branch and disabled the build on this branch until I have time to look at it. Busy at the Connectathon today. Give you builds a shot.

This is going to rolled into a planning phase in the engine using a slightly different approach


[STAN-1059] bring descriptions in from ckan

Before we were hardcoding these into the frontend
now we can get meta descriptions from ckan
removes hardcoded descriptions and relies on ckan descriptions instead

Great. This only applies to our secondary content pages right?The meta description is still hardcoded for the 1. Homepage, 2. Future Standards, 3. Current (soon to rename to 'Published') standards and 4. individual standard pages?

That's exactly right
home description
[furture standards](https://github.com/nhsx/standards-registry/blob/master/ui/pages/future-standards.js#L23
current
... we seem to be missing descriptions from individual standard pages. Will follow up with @joefitter
)


How to switch fp32 to Int8 while testing TfMobileNet-Armnn on arm cpu/gpu?

I want to ask about how to switch fp32 to Int8 while testing TfMobileNet-Armnn on arm cpu/gpu. ty

Hi @AaronLiu92 you can use TfLiteMobilenetQuantized-Armnn instead which uses the mobilenet_v1_1.0_224_quant.tflite model. You can download the model here: https://www.tensorflow.org/lite/guide/hosted_models

when i am configuring the Arm NN SDK build using CMake for Tensorflowlite, i got this error, anyway to solve it? thanks
[ 62%] Linking CXX shared library libarmnnTfParser.so
[ 62%] Built target armnnTfParser
[ 62%] Building CXX object CMakeFiles/armnnTfLiteParser.dir/src/armnnTfLiteParser/TfLiteParser.cpp.o
[ 62%] Linking CXX shared library libarmnnTfLiteParser.so
/usr/bin/ld: /home/firefly/Desktop/flatbuffers/libflatbuffers.a(util.cpp.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against external symbol __stack_chk_guard@@GLIBC_2.17' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/firefly/Desktop/flatbuffers/libflatbuffers.a(util.cpp.o)(.text+0x18): unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol __stack_chk_guard@@GLIBC_2.17'
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
CMakeFiles/armnnTfLiteParser.dir/build.make:106: recipe for target 'libarmnnTfLiteParser.so' failed
make[2]: *** [libarmnnTfLiteParser.so] Error 1
CMakeFiles/Makefile2:175: recipe for target 'CMakeFiles/armnnTfLiteParser.dir/all' failed
make[1]: *** [CMakeFiles/armnnTfLiteParser.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

@MatthewARM  when i am configuring the Arm NN SDK build using CMake for Tensorflowlite, i got this error, anyway to solve it? thanks
[ 62%] Linking CXX shared library libarmnnTfParser.so
[ 62%] Built target armnnTfParser
[ 62%] Building CXX object CMakeFiles/armnnTfLiteParser.dir/src/armnnTfLiteParser/TfLiteParser.cpp.o
[ 62%] Linking CXX shared library libarmnnTfLiteParser.so
/usr/bin/ld: /home/firefly/Desktop/flatbuffers/libflatbuffers.a(util.cpp.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against external symbol __stack_chk_guard@@GLIBC_2.17' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/firefly/Desktop/flatbuffers/libflatbuffers.a(util.cpp.o)(.text+0x18): unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol __stack_chk_guard@@GLIBC_2.17'
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
CMakeFiles/armnnTfLiteParser.dir/build.make:106: recipe for target 'libarmnnTfLiteParser.so' failed
make[2]: *** [libarmnnTfLiteParser.so] Error 1
CMakeFiles/Makefile2:175: recipe for target 'CMakeFiles/armnnTfLiteParser.dir/all' failed
make[1]: *** [CMakeFiles/armnnTfLiteParser.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Hi you need to add -fPIC to the compiler flags while building libflatbuffers.a.
Hope that helps,
Matthew

@MatthewARM  I did these before:
$ cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
$ make
In order to compiler by '-fPIC', which file should i edit or what command should i add after 'cmake' or 'make'? Thanks!

@MatthewARM  build successfully by adding   -DCMAKE_CXX_FLAGS="-fPIC"  after cmake command. Thanks Matthew!


Updating custom rules pitfalls.

When configuring a custom detektAll parallel task at the project root, custom detekt plugins must also be applied as dependencies on the root project, not sub modules.
This was covered in an issue that I found in my search, but hopefully adding it to the pitfalls notes means it could save the next person a little bit of time.

Warnings

:warning:

It looks like you're editing the un-versioned copy of our website. This affects only users on the 'next' version of detekt, and it's correct only if you intend to document a future change or feature. If you intended to make a change also for the current version of detekt, please make sure you edit the equivalent file inside website/versioned_docs/ as well.

Messages

:book:

Thank you very much for making our website better :heart:!

  Generated by :no_entry_sign: dangerJS against 6ec5782f714e564047c1913e8833e9bc7a9ccee0

Warnings
⚠
It looks like you're editing the un-versioned copy of our website. This affects only users on the 'next' version of detekt, and it's correct only if you intend to document a future change or feature. If you intended to make a change also for the current version of detekt, please make sure you edit the equivalent file inside website/versioned_docs/ as well.

It looks like versioned_docs goes back several versions, I'm happy to make this change in each if necessary, would appreciate a maintainer confirming before I do that though (I'm worried it just makes noise otherwise).


Error Unicode AscII (in pdf)

I'm using xhtml2pdf to render html to pdf but even with the Html with uft-8, the PDF are with Unicode AscII error. I tried overwriting the source template in my putting some other and the error persists.
Some source or configuration option so that I can generate PDF without errors?

Hi Paola
Can you please copy/paste the stack trace of the error?
/Emil

On 11 Mar 2016, at 18:44, Paola Katherine Pacheco<EMAIL_ADDRESS>wrote:
I'm using xhtml2pdf to render html to pdf but even with the Html with uft-8, the PDF are with Unicode AscII error. I tried overwriting the source template in my putting some other and the error persists.
Some source or configuration option so that I can generate PDF without errors?
—
Reply to this email directly or view it on GitHub.

then I could generate the PDF putting a font in the css. But it generates full of errors in UTF-8
are those black squares on the accent places.

Can you link to a code example?

So, I decided changed font, overide for other font ( arial unicode) and ok!!!
thank you very much .. I thought it was to redo all the functionality with another library


Service example assumes same number of devices when it is not always the case

The Python guide suggests that we do this, but executing this sample for me returns that there are 9 total and 9 enabled devices, but only returns 7 devices to dev_list. Thus, the sample crashes trying to get index 7 of the device list.
        iothub_registry_statistics = iothub_registry_manager.get_statistics()
        print ( "Total device count                       : {0}".format(iothub_registry_statistics.totalDeviceCount) )
        print ( "Enabled device count                     : {0}".format(iothub_registry_statistics.enabledDeviceCount) )
        print ( "Disabled device count                    : {0}".format(iothub_registry_statistics.disabledDeviceCount) )
        print ( "" )

        number_of_devices = iothub_registry_statistics.totalDeviceCount
        dev_list = iothub_registry_manager.get_device_list(number_of_devices)

        iothub_twin_method = IoTHubDeviceTwin(CONNECTION_STRING)

        for device in range(0, number_of_devices):
            if dev_list[device].deviceId == DEVICE_ID:
                twin_info = iothub_twin_method.update_twin(dev_list[device].deviceId, UPDATE_JSON)

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ee954f99-9e57-d746-e504-445acf410291
Version Independent ID: 9008125f-1961-6b08-8b8d-afe629a7354e
Content: Get started with Azure IoT Hub device twins (Python)
Content Source: articles/iot-hub/iot-hub-python-twin-getstarted.md
Service: iot-hub
GitHub Login: @robinsh
Microsoft Alias: robinsh

@jmonticelli can you please link the guide that you are following so that we can better assist?

https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-python-twin-getstarted
Hope this helps, have a great day!

@jmonticelli I am trying to repro your issue. Just checking if on your IoTHub you also have IoTEdge devices created?
Thanks!

@jmonticelli I am trying to repro your issue. Just checking if on your IoTHub you also have IoTEdge devices created?
Thanks!

No, I do not. Also, with the provided example, given a device I know exists and should work, I am able to get the twin document using get_twin, but update_twin fails with the following error message:
Error: Time:Tue Oct 22 10:29:19 2019 File:/home/julian/work/honeycomb/bld/lib/cloud/azure_iot_sdk_python/src/azure_iot_sdk_python_ep/c/c-utility/adapters/httpapi_curl.c Func:HTTPAPI_ExecuteRequest Line:643 Failure in HTTP communication: server reply code is 400
Info: HTTP Response:{"Message":"ErrorCode:GenericBadRequest;BadRequest","ExceptionMessage":"Tracking ID:3b4e4283fcb345f4ad149ba960c6a111-G:32-TimeStamp:10/22/2019 14:29:19"}
Error: Time:Tue Oct 22 10:29:19 2019 File:/home/julian/work/honeycomb/bld/lib/cloud/azure_iot_sdk_python/src/azure_iot_sdk_python_ep/c/iothub_service_client/src/iothub_devicetwin.c Func:sendHttpRequestTwin Line:287 Http Failure status code 400.
Error: Time:Tue Oct 22 10:29:19 2019 File:/home/julian/work/honeycomb/bld/lib/cloud/azure_iot_sdk_python/src/azure_iot_sdk_python_ep/c/iothub_service_client/src/iothub_devicetwin.c Func:IoTHubDeviceTwin_UpdateDeviceOrModuleTwin Line:541 Failure sending HTTP request for create device

@jmonticelli I am trying to repro your issue. Just checking if on your IoTHub you also have IoTEdge devices created?
Thanks!

No, I do not. Also, with the provided example, given a device I know exists and should work, I am able to get the twin document using get_twin, but update_twin fails with the following error message:
Error: Time:Tue Oct 22 10:29:19 2019 File:/home/julian/work/proj/bld/lib/cloud/azure_iot_sdk_python/src/azure_iot_sdk_python_ep/c/c-utility/adapters/httpapi_curl.c Func:HTTPAPI_ExecuteRequest Line:643 Failure in HTTP communication: server reply code is 400
Info: HTTP Response:{"Message":"ErrorCode:GenericBadRequest;BadRequest","ExceptionMessage":"Tracking ID:3b4e4283fcb345f4ad149ba960c6a111-G:32-TimeStamp:10/22/2019 14:29:19"}
Error: Time:Tue Oct 22 10:29:19 2019 File:/home/julian/work/proj/bld/lib/cloud/azure_iot_sdk_python/src/azure_iot_sdk_python_ep/c/iothub_service_client/src/iothub_devicetwin.c Func:sendHttpRequestTwin Line:287 Http Failure status code 400.
Error: Time:Tue Oct 22 10:29:19 2019 File:/home/julian/work/proj/bld/lib/cloud/azure_iot_sdk_python/src/azure_iot_sdk_python_ep/c/iothub_service_client/src/iothub_devicetwin.c Func:IoTHubDeviceTwin_UpdateDeviceOrModuleTwin Line:541 Failure sending HTTP request for create device

I would be extremely happy if I could upgrade to the 2.0.0 SDK, as I know many people suggest, but it does not have a considerably large amount of features that my team needs for its project, and we are stuck using the 1.4.6 SDK until the 2.0.0 SDK progresses further

@asergaz just to add a note to this, the total device count / enabled device count appear to track the high water mark of the number of devices ever created.
After @jmonticelli mentioned the problem he observed to me, I went in and started adding test devices by hand. The total / enabled count did not change until I added a third device, and then started incrementing until I got to 13 total. I would add a device, then re-run the script.
I deleted all of the test devices, and we are now back down to 8 devices total, the other 5 having been deleted. The total and enabled count sit at 13, and the disabled count at 0. I'm running this at least 15 minutes after deleting the devices. I am assuming the stat may be eventually consistent with respect to the returned active device list, but when we first noticed the error today, we had not deleted devices in a significant amount of time (probably on the order of days or longer).
The second error observed by @jmonticelli is probably an issue on our end, as this works for us on another machine.

@robinsh   Screenshots might need to be updated. After completing the tutorial you have one simulated device but the screenshots show 7 which is confusing. This is what I saw

@jmonticelli @jhosteny I created an issue on the SDK repository so the team can fix the issue https://github.com/Azure/azure-iot-sdk-python/issues/373
I will leave this issue open cause I noticed that the screenshots do not match what you see following this guide and the content author will evaluate and update if appropriate.

@JimacoMS3  can we close this?

@JimacoMS3 is this ready to be closed yet? including the screenshots someone mentioned above?

@jmonticelli, @jhosteny Thanks again for your feedback on this topic. The topic has now been updated to the V2 SDK. With respect to the screenshots, the topic has been changed to use the iothub_registry_manager.query_iot_hub API to search for devices with the specified tags. Due to this change, we no longer display the total devices, etc. Please also note, that there is a delay introduced between updating the twin and executing the query to account for any system latency.
I'm going to go ahead and close this issue. Feel free to @-comment me on this thread if you think there are still problems that need to be addressed. Thanks again for your help!
-Jimaco

#please-close


How can i get section or section id inside row item

each time i am getting section id s1 ...........

@atul-forbinary , oh, very sorrry, this is my error, I only see this issue now, are you resolve the problem?
and the is my bug, the third parameter 'sectionId' of renderRow  returns a wrong parameter, I fixed the bug, and the third parameter will the index of current section,
now you can update react-native-expandable-section-list to v1.0.5. If you have any questions, ask me again


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/61863

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/70978

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/74329

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/77687

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/94528


Universal witnesscalc.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 9.09091% with 30 lines in your changes missing coverage. Please review.

Project coverage is 22.42%. Comparing base (0b20e2b) to head (7def1a8).

Files with missing lines
Patch %
Lines

...b/proof/data/data_sources/witness_data_source.dart
0.00%
11 Missing :warning:

lib/iden3comm/authenticate.dart
0.00%
5 Missing :warning:

.../data/data_sources/circuits_files_data_source.dart
0.00%
5 Missing :warning:

lib/proof/domain/entities/circuit_data_entity.dart
0.00%
3 Missing :warning:

...roof/data/data_sources/prover_lib_data_source.dart
0.00%
2 Missing :warning:

...proof/data/repositories/proof_repository_impl.dart
0.00%
2 Missing :warning:

...ata_sources/lib_pidcore_iden3comm_data_source.dart
0.00%
1 Missing :warning:

...of/domain/use_cases/generate_zkproof_use_case.dart
0.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #464      +/-   ##
===========================================
+ Coverage    21.35%   22.42%   +1.07%
===========================================
  Files          267      251      -16
  Lines         8742     8289     -453
===========================================
- Hits          1867     1859       -8
+ Misses        6875     6430     -445

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


link to Contribution Guidelines not linked properly in README.md

I would like to fix this issue under CrossWoc.
@ankitapuri could you please assign it to me

Okay !! Also add the contributing guidelines if anything is missing

I have updated the README.md.
we can close this issue.
Thank you @ankitapuri


Error message when ending combat

I am receiving the following error message when I end combat.
After ending combat the health bars remain displayed.
This occurs to a mob (unmodified [5e] mob) and to PC tokens.

Version 1.0.1 was released with a fix to this issue. Thanks for finding it. 👍


Does the currently implementation support adding adapters just to some layers?

Is it possible to add adapters to some selected layers without adding them to all the layers using the currently code base? If no, any clues on the most appropriate to do this? Can I use it with the run_mlm.py script?
I noticed there is the leave_out parameter, I tried it
from transformers import AutoAdapterModel, AdapterConfig
model = AutoAdapterModel.from_pretrained("xlm-roberta-base")
config = AdapterConfig.load("pfeiffer", non_linearity="relu", reduction_factor=2, leave_out = list(range(5)))
model.load_adapter("en/wiki@ukp", config=config)

But the adapters were still added

Hey, this depends a bit on whether you'd want to a) add randomly initialized adapters or b) load pre-trained adapters.
a) To add randomly initialized adapter for training (via add_adapter()), the way of using leave_out shown in your code snippet should work, i.e.:
config = AdapterConfig.load("pfeiffer", non_linearity="relu", reduction_factor=2, leave_out = list(range(5)))
model.load_adapter("en/wiki@ukp", config=config)

This will add randomly initialized adapter modules to all layers with ids >= 5.
b) From your snippet, it seems you'd like to load a pre-trained adapter via load_adapter(). As each pre-trained adapter is trained with a specific config, changing the leave_out parameter within the config won't affect the loaded adapter. To drop certain adapter layers from the pre-trained adapter for inference, you can pass leave_out to the load_adapter() method, i.e.:
config = AdapterConfig.load("pfeiffer", non_linearity="relu", reduction_factor=2)
model.load_adapter("en/wiki@ukp", config=config, leave_out = list(range(5)))

Hope this helps!

It helps. Thanks!


vidi: Update to <IP_ADDRESS> (add au.url)

Autoupdate was removed intentionally to not get alpha versions


Implement compound registry

As a developer I want to chain schema registries.

I would prefer the name "CompositeRegistry" (as in CompositeHistoryEventHandler)


start: express backend

Seems reasonable for now, but I think this could evolve once we have the backend tutorial. Like perhaps we will be able to reuse that backend code somehow.


Add accesible protostar template with scarb

Protostar init will be removed after the integration with scarb config. We should provide users a way to bootstrap their projects with scarb and protostar.

It should be a separate repo that can be cloned


fix(sol): Modified message padding method and upgraded otaScript

Changes:

Modify padding method from left-pad (padStart) to right-pad (padEnd) to ensure correct alignment and formatting of the signing message.
Update otaScript to ensure compatibility with SE changes.

Checklist:

README.md includes:

[ ] The details of signing data and transaction data, this includes parameters.
[ ] Official docs or white paper.
[ ] Website or api can query assets and broadcast transaction.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Task linked: CW-19858 Implement signMessage method


hatch test only runs the first test case in the list

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
While working on a change, I noticed that hatch test only runs the first test for the specified extractor. For example if I modify YoutubeIE._TESTS[0] in yt_dlp/extractor/youtube.py to have a mismatching ID, hatch test fails, but if I modify the ID in YoutubeIE._TESTS[1], it is not detected. Moreover, hatch test reports that it only ran 1 test for the extractor.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
$ git diff
diff --git a/yt_dlp/extractor/youtube.py b/yt_dlp/extractor/youtube.py
index 7aa84aa8b..bb79f3a5b 100644
--- a/yt_dlp/extractor/youtube.py
+++ b/yt_dlp/extractor/youtube.py
@@ -1332,7 +1332,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
             'url': '//www.YouTube.com/watch?v=yZIXLfi8CZQ',
             'note': 'Embed-only video (#1746)',
             'info_dict': {
-                'id': 'yZIXLfi8CZQ',
+                'id': 'ZIXLfi8CZQ',
                 'ext': 'mp4',
                 'upload_date': '20120608',
                 'title': 'Principal Sexually Assaults A Teacher - Episode 117 - 8th June 2012',
$ hatch test YoutubeIE
Running ['pytest', '-Werror', '--tb=short', '-p', 'no:randomly', 'test/test_download.py::TestDownload::test_Youtube']
===================================================================================================== test session starts ======================================================================================================
platform linux -- Python 3.12.3, pytest-8.2.2, pluggy-1.5.0 -- /home/avn/.local/share/hatch/env/virtual/yt-dlp/HQDEJHrA/hatch-test.py3.12/bin/python3
cachedir: .pytest_cache
rootdir: /storage/avn/git/yt-dlp
configfile: pyproject.toml
plugins: xdist-3.6.1, rerunfailures-14.0
collected 1 item

test/test_download.py::TestDownload::test_Youtube PASSED                                                                                [100%]

====================================================================================================== 1 passed in 2.54s =======================================================================================================

That is a quirk of the testing system inherited from youtube-dl.
Extractor = test 1
Extractor_1 = test 2
Extractor_2 = test 3
Extractor_all = all tests

So to run all tests for YoutubeIE you would run
hatch test Youtube_all

Thanks for a quick response!
Well, it looks like because of that quirk, many tests haven't been run for with that _all option for a while haven't been updated with some recent changes. For example, I see many tests (including one I'm working on, GoProIE) still using a deprecated 'artist': 'Some Artist' field, instead of multi-value 'artists': ['Some Artist'].

Or GoProIE_all, without my changes:
$ hatch test GoProIE_all
Running ['pytest', '-Werror', '--tb=short', '-p', 'no:randomly', 'test/test_download.py::TestDownload::test_GoPro_all']
===================================================================================================== test session starts ======================================================================================================
platform linux -- Python 3.12.3, pytest-8.2.2, pluggy-1.5.0 -- /home/avn/.local/share/hatch/env/virtual/yt-dlp/HQDEJHrA/hatch-test.py3.12/bin/python3
cachedir: .pytest_cache
rootdir: /storage/avn/git/yt-dlp
configfile: pyproject.toml
plugins: xdist-3.6.1, rerunfailures-14.0
collected 1 item

test/test_download.py::TestDownload::test_GoPro_all FAILED                                                                                [100%]

=========================================================================================================== FAILURES ===========================================================================================================
_________________________________________________________________________________________________ TestDownload.test_GoPro_all __________________________________________________________________________________________________
test/test_download.py:294: in test_template
    getattr(self, test_name)()
test/test_download.py:229: in test_template
    expect_info_dict(self, tc_res_dict, tc.get('info_dict', {}))
test/helper.py:275: in expect_info_dict
    self.assertFalse(
E   AssertionError: {'artists'} is not false : Missing keys in test definition: artists
----------------------------------------------------------------------------------------------------- Captured stdout call -----------------------------------------------------------------------------------------------------
[debug] Loaded 1823 extractors
[GoPro] Extracting URL: https://gopro.com/v/ZNVvED8QDzR5V
[GoPro] ZNVvED8QDzR5V: Downloading webpage
[GoPro] ZNVvED8QDzR5V: Downloading JSON metadata
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[info] ZNVvED8QDzR5V: Downloading 1 format(s): 1520p
[info] Writing video metadata as JSON to: test_GoPro_ZNVvED8QDzR5V.info.json
[debug] Invoking http downloader on "https://media-cdn-us-west-2.gopro.com/cefac45d-9eb2-482f-bf85-36f8e64b7151/1964849749358019853/source/default/1.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA3OOFXGVAND67FOI7%2F20240624%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20240624T073528Z&X-Amz-Expires=3600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEPb%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLXdlc3QtMiJIMEYCIQDYHVTLbJxqJo6VbEfVUtWTCWkcGwS%2B0FsR%2F7anDM3MogIhAKJFtEdMTLkKA4wJdZvu0WsK7gXSgTniWEXLevFWwkDOKoUFCJ%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEQABoMNzg2OTMwNTQ1OTg0Igw9izva1zkxhWUerosq2QTeDOJm9BmGNXvBRWNER4Xz3AuIXzbUC%2FgmqAKt99W70k6r18N5pncU6bYoNaezc49sd%2BcYXrPy4BKbJGS0lzRnlVJ6RhCKUue1cT4OROhvtaO7EbOPR9LWy6UGSRT2BJeqM0e7mWsYuTVgaL0nilEq2FN1NnTel9C64TAPjxxItBf21RMpcil7VCGffrQtESV0EzqrtekKIKLmdXs9raR7jPIclSBbdIpLmakXci%2BvxMbBN5sJuMaMhvn%2BypY3yeceZfQFpCseztw01zmlLoLOLq9YN6TjY60SQh9dsNAkokCsCHKnnNpokLjSWrvmDg%2BGiTu%2BUAP0%2BYQ1aEyi5GUd7OI%2FM9i71uWLhQ8Uen8CD1UADI9dzJMwmllI7Y5EIx7qS0oUSwAJFyZkDi1s5TrnvHbe8rmsojXbj96QROg0C%2BM7HXjtX5mZ074nyMa8fFeen2C1WBVcutmhNdaPPRGj01ep4KKCoJtd3SLsCN5283ze7L9LBfx0fHPfoKd2pfLgcwV0%2FD0x3ywcH%2BjG6RpHMYBKUIuMmqmCc12D6rv7IVR6IYCVbDqFmezBcJyIWd3PV9hDBitGIeTbOwIF1z0ffDyO0vFyi3q7NyvafjcZ%2Fd6Zk5gZDKM3bzDx16wQ32f%2FidPv8U9CHMhjojEEDIOBYsla9pDJw6I3d1uXYya1h7xn%2BruxLb8WKZfzWP3CuFxwbX0qJmEY6Rf3a32OY2eXnu5UchTse4r1Ih2iZyigtyykoPpRDpT4TMl2I84GVcK8xpSL9HUiJGb9XKCiOynOBhxBoLaBO2WDMPCM5LMGOpkB0t4cf%2FCNd01iPN98LmTkLqpSr%2BiA6L2gO03Yz2t7c7Fjh84JhuvTf7%2BdTb%2Bzgc7ibWm56YjvYtXhIpUmIEyWmCIqvJmmIrdZvn2McvuT2BLlbGK%2BALFOIOA6Sxko%2F%2FJ%2FVKeQoJ07M8DifhdIBnCR3HgzG%2FkwGIZLJKAJYwbcpQATXFdgrw1BzrTTFJinOGn2RTqHz9YjXd8B&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3DGH011516.MP4%3B&X-Amz-Signature=417e9a02ee9e51c9508493955ddbebdcef6771e51d9ae4943f7cdb42892bb4fd"
[download] Destination: test_GoPro_ZNVvED8QDzR5V.mp4
[download] 100% of   10.00KiB in 00:00:00 at 34.99KiB/s
[debug] Loaded 1823 extractors
[GoPro] Extracting URL: https://gopro.com/v/KRm6Vgp2peg4e
[GoPro] KRm6Vgp2peg4e: Downloading webpage
[GoPro] KRm6Vgp2peg4e: Downloading JSON metadata
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[info] KRm6Vgp2peg4e: Downloading 1 format(s): 720p
[info] Writing video metadata as JSON to: test_GoPro_1_KRm6Vgp2peg4e.info.json
[debug] Invoking http downloader on "https://media-cdn-ap-northeast-1.gopro.com/f4e8e06f-d6ac-476c-9402-0964a034046e/1756480393139193636/source/default/1.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA3OOFXGVAF5RDVTSW%2F20240624%2Fap-northeast-1%2Fs3%2Faws4_request&X-Amz-Date=20240624T073530Z&X-Amz-Expires=3600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEPT%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaDmFwLW5vcnRoZWFzdC0xIkcwRQIhAKmyEfQmY21rWaLEORl6uUL3%2Fv1VTAN4lpL1QY0iz%2FvsAiBb5hD05JHMYsV5dvoLaDiLowUZji7qVpbPR74GjPmSKCqFBQie%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F8BEAAaDDc4NjkzMDU0NTk4NCIM6FNH%2FtrXgfCfzj03KtkErIaJxJwCBIGqBqh0Puwl%2BMTt85%2BCSNvx8i1Zh6nm6Hl0eu2FpkVbB5rDMSTwekwQun%2B3E1vcKAUi0ghUfsdQ8Ax6SOYaxNk3J21Iavu3dDHdBcqBoV64LXv%2F%2FY1tozsYq4S2XJLJdliVVRPEOc52MdVzH%2FUIGK6xmI%2BAUmsBApvxX1IqhMOOXt%2BlhaVPi59FYFYEXPgalnUvTq4qzfVgNWLFHSrfLHAstyOUTzuLT4p1YRX1JVfIMsZsL1wW%2BdgJELbwpcmH%2Fwi8Fa71GuPCipdA6kBw6Q6usFeoB%2Fszrny7yr4pTgUxWpEG%2Fm0DxC3ajD956cdvJNwA1KqL1FhMaYyFpyKoigv8OOLJbCLegMREwYUg29s88N3%2FZTYRpIHOKlXkxV9tbHy76tiIXHFcqmMIveNmYtAscmuwfT1KtFDQGx7WqjLdLV88nX5EwSO1BODXHT2nXtpiF60lQClljM%2FF7L%2BuACIY3cY4WN4qjhcWeSLNxOypjhA5%2F4bsmdIt4KYmfNKJsShbN1ZdvHXsRCdxZIuFhNpngrO5HvE4U6vbD%2F9jbi6Hg9Rfwzw3uwIs64LV2cTwAjLDz4mljz%2BHZKsgoF3Efg4gZJw44ShCV6Waex7CieJI3Su0SYPKnuYQXAQyci5FXXWwf2YZNhMng0TiN84mMsXikfzHZD2wO6RpOcI%2Bxieke%2FJNfJw2dDGqrmVgSUd0%2B5zRTTugo1jEtfC2ThEs3oFFx7JjCiA%2Fd7njangXWGVKFY%2Fm5B0V2kJ95HygxUnR3RakUDlGdx1y4gBX6a04QEW3wzC47OOzBjqaAReXwAe0%2FA4ocrSQ7gtq66ZzUEsZ93PsvIelm3MXOY4YyjqgFiUv8g1FbOo%2FAOrbyCHWF6kc6COiAQKcL8Il7Yg3i2tG7IPh%2F155lfNJvSNShpx%2FJVtdEEA1LREEJl%2BtitpTFZ%2BUf5FK4lQOSRBHOGIILzmwXc6Y8pSFierauwQrsV%2FMtvWP3FHDkeFCipwT62wR4DtfGcGlGXM%3D&X-Amz-SignedHeaders=host&response-content-disposition=attachment&X-Amz-Signature=8ce1891d0d1691519d218ca3e182407168472be17a8e06f43072aea3be9de5a1"
[download] Destination: test_GoPro_1_KRm6Vgp2peg4e.mp4
[download] 100% of   10.00KiB in 00:00:00 at 17.74KiB/s
[debug] Loaded 1823 extractors
[GoPro] Extracting URL: https://gopro.com/v/kVrK9wlJvBMwn
[GoPro] kVrK9wlJvBMwn: Downloading webpage
[GoPro] kVrK9wlJvBMwn: Downloading JSON metadata
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[info] kVrK9wlJvBMwn: Downloading 1 format(s): 1080p-1
[info] Writing video metadata as JSON to: test_GoPro_2_kVrK9wlJvBMwn.info.json
[debug] Invoking http downloader on "https://media-cdn-ap-northeast-1.gopro.com/55b50340-069e-49c5-8d51-04c76f7694f8/1647010679820911738/high_res_proxy_mp4/default/1.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA3OOFXGVALBNDJG56%2F20240624%2Fap-northeast-1%2Fs3%2Faws4_request&X-Amz-Date=20240624T073531Z&X-Amz-Expires=3600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEPX%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaDmFwLW5vcnRoZWFzdC0xIkYwRAIgQWCgEXpJm41iGK07mOH1hgBtfx2qeexSXKY42Yh7ik8CIHvA08aizPyr6BnnSX6hx%2FnuJKeWApIFLeiCa4CNafvMKoUFCJ7%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEQABoMNzg2OTMwNTQ1OTg0IgyQ%2BZllNpnq6H4ly0Aq2QT8ZVenTEFFguvtr8J1UGmw7oREqf0t8WhKz112C7PsvIrRlW12BKo6w8atOXKyaiUtEc%2BBH0Qh%2FgWfAbU%2BAck7ZRWUWWl%2FcSuf5l6KAhLplTn4MXrP3Kw0S2BZnpobTZTfSYVinUfMG6L2qLpv0k%2Fm8IogCE6dJSwTIzt7V18tjgquPjbQP23zm3kCVTUKLoK137mSWOJIp3IxZFSqaNJByQuvD6CKD0oNym182YODBywdfgx0HQWwxoTdXSwcljuYuLTl23zdEMl4pceoseR8nND%2BRizDtZmlQGPwg5NCRGEMbjhmUyl9GeMk479%2BcY4DuGETy4ON5xd1%2BUdD9r6RsfR58Rt83Q0l3lR6GVM9ioxKIGFFKtbAegX5B7JbhG7MgDRv1DJMZ00gcyd1byaz4BjeGHaeajFA4ZiLnl72FtcuVYb0BkyeDd1eC%2BCMy4jxwkmERFiqPBkMfvuOqqi1wziSry9Ln8Wzkf4y5rnLGRUOoagp7H3AkRwoQHwK%2B7pdQKCZQ69RXgRWiSq5G1ioQjDgZurDVLXmemm0WIC%2FjEUO0LUjG8N7ewTjlusT3%2Fqp2LVgtrdvy%2BjzPARb0we5NjzCcTrfnivVWb5mbqR4Z0OG6siuOqSFhmyQoJUPpD7FlEGOCCeT94gfeecIpnAiiY7vHlP7rSOfYayRxkhhrjoBe45rL96V79VtQwECMUD4XfLiEuVoyOIK6slcigxHsPpC7spBWfkM1Xno9cFkM8rGmF%2B0WoWz1iDaOe49fZqlbnPKEvOHRbPJ2jbZnOwNmWRwAgA%2BG8%2BXMPj447MGOpsBjo4AfTFfh1ee3uZ32CyvW1pGQ1%2BCg9q514vvCphezbcM6y4%2BAS61PDDH5ZHWsAONLiJKz7CsvLVcPi3WT2EQ%2FSIAbdgKtC9hyuEwneUo4c2yWvBBIIhpldrZ0gKeamAhH72vM5qEFHp5EKS0Gz7v10%2Ft4KjpKkuq15ahHToB96LrZpHkAe5UenXIdzHccT1tVqiBSb5m46XFvkc%3D&X-Amz-SignedHeaders=host&response-content-disposition=attachment&X-Amz-Signature=9c1fe8ebef0cad29cd1b8b5abf7b59dda17df1d56e75dba7b26c405a090dca0b"
[download] Destination: test_GoPro_2_kVrK9wlJvBMwn.mp4
[download] 100% of   10.00KiB in 00:00:00 at 15.31KiB/s
----------------------------------------------------------------------------------------------------- Captured stderr call -----------------------------------------------------------------------------------------------------

        'info_dict': {
            'id': 'kVrK9wlJvBMwn',
            'title': 'DARKNESS',
            'thumbnail': 'https://images-01.gopro.com/resize/450x254/eyJhbGciOiJIUzI1NiJ9.eyJtZWRpdW1faWQiOiIxNjQ3MDEwNjc5ODIwOTExNzM4Iiwib3duZXIiOiI1NWI1MDM0MC0wNjllLTQ5YzUtOGQ1MS0wNGM3NmY3Njk0ZjgiLCJpc19wdWJsaWMiOnRydWUsIm8iOjEsInRyYW5zIjoiR1BBVCIsInJlZ2lvbiI6ImFwLW5vcnRoZWFzdC0xIn0.hcXxGw8qt-MdVs0VfQVxm686L7Eud59tTYYOVrkb27I',
            'timestamp':<PHONE_NUMBER>,
            'uploader_id': '闇夜乃皇帝',
            'duration': 313075,
            'track': 'Battery (Live)',
            'upload_date': '20200708',

            'artists': ['Metallica'],
        },

=================================================================================================== short test summary info ====================================================================================================
FAILED test/test_download.py::TestDownload::test_GoPro_all - AssertionError: {'artists'} is not false : Missing keys in test definition: artists
====================================================================================================== 1 failed in 5.22s =======================================================================================================

Tests are usually only run when someone makes changes to an extractor. Yes, with how often sites change, this means that there are currently a lot of broken tests in the codebase. But this is fine, the tests are still useful to see what data was previously extracted, and what is currently being extracted.
You can fix any broken tests as part of your PR.

Thanks, just to clarify, I was referring to core changes (like artist -> artists transition) that broke the tests in the extractors. IMO, it is usually easier doing a massive update that mechanically replaces the affected fields once, than going through every extractor whenever it is modified next time and trying to figure what broke a given test. But, your project, your rules :)


Support server side rendering for PDFs

Describe the feature
We want to offer developers to opportunity to generate their PDFs server side for more security. In order to do this we must add a new server side function to generate and export the pdf.
A good starting point is this issue:
https://github.com/parallax/jsPDF/issues/2248
Additional information
No response

Just curious, will this happen on every page hit or just once during the build? would be great to have some control over it. Maybe sometimes you want to generate something on demand, and sometimes you just want to serve a pre-generated PDF

Just curious, will this happen on every page hit or just once during the build? would be great to have some control over it. Maybe sometimes you want to generate something on demand, and sometimes you just want to serve a pre-generated PDF

Hi @mklueh! I am currently planing to first work on a "SSG" type rendering system. So regeneration with every load, to allow for real time data on the PDF. However adding a statically generated PDF at runtime could make sense to implement as well, however it would have less priority for me for now!

Would be nice if you could pass it some HTML with Tailwind Style on a server route and have it generated. But it's probably to much to ask for.

I am looking into a way to handle this, as it is super important for me! I am currently at a point where I know there is a way to generate pure html from a vue component using renderToString(). I am now looking into how I can generate a JS file from a vue file (which is a bit harder and I am still looking into).
One of my approches is currently looking into the server Nuxt 3 "server components", but I can keep you updated when I made some process!

It would be a tremendously needed feature for me. I've been tr Puppeteer which worked fine, but was slow and difficult to deploy in serverless environment due to the 50mb constraint.

I totally get it! I have had similar issues (not with PDF but with Social Media SEO Previews). I hope to find an elegant way to handle these use cases for Nuxt 3. It will also prove valuable as I can then move onto other advanced template use cases (such as mail, SEO Previews and more!)

Is this still planned?

Taken over into #25 and began working on an implementation in #26.
Lets move all discussions about this into the issue / PR! Sorry for the big delay on this, I wish I could have started this earlier, but focus sadly shifted away from this project 😓


empty local and S3 tiles dir before processing tiles

👋 @willemarcel the logic looks good to me. Left some comments. Feel free to ignore the "nitpicks" since those are mostly subjective.

Thanks, @arunasank for the review!


[MRG] Attempt to load default plugins first

This is a rather quick fix approach to the default plugins being sometimes loaded after the user installed ones. Will close #28

I don't like that the two loops replicate a lot of work.

I don't like this either.
I'm just not quite sure how to use the path here due to the namespace packages being involved. This is what it looks like in my site-packages after I install gilbert and the markdown-frontmatter loader:
digital_site/venv/lib/python3.7/site-packages/gilbert (render-markdown)$  tree .
.
├── cli.py
├── collection.py
├── content.py
├── exceptions.py
├── __init__.py
├── __main__.py
├── plugins
│   ├── collection.py
│   ├── frontmatter_markdown.py
│   ├── markdown.py
│   ├── __pycache__
│   │   ├── collection.cpython-37.pyc
│   │   ├── frontmatter_markdown.cpython-37.pyc
│   │   ├── markdown.cpython-37.pyc
│   │   ├── scss.cpython-37.pyc
│   │   └── yaml.cpython-37.pyc
│   ├── scss.py
│   └── yaml.py
├── __pycache__
│   ├── cli.cpython-37.pyc
│   ├── collection.cpython-37.pyc
│   ├── content.cpython-37.pyc
│   ├── exceptions.cpython-37.pyc
│   ├── __init__.cpython-37.pyc
│   ├── __main__.cpython-37.pyc
│   ├── query.cpython-37.pyc
│   ├── schema.cpython-37.pyc
│   ├── site.cpython-37.pyc
│   └── utils.cpython-37.pyc
├── query.py
├── schema.py
├── site.py
└── utils.py

3 directories, 30 files

Is there some other way to look at the path that I'm not aware of here?

Python helps us a little here by letting us access the gilbert.plugins.__path__ attribute which [despite the name] is a list of paths contributing to this namespace.
However, we can also use __file__ to find the current module's directory, and then list the packages under there - sort of side-stepping our use of gilbert.plugins.__path__.
So my thinking is we build a list of modules that we want to import; first we iterate our "built in" list of packages, add them to the list, then we iterate the whole list [much like we do now], but check for duplicates. Finally, we iterate the list and import them.
This splits up the existing loop into multiple stages, but each stage does not replicate the work of the others.

I only seem to get one path though (I'm not installing in editable mode), putting this into site.py load_plugins:
        import gilbert
        print("***")
        print(f"__file__: {__file__}")
        print(f"Paths in {gilbert.plugins.__path__}:")
        for p in gilbert.plugins.__path__:
            print(p)
        print("***")

then gives the following output on load:
$ gilbert render
***
__file__: /home/janis/digital_site/venv/lib/python3.7/site-packages/gilbert/site.py
Paths in _NamespacePath(['/home/janis/digital_site/venv/lib/python3.7/site-packages/gilbert/plugins']):
/home/janis/digital_site/venv/lib/python3.7/site-packages/gilbert/plugins
***
Searching /home/janis/digital_site/venv/lib/python3.7/site-packages/gilbert/plugins for default plugins...
Loaded plugin: collection
Loaded plugin: scss
Loaded plugin: markdown
Loaded plugin: yaml
Searching /home/janis/digital_site/venv/lib/python3.7/site-packages/gilbert/plugins for plugins...
Loaded the Gilbert markdown with frontmatter loader
WARNING: Overriding loader for md
Loaded plugin: frontmatter_markdown
Loaded local plugins.

If your suggestion was to build the import paths for the default plugins first I see how this could work. But if there's some way to find the defaults from the path I guess I'm just not sure how to deal with only having the one path here (the site-pacakges one).

Specifically:

So my thinking is we build a list of modules that we want to import; first we iterate our "built in" list of packages, add them to the list, then we iterate the whole list [much like we do now], but check for duplicates. Finally, we iterate the list and import them.

I really like this approach, I'm just not sure how to do it with the current package structure without hard-coding the modules that are defaults. If there's a way to find the default plugins dynamically from the path I'll add that into the PR.

I only seem to get one path though (I'm not installing in editable mode), putting this into site.py load_plugins:

Does the setup.py for your plugin package use find_namespace ?
In my setup.cfg I use:
[options]
packages = find_namespace:

I thought this used to be in the docs, but can't find it.

It doesn't use this at the moment, I can edit it if this helps. At the moment I just have a simple setup.py: https://github.com/shuttle1987/gilbert-frontmatter-markdown/blob/19c9cb30cc6f1bf1b382b34d25e1af405788a56e/setup.py

OK, i added some notes to the docs about using find_namespace_packages, but perhaps also we should link to https://setuptools.readthedocs.io/en/latest/setuptools.html#namespace-packages

Thanks for adding those docs, initially I just took the approach of installing into the same directory in site-packages as being sufficient but since these changes I see why that's no good. If I can find the time I'd like to write a blog post about what happened here and how the namespace packages work, I'll also fix my plugin so it installs in a different path.

I just can't for the life of me figure out how to get my plugin packages to be installed into different paths (and hence get the iteration out of NamespacePath like we want to handle the package loading behavior that detects the builtins)

Are you working from the latest master? I made a small adjustment after reading the setuptools docs more myself.

Some further investigation has shown:
a) I was wrong about adding the init
b) what we're seeing may be a result of "that's just how pip works"  ( a simple test showed uninstalling the package removed only the expected files, which is good! )

If I understand correctly PR #31 makes this PR obsolete, feel free to reopen if not.


Does not work with KMP 1.4.20

Hi,
thanks for this plugin, it looks exactly what I am looking for.
Unfortunately, I can't get the tasks run successfully with a fresh KMP project version 1.4.20.
My settings:
multiplatformSwiftPackage {
    swiftToolsVersion("5.3")
    targetPlatforms {
        iOS { v("13") }
    }
}

I get 2 errros:

Package name is invalid: null

* What went wrong:
A problem occurred configuring root project 'centralized-key-value-library'.
> Could not create task ':createXCFramework'.
   > * Package name is invalid: null
       Either declare the base name of your frameworks or use a non-empty package name.

I can fix this by setting it manually:
multiplatformSwiftPackage {
    swiftToolsVersion("5.3")
    targetPlatforms {
        iOS { v("13") }
    }
    packageName(project.name)
}

at least one framework or library must be specified.

> Task :createXCFramework FAILED
error: at least one framework or library must be specified

I could not fix this one on my own. Maybe some internal structure has been changed?

Hi @sebarthel89,
could you share the entire build.gradle file? Or at least the parts where the KMP project is configured?

Sure, here is a minimal example:
https://github.com/sebarthel89/example-kmp-swift-package

Hey @sebarthel89,
thanks again for the bug report and the sample project.
I published version 2.0.2 which contains a fix. This should also allow you to get rid of the packageName(project.name) config.
It will take a couple of hours for the release to show up on Maven Central. In the meantime you can use version 2.0.2-SNAPSHOT.

Works, very cool, thank you!


Android-Java: 1.8 Introduction to android manifest file or manifest style structure in android studio

Here I will describe first, how one can find the manifest file in android studio.
Role of the manifest file in our development.
Give a brief description of some important attributes present in the manifest file, which will help us further in our project.

@VikasPandey121  can I work on this issue?

Can i work on this..?

I have assigned this issue to @SB2318 as she asked for it first. @anmol20112000, please look up any other issue that is not assigned to anyone yet or you can create your own issue depending upon the need of the repository.

Please keep these steps in mind while creating a pull request:

Your Contributing file should be in this directory Android_Development/Java/ with the file name starting from 1.8 for instance 1.8 Introduction to android manifest file.
Note:- If you have multiple files to commit then add a tag at the beginning of your file name like 1.8.1, 1.8.2 etc
Create a new branch and push your PR on Android_Development_With_Java branch.
Pull request should contain only one commit
Note: If you have multiple commits then squash your commit.

I am from Android Development with Java Batch-6
I want to contribute/work in this issue via documentation

@VikasPandey121 Please check this.

@VikasPandey121 Please check this.

Thank you for the contribution @SB2318 🎉🎉


Some video cannot play?

I test this video “ gdwjXjGkZ1A ” but couldn’t play. Does anyone know why?

For this specefic video the publisher chose to not make it playable outside youtube website, so it can't be played through the api. There are other kind of restrictions in some cases for instance the video is restricted for some countries.

I think so too. Thanks a lot.


Prefer $stderr over STDERR for consistency

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes?
[x] Have you successfully run brew tests with your changes locally?

Prior to this change there were only 3 instances of STD(IN|OUT|ERR) versus 74 instances of $std(in|out|err) in the Homebrew code base. The latter variant is also strongly suggested by bbatsov's Ruby Style Guide. In Library/Homebrew/:
$ ack --nogroup -w 'STD(?:IN|OUT|ERR)' | wc -l
       3
$ ack --nogroup -w '\$std(?:in|out|err)' | wc -l
      74

cc @MikeMcQuaid who was sympathetic to this style adjustment a few weeks ago.

👍 but ideally add a test to ensure we don't go back to the old form.

ideally add a test to ensure we don't go back to the old form.

Do you have something specific in mind? The only thing that inspects our code style during test bot runs is brew readall --syntax to make sure we don't introduce syntax warnings or even errors. We don't run brew style on our code base, just on formula submissions, but even if we did, there's currently no cop to check this particular style issue. (So the only thing I can currently think of—provided some leisure time—would be to contribute a new cop to RuboCop to check for this and then work towards making brew style a part of our test bot runs for Homebrew/brew.)

@UniqMartin Yeh, fitting it into any of those would be a good call.

Just FYI @UniqMartin ack uses --nogroup by default when you pipe its output. ack foo | wc -l is equivalent to ack --nogroup foo | wc -l.

Yeh, fitting it into any of those would be a good call.

I think I'd like to address this in RuboCop as soon as time permits, so a wider community can benefit from this. I'll try to pursue making brew style part of our Homebrew/brew test bot runs and addressing the still unfixed code style issues, but that's more of a long-term projects of mine (and lower priority than other pending improvements). But I guess this doesn't block this PR being merged, or does it?

Just FYI, ack uses --nogroup by default when you pipe its output. ack foo | wc -l is equivalent to ack --nogroup foo | wc -l.

Thanks for the hint, I never checked but assumed as much! The reason it's still in my snippet in the top comment is that I ran it before without the trailing | wc -l to inspect the occurrences (and grouping wasn't helpful in this case). And then I just lazily appended the | wc -l to get the numbers.

Another thing I realised today that's way off in "nice to haves" is moving more of the audit logic into Rubocop itself.

Another thing I realised today that's way off in "nice to haves" is moving more of the audit logic into Rubocop itself.

That's true, if it applies more broadly to Ruby projects and their style. Of course there's also a lot of domain-specific checks in there and they'll probably have to stay in our code. For simple stuff like trailing whitespace you'll notice there is duplicate output in brew audit --strict already (see below), because this is both checked in our audit code directly and indirectly via RuboCop.
$ brew audit --strict xz
xz:
  * 25: Trailing whitespace was found
  * C: 25: col 29: Trailing whitespace detected.
Error: 2 problems in 1 formula

(We could disable those checks in our code if --strict is passed, filter them from the RuboCop output, or maybe do something else. Not sure what's best or whether ignoring this for now is fine, too.)

That's true, if it applies more broadly to Ruby projects and their style. Of course there's also a lot of domain-specific checks in there and they'll probably have to stay in our code. For simple stuff like trailing whitespace you'll notice there is duplicate output in brew audit --strict already (see below), because this is both checked in our audit code directly and indirectly via RuboCop.

@UniqMartin Sorry, I mean writing our own RuboCop plugins for most things as RuboCop can actually parse Ruby rather than requiring regex. Definitely would be nice to kill the duplicate output at some point 👍.

I see. Yes, something similar to rubocop-cask would be nice to have. We just have to find someone who's interested in that topic and has sufficient time to pursue it. Maybe that's something worth drafting for our brew-evolution repository?


Users can't make a time card

Is your feature request related to a problem? Please describe.
When logged in as a regular user, when you look at the Super Duper Group Thing, you can see the time card, but you can't add to it.. Which kind of defeats the purpose of the app. The Admin shouldn't be the one add all the times for every user to the time card.
Describe the solution you'd like
User's should be the ones creating/updating their individual time cards

Has been resolved. User must now add themselves to the group to have access to the timecard


doc: fix multiple typos in library documents

Thanks for your contribution! :) Nice catch on English language hints.


Clarify validity requirements in docs of PackageFilesInfo/PackageFilegroupInfo

Is it invalid (meaning under no circumstances a good idea, assumed by consuming rules not to happen) to have

A PackageFilegroupInfo that contains the same destination file twice? I assume yes, c.f. #682
A PackageFilesInfo that contains directory Files?
A PackageFilesInfo that contains symlink Files?
One or two PackageFilesInfo in the same PackageFilegroupInfo containing both a file a/b and a file a/b/c, where a/b is a regular or symlink File?
One or two PackageFilesInfo in the same PackageFilegroupInfo containing both a file a/b and a file a/b/c, where a/b is a directory File?

Imo it would be helpful to mention that in the docs of the respective provider. That way, these providers can become a more standardized interface between producing and consuming rules.

Do you intend to create new rules which would consume these providers?
I'm having trouble understanding the questions abouta/b and a/b/c mixing where a/b is a regular file. Do you have a working example which can do that?  If the source package a/b exists, so there can be a target a/b/c, then it is almost always incorrect in Bazel to have the package a produce the plain or symlink target a/b.

@aiuto Yes, I do have a custom rule consuming these providers.
By "containing a file a/b", I mean an entry in dest_src_map with key a/b. So this has nothing to do with targets' names/packages, only with the destination path.

We're talking about the same thing.   It is very difficult to be clear
without a concrete example.  The srcs of a pkg_ rule are targets
themselves, even if they are plain files.
While it is possible to create something like that, it is an unsupported
edge case in Bazel. To put it a different way.   If //a/b:c is a valid
target in your project, and you have also defined the target //a:b, then
you are doing something wrong at the core Bazel level.
I'm not going to spend any thought time about the expected behavior when we
hit those situations.
On Tue, Oct 17, 2023, 7:20 AM Nikolai Morin @.***>
wrote:

@aiuto https://github.com/aiuto Yes, I do have a custom rule consuming
these providers.
By "containing a file a/b", I mean an entry in dest_src_map with key a/b.
So this has nothing to do with targets' names/packages, only with the
destination path.
—
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/rules_pkg/issues/746#issuecomment-1766209823,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXHHHAYCP55L6WFF23JDD3X7ZSZHAVCNFSM6AAAAAA4C4ZJEOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRWGIYDSOBSGM
.
You are receiving this because you were mentioned.Message ID:
@.***>


WebRtcInterop, all includes to talk\app\webrtc fail

After compiling the WebRTC sources with ninja, the WebRtcInterop compilation fails.
There is no folder talk\app\webrtc so all that includes fail.
Also there is one include from the native client, webrtc\base\scoped_ptr.h which also fails as the file is not there (maybe a update from Google?)

api was changed, files moves, renamed, it's out of sync, check my managed wrapper its up to date and ready to go https://github.com/radioman/WebRtc.NET

Oh, so this repo is kind of discontinued?
Already in parallel checked your repo @radioman , the example works and I am trying out how to provide other audio and video streams from C# to the browser and vice versa.


Bump CLI version to 2.0.1

Signed-off-by: Alex Co<EMAIL_ADDRESS>
Summary
In this PR, we will bump the version of the CLI to version 2.0.1, to prepare for the release.

Ticket:
What's Changed

Changed

Bump CLI version to 2.0.1.
Update to latest dependencies.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: onimsha
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

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: jk-gan, onimsha
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


How to decide whether Addr is IPV4 or IPV6

Hello,
I met some trouble while dealing with UDPHandle.
auto handle = loop.resource<uvw::UDPHandle>();
handle->on<uvw::UDPDataHandle>(
    [](const uvw::UDPDataEvent &event, uvw::UDPHandle &handle) {
            Addr sender = event.sender;
            // I want to know that sender is whether v4 or v6
            // so that I can call handle->send<V4_OR_V6>(...)
    }
);

Is there any workaround?
I think it may be convenience to get a `struct sockaddr &' in the callback.

When you invoke uvw::UDPHandle::bind and uvw::UDPHandle::recv you specify the type of interfaces to which you want to bind the handle:
    // bind to ipv4
    server->bind(uvw::Addr{ address, port });
    server->recv();

    // bind to ipv4
    server->bind<uvw::UDPHandle::IPv4>(uvw::Addr{ address, port });
    server->recv<uvw::UDPHandle::IPv4>();

    // bind to ipv6
    server->bind<uvw::UDPHandle::IPv6>(uvw::Addr{ address, port });
    server->recv<uvw::UDPHandle::IPv6>();

Addresses returned through the callback respect what you set.


Template cache in ionic framework

Ionic version:  (check one with "x")
[ x ] 1.x (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[ ] 3.x
I'm submitting a ...  (check one with "x")
[ x ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:

i used ionic framework to build a mobile version of my website (not a compiled add, but a webapp). The problem is that the framework loads (and maybe caches) all html templates in the first request. I'd like to disable it. I used
$ionicConfigProvider.views.maxCache(0);

and, for each state in stateProvider:
url: "/xxx",
cache: false,

but it resolves nothing. When i reset cache in the browser, the first request load all templates. How is it possible? thank you

Hello! Thank you for opening an issue with us! Would you be able to provide a sample application via GitHub that demonstrates the issue you are having?
Also, since this is an Ionic V1 issue I am going to move this issue to https://github.com/ionic-team/ionic-v1. Please monitor and provide further updates to the issue over there.
Thanks for using Ionic!

This issue was moved to ionic-team/ionic-v1#297


Rewrite "search" functionality to follow GOV.UK Frontend conventions

This PR modernises search javascript to follow GOV.UK Frontend conventions

Use of data-module attribute to initialise the script
Rewrite functions to match they way they're written in GOV.UK Frontend

Easier to review without whitespace: https://github.com/alphagov/govuk-design-system/pull/516/files?utf8=✓&diff=split&w=1

You can preview this change here:
Built with commit 0210a07b6ff0b2026baa0b48ff06df245e0f7cd3
https://deploy-preview-516--govuk-design-system-preview.netlify.com

Rebased with master and merging in @igloosi's absence.


The tutorial of dMRIprep singularity using was not work

https://www.nipreps.org/dmriprep/singularity.html, this link was no longer work. So how to Preparing a Singularity image of dMRIprep?

It's done following the fMRIprep tutorial


Updates required due to the split of CSG.js and formats.js

A few small changes for this release. I'll revisit the CLI script for next release.

All changes are part of 0.3.0 now, so closing this pull request.


After using PhantomJS, the error content is “HTTPError: Connection refused”

the url is "http://www.tjwsj.gov.cn/html/wsjn/GZDT22913/List/list_0.htm"
When I did not add parameter  "fetch_type = 'js'", everything was ok, but no ajax request to return the data
But when I set this parameter to request url, most of the cases are returned exception information ：
[E 170316 17:32:18 base_handler:203] Connection refused
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/pyspider-0.3.9-py2.7.egg/pyspider/libs/base_handler.py", line 196, in run_task
result = self._run_task(task, response)
File "/Library/Python/2.7/site-packages/pyspider-0.3.9-py2.7.egg/pyspider/libs/base_handler.py", line 175, in _run_task
response.raise_for_status()
File "/Library/Python/2.7/site-packages/pyspider-0.3.9-py2.7.egg/pyspider/libs/response.py", line 184, in raise_for_status
raise http_error
HTTPError: Connection refused
At first I was skeptical of the browser cache, so I cleared the cache and disabled the cache, but still the same problem......

The temporary scheme is add "@catch_status_code_error" before callback function...


Question related with checkpointing/per-epoch saving

From the client meeting today...
When you save model-file after an epoch, is it robust against sudden-power-off during saving?
E.g., you can keep it safe for a sudden-power-off during saving by:

end of an epoch; can start saving. savefile="SAVE"
rename "SAVE to "SAVE.backup"
start saving to "SAVE.tmp"
end saving to "SAVE.tmp"
rename "SAVE.tmp" to "SAVE"

:octocat: cibot: Thank you for posting issue #2020. The person in charge will reply soon.


Tween.stop_all briefly resets tween status in recursive tweens

Godot version
3.4
System information
Windows 10
Issue description
Calling Tween.stop_all in a "recursive tween" (i.e. such that the on_tween_completed callback makes the tween restart) briefly resets the property state to the initial value of the previous iteration.
Additional notes:

If the interpolate_property method is initialized with null as a start value then the property briefly resets to its very first value on each iteration.
If stop_all is replaced with stop(object, property) everything works as expected.

Steps to reproduce
Run the main scene of the reproduction project.
Minimal reproduction project
TweenBug.zip

Related: #47142. Note that changing tween.start() to tween.resume_all() also results in no "briefly resetting tween status".


Picture to help explain Python Azure Functions?

Hello,
I find it challenging to create a working mental model of how Python Azure Functions truly work. I need a picture to shed meaning on the terms found in this document. Maybe the pictures exist, but not in this doc.
Example terms that I struggle with:

"host instance for Python"
"function invocation"
"Python Worker"
"Python language worker "
"language worker"
"single language worker process"
"worker processes per host"
"required context switches"
"intelligent concurrency"

Without having a picture (or a few!), I end up climbing walls of text, some confusion and longer-than-ideal debugging sessions.
Seems like I'm not alone:

Example: https://stackoverflow.com/questions/61688427/how-do-language-workers-work-in-azure-functions-using-python

Please consider including some pictures when explaining the Azure Function infrastructure as it has the potential to significantly affect the code we write and the performance of the solutions.
Thank you

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 6cd61eed-2347-7a72-0d0a-67d9d582e26f
Version Independent ID: 7be46f73-a54f-29c3-8a75-54a82f70d0b5
Content: Improve throughput performance of Python apps in Azure Functions
Content Source: articles/azure-functions/python-scale-performance-reference.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

@ericthomas1
Thanks for your feedback! We will investigate and update as appropriate.

@ericthomas1
host instance for Python:
In this context, it refers to the VM that is running at the Function Platform/backend/datacenter level. The Function host runs in this VM which is called host instance.
function invocation:
Function invocation is nothing but function execution. Each execution of the function is called as invocation.
Python Worker:
https://github.com/Azure/azure-functions-python-worker
language worker:
Language workers refers to seperate process that runs in the backend that executes the supported language (function code) : https://learn.microsoft.com/en-us/azure/azure-functions/supported-languages
single language worker process:
this refers to a "single" or "one" language worker process. As mentioned in the document, it can be increased and there would be multiple language worker processes
worker processes per host:
this refers to worker process per host VM as explained in the first point
required context switches:
This refers to context switching between the worker processes. It is the context switching concept in OS: https://en.wikipedia.org/wiki/Context_switch
intelligent concurrency:
there are concurrency settings that can be enabled as a part of the host.json file and it varies from trigger to trigger. example: maxConcurrentRequests in http trigger  : https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-http-webhook?tabs=in-process%2Cfunctionsv2&pivots=programming-language-csharp#hostjson-settings
Overall, I understand that the document needs to be improved, I will ask the content dev to improve it. Thanks for your feedback

Thank you for the explanations.
When I think of Azure Functions, I think of "serverless" functions. By using pictures to show which Azure Function project files and which App Settings affect the underlying VM would go a long way in clarifying how to get the best performance out of a Function (at least for me! :) ).


on-board Lory Mills

Lory would like to join in the planning for NC Open Pass. She was on the planning call 8/7. She would especially like to join Bill Scanlon's Data and Challenge Committee.
<EMAIL_ADDRESS>

Can you add her contact info to the 'organizers  contact info' sheet?
I'll add her to the Google group once she's there.  :)

Organizers Contact Information
https://docs.google.com/a/ambrosestrategy.com/spreadsheets/d/155Sq13Uk_zY9ZvZZ_xyrZsKHlLvbmovdMyJ-OntRmhs/edit?usp=drive_web

On Thu, Aug 10, 2017 at 11:10 AM, suzanneccnc<EMAIL_ADDRESS>wrote:

Lory would like to join in the planning for NC Open Pass. She was on the
planning call 8/7. She would especially like to join Bill Scanlon's Data
and Challenge Committee.
<EMAIL_ADDRESS>—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/codeforraleigh/NCOpenPass/issues/521, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AQ6IxpYNDlyCipVtXHOxg0ktFQxdsHcUks5sWx1-gaJpZM4OzkZh
.

--
Zach Ambrose
<EMAIL_ADDRESS>919-438-2752 (office)
919-616-9969 (cell)
www.AmbroseStrategy.com
https://www.linkedin.com/in/zambrose

done!

Should be good to go.


[BUG] Selecting Vulkan for my GPU crashes roblox/GPU problems

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
so i've configured my fast flags to disable direct3d since that makes me have input lag, turned off VR too. i ticked on re-install roblox on launch and then i get this error message

the game window just displays white, and the "we had an unexpected error" box pops up too
and unrelated bloxstrap opens under Chrome in the task manager so i can't even kill the ram eater
but the thing is i don't even have OBS open?? i think it might be the weird anticheat roblox put out since it's checking for external stuff, upgrading to 32 bit has drained my computer's resources
i currently use a nvida gpu, i have my programs set to "high performance use gpu", roblox ignores that and uses all my RAM, i also set it to use nvidia in the Control Panel
and yes i set to Use Nvidia for the other PlayerBetas

and 92% memory usage? i upgraded my card just for more memory, so then roblox used all of that too. forgot to screenshot that

Roblox might not work, if you try running with vulkan engine on PC. Can't fix, just use directx/opengl

Roblox might not work, if you try running with vulkan engine on PC. Can't fix, just use directx/opengl

openGL left me on 7 fps in the performance stats
the tracker also said it was running on the CPU
game i'm trying to play on is Arcane Odyssey, the inventory lag is a big problem in it

try using direct3d 11 instead since vulkan is buggy on roblox it will obviously crash its never been stable in the first place since roblox haven't fully certified it yet set the prepferbulkan to false and disabledirect3d11 to false also

try using direct3d 11 instead since vulkan is buggy on roblox it will obviously crash its never been stable in the first place since roblox haven't fully certified it yet set the prefervulkan to false and disabledirect3d11 to false also and how much ram do you have since 8gb is not enough anymore in this 2024 16gb is the recommended in this year now and i find it weird how come your getting input lag with direct3d your using a nvidia gpu unless your nvidia gpu is not being used that might be the issue why you having a input lag i have no problem with my nvidia gpu with it its running smoothly never had a input lag issue when it comes to direct3d but make sure you run it at direct3d 11

can you speak english

game i'm trying to play on is Arcane Odyssey, the inventory lag is a big problem in it

Place/game (or what it is called in roblox) fault, I guess.

game i'm trying to play on is Arcane Odyssey, the inventory lag is a big problem in it

Place/game (or what it is called in roblox) fault, I guess.
crazy how you need gaming pcs to play a kid's game now

how am i meant to afford a 4k dollar laptop here in europe

16gb is luxury over here and i only have 8
i believe my old desktop computer had 32gb which is why it never lagged, however the power went out so much and i couldn't use the pc

You've set Bloxstrap to use your GPU, not the client. That's why it's still running on your integrated graphics
Go to installation and click on "Open Installation Folder", then open the Versions folder and open the (hopefully) only "version-[hash]" folder. Then right click on RobloxPlayerBeta.exe while holding down shift and select "Copy as Path"
After that, go back to System > Display > Graphics in System Settings, and click the "Browse" button here:

In the "Open" window, find the "File name:" box, and paste the path you copied earlier.

This should hopefully add the client to the list. Although you'll probably have to do this on each update since the version folder always changes.

You've set Bloxstrap to use your GPU, not the client. That's why it's still running on your integrated graphics.
Open Bloxstrap settings and go to installation and click on "Open Installation Folder", then open the "Versions" folder and open the (hopefully) only "version-[hash]" folder. Then right click on "RobloxPlayerBeta.exe" while holding down shift and select "Copy as Path"
After that, go back to System > Display > Graphics in System Settings, and click the "Browse" button here:  In the "Open" window, find the "File name:" box, and paste the path you copied earlier.
This should hopefully add the client to the list. Although you'll probably have to do this on each update since the version folder always changes.

how can i check if it's actually using it in roblox
shift+f5 only displays the current fps
not exactly like a programmer

how can i check if it's actually using it in roblox

There should be two GPUs in the Performance tab of Task Manager, your integrated graphics and your dedicated GPU. One of them should have increased usage while Roblox is running.

how can i check if it's actually using it in roblox

There should be two GPUs in the Performance tab of Task Manager, your integrated graphics and your dedicated GPU. One of them should have increased usage while Roblox is running.

alright give me a second to test your copy path suggesstion

how can i check if it's actually using it in roblox

There should be two GPUs in the Performance tab of Task Manager, your integrated graphics and your dedicated GPU. One of them should have increased usage while Roblox is running.

is it normal for bloxstrap to be under google
it's still using all my memory

You're not actually supposed to use Vulkan. That was added by back by accident. Don't use it. Don't use OpenGL either.