Add STRICTENC flags to bitcoin::PublicKey::from_slice()?

Some legacy uncompressed pubKeys did not have 0x04 prefix. For example, in the tx 71d5c755efc891cd9273e4e889358d5f897f1e0e0e01dca7549c51d707f9fe49 inp 0, the corresponding P2SH redeem script is 1 of 2 multisig, that has one compressed (length 33) and one uncompressed (length 65) pubkeys
1 0378d430274f8c5ec1321338151e9f27f4c676a008bdf8638d07c0b6be9ab35c71 0778d430274f8c5ec1321338151e9f27f4c676a008bdf8638d07c0b6be9ab35c71a1518063243acd4dfe96b66e3f2ec8013c8e072cd09b3834a19f81f659cc3455 2 OP_CHECKMULTISIG

It is the uncompressed 65 byte pubKey 0778d4..c3455 with 0x07 prefix that satisfies the input signature, but only if the flag SCRIPT_VERIFY_STRICTENC is disabled. I verified this with btcdeb: it fails by default, but succeeds with
btcdeb --modify-flags="-STRICTENC" --tx=010000000123d773a6dff771f9e32566b1d3fb08dcd9a0b2be78881461eef23e0861f2de3c01000000b2004730440220363939e550920b4d9947659a70f1c40603230c3e6967d20f22da130976ba01c1022056560d6f480b1bd150faf238c6ab36b42ad03d502970cce0a3092052ba5efe88014c6751210378d430274f8c5ec1321338151e9f27f4c676a008bdf8638d07c0b6be9ab35c71410778d430274f8c5ec1321338151e9f27f4c676a008bdf8638d07c0b6be9ab35c71a1518063243acd4dfe96b66e3f2ec8013c8e072cd09b3834a19f81f659cc345552aeffffffff01905f01000000000017a914367e3c2c31cb061606e5a812257fc153f2bef80e8700000000 --txin=0100000001990d1b71e3b572926982fa2419144aaccbc14ba2e918496052d26a4da3777132000000006a4730440220387b5e2d0005ff13f9a02df718fb85a67133484adc8e2571379aed1fccc0692b02204cc4555d33244e2abffcf362dcd4b71b5f373578c3a39da90bf120c2d3d80f9601210254df56fd5663610ce8370a8af0aa9e3e8bc1befd176554f35575769aec249d16ffffffff0280380100000000001976a914f679b8239ffdf39987d7c5ca8e5fd44475a795e188aca08601000000000017a9147e76c2468a8d453bfbc130e0ca86b6821b24c7b38700000000

We might want to provide a way to be able to add this flag to bitcoin::PublicKey::from_slice() call, because without it, it fails with PubKey(InvalidKeyPrefix(7)) here.

cc #520
I guess if some jerk actually used hybrid keys on-chain then we should support them somehow.

Yes. PublicKey::from_slice_non_strict? We then need to call it when parsing keys in Script. Though maybe we should start thinking about validation contexts...

@Kixunil we never parse keys in Script AFAIK. If we do that's very new and I can't imagine what it's used for.
We do parse keys in rust-miniscript, which already has facilities for enabling/disabling checks on parsing. Would be fine adding a mode to parse hybrid keys there.

We do.
IIRC it has something to do with message signing.

Cute. We parse public keys to support another piece of deprecated cruft that has no address format and is therefore only possible to use by manually constructing transactions in a deliberately and pointlesssly inefficient way.
However, that specific method returns a bitcoin::PublicKey which does not have any way to indicate whether the key is hybrid (it only has a compressedness boolean). So we can't change it to support hybrid keys.

Oh, yeah, the address format is not supported for hybrid keys and thus the function is actually correct and since PublicKey doesn't mark whether it's hybrid we can't change it without adding the marker which I would love to avoid.
@panicfarm can you provide your code so that we can better understand your use case?

another piece of deprecated cruft that has no address format and is therefore only possible to use by manually constructing transactions in a deliberately and pointlesssly inefficient way.

I don't know what you're referring to.

@Kixunil p2pk outputs have no addresses and are not supported by basically any wallet software.

The method should return tuple where the other element is bool indicating whether the key is hybrid.

No, we should absolutely not change the API so that every user needs to know what a "hybrid key" is.

That API is only used by people who already process P2PK so they should. Nobody else has to.

A very long time ago, Bitcoin Core supported p2pk outputs with compressed or uncompressed keys. (Actually I am uncertain about compressed keys, whether those predate p2pkh or not.) No wallet in the history of Bitcoin has ever supported hybrid keys.
Because actual wallets used p2pk outputs it is sometimes useful for software to be able to parse them, e.g. when trying to recover very old coins. I agree that the p2pk API is obscure and pretty-much useless but it's not "parsing an arbitrary crypto object that we found in the openSSL API and it appears somebody put on-chain somewhere" useless.
The only reason to support hybrid keys is if you are parsing obscure scripts and want to detect hybrid keys. But there is a practically infinite set of weird obscure objects you might want to detect in old scripts.

We could add another API function p2pk_maybe_hybrid or something which returns a secp pubkey and an enum covering all the possibilities. (BTW there are two kinds of hybrid keys, "hybrid even" and "hybrid odd", so a boolean wouldn't be sufficient anyway.)

We could add another API function p2pk_maybe_hybrid

I had this idea too but I was worried that someone might introduce a subtle bug by missing hybrid keys. However as you note:

but it's not "parsing an arbitrary crypto object that we found in the openSSL API and it appears somebody put on-chain somewhere" useless.

I think you have a point. Whoever is doing some sort of chain validation (not that I would recommend trying) will at least have a test go through all existing blocks and uncover the problem.  Anyone else won't lose money because of such bug.
So I guess it's fine.

@panicfarm can you provide your code so that we can better understand your use case?

@Kixunil The use-case is fairly trivial: the code re-verifies all legacy tx inputs by feeding them into  verify_with_flags and then prints and stores the verified pubKey hashes. We had to fork and modify the C++ core dependency in  bitcoinconsensus to be able to return the successfully verified keys into Rust.
let pk = bitcoin::PublicKey::from_slice(&pubkey)?;
println!("inp verified pk {:x}", pk.inner);

let verified_pkhash = pk.pubkey_hash();


Fixed a bug where AMEX CVC numbers won't validate.

AMEX CVC/CCV numbers are 4 digits long.

Thanks!

Available in v0.0.6


Run promotion jobs in parallel

Description
The release promotion job today takes 1-2 hours to run as all jobs run parallel. This PR converts all those jobs to run parallelly reducing the time by 75%. The opensearch tarball promotion needs to be the last job that excutes as those artifacts are promoted to maven central. Hence triggering OpenSearch x64 is the last job that runs serially after all jobs are completed.
Issues Resolved
closes https://github.com/opensearch-project/opensearch-build/issues/4748
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Did we mean to say all jobs run serially (as of today)

Yes! That is correct. It was kind of POC which worked (thanks to @prudhvigodithi ).

Hey @gaiksaya for OpenSearch Dashboards Linux tar x64 and OpenSearch Linux tar x64 can we move them to Post success? As today rule of thumb we trigger the x64 tar for OS and OSD at last once all other promotion jobs are completed, since this is now parallel we should allow all other promotions to run in parallel once succeeded then tun the x64 tar in parallel. Please check something like.
    post {
        success {
            stage('Triggering X64 Promotion Jobs') {
                parallel {
                    stage('OpenSearch Dashboards Linux tar x64') {
                        agent {
                            docker {
                                label AGENT_LINUX_X64
                                image 'docker/library/alpine:3'
                                registryUrl 'https://public.ecr.aws/'
                                alwaysPull true
                            }
                        }
                        steps {
                            echo 'Triggering distribution-promote-artifacts for OpenSearch Dashboards Linux tar x64'
                            build job: 'distribution-promote-artifacts', wait: true, parameters: [string(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch-dashboards'),
                                                                                string(name: 'DISTRIBUTION_PLATFORM', value: 'linux'),
                                                                                string(name: 'DISTRIBUTION_NAME', value: 'tar'),
                                                                                string(name: 'DISTRIBUTION_ARCHITECTURE', value: 'x64'),
                                                                                string(name: 'DISTRIBUTION_BUILD_NUMBER', value: params.OPENSEARCH_DASHBOARDS_RC_BUILD_NUMBER),
                                                                                string(name: 'INPUT_MANIFEST', value: "${params.RELEASE_VERSION}/opensearch-dashboards-${params.RELEASE_VERSION}.yml"),
                                                                                ]
                            echo 'Promotion successful for OpenSearch Dashboards Linux tar x64!'
                        }
                    }
                    stage('OpenSearch Linux tar x64') {
                        agent {
                            docker {
                                label AGENT_LINUX_X64
                                image 'docker/library/alpine:3'
                                registryUrl 'https://public.ecr.aws/'
                                alwaysPull true
                            }
                        }
                        steps {
                            echo 'Triggering distribution-promote-artifacts for OpenSearch Linux tar x64'
                            build job: 'distribution-promote-artifacts', wait: true, parameters: [string(name: 'DISTRIBUTION_JOB_NAME', value: 'distribution-build-opensearch'),
                                                                                string(name: 'DISTRIBUTION_PLATFORM', value: 'linux'),
                                                                                string(name: 'DISTRIBUTION_NAME', value: 'tar'),
                                                                                string(name: 'DISTRIBUTION_ARCHITECTURE', value: 'x64'),
                                                                                string(name: 'DISTRIBUTION_BUILD_NUMBER', value: params.OPENSEARCH_RC_BUILD_NUMBER),
                                                                                string(name: 'INPUT_MANIFEST', value: "${params.RELEASE_VERSION}/opensearch-${params.RELEASE_VERSION}.yml"),
                                                                                ]
                            echo 'Promotion successful for OpenSearch Linux rpm x64!'
                        }
                    }
                }
            }
        }
        always {
            node(AGENT_LINUX_X64) {
                checkout scm
                script {
                    postCleanup()
                }
            }
        }
    }
    ```

Hey @gaiksaya for OpenSearch Dashboards Linux tar x64 and OpenSearch Linux tar x64 can we move them to Post success? As today rule of thumb we trigger the x64 tar for OS and OSD at last once all other promotion jobs are completed, since this is now parallel we should allow all other promotions to run in parallel once succeeded then tun the x64 tar in parallel. Please check something like.

I believe the current set up will do the same. Worried that post stage may cause issues in the run. Trying to keep post stages for side activities rather than main run.

Thanks for this change @gaiksaya should really fasten the release promotion. You can directly modify the existing release-promotion.jenkinsfile file right ?

We can just wanted to keep that as a back up incase this workflow causes some issues. Once we know it works we can replace the original one and deprecate this. WDYT?


Update Production (22/08/2022)

Requested by Steffan here

Something odd has happened here with git history


Add hotkey to reload all inline scripts #713

Simply add hotkey 's' on the flowview window, I'm not sure whether 's' key is the best choice for this function, but it works fine.

Great - thanks a lot! :cake:
It'd be great if we could also reload scripts in the flow list (not just the flow view). Then again, it's kind of odd that the script list is hidden behind o ``S, whereas reloading scripts is possible by simply pressing s`.
I'm happy to merge this if you could add it to the flow list as well. If you have a spare afternoon, it would be super super awesome if we could use https://pypi.python.org/pypi/watchdog and reload scripts automatically. :smile:

Thanks for the suggestions, it's really awesome! :smiley:
So I add a watchdog.observers.Observer to catch the modify events on the script files.It works fine on my computer, but checks failed. Don't know why this happened, could you explain?

Thanks for the adapting this! The issues you are seeing are caused by a circular import of modules, as you import parts of console in script. I added two comments above, which I'd like to see fixed before we merge this. Also, it'd be great if you could adjust your code to be somewhat PEP8 compliant - function names and variables should start with a lowercase letter.
Thanks!
Max

I really appreciate such a detailed explaination! :cake:
Now,this function works in both mitmproxy and mitmdump, you can see the message about the script has been reloaded in the event log after modifying a script. However, I want to push this one step forward —— display the message at the bottom of the window in mitmproxy. Clearly, signals.status_message.send should be called, but I don't know how to call this correctly when a modify event is caught. Do you have any idea?

Thanks so much for the changes! I think there are two places where we can improve the code significantly:

Decouple libmproxy.script from libmproxy.flow: The script module should not know the inner workings of the flow module. Instead, let's expose a signal that Flow can subscribe to!
In libmproxy.flow, we don't process the signal immediately - the "the script has changed" notification comes from a different thread, so this could cause some nasty race conditions with the main mitmproxy thread. Instead, put it on the queue, so that it get's processed in the main FlowMaster thread.

If you have any questions, please feel free to ask here or join us on Slack! :relaxed:

Many thanks! I spend an afternoon on the code and finally make myself clear about the structure. I change the code as you said. And now it can display a  message on the status bar of mitmproxy when the script is changed. Unfortunately, it fails on the appveyor checks as you see above, but I guess the error is not cause by my code. Please check this and if there is something wrong, please let me know.:relieved:
Really enjoy working with you guys!:punch:

I just did some final adjustments and merged everything. This is a great feature, thank you very much! :relaxed:


Nick: Watch autoguardtracking.com

Nick requests the watch of the watch_keyword autoguardtracking\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

autoguardtracking\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Undo in Charcoal HQ


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/84 is merged into live branch.
Auto archive content to https://github.com/OPS-E2E-PPE/docs-archive-test-target.git

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

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Archive_master_2019-09-26-02-39-06 has been deleted or has been force pushed: fatal: Couldn't find remote ref Archive_master_2019-09-26-02-39-06

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


Image no longer available

Hi,
I was hoping to use the resource. Is it no longer maintained?
Also there's a typo in the Readme, fixed by:
-     repository: quay.io.mojanalytics/concourse-ecr-resource
+     repository: quay.io/mojanalytics/concourse-ecr-resource

...if the image could be pushed into Quay.IO

we've added a quay.io badge in the readme

@NickLarsenNZ sorry we somehow missed this, yes it's still maintained, thanks for pointing out the typo in the README


Does the imagenet dataset you are using refer to ILSVRC2012?

Hi, yes it's the standard ImageNet (1k) https://image-net.org/challenges/LSVRC/2012/2012-downloads.php


feat: add global bookmark prompt if user is redirected within TSS

TODO: add prompt for sign-In page when redirected there
TIS21-4887

I spoke too soon. I guess we should fix that test. I'll see if I can see anything obvious to tweak.


⚠ CONFLICT! Lineage pull request for: skeleton

Lineage Pull Request: CONFLICT

Lineage has created this pull request to incorporate new changes found in an
upstream repository:
Upstream repository: https://github.com/cisagov/skeleton-packer.git
Check the changes in this pull request to ensure they won't cause issues with
your project.
The lineage/skeleton branch has one or more unresolved merge conflicts
that you must resolve before merging this pull request!
How to resolve the conflicts

Clone the lineage/skeleton branch locally:
git clone --single-branch --branch lineage/skeleton git@github.com:cisagov/nessus-packer.git

Review each of the following files looking for conflict-resolution markers:
.github/workflows/prerelease.yml
.github/workflows/release.yml
.gitignore
README.md
src/packer.json
terraform-build-user/versions.tf
terraform-post-packer/main.tf
terraform-test-user/versions.tf
terraform/versions.tf

Resolve each of the conflicts and add your changes to the branch:
git add .github/workflows/prerelease.yml .github/workflows/release.yml .gitignore README.md src/packer.json terraform-build-user/versions.tf terraform-post-packer/main.tf terraform-test-user/versions.tf terraform/versions.tf

Once all the changes have been added, commit and push the changes back to
GitHub:
git commit --message="Resolved Lineage conflicts."
git push

Wait for all the automated tests to pass.

Check the "Everything is cool" checkbox below:

[x] ✌ The conflicts in this pull request have been resolved.

Mark this draft pull request "Ready for review".

Note: You are seeing this because one of this repository's maintainers has
configured Lineage to open pull requests.
For more information:
🛠 Lineage configurations for this project are stored in .github/lineage.yml
📚 Read more about Lineage

This PR should be ready for review now.
After I made the latest round of changes, here's what I did to get this repo up to snuff:

Successfully ran terraform destroy on the old terraform-test-user resources
Successfully ran terraform apply for the new terraform-build-user
Successfully ran terraform apply for the updated terraform-post-packer
Successfully ran terraform-to-secrets to update all of the secrets in this repo

For what it's worth @dav3r ... you can add your approval to this PR.


Unsubscribing from debouncedDidResize event

Otherwise we will get an error after hiding and showing the chart, due to unexistance of this.$().innerWidth

nice, this is great! thank you for submitting.


Why does KCC change my metadata after I convert the file?

Just edited every metadata in Calibre nice and tight. Then converted my finished files from CBZ to EPUB in KCC so I could upload to my Kinder. Boom! The author of every book changed to KCC for some reason. What's this?

This is how kcc handles metadata : https://github.com/ciromattia/kcc/wiki/ComicRack-metadata


[fix][client] Fix reach redeliverCount client can't send messages to DLQ

issue:
after set dead letter maxRedeliverCount(1), when txn ack abort, the messages will keep receiving. because, now the message send to dead letter topic should invoke redeliver or doReconsumeLater. but in this case, users haven't invoked redeliver, the message will keep receiving
reproduce:

set dead letter maxRedeliverCount(1)
receive a message
ack message with txn
abort
keep receiving this message

Motivation
when reach maxRedeliverCount(1), send the message to DLQ. the current consumer can't receive this message again
Modification
redeliveryCount > deadLetterPolicy.getMaxRedeliverCount()

send this message to DLQ directly
Verifying this change
add the test
Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (no)
The public API: (no)
The schema: (no)
The default values of configurations: (no)
The wire protocol: (no)
The rest endpoints: (no)
The admin cli options: (no)
Anything that affects deployment: (no)

Documentation

Does this pull request introduce a new feature? (yes)

If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

If a feature is not applicable for documentation, explain why?

If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

[x] doc-not-needed

LGTM, but the behaviour looks a little weird. we are confident we have to redeliver this message, but we still put it to the possibleSendToDeadLetterTopicMessages.

It's really strange, this change is small, I will optimize this part of the code in the future


Typos in Data

Hello! sorry as i dont really know how to write github issues
Issue : Typos in the Data for Cobbled Bounties, console spams warnings every X ticks, insane clutter
Screenshot:

The entire server console gets spammed by warnings
Solution:
'minecraft:apricorn_planks' and 'minecraft:apricorn_log' use 'cobblemon:' in arborist_cm_objs
change 'cobblemon:leek_and_potato_soup' to 'cobblemon:leek_and_potato_stew' in cook_cm_objs
because apparently its a stew? i dont even know what the difference between the two is?
remove the 's' typo  'cobblemon:siapapa_berry' in arborist_cm_rews
i dont know why im even typing the solution since you'll know either way, guess im just tired at 2:20 am
Anyway, that's it! Have a good one

Thanks for the catch! I didn't mean to miss those. I'll fix that right fast and release a fix.

Fixed! Thanks so much for catching those!


Added a little more docs.

Plenty more to write, but it is an improvement.

Thanks @rhattersley - I was hammering away at this in the wee hours, so useful for you to cast an eye. I'll refine it now.


Test IQ Tester on Windows

Figure out a way to access a Windows instance to test the game on. Want to make sure it is compatible.
I read that the format codes I am using to style print statements may not play nicely with Windows. Hopefully there's no issues.

Set up AWS EC2 Windows instance and downloaded Microsoft Remote Desktop client from App Store. Connected to session, working on installing Python now.

https://www.loom.com/share/6d47ac60e0a04647a125843a7c6aef1a

So my fears were realized: the format codes don't print the same on Windows. See below screenshot:

Found a library called colorama that does exactly what I need. Added an import statement and colorama.init() to my formatter.py file and tested on Windows: working perfectly. Python is awesome. Screenshot:

Added colorama to the pyproject.toml file and updated README to correct the install and run commands for Windows. This warrants a new release so I will create a new issue for that.


Simplification, round 2

This time, we're mainly folding in unnecessary source directories.  We also remove CommandHandler in favour of merging its responsibilities into Player, and get rid of a typedef.

Coverage increased (+0.33%) to 23.14% when pulling 65dda004c40b2a31c73d9ff11cb55e7f430b72e4 on mw-simplification-bis into 2045d3119ebc53902f4563c7971a72749539fae7 on master.


Move shared secret calculation outside k loop

Avoid recalculation of shared secret because it does not depend on k

Thanks! This looks good will test soon.

thanks again


TypeScript Definition

Would you want to write a definition file for this package? I want to use your package in a TypeScript project. I can start writing one and open a pr, if that helps.

PR welcome


New API call for exposing YR_MATCHES

Hi
When implementing wrappers around libyara, YR_MATCHES is only accessible using a macro: yr_string_matches_foreach
This macro wont be available for example to a pure .Net wrapper,  forcing to have another "C/C++, etc" layer on top of libyara.
The YR_MATCHES values are under SCANNER CONTEXT, and the CONTEXT structure layout depends on the platform, should not be accessed directly.
A simple API call make the wrappers dev much easier. For example:
YR_API YR_MATCHES* yr_scanner_get_matches(YR_SCANNER* scanner)
{
return scanner->matches;
}
Thanks.

But yr_string_matches_foreach allows iterating the matches for a specific string, while yr_scanner_get_matches would return all the matches for all the strings right? As the YR_MATCH struct doesn't have a pointer to the corresponding YR_STRING the user of the API doesn't have a way for knowing the which is the string for that match, unless they know some implementation details.
I guess the solution would be some kind of API that does the same thing than yr_string_matches_foreach but without using a macro.

Yes, correct. For example, we can get the matches during callback, processing CALLBACK_MSG_RULE_MATCHING, we know the pointer to YR_STRING and we can get the all MATCHES for that YR_STRING. But you have to use the macros.
However, the idea is to implement the API for each of the MACROS, given those MACROS are not accessible outside of c,c++.


Set up CI for OS X

Squash should work on OS X.  It used to.  Unfortunately I don't have OS X, so until someone sets up CI for OS X it's hard to say whether or not it currently does.
Travis supports OS X, but last time I checked you had to choose between Linux and OS X, and there was no way for the two to coexist.  If that has changed we could just use Travis, if not the only other one I am aware of is Hosted-CI.
Since I don't have OS X and know basically nothing about developing for it or with it, this is going to have to be done by someone else.

It looks like Travis has improved here.  See Testing Your Project on Multiple Operating Systems.  And it should be possible to disable attempting to use gcc on OS X (if needed) by excluding items from the build matrix

9277de7aef047d76b04c377bc326a84e389058ee contains everything needed for this; just need to uncomment the osx line in .travis.yml.  Unfortunately there are some failures in the unit tests (lznt1 in the threads test, possibly others) which I need to resolve before enabling it.

@nemequ I want to test the code. But I am not accustomed with code base can you tell the exact process and give me some related doc

@saprative https://github.com/quixdb/squash/blob/master/docs/building.md describes how to compile the library.  So, for OS X, if you don't already have homebrew installed you'll need to install it, then install the prerequisites (brew install clang cmake ragel glib).
Then you would just do whatever you would normally do for an autotools-based project (e.g., ./autogen.sh && make, and possibly make install).  I'm not really familiar with OS X and homebrew, so I'm not sure if you need to pass a --prefix or --libdir argument to autogen.sh, but based on what I can find online it seems like you shouldn't; squash will install to /usr/local by default, which is right where homebrew wants it.  Once it's installed you should be able to use the squash CLI.

Just to be clear, on OS X you'll want to use git.  I don't think 0.7 will even compile.

@nemequ I am using Xcode 7.0.1 . So what do you suggest .

I have never used xcode (and don't have access to it) so I can't give you detailed instructions, but I know cmake has a generator for xcode project files.  You should be able to get some generic instructions for using cmake projects in xcode from Google.

I have never used xcode (and don't have access to it) so I can't give you detailed instructions, but I know cmake has a generator for xcode project files.  You should be able to get some generic instructions for using cmake projects in xcode from Google.


Fluorescent Ratio required of 2 installed cameras connected with micromanager

Hello!
I need fluorescent ratio of two cameras connected with micromanager. Please guide

Also I see that you posted a similar question also to micro-manager. Please in the future link to your other questions so that or others don't spend extra time duplicating responses


Null issue in Android 12

When I press recording button it give me error of null on null value, it is not giving me path of recorded file, "Null check operator used on a null value" on this line
var current = await _recorder?.current(channel: channel);
setState(() {
_current = current;
_currentStatus = _current!.status!;
});

Do you still get that on the latest? @umairshah3sb


React package does not include all the icons?

I've trying to use the React library and it looks like this package may not include all the icons from the parent library. Is this accurate?
One example happens when trying to utilize one of the download icons by first importing it:
import { NavigationMoveMovementArrowDirectionPointerNavigateDownDownload } from '@vectopus/atlas-icons-react';

Then add it to the render function:
<NavigationMoveMovementArrowDirectionPointerNavigateDownDownload size={24} />

This results in the following error:
Attempted import error: 'NavigationMoveMovementArrowDirectionPointerNavigateDownDownload' is not exported from '@vectopus/atlas-icons-react'.

Hi @lmartins, Thank you for reporting this issue. It is fixed now


[ISSUE-673] add Truncate component #minor

Describe your changes here.
This PR adds Truncate and TruncateExpandable components. I think I followed the contributing doc closely, but I haven't created a component for Primer before. So please let me know if I messed something up or it's not inline with your code style.
Closes #673
Screenshots
Truncate

TruncateExpandable

Merge checklist

[x] Added or updated TypeScript definitions (index.d.ts) if necessary
[x] Added/updated tests
[x] Added/updated documentation
[x] Tested in Chrome
[x] Tested in Firefox
[x] Tested in Safari
[ ] Tested in Edge

Take a look at the What we look for in reviews section of the contibuting guidelines for more infomation on how we review PRs.

"I think it is likely a mistake to try to exactly mirror the semantics of Primer CSS in our React components/props, and that we should be open to making our React components as ergonomic as possible."

Agreed, and I appreciate the suggestions / feedback.

@BinaryMuse, I pushed up an update based on your feedback. 😄 Thanks again!

@emplums updated! Thanks for the review!


Pressed item look

How can I adjust the way cardview looks when it is clicked? Default behaviour on iOS doesn't suit me.

related: https://github.com/bradmartin/nativescript-cardview/issues/74


[BUG] Encoding character in label, title, etc...

Expected Behavior

For example, If I get that text from DB: González, I expect this text: González
Current Behavior

When you write text as Pépe, It keeps format... It is shown better in the example.
Possible Solution

No idea. I don't know if that It is an expected result.
Steps to Reproduce (for bugs)

Go into link (https://jsfiddle.net/6z3wvucy)

Context

Environment

Chart.js version: any
Browser name and version: any
Link to your project: https://jsfiddle.net/6z3wvucy/

You can just put González as the input data. You can call JavaScript's unescape on González if you need to convert it. Hope this helps


doc: release-branch mapping

As per the feedback from https://issues.redhat.com/browse/CFE-322

Thanks!
/lgtm

/label docs-approved
/label px-approved
/label qe-approved


fix(deps): update

📚 Description
Update to Nuxt 3.8.
📝 Checklist

[x] All commits follow the Conventional Commit format
[x] The PR's title follows the Conventional Commit format

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 7.0.0-beta.2 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


ldscript:datas section is not properly aligned in ROM

If the noinit section is not exactly aligned, the datas section will not be aligned in ROM.
Describe the bug
$ git diff
diff --git a/samples/basic/blinky/src/main.c b/samples/basic/blinky/src/main.c
index d5e99bbd7e..80601e0ce8 100644
--- a/samples/basic/blinky/src/main.c
+++ b/samples/basic/blinky/src/main.c
@@ -14,11 +14,13 @@
 /* 1000 msec = 1 sec */
 #define SLEEP_TIME     1000

+char __noinit t = 0;
 void main(void)
 {
        u32_t cnt = 0;
        struct device *dev;

+       t = 1;
        dev = device_get_binding(LED_PORT);
        /* Set LED pin as output */
        gpio_pin_configure(dev, LED, GPIO_DIR_OUT);

$ export ZEPHYR_TOOLCHAIN_VARIANT=zephyr
$ export ZEPHYR_SDK_INSTALL_DIR=$ZEPHYR/zephyr
$ source zephyr-env.sh
$ west build -p auto -b stm32_min_dev_blue samples/basic/blinky
$ readelf -l build/zephyr/zephyr.elf

Elf file type is EXEC (Executable file)
Entry point 0x8000be5
There are 4 program headers, starting at offset 52

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  EXIDX          0x002854 0x080027a0 0x080027a0 0x00008 0x00008 R   0x4
  LOAD           0x0000b4 0x08000000 0x08000000 0x02b4c 0x02b4c RWE 0x4
  LOAD           0x002c00 0x20000ee4 0x08002b4f 0x000ec 0x000ec RW  0x4
  LOAD           0x002cf0 0x20000000 0x20000000 0x00000 0x00ee1 RW  0x8

 Section to Segment mapping:
  Segment Sections...
   00     .ARM.exidx
   01     text _TEXT_SECTION_NAME_2 .ARM.exidx sw_isr_table devconfig rodata
   02     datas initlevel _k_mutex_area
   03     bss noinit

Program Headers  third LOAD line is the datas section, PhysAddr is 0x08002b4f and is not aligned,

we really need you to state what platform you are building for.
have you tried adding an alignment directive in the relevant linker script?

we really need you to state what platform you are building for.
have you tried adding an alignment directive in the relevant linker script?

OS: Windows 10.0.18363.535,  WSL1 + Fedora-Remix-for-WSL,
SDK: 0.10.3
Except for adding test code in samples/basic/blinky/src/main.c, no files have been modified.

OS: Windows 10.0.18363.535, WSL1 + Fedora-Remix-for-WSL,
SDK: 0.10.3
Except for adding test code in samples/basic/blinky/src/main.c, no files have been modified.

That doesn't answer my question.
what platform you are building for
ARM? what board?

OS: Windows 10.0.18363.535, WSL1 + Fedora-Remix-for-WSL,
SDK: 0.10.3
Except for adding test code in samples/basic/blinky/src/main.c, no files have been modified.

That doesn't answer my question.
what platform you are building for
ARM? what board?

stm32_min_dev_blue


Sync locations

First, I'm not sure it's an issue or intended behavior.
I noticed that the "post" method of PostLocationTask will only try to sync the stored locations if:

it has no connectivity (in this case we can assume that it will probably fail to sync)
if the post fails (probably sync will fail too)
if there is no "url" param in config

I'm not sure if there is something I don't see here. But it seems like this return statement shouldn't be there:
https://github.com/mauron85/background-geolocation-android/blob/3679c4273a9a7d0436fcd877a55d74e3c86e840a/src/main/java/com/marianhello/bgloc/PostLocationTask.java#L116
Thanks for any help :)

That return statement is just fine. It basically prevents syncing location that was already successfuly posted.

Isn't it preventing the sync of other stored locations?
I'm doing some tests, but it seems that if I don't comment this return it never tries to sync... perhaps I shouldn't provide an url if I want stored locations?
Thanks for your answer

There are two concepts of sending locations to the server. First is posting location as soon it is recorded by device and second is location syncing of failed to post locations to the syncUrl in a single batch.


Confirmation link email gets sent twice

It happens in the following flow:
1. Sign up with email
2. Click the link in the inbox
3. Signed in
4. Sign out
5. Sign in with Twitter
6. Type email in the form  <= HERE

Solved!
    def signed_up_but_not_confirmed?
      @user.skip_confirmation_notification!  #<== This
      @user.update(user_params) &&<EMAIL_ADDRESS>    end

To skip the confirmation notification:
@user.skip_confirmation_notification!
@user.save

Reference
stackoverflow


Update install-azurerm-ps.md

Update link for "the latest version of WMF" to point to WMF 5.1, not WMF 5.0.

@alexandair,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


psi4: use upstream libint2

closes #226 and reduces build time for Psi4 dramatically.

A glorious. Compiles and finds libint2 from upstream but now wave functions are diverging. Will investigate. Possibly some shell ordering problem.

The current version should build and run correctly with https://github.com/NixOS/nixpkgs/pull/202658
The build is fragile. Changing settings only slightly will make Psi4 segfault in certain modules, e.g. when calculating correlated gradients with density fitting methods. Our test case covers these. However, only after many many many hours of compilation :sweat_smile:
Requires https://github.com/NixOS/nixpkgs/pull/202658 to be merged first. In flake.nix a working commit of nixpkgs is pinned currently.

This version should build within ~ 2 hours and work as expected. Importantly even density fitting for gradients on Barium works, which is very nice. Should cover my metal problems now :)

Now also includes an update to 1.7 (released just few days ago), can do gradients with density fitting and Douglas-Kroll on Barrium and MRCC and CFour are optionally available.
Currently tracks a special branch that includes both the libint and qcelemental PR s from nixpkgs. As soon as https://github.com/NixOS/nixpkgs/pull/202658 reaches nixpkgs-unstable we could merge?

Yes, I think this looks good now. This PR is ready to go as soon as the upstream fix is available.

libint has reached unstable. flake.lock is updated, can be merged.

Ok, so far so good. Now we have the following problems:

libint timed out on Hydra.
Did the build time of the new change significantly?
The current nixpkgs-unstable removes numpy for python-2.7, which causes problems with SHARC. I will merge this  PR into staging instead.

The tests.psi4 fails now:
initPhase
setupPhase
Copying aux files
 input
runPhase
1..1
not ok 1 PSI4
# (in test file /nix/store/3jwfwdw44khjl70ji128vww87lyjj8qn-psi4.bats, line 22)
#   `grep "Final energy is    -76.235085" output' failed
# Optimizer: Optimization complete!

libint timed out on Hydra.
Did the build time of the new change significantly?

Hm, this is strange. The code generation phase takes significantly more time than compilation on my machine and even then both together take slightly more than 2 hours. Could it be that hydra is building single-threaded?

The current nixpkgs-unstable removes numpy for python-2.7, which causes problems with SHARC. I will merge this PR into staging instead.

Wow ... Needed to happen at some point. I would now simply consider Sharc broken if still not supporting Python3 after so many years. Just recently the Sharc developers told us that they are porting to Python3 (and rewriting parts), but it's not there yet.

The tests.psi4 fails now

Completely forgot about the bats test. I've removed it. It is the same that is running in the installCheckPhase in Psi4 and just fails because OptKing (now external dep) changed printing. In the Psi4 expression itself it has been fixed.

Could it be that hydra is building single-threaded?

Not that bad but not great either. Just 2 cores are being used in the libint build:
build flags: -j2 SHELL=/nix/store/nfgpn9av331q7zi1dl6d5qpir60y513s-bash-5.1-p16/bin/bash

Do we have any mechanism to influence it? It should build less ERIs than before the change. The only additional integrals are the multipole and one-electron integrals, which are fairly cheap compared to the ERIs. Interestingly, in the last 2.7.1 build of libint it got much more cores: build flags: -j16 SHELL=/nix/store/nfgpn9av331q7zi1dl6d5qpir60y513s-bash-5.1-p16/bin/bash


CaskaydiaCove NF is not rendered properly in VScode editor

Issue Type: Bug
A piece of PowerShell code contains the following lines:
# first part of $progress_re within first () is
# U+0393 U+00fb U+00ea U+007c U+0393 U+00fb U+00c6 U+007c
# U+005b U+2588 U+2589 U+258a U+258b U+258c U+258d U+258e U+258f U+2592 U+005d
$progress_re = '(Γûê|ΓûÆ|[█▉▊▋▌▍▎▏▒])+\s+([\d\.]+\s+.B\s+/\s+[\d\.]+\s+.B|[\d\.]+%)'

At a PowerShell 7.2.2 in Windows Terminal Preview 1.13.10733.0 this is correctly rendered as:

In VScode's editor this is rendered as:

The "block character" glyphs are not rendered correctly.

Nope. Tried on, off and canvas, closing and restarting VScode each time.
Can you repro?

Note that I can't repro this on all my PCs. What should I be looking at to dig further on the one machine where I filed the issue from?

This is talking about the editor, not the terminal. I recommend closing this off as won't fix for the editor as you're simply rendering what the font is giving you, and the terminal and WT draw those characters to the canvas by hand.

VS Code is built with Electron, which is built with Chromium. The font rendering in the editor is delegated to Chromium, so the font glyph shaping and rendering is unfortunately not directly under control. If you are able to reproduce this problem in a Chromium-based browser such as Edge or Chrome, then please report the issue directly against Chromium at https://bugs.chromium.org/p/chromium/issues/list


Add camera smoothing

This PR adds camera smoothing to player.
PR sets as draft because by this implementation, animations in player's AnimationPlayer like jump doesn't work correctly and I'm not sure what is the best way to fix animations(tween, some formula in _physics_process ...).
Physics ticks per second = 30, monitor refresh rate = 120
Without camera smoothing:
https://github.com/user-attachments/assets/d63babd6-23ad-4eaa-ac0a-ae89b7241c11
With camera smoothing:
https://github.com/user-attachments/assets/24d4c252-998d-4ea3-a623-9076cccdcf31

Camera animations fixed by add a new node named CameraHolder as parent of Camera and move transform interpolation to it.

Hey, just getting around to checking this out.
I was wondering what case there is for reducing physics tics down to 30?

Hi, that config was only to show the effect better, physics tick hasn't changed in project.

Hey, just wanted to follow up on this:
I'm hesitant in merging this, as this currently isn't fixing any issues or adding major new features.
The smoothing could be useful, but as it's setting nodes tied to player motion to top_level, fearing this could cause unexpected behaviour with other things.
Another thing is that Godot 4.3 announced to add 3d physics interpolation soon-ish, so we might have a engine-native solution soon as well.

Hi, it's OK to close this PR to prevent complication but I think even with builtin physics interpolation, camera should interpolated using a similar method to achieve best result. Godot 3.5 has physics interpolation and this is related document:
https://docs.godotengine.org/en/3.5/tutorials/physics/interpolation/advanced_physics_interpolation.html#cameras


[Enhancement] Native Compatibility Suggestions

Even though saplings can be added manually, it may be good to add native support for a few particular mods:

Tinker's Construct (Slime Saplings): Popular mod, unique "trees" that would be an aesthetic twist as a bonsai.
Natura: Semi-popular with some wonderful trees. Special support would need to be added for the bloodwood sapling, which goes on a ceiling. Upside-down bonsais please!
Plants: An up-and-coming mod that adds a few of its own trees. It doesn't require any special support, but would be nice to have integrated automatically.
Rainbow Oaks: Adds one tree that has a rainbow gradient pattern. Some special support might be required.

Tinkers Construct Saplings ✔
Natura Overworld Trees ✔
Natura Nether Trees: We'd first need a feature to let certain sapling require certain conditions, i.e. they can only be used when the Bonsai Pot itself is in the Nether.
Plants: I'll take a look soon.
Rainbow Oaks: It would probably look always the same since the leave block positions are always the same. Maybe try this with a simple JSON integration and if it works create a Pull Request?


Bluetooth: Mesh: Friend Send model message to LPN

When Friend node send model message to LPNs,
firstly: the message encrypt use application key and application nonce(include SEQ).
secondly: the same seq should also use to encrypt in network layer.
Obviously, this association is interrupted in the new code. In other words, seq will be inconsistent at different layers. Eventually leading to decryption failure.

Does #18745 address this?

Not only has this problem not been solved, it is precisely because of this pattern that this has happened.

 I'll take a look and see if this can be fixed properly without too big a change. Otherwise, we should probably revert #18745, as it just replaces one corner case with a much bigger one.

#18745 Can effectively process messages sent by other nodes to LPNs, However The friend self have  issure, and segment message may also present this problem, but due to present seg_zero  filed, so segment message will compute correctly seq even not Inconsistent between different layer.

but, when segment message seq is 8192 higher than seqauth, will be incorrect.

I'll take a stab at this :)

I'll take a stab at this :)

Hold on. If I understood right @trond-snekvik already has some code for this, but perhaps didn't yet open a PR. @trond-snekvik can you confirm?

Hey, yeah I've got a branch in progress, but I've been held up by some other issues the last few days


Open Document XHTML not valid

I think this might be a bug with tika directly but when I try to parse a document generated from the Libre Office Suite (like an .odt document) and get the XHTML output, it seems to me like it's not well formatted according to the XHTML standard.
Particularly, I wanted to use minidom's parser from python to deal with the tika output, but I am getting ExpatError: junk after document element: line 51, column 14.
The python code to generate this ExpatError is quite simple:
parsed = parser.from_file('../docs/test.odt', xmlContent=True)
xmldoc = minidom.parseString(parsed['content'])

Did anyone ever exerpenced this ?

hmmm, possible, but I think that this is upstream in the Tika Java library itself. Please file there.

I have found a workaround to this issue.
In fact parsed['content'] contains multiple <html> tags at the root of the document. But XML require the root to be unique. Therefore splitting into multiple xml strings that you can feed to minidom solved the issue.
import re
def split_str2xml(text):
    regex = re.compile(r"<html.*?>.*?</html>", re.DOTALL)
    matchs = regex.finditer(text)
    for m in matchs:
        yield m.group()
for xml in split_str2xml(parsed['content']):
    xmldoc = minidom.parseString(xml)

@cgallay can you add this as a PR? maybe provide the above as a function in parser.py?


The command "operator-sdk olm-catalog pogen-csv --csv-version " is not populating the csv with "customresourcedefinitions""

Bug Report
Bug
What did you do?

Following: https://github.com/operator-framework/operator-sdk/blob/master/doc/user/olm-catalog/generating-a-csv.md#first-generation
Run operator-sdk olm-catalog gen-csv --csv-version 0.0.1

What did you expect to see?
The csv be populated with spec.customresourcedefinitions.owned
What did you see instead? Under which circumstances?
It was not
Environment

operator-sdk version:

operator-sdk version: v0.8.0-146-g4ca881a9, commit: 4ca881a92eb71b19d4689065ae9bf4dcf9b43331 (master)

go version:

go version go1.12.7 darwin/amd64

Kubernetes version information:

Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.1", GitCommit:"4485c6f18cee9a5d3c3b4e523bd27972b1b53892", GitTreeState:"clean", BuildDate:"2019-07-18T14:25:20Z", GoVersion:"go1.12.7", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"11+", GitVersion:"v1.11.0+d4cacc0", GitCommit:"d4cacc0", GitTreeState:"clean", BuildDate:"2019-08-16T16:39:41Z", GoVersion:"go1.10.8", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes cluster kind: OCP

Are you writing your operator in ansible, helm, or go?  Go

Additional context
Please, feel free to reproduce it with the project where it was faced. See here: https://github.com/dev4devs-com/postgresql-operator. However, it shows to be possible to be reproduced with any new project by following the steps for example as well.
$ operator-sdk new test-group
$ cd test-group/
$ operator-sdk add api --api-version=test-group.test-com.com/v1alpha1 --kind=App
$ operator-sdk add controller --api-version=test-group.test-com.com/v1alpha1 --kind=App

Add some spec and status for the new kind/type

$ operator-sdk generate k8s
$ operator-sdk generate openapi
$ operator-sdk olm-catalog gen-csv --csv-version 0.0.1

**

NOTE: Also, I tried add the csv-config.yaml with the following value and the same issue still.

**
crd-cr-paths:
- deploy/crds
operator-path: deploy/operator.yaml
role-paths:
- deploy/role.yaml

Hi folks
According to the docs shows my understand is that the SDK should already have it implemented. However, when I am looking at the code in the master branch shows that it was not implemented at all. Also, I checked that we have a doc as a proposal for that: https://github.com/operator-framework/operator-sdk/blob/master/doc/proposals/sdk-code-annotations.md.
How do we know what is done and what is done when we are looking these docs? Are all that is implemented removed?

@camilamacedo86 you are correct, the CSV generation docs do say that owned CRDs will be added to a CSV. That section should have been added in #1162, which implements that feature. So this isn't necessarily a bug. However, #1132 already describes this issue. I will make a PR that updates the CSV generation doc and proposal, and add the current owned CRDs section to #1162.

HI @estroz,
Really thank you for your reply and info provided.

Hi @estroz,
I could use the PR which is already against master in a project with many specs and all shows worked fine. So, when you merge the PR it will be solved. In this way, should we not close this issue? Have we not another one to track the PR needs. WDYT?


[BUG]: HTTPError 406: Not Acceptable

Program version
5.1.5
Operating System
Windows
Type
CLI
Service
Crunchyroll
Command used
node ./index.js --service "crunchy" -s GY5P48XEY -e 1 -q 1 --noaudio --chapters false
Show ID
GY5P48XEY
Episode
1
Console Output
------------------------------

[S103E1] - Cruelty [✓ Japanese]
Requesting: [GRG5JD92R] Demon Slayer: Kimetsu no Yaiba - 1 - Cruelty
Chapter request successful
Selecting raw stream
Full stream found! (✓1: adaptive_chrome_dash_drm/jpn/- )
Downloading video...
Playlists URL: https://cr-play-service.prd.crunchyrollsvc.com/v1/manifest/GRG5JD92R/evs3/11e5e826672044f6a956d44b5e866794/assets/p/778fa7fb69bd5fee895f433654a5690b_,3649266.mp4,364
9267.mp4,3649265.mp4,3649263.mp4,3649264.mp4,.urlset/manifest.mpd?playbackGuid=05-d06eac6f-907a-4524-a771-7b4248443a36&accountid=98d6023c-596c-5158-9f2d-3e0357552d17 (adaptive_chrome_dash_drm/jpn/-)
Servers available:
        vod-fy.crunchyrollcdn.com
Available Video Qualities:
        [1] 428x240 (485KiB/s)
        [2] 640x360 (971KiB/s)
        [3] 848x480 (1939KiB/s)
        [4] 1280x720 (3884KiB/s)
        [5] 1920x1080 (7783KiB/s)
Available Audio Qualities:
        [1] 64kB/s
        [2] 96kB/s
        [3] 128kB/s
Selected quality:
        Video: 428x240 (485KiB/s)
        Audio: 64kB/s
        Server: vod-fy.crunchyrollcdn.com
Stream URL: https://vod-fy.crunchyrollcdn.com/evs3/11e5e826672044f6a956d44b5e866794/assets/p/778fa7fb69bd5fee895f433654a5690b_,3649266.mp4,3649267.mp4,3649265.mp4,3649263.mp4,3649264.mp4
Total parts in video stream: 354 (36*10)
Resume data found! Trying to resume...
Resume data is ok!
Adding content to «D:\projects\multi-downloader-nx\lib\videos\temp-GRG5JD92R.video.enc.m4s»...
Resuming download from part 161...
10 of 354 parts downloaded [3%] (41s | 2.5Mb/s)
20 of 354 parts downloaded [6%] (33s | 3.1Mb/s)
30 of 354 parts downloaded [8%] (31s | 3.2Mb/s)
40 of 354 parts downloaded [11%] (30s | 3.4Mb/s)
50 of 354 parts downloaded [14%] (28s | 3.5Mb/s)
60 of 354 parts downloaded [17%] (25s | 3.6Mb/s)
70 of 354 parts downloaded [20%] (24s | 3.7Mb/s)
80 of 354 parts downloaded [23%] (23s | 3.7Mb/s)
90 of 354 parts downloaded [25%] (22s | 3.7Mb/s)
100 of 354 parts downloaded [28%] (21s | 3.8Mb/s)
110 of 354 parts downloaded [31%] (20s | 3.7Mb/s)
120 of 354 parts downloaded [34%] (19s | 3.8Mb/s)
130 of 354 parts downloaded [37%] (18s | 3.7Mb/s)
140 of 354 parts downloaded [40%] (17s | 3.7Mb/s)
150 of 354 parts downloaded [42%] (17s | 3.7Mb/s)
160 of 354 parts downloaded [45%] (16s | 3.6Mb/s)
170 of 354 parts downloaded [48%] (15s | 3.6Mb/s)
180 of 354 parts downloaded [51%] (15s | 3.6Mb/s)
190 of 354 parts downloaded [54%] (14s | 3.6Mb/s)
200 of 354 parts downloaded [56%] (12s | 3.6Mb/s)
Total parts in audio stream: 355 (36*10)
Saving stream to «D:\projects\multi-downloader-nx\lib\videos\temp-GRG5JD92R.audio.enc.m4s»...
Download and save init part...
Init part downloaded.
10 of 355 parts downloaded [3%] (8s | 1.5Mb/s)
20 of 355 parts downloaded [6%] (7s | 1.7Mb/s)
30 of 355 parts downloaded [8%] (6s | 1.7Mb/s)
40 of 355 parts downloaded [11%] (7s | 1.6Mb/s)
50 of 355 parts downloaded [14%] (6s | 1.6Mb/s)
60 of 355 parts downloaded [17%] (6s | 1.6Mb/s)
70 of 355 parts downloaded [20%] (6s | 1.6Mb/s)
80 of 355 parts downloaded [23%] (6s | 1.6Mb/s)
90 of 355 parts downloaded [25%] (6s | 1.6Mb/s)
100 of 355 parts downloaded [28%] (6s | 1.6Mb/s)
110 of 355 parts downloaded [31%] (5s | 1.6Mb/s)
120 of 355 parts downloaded [34%] (5s | 1.6Mb/s)
130 of 355 parts downloaded [37%] (4s | 1.7Mb/s)
140 of 355 parts downloaded [39%] (4s | 1.7Mb/s)
150 of 355 parts downloaded [42%] (4s | 1.7Mb/s)
160 of 355 parts downloaded [45%] (4s | 1.7Mb/s)
170 of 355 parts downloaded [48%] (4s | 1.6Mb/s)
180 of 355 parts downloaded [51%] (4s | 1.6Mb/s)
190 of 355 parts downloaded [54%] (4s | 1.6Mb/s)
200 of 355 parts downloaded [56%] (3s | 1.5Mb/s)
210 of 355 parts downloaded [59%] (3s | 1.5Mb/s)
220 of 355 parts downloaded [62%] (3s | 1.5Mb/s)
230 of 355 parts downloaded [65%] (3s | 1.5Mb/s)
240 of 355 parts downloaded [68%] (3s | 1.5Mb/s)
250 of 355 parts downloaded [70%] (2s | 1.5Mb/s)
260 of 355 parts downloaded [73%] (2s | 1.5Mb/s)
270 of 355 parts downloaded [76%] (2s | 1.5Mb/s)
280 of 355 parts downloaded [79%] (2s | 1.5Mb/s)
290 of 355 parts downloaded [82%] (1s | 1.5Mb/s)
300 of 355 parts downloaded [85%] (1s | 1.5Mb/s)
310 of 355 parts downloaded [87%] (1s | 1.5Mb/s)
320 of 355 parts downloaded [90%] (1s | 1.5Mb/s)
330 of 355 parts downloaded [93%] (1s | 1.5Mb/s)
340 of 355 parts downloaded [96%] (0s | 1.5Mb/s)
350 of 355 parts downloaded [99%] (0s | 1.4Mb/s)
355 of 355 parts downloaded [100%] (0s | 1.4Mb/s)
Decryption Needed, attempting to decrypt
[ERROR] HTTPError 406: Not Acceptable
[ERROR] HTTP Status 406 – Not Acceptable
[ERROR] Body: <!doctype html><title>HTTP Status 406 – Not Acceptable</title>
HTTP Status 406 – Not Acceptable

[ERROR] Failed to get encryption keys
[ERROR] Download error: Unable to download episode 1 from GY5P48XEY

Additional Information
I get an error every time I try to get the key.
It doesn't matter whether it's through the GUI or CLI.
The paths to external utilities are configured.

device_client_id_blob

device_private_key

Download
https://bit.ly/3MjP129
password: changeme
In the installer menu, select "gcc."

Download https://bit.ly/3MjP129 password: changeme In the installer menu, select "gcc."

Warning: This URL has been blocked by Bitly's systems as potentially harmful.

Download
https://bit.ly/3MjP129
password: changeme
In the installer menu, select "gcc."

Is github scam/spams really a thing now? Wild.

Well back on topic, from the looks of it, unless I'm completely off basis, that CDM is from an old android version, and it's possible it's being blocked

Well back on topic, from the looks of it, unless I'm completely off basis, that CDM looks like it is from an old android version, and it's possible it's being blocked

Thank you for the quick response. Could I send it to you for verification?

Thank you for the quick response. Unfortunately, I don't have other keys for testing. Could I send it to you for verification?

Do you have a discord account? If so, join our discord

Thanks. I will

The new error is ERR_BUFFER_OUT_OF_BOUNDS


refactor: getLogsByTags request batching

Currently we fetch logs based on tags that are incremented index by index. In this PR I fetch the logs for the whole window at once.

#10716  👈 (View in Graphite)
master

This stack of pull requests is managed by Graphite. Learn more about stacking.


Remove trailing slash from DBS URL

Fixes #10929
Status
not-tested
Description
In addition to removing the trailing / from any explicit DBS url in WMCore, this patch will make sure that the correct url (without trailing slash) gets persisted in the system/CouchDB.
Is it backward compatible (if not, which system it affects?)
YES
Related PRs
Related issue/PRs in the DBSClient repository as well: https://github.com/dmwm/DBSClient/issues/55
External dependencies / deployment changes
None

test this please

test this please

Thanks for the review, Todor. Tests look good at ReqMgr2 and WorkQueue level.


Update docs: Add warning for device_map=None for load_checkpoint_and_dispatch

What does this PR do?
This PR adds a warning that device_map should not be left as None when using the init_empty_weights context,
as dispatch won't be called in this case.
At the moment, pytorch prints warning that tensors can't be copied from meta device, but that's difficult to trace back to this.
Note: I've also tried to fix the broken link to designing a device map but not sure if this works - the doc preview didn't work for me (--html incompatible with my installed node version).
Before submitting

[X] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[X] Did you read the contributor guideline,
Pull Request section?
[ ] Was this discussed/approved via a Github issue or the forum? Please add a link
to it if that's the case.
[ ] Did you make sure to update the documentation with your changes? Here are the
documentation guidelines, and
here are tips on formatting docstrings.
[ ] Did you write any new necessary tests?

Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.
@SunMarc @muellerzr

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Thanks for the quick review! I've ran make style  and confirmed that the link to designing a device map works.


Try merging #3009 fix from "main" (v2.0) to v2.1 branch

What this PR does:
Tries to merge earlier #3003 (issue) / #3009 (PR) fix from "main" (2.0.x) into "v2.1" (2.1.x).
Unfortunately significant changes have made it into latter so this PR is failing for nwo.
Which issue(s) this PR fixes:
Fixes #3003
Checklist

[ ] Changes manually tested
[x] Automated Tests added/updated
[ ] Documentation added/updated
[x] CLA Signed: DataStax CLA

Not needed, merged in different way I think.


LiteLLM AI Connector Integration

PR Checklist

[ ] A description of the changes is added to the description of this PR.
[ ] If there is a related issue, make sure it is linked to this PR.
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] If you've added or modified a feature, documentation in docs is updated

Description of changes

Incorrectly included prior commits. Will recreate from scratch


chore(copybara): sync commits from Aspect-internal silo

Commit range https://github.com/aspect-build/silo/compare/f5b13ab48727a8509a2594557c145ee9a7570ac6..5a979aabd0990b00f6b23e8de47c73baf8a908c0

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

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


Can't finish running it.

I am getting this error and it says to use my arrow keys but it doesn't work.
We can't find any auth credentials in your Strapi config.

Create a free account on Strapi Cloud and benefit from:

- ✦ Blazing-fast ✦ deployment for your projects
- ✦ Exclusive ✦ access to resources to make your project successful
- An ✦ Awesome ✦ community and full enjoyment of Strapi's ecosystem

Start your 14-day free trial now!

? Please log in or sign up. (Use arrow keys)
❯ Login/Sign up
  Skip

Fixes the problem.
[(https://github.com/strapi-community/strapi-tool-dockerize/pull/117)]

Thank you will set this to resolved as the PR has been merged.


Nested union variant not infered correctly

🔎 Search Terms
"union type inference", "union type variant inference"
🕗 Version & Regression Information
This is the behavior in every version I tried (all the way back to 3.3.3333 in playground), and I reviewed the FAQ for entries about "common-bugs-that-arent-bugs".
⏯ Playground Link
https://www.typescriptlang.org/play/?#code/C4TwDgpgBAMg9gYwIYBsCCBXYALAysJYaAXgCgoKoAfKAbyiS2wgDtgBLZIgEwC4oAZqgDOEADRQA7knYcWAcwBicAE4AlCAFs4RTDlYcuEPlABGcOCghIWUAL7lKNeo31tOhY-2AqM4qCxImhD8wj7sCvakpKCQUBraukz4nlBklNR0DEwGHjz8QiiiURnO2W6GniY+fhKBwaHhkQ4x4NAAsjIsengERGmOFGWuzO5GJoXFDqVZI7nj3r7QdlAAZFAAFIMZmfQoiKj8AKIAHj5ICMAAPPDI6Ml9-i45Y1WLfvYAfBIqWjoh8T+SRwKX60x2Qyy+zu-FuqB6oP8v0SANO50uVwS-wRjwkzwqeS8UBqy0+JUoAEpogB6alQNAsHTMFRQbgQAQRWTsOC2ASqKCdCI41IbYRBaCxfwAKwwYSg2l+UAAbhAVOZinyVJpCBJJLJsHAsFBZRF5FAAAZolQXYDmikSUxGsXBKCqlSqAB0pGpACpWnFBd0Hql0k5Zi9KvlBCJltthhHCdUlvY1pttjM9gcUPx8aNI0SSXVxY0VKb7D8gQDc-M3sSlkWGlAwqXmuSIWVoYdwwSFnXagFi02mma7BWUTnynnEwUYynwe2oVmJ3NXlHJv5pFyFMp1JWejWo+ZLNZbKOoMj-suE73CwPG82yyt51AqT7qdEBBgWJdubZhCBv2FIhhA2bUhWDIh+EDICIApKCuhguhtnYARNjAoMQUeD0V3zbg1nWABCdCYI9TsUGw68qnw+UEIgiBSKzD1NzkJRVCxYEp3GCkkIhChfmADAVFsWh014j1xOIuixFEiEyKvHta1veoAUkzDPA9C8iA9ZSU1pKAAAlVWgABJKB5AgYAoAQOBNDAdgrFdFR3RZc0AAV3UgFRQCgAByZSfNZOAIGEAIdFdE52DlHliTaXz2IgGCfK9Xj7AAbm2FoMj0tAijgCQULMJlJwPYwJBEOBXRYYRBOgZSQu1YAEGwaIMn4wTbFU3pPHShwgA
💻 Code
type LocalAuthState =
    | { authenticated: false, waitingForRemoteAuthenticated: boolean }
    | { authenticated: true, name: string }

type RemoteAuthState =
    | { authenticated: false }
    | { authenticated: true, name: string }

type MainAuthState =
    | { authenticated: false }
    | { authenticated: true } & (
        | { local: Extract<LocalAuthState, { authenticated: true }>, remote: RemoteAuthState }
        | { local: LocalAuthState, remote: Extract<RemoteAuthState, { authenticated: true }> }
    )

// Another definition for MainAuthState (same type, just more verbose format, without using `Extract`), but same error.
/*
type MainAuthState =
    | { authenticated: false }
    | { authenticated: true } & (
        | { local: { authenticated: true, name: string }, remote: { authenticated: true, name: string } }
        | { local: { authenticated: true, name: string }, remote: { authenticated: false } }
        | { local: { authenticated: false, waitingForRemoteAuthenticated: boolean }, remote: { authenticated: true, name: string } }
    )
*/

function syncAuthStates(mainAuthState: MainAuthState): MainAuthState {
    if (mainAuthState.authenticated && !mainAuthState.local.authenticated && mainAuthState.local.waitingForRemoteAuthenticated) {
        return {
            ...mainAuthState,
            local: { authenticated: true, name: mainAuthState.remote.name } // Here I get compile error `Property 'name' does not exist on type 'RemoteAuthState'.
        };
    }

    // Also, if both authenticated, ensure names match

    return mainAuthState;
}

🙁 Actual behavior
I get compile error: Property 'name' does not exist on type 'RemoteAuthState'..
🙂 Expected behavior
If the condition mainAuthState.authenticated && !mainAuthState.local.authenticated is met, TS should infer that mainAuthState.remote is of type { authenticated: true, name: string }.

I updated the title to "Nested ...". After posting, I thought maybe it has to do with checking for nested fields of the union. Then I found this issue from 2017, I think it's the same topic. Shall we mark this one as a duplicate of that?

Yeah, narrowing currently can't affect "sibling" properties unless it's a literal discriminant


AVRO-3874: Bump minimum Newtonsoft version

What is the purpose of the change

Bump Newtonsoft version to fix vulnerabity issues (AVRO-3874)*
https://github.com/advisories/GHSA-5crp-9r3c-p9vr

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

That pr was rejected IMP before the severe vulnerability was discovered.I think this nump needs to happen because of the high severity of the issue. The new NET 8 compiler will warn about using the vulnerable version.


Is there a way to encode UDS service?

I knew there is a way to decode UDS service from a raw data, for instance :
raw_data = b"\x22\x10\x31"
decoded_message = ecu.decode(raw_data)
print(f"decoded message: {decoded_message}")
But is there anyway to encode UDS service?
so that it can be used to send the message to the ECU.

I suppose you need to have an ODX file which describes the generic UDS services for this. If decoding using a specific ECU's odx file fails, you can fall back to the generic one. (If you have such a file, we'd be interested to include it directly into odxtools.) alternatively, you can have a look at third-party packages like python-uds. I have to confess that I don't have any experience with this, though.

Yes, I have that odx / pdx file.
What I dont know is how to extract that particular service out from odx and send it to ECU over ethernet.
lets say the diagnostic service that I wish to send is a self_check_routine. After loading the pdx file, Is it possible for me to encode self_check_routine to get the raw_data?
so that it can be used to send the message to the ECU via ethernet network.

as said above: the actual sending of the raw data needs to be done externally. determining the payload data to be done can be done using something like this:
import odxtools
db = odxtools.load_file("uds.pdx")
ecu = db.ecus.standard_uds
raw_data = ecu.services.read_dtcs()
# send raw_data via DoIP

(that assumes that your ODX file for the UDS standard is called uds.pdx, the ecu specified therein is called standard_uds and the service to read the diagnostic trouble codes is called read_dtcs.)

Thanks @andlaus . Got it.


New package: SXTTools v0.1.0

Registering package: SXTTools
Repository: https://github.com/gulabd/SXTTools.jl
Created by: @gulabd
Version: v0.1.0
Commit: 21bbe3283821d6f1a9c8d15d7e1b8ddee56edf3a
Git reference: HEAD
Description: A tool to merge orbit-wise AstroSat/SXT event files in FITS format

Superseded by #48308 I guess (the repo for SXTTools was deleted and the package shares the UUID with SXTMerger)


Unify category format in  frontmatter

Related #4
Very tiny PR.
Background
I wondered if category' s value (such as Reference or Add-ons) in frontmatter should be translated.
I found that members had also mentioned in #21 .
But it remains unclear if they should be translated or not.
I studied how they are used in this repo.
Conclusion
The values of category are not used anywhere in reactjs.org at least for now.
Therefore, whichever is ok currently.
It will be better not to translate them and leave them as they are, considering they might be used for unknown purposes in the future.
I checked

no strings of category in public dir after building sites
no GraphQL query containing category
Node type  in src/types.js does not have category
In gatsby dir, only redirect_from and permalink are used as frontmatter value
Backend seach engine is docsearch, which use only html files as data source

Thank you, this should have been mentioned in the TRANSLATION.md. Many *.md files lack this field in the first place, so I also think this is an unimportant field for now.

@satotake mergeしました！ありがとうございます！ 🚀🚀


benchmark tools for JET analysis

we want to:

setup a proper benchmark
ideally hook benchmarks with CI and show improvements/regressions on each PR/commit

As far as I understand we can't just reuse existing benchmarking tools; our main interest is in the first-time analysis performance and not in the cached analysis (, which BenchmarkTools.@btime measures, for example).
A simple script using @time or its family would be a good first step.

I've wrote some utility scripts for this: https://github.com/aviatesk/JET.jl/tree/78cb1b5cf11a95ca64da7ca5fea5f83ca15f6c82/benchmark

maybe now I've setup a plenty of benchmark utilities: https://github.com/aviatesk/JET.jl/tree/8a458dd8d675c8e26c1149517c8dfbb1d755f01b/benchmark


ESP32 door lock example crashing (CON-977)

Describe the bug
ESP32 door lock example available in connected home IP example causes ESP32 to crash and reboot when I press the door lock button:

Even if I don't use ScheduleWork to execute UpdateClusterState and call it directly still get this error:
chip::DeviceLayer::SystemLayer().ScheduleWork(UpdateClusterState, nullptr);
error by calling UpdateClusterState function directly:

@shubhamdp
Environment
ESP-Matter Commit Id: 01bebca56b42a35b5ad049f59292df7d4c08ea6b
ESP-IDF Commit Id: cbce221e88d52665523093b2b6dd0ebe3f1243f1
SoC (eg: ESP32 or ESP32-C3):  ESP32
Device Logs (Please attach the log file):
Host Machine OS: Linux
Commissioner app and versions if present: Apple home app
Commissioner's logs if present: NA

@bilalmalik76 If you are trying out the connectedhomeip lock-app example, then can you confirm if you have this commit: https://github.com/project-chip/connectedhomeip/pull/31500 . If not, can you cherry-pick the commit and try?
The connectedhomeip submodule in esp-matter repo is not updated to use this commit yet

@dhrishi I think you didn't get the reason for the application creash and assumed that it is related to another issue. This issue is not related to Factory Reset Triggered. The commit you shared fixes Factory Reset Triggered. https://github.com/project-chip/connectedhomeip/pull/31500
My issue is different whenever this UpdateClusterState function executes it crashes application and reason for crashing is:

and if you see this ChipLogError is being used in the following function. I think, in your sample application, UpdateClusterState function is not being called correctly.

@bilalmalik76 Yes, my bad. Similar fix was done some time back https://github.com/project-chip/connectedhomeip/pull/31171. Can you please try with project-chip/connectedhomeip latest master branch directly instead of esp-matter connectedhomeip submodule (not updated to the latest yet) so that we are sure that you have all the required fixes.

@bilalmalik76 Is there any update you can share

Same issue with project-chip/connectedhomeip latest master. @dhrishi can you please try on your side?

@dhrishi This error occurs only when I try to lock and unlock from esp32 button, not from app. Can you share how did you send unlock-door and lock-door commands?

@bilalmalik76 The screenshot you've added in this comment shows that it failed while you were controlling it from an ecosystem Matter app or chip-tool. See the prints of Invoke command response. These should not be seen if you are controlling it through the button. Please let me know if I am missing anything.
I also tried changing the state with button. Note that I had to change the lock/unlock GPIO to 0 (APP_LOCK_BUTTON) as per my ESP32 devkit in examples/platform/esp32/lock/AppConfig.h. Please see the logs for lock, unlock below -
I (15665) lock-app: Lock Action has been initiated
I (17665) lock-app: Lock Action has been completed
I (17665) chip[ZCL]: 0x3f40e948 ep 1 clus 0x0000_0006 attr 0x0000_0000 not supported
I (17665) lock-app: ERR: updating on/off c3 # Ignore this as cluster 6 (OnOff) on ep 1 is not there
I (26885) lock-app: Unlock Action has been initiated
I (28885) lock-app: Unlock Action has been completed

@bilalmalik76 Any update to share? Please close the issue if it works fine

@dhrishi Yes I changed the lock/unlock GPIO according to my dev kit but it is still crashing even after using latest commit of connect home ip.

This should not happen. Please share the connectedhomeip latest commit id you are using

Please provide the exact commit id used and re-open the issue.


HSEARCH-4889 Forbid usage of internal/incubating Hibernate ORM code (API/SPI/...)

https://hibernate.atlassian.net/browse/HSEARCH-4889
This is using Jandex to generate text files compatible with forbiddenapis. There are two report generators - one for incubating stuff and another for internal packages.
I think this would be more flexible for us if for example, we'd need only to include some classes from an entire package marked as incubating in ORM, then we could ignore the package itself and look for all the classes in it to print in the file.
I have added regex rules per each thing currently "violating" the usage (and I was surprised to see some of them 😃).

Any reason to do this instead of using @SuppressForbiddenApis in the offending code?

hmm, it's been a while 😃 .. I think that when we discussed this last time, we were saying that @SuppressForbiddenApis would suppress everything (may suppress too much) and that it would be better if we could ignore specific forbidden-api-rules. Since there's no option to do so in the plugin -- I've added the filtering to the file generation. And because of that, I've ended up with what we have here 😄.
And that is also why I didn't go with the reports from the ORM ... I have started with those and modified their generation to match the forbidden API format, but then tried them and decided that doing it this way would be more flexible for us 😃🤷🏻♂

I'd argue others could benefit of Hibernate ORM publishing forbiddenapis signature, and you could just contribute the regexp filtering directly to the forbiddenapis plugin (where I agree it could be useful: sometimes you just want to ignore one signature everywhere, as opposed to ignoring its uses individually).
But, okay, I won't object: you're the one doing the work and you'll probably be the one maintaining this code anyway ;D
Can you please just address the other comments, in particular the one about test rules? Then I think we can merge.


[Lua] Type Error: "this.SpawnXY is Not A Function" In A Specific Level

Level in question: Game Development, "Them Bones"
It appears this level was not created with lua in mind. I edited the preset code to be lua compatible, here is how it looks when I press Restart:

// Generators spawn enemies over time.
// Skeletons are afraid of lightstones.
var player = game.spawnPlayerXY("champion", 15, 35);
player.attackDamage = 60;
player.maxSpeed = 8;
game.addSurviveGoal();
game.addDefeatGoal();
game.spawnXY("x-mark-stone", 60, 35);
// Spawn a "generator"
// Spawn a "lightstone"
// Now beat your game!

Here is how the code should look, using the Lua language:

-- Generators spawn enemies over time.
-- Skeletons are afraid of lightstones.
local player = game.spawnPlayerXY("champion", 15, 35)
player.attackDamage = 60
player.maxSpeed = 8
game.addSurviveGoal()
game.addDefeatGoal()
game.spawnXY("x-mark-stone", 60, 35)
-- Spawn a "generator"
-- Spawn a "lightstone"
-- Now beat your game!

Information from FAQ:
OS: Windows 10
Browser: Google Chrome
Has It Worked Before: Unsure, as this is the first time I reached this level.

@commandhat As Lua and CoffeeScript are somewhat experimental languages for us, we don't have sample code for all levels in those languages. I'd love your help in adding sample code to any levels where you don't see Lua show up if you're willing to help? Here's a quick video I made showing how to do it:
https://www.dropbox.com/s/arq5e6ng5az2top/Adding Lua sample code in the level editor.mp4?dl=0
Basically, you open https://codecombat.com/editor/level/them-bones, double-click on the hero placeholder, find the Programmable Component, find the plans entry, open languages, and add/edit the sample code for the target language (here Lua) by copying from the Python and making the appropriate changes. When done, you can submit a patch by clicking the save icon in the upper right of the level editor.

Gotcha. Whenever I have spare time, I'll try to improve CodeCombat in this way.


Inevitable Judgement calculation

First I would like to say thanks to you for this amazing tool. I had plans to develop something similiar but I never found the strength to do it. I was doing basically the same thing by using a Spreadsheet, it took me a while to understand how the game rounds certain stuff in order to be 100% accurate. I have a couple of suggestions that I will post in here.
The issue:
It is probably a known Issue but I couldn't find it anywhere.
Inevitable Judgement is not being correctly calculated, both crit and non-crit bonuses.

I haven't had time to add support for Inevitable Judgement yet. It's a fairly high priority but there's a fair bit of work involved due to the number of changes I'll have to make to the calculation code.

The next update will add complete support for Inevitable Judgement.


Rename Godot's 'custom build' to 'gradle build' to better reflect the underlying build process

Thanks!


Touch events fire for different targets on Android

I am using a PanResponder attached to a <G> element and have implemented simple dragging.
On Android, there are events fired for at least two different target (sometimes more), while I drag.
The locationX and locationY of these events are not the same, which results in my <Path> element jumping back and forth between the two different locations.
Also, I noticed that the target of the event, which is passed to onStartShouldSetPanResponder is always different than the target passed to onPanResponderRelease.
Below is the log, in the form event handler: target [[[locationX, locationY]]]
EDIT:
Looks like 270 is the id of the root <SVG> element, while 274 is the id of the child <G>, which I care about. 270 locationX/Y never update, so I can't really use it. It kind of works, if I just ignore anything but the first target (274 in this case) I get. The problem is that if I move my finger fast enough, I stop getting the child (274) events and I am only getting the root events, which are useless. So in this case the dragging is interrupted.
Android:
DisplayObject.js:16 pan start should set: 274 [[[169.42857360839844,281.4285583496094]]]
DisplayObject.js:28 pan grant: 274 [[[169.42857360839844,281.4285583496094]]]
DisplayObject.js:58 pan move: 270 [[[169.42857360839844,281.4285583496094]]]
DisplayObject.js:58 pan move: 274 [[[169.42857360839844,281.4285583496094]]]
DisplayObject.js:58 pan move: 270 [[[169.42857360839844,281.4285583496094]]]
DisplayObject.js:58 pan move: 274 [[[169.42857360839844,281.4285583496094]]]
DisplayObject.js:58 pan move: 270 [[[169.42857360839844,281.4285583496094]]]
DisplayObject.js:58 pan move: 274 [[[169.09132385253906,281.09130859375]]]
DisplayObject.js:58 pan move: 270 [[[169.42857360839844,281.4285583496094]]]
DisplayObject.js:58 pan move: 274 [[[167.37326049804688,279.0875549316406]]]
DisplayObject.js:58 pan move: 270 [[[169.42857360839844,281.4285583496094]]]
DisplayObject.js:58 pan move: 274 [[[163.43783569335938,275.152099609375]]]
DisplayObject.js:58 pan move: 270 [[[169.42857360839844,281.4285583496094]]]
DisplayObject.js:58 pan move: 274 [[[157.85891723632812,270.6871643066406]]]
DisplayObject.js:58 pan move: 270 [[[169.42857360839844,281.4285583496094]]]
DisplayObject.js:58 pan move: 274 [[[152.55020141601562,265.1745300292969]]]
DisplayObject.js:58 pan move: 270 [[[169.42857360839844,281.4285583496094]]]
DisplayObject.js:58 pan move: 274 [[[146.2047882080078,257.7151184082031]]]
DisplayObject.js:58 pan move: 270 [[[169.42857360839844,281.4285583496094]]]
DisplayObject.js:58 pan move: 274 [[[143.33921813964844,254.48207092285156]]]
DisplayObject.js:58 pan move: 270 [[[169.42857360839844,281.4285583496094]]]
DisplayObject.js:58 pan move: 274 [[[139.22235107421875,249.7937774658203]]]
DisplayObject.js:58 pan move: 270 [[[169.42857360839844,281.4285583496094]]]
DisplayObject.js:58 pan move: 274 [[[136.85714721679688,247.42857360839844]]]
DisplayObject.js:186 pan end: 270 [[]]

iOS:
DisplayObject.js:16 pan start should set: 275 [[[176.3333282470703,264]]]
DisplayObject.js:28 pan grant: 275 [[[176.3333282470703,264]]]
DisplayObject.js:58 pan move: 275 [[[171,261.3333282470703]]]
DisplayObject.js:58 pan move: 275 [[[169.6666564941406,261]]]
DisplayObject.js:58 pan move: 275 [[[168.6666564941406,260]]]
DisplayObject.js:58 pan move: 275 [[[168,259]]]
DisplayObject.js:58 pan move: 275 [[[167.3333282470703,258.3333282470703]]]
DisplayObject.js:58 pan move: 275 [[[166.6666564941406,257.3333282470703]]]
DisplayObject.js:58 pan move: 275 [[[166.3333282470703,256.3333282470703]]]
DisplayObject.js:58 pan move: 275 [[[165.3333282470703,254.6666564941406]]]
DisplayObject.js:58 pan move: 275 [[[163.6666564941406,252.6666564941406]]]
DisplayObject.js:58 pan move: 275 [[[162,250.3333282470703]]]
DisplayObject.js:58 pan move: 275 [[[159.6666564941406,246]]]
DisplayObject.js:58 pan move: 275 [[[157.6666564941406,241.3333282470703]]]
DisplayObject.js:58 pan move: 275 [[[155,236.3333282470703]]]
DisplayObject.js:58 pan move: 275 [[[152.3333282470703,232]]]
DisplayObject.js:58 pan move: 275 [[[150.3333282470703,228]]]
DisplayObject.js:58 pan move: 275 [[[147.3333282470703,226]]]
DisplayObject.js:186 pan end: 275 [[]]

I have a similar Issue, but i have attached the pan-responder to a View which contains a <SVG>element. onMoveShouldSetPanResponderCapture and others are called for multiple targets, and the locations  for these targets are different. This leads to jitters when used to move the svg with onPanResponderMove and leads also to a other bugs.

I forgot to post, but I found what the problem was and found a (non-ideal) workaround.
Basically the issue is #376.
SVG events do't have correct locationX and locationY - they are fixed, so he way I had it set up, I was getting both events from the root SVG, which were wrong and events from the child object, which were correct.
I hope #376 will be fixed soon, but meanwhile, I just switched to use pageX and pageY instead.
It worked in my case, but it's not ideal and it won't work in all cases.

Hey @psivanov, could you elaborate on your workaround please, I am actually facing the same issue.

@sabativi, I simply found a way to do what I needed without using locationX and locationY in my event handler. I used pageX and pageY, instead. In my case, I know exactly where on the page the canvas component is located, so could get the canvas location this way.
I wish they fix the original issue, though (#376).

Thank you a hundred times :)
I used the gestureState moveX and moveY, which I believe is the same as the pageX and pageY, as well as a known offset of the view on the screen.
You can get the known offset of the view using
this._topSvg.measure((x, y, w, h, px, py) =>
where _topSvg is the ref of the topmost svg in your render function.

I think I might have fixed the issue now, can you try with the latest commit from the master branch?

Closing because of inactivity.


Successfully send command on TX side but Unable to receive data on RX side.

static let kBLEService_UUID = "6e400001-b5a3-f393-e0a9-e50e24dcca9e"
static let kBLE_Characteristic_uuid_Tx = "6e400002-b5a3-f393-e0a9-e50e24dcca9e"
static let kBLE_Characteristic_uuid_Rx = "6e400003-b5a3-f393-e0a9-e50e24dcca9e"
//To notify
peripheral.setNotifyValue(true, for: rxCharacteristic!)
//To write data
blePeripheral.writeValue(Data(byteArray), for: txCharacteristic, type: CBCharacteristicWriteType.withoutResponse)
Not received any updates on RX side. I have checked characteristics properties for TX(write, write without response), for RX(notify).

Was any solution for this issue found?


Delete outdated JavaFX Scene Builder cask

Closes #14973
New version of the cask is introduced in PR to homebrew-unofficial: https://github.com/caskroom/homebrew-unofficial/pull/52

@vitorgalvao do we move "deleted" casks to a graveyard or no?

Thank you for the contribution. It was merged directly as 00223957ae2940e206f6e9566c5e431e0dc667eb to keep commit history cleaner. Your contribution is still credited to you.

No, the “graveyard repo” has been deleted. It was never useful.


I've got the X570 GAMING PRO, and the X470 GAMING PRO is listed as supported. Do you think I should try it?

I can't really tell you. It likely isn't supported, but I can neither confirm nor deny.

I can't really tell you. It likely isn't supported, but I can neither confirm nor deny.

Confirmed not working.


Extra debug logging in UserSync Group Search

When debugging issues with group search it can be hard to understand why
groups are not being found because the specific LDAP search filters used
i.e. The filter templates with placeholders filled are not logged.
This adds extra debug logging so when log level is DEBUG the exact LDAP
search filter to be used will be logged.  Users can then test this
filter directly against their LDAP server to determine why it is
incorrect and then adjust their configuration appropriately a

@rvesse Thanks for submitting the patch and for the detailed description.

Apache Ranger is currently NOT setup to use pull requests to take in the changes for commit.
Please use the apache review board to submit your code changes for review and commit.
Also create a jira to go along with the review and mention it in the review board review.

https://reviews.apache.org/r/59801/
https://issues.apache.org/jira/browse/RANGER-1634
FYI Pull requests would be much easier to deal with than Review Board, I work on other Apache projects where we use PRs exclusively


Increase scope of regexs

Unquoted promocodes are allowed to contain hyphens and only the first letter needs to be capitalized.
Promocodes and affiliate links appearing after keywords ("code", "to", "at") are allowed to have 1 or 2 chars in between. This is changed to allow for the following examples:
ex. "use code: 20OFF" and "use code 20OFF"

The commit is already on master so once its all merged it won't add anything.


Create triggers that don't have to be expanded every month.

This PR makes pgslice create an insert trigger that dynamically generates the name of the child table where the data will be inserted. This way, the trigger doesn't have to get bigger every month.

Hey @j3pic, thanks for the PR 👍  pgslice used a similar approach in the past, but found the current approach is faster. See #1


[GenerateShape<string>] causes public ctor and static Default member to be generated

I have a type that starts with this:
[GenerateShape<string>]
internal partial class MemoFormatter : MessagePackConverter<Memo>
{
	public static readonly MemoFormatter Instance = new();

	private MemoFormatter()
	{
	}

The mere presence of the [GenerateShape<string>] attribute causes this to be source generated:
internal partial class MemoFormatter
{
    private const global::System.Reflection.BindingFlags InstanceBindingFlags =
        global::System.Reflection.BindingFlags.Public |
        global::System.Reflection.BindingFlags.NonPublic |
        global::System.Reflection.BindingFlags.Instance;

    /// Gets the default instance of the <see cref="MemoFormatter"/> class.
    public static MemoFormatter Default { get; } = new();

    /// Initializes a new instance of the <see cref="MemoFormatter"/> class.
    public MemoFormatter() { }
}

I already define a (private) default constructor, and I don't want a public static Default member either. Why is MemoFormatter having its API added to in this way?

We could try changing this so that witnesses only receive explicit interface implementations that are stubs pointing to a compilation-wide provider.

True. I don't mind knocking out two bugs at once. But if the other one is far more expensive to fix, you could always just emit a private nested class and make that one instantiable instead of the one that has the attribute on it.
I'll start thinking about the netstandard2.0 problem...

And at the very least, can these members be emitted as internal rather than subtly contributing public API to the library? The static shapeable method should still be able to access them, right?

Again, this is just emulating the generation strategy used by JsonSerializerContext. The public properties provide a strongly typed ITypeShape<T> instance in a way that predates the introduction of IShapeable<T>. It may or may not be necessary for netstandard2.0 depending on what pattern we decide to use there.


initial Language

added language resource to main, please add it to eshop-microservice branch

init merge between main and eshop-microservice


additional fields for the database

could it be possible to include filename and file type in the database fields

@duncanokeyo I can add those fields but the tag field does not work well for you?. What about setting custom json into the tag field. eg::
HashMap<String, String> data = new HashMap<>();
        data.put("","");
        JSONObject jsonObject = new JSONObject(data);
        Request request = new Request("","");
        request.setTag(jsonObject.toString());

What if I add just a single field called dataMap . That is of type HashMap<String, String> . Then you can use it to store file information???

yes, i think that would work

@cc-rock Just published Fetch 2.2.0-RC1. The request class now has a new extras field of type Map<String, String> The changelog is huge so you may want to review it. Looking forward to your feedback.


Only some Application ELB Metrics collected

Hey,
We've been using the tool to get our classic ELB CloudWatch metrics into Prometheus. Works great thanks a lot!! 👏
As our architecture evolves we now have application ELBs as well whose metrics we want to track.

In order to collect those I noticed an additional IAM permission had to be granted (could adjust that in the Readme via PR if this is intended, just let me know)

Unfortunately this still did not quite fix it for us. Only a few of the desired metrics are exported.

In the AWS CloudWatch dashboard I do see values for all the metrics configured. I added the configmap below. Is there anything we do wrong?

Best regards and keep up the good work!
Johannes
apiVersion: v1
kind: ConfigMap
metadata:
  name: cloudwatch-exporter-config
data:
  config.yml: |-
    discovery:
      exportedTagsOnMetrics:
        elb:
        - kubernetes.io/service-name
        - kubernetes.io/cluster/my-cluster
        alb:
        - kubernetes.io/service-name
        - kubernetes.io/cluster/my-cluster
      jobs:
      - type: "elb"
        region: eu-west-1
        searchTags:
          - Key: kubernetes.io/cluster/my-cluster
            Value: owned
        metrics:
          - name: RequestCount
            statistics:
            - 'Sum'
            period: 60
            length: 300
          - name: BackendConnectionErrors
            statistics:
            - 'Sum'
            period: 60
            length: 300
      - type: "alb"
        region: eu-west-1
        searchTags:
          - Key: kubernetes.io/cluster/my-cluster
            Value: owned
        metrics:
          - name: ActiveConnectionCount
            statistics:
            - 'Sum'
            period: 60
            length: 600
          - name: HTTPCode_ELB_5XX_Count
            statistics:
            - 'Sum'
            period: 60
            length: 300
          - name: HTTPCode_ELB_4XX_Count
            statistics:
            - 'Sum'
            period: 60
            length: 300
          - name: HTTPCode_ELB_3XX_Count
            statistics:
            - 'Sum'
            period: 60
            length: 300
          - name: RejectedConnectionCount
            statistics:
            - 'Sum'
            period: 60
            length: 300
          - name: TargetResponseTime
            statistics:
            - 'Sum'
            period: 60
            length: 300
          - name: RequestCount
            statistics:
            - 'Sum'
            period: 60
            length: 300
          - name: ClientTLSNegotiationErrorCount
            statistics:
            - 'Sum'
            period: 60
            length: 300

Thanks for the nice description of your problem and the thank you words. That made me happy!
We are not using albs internally so its always difficult for me to debug the real use cases for that.
I will merge this in the next days and during that will debug your issue as well.
https://github.com/ivx/yet-another-cloudwatch-exporter/issues/42
Greetings, Thomas

Fix released in 0.13.0-alpha - Could you verify it works on your side? @JohannesRu

Hey,
thanks for the quick response. Using 0.13.0-alpha now and we have some progress...
The metrics are still not visible to me but in the logs of the 0.13.0-alpha-container the following error shows up:
2019/03/19 08:33:59 Parse config..
2019/03/19 08:33:59 Startup completed
2019/03/19 08:35:00 http: panic serving <IP_ADDRESS>:60894: descriptors reported by collector have inconsistent label names or help strings for th
e same fully-qualified name, offender is Desc{fqName: "aws_alb_target_response_time_sum", help: "Help is not implemented yet.", constLabels: {dime
nsion_LoadBalancer="app/24c9864e-ruum-canvascaalb-8a57/b4517c1d4ff1f9b2",dimension_TargetGroup="targetgroup/24c9864e-275222effbd60316035/75ac09540
20acee4",name="arn:aws:elasticloadbalancing:eu-west-1:687453745425:targetgroup/24c9864e-275222effbd60316035/75ac0954020acee4",tag_kubernetes_io_cl
uster_eks_dev="owned",tag_kubernetes_io_service_name="canvas-ca-load-balancer"}, variableLabels: []}
goroutine 33 [running]:
net/http.(*conn).serve.func1(0xc420208140)
        /usr/local/go/src/net/http/server.go:1726 +0xd0
panic(0x8f4d40, 0xc421e560e0)
        /usr/local/go/src/runtime/panic.go:502 +0x229
yace/vendor/github.com/prometheus/client_golang/prometheus.(*Registry).MustRegister(0xc4220def50, 0xc420ca7cd0, 0x1, 0x1)
        /go/src/yace/vendor/github.com/prometheus/client_golang/prometheus/registry.go:391 +0x9e
main.metricsHandler(0xa340e0, 0xc420254000, 0xc42024c000)
        /go/src/yace/main.go:50 +0x2e2
net/http.HandlerFunc.ServeHTTP(0x9b3580, 0xa340e0, 0xc420254000, 0xc42024c000)
        /usr/local/go/src/net/http/server.go:1947 +0x44
net/http.(*ServeMux).ServeHTTP(0xcaec60, 0xa340e0, 0xc420254000, 0xc42024c000)
        /usr/local/go/src/net/http/server.go:2340 +0x130
net/http.serverHandler.ServeHTTP(0xc4201e6750, 0xa340e0, 0xc420254000, 0xc42024c000)
        /usr/local/go/src/net/http/server.go:2697 +0xbc
net/http.(*conn).serve(0xc420208140, 0xa35ae0, 0xc42006a080)
        /usr/local/go/src/net/http/server.go:1830 +0x651
created by net/http.(*Server).Serve
        /usr/local/go/src/net/http/server.go:2798 +0x27b

Hope this helps. If I can support you with any additional logs/info. Let me know.

Could it be that you have two discovery jobs which both find the same albs? @JohannesRu

Sorry for the late response, I had a another look.
I am still using the config as posted in initial comment, however I removed ALB metric TargetResponseTime which triggered the panic serving <IP_ADDRESS>:60894: descriptors reported by collector have inconsistent label names error.
Now, I finally see the other ALB metrics such as ActiveConnectionCount and HTTPCode_ELB_5XX_Count which is already of big help!

I will spin up an ALB on Friday and test the behaviour. Maybe i find something out. Thanks for the tip regarding the metrics.
We do not have one in our infrastructure as we only use tcp elbs for everything.

This should be fixed now.