refactor(connector): Use connector_request_reference_id  for Shift4

Type of Change

[ ] Bugfix
[x] New feature
[ ] Enhancement
[ ] Refactoring
[ ] Dependency updates
[ ] Documentation
[ ] CI/CD

Description

fixes #2316
Additional Changes

[ ] This PR modifies the API contract
[ ] This PR modifies the database schema
[ ] This PR modifies application configuration/environment variables

Motivation and Context

How did you test it?

Checklist

[x] I formatted the code cargo +nightly fmt --all
[x] I addressed lints thrown by cargo clippy
[x] I reviewed the submitted code
[ ] I added unit tests for my changes where possible
[ ] I added a CHANGELOG entry if applicable

Hey @daniloff200 ,
Please use the following cargo commands -
cargo check --all-features
cargo clippy --all-features
ref - Cargo commands, and fix the errors thrown by clippy for the checks to pass .
Please run cargo +nightly fmt  to fix failing formatting check

hi, @srujanchikke . Thanks for your review! I've executed the commands

hi, @srujanchikke , could you help me with an issue, I have here? I've tried various fixes, but, got a problem with a Some (as here -> https://github.com/juspay/hyperswitch/actions/runs/6459469231/job/17538567259?pr=2492) or with borrowed value.
I'm kinda new to Rust, and tried different approaches, but, it doesn't work

hi, @srujanchikke , could you help me with an issue, I have here? I've tried various fixes, but, got a problem with a Some (as here -> https://github.com/juspay/hyperswitch/actions/runs/6459469231/job/17538567259?pr=2492) or with borrowed value. I'm kinda new to Rust, and tried different approaches, but, it doesn't work

Hi @daniloff200 ,
In Rust, when you move a value, you transfer ownership of that value to another location, and you can no longer use the original location to access the value.
resource_id: types::ResponseId::ConnectorTransactionId(item.response.id.clone()) // Clone the value before moving response.id to another location

@srujanchikke can you review my pr please? I've managed to fix all issues

@swangi-kumari  hey!
Thanks for the link, I've submitted the form. One question: can it be the issue, if I live in Ukraine?

Hey @daniloff200 ,
We are using DHL courier service and they do provide service in Ukraine as shown in the above image.
If we face any issues, we will reach out to you. If you have any queries, pls let us know.
Thanks.


What is ltn12.pump.all and what does it do ?

Can anybody help me about Luci.ltn12.pump.all ? I am new to Luci and in one of my projects i should use ltn12.pump.all but i don't know anything about it .
Thanks in advance

This is a bug tracker, not for generic help requests.
You should discuss the topic on the forums:
https://forum.openwrt.org/
https://forum.lede-project.org/


HHH-12991 Metamodel Generator with Java 11 and Error Prone

Workaround problem with JPA metamodel generator not finding a JAXB
implementation in the bootstrap classpath. Explicitly ask it to look
in the same classpath as generator

I'll close this as out of date because in 6.0 we moved to Java 11 as baseline and use Jakarta XML Binding now through an explicit dependency.


railroad-diagrams.js is missing Group()

It looks like Group() was added to railroad.js, but not railroad-diagrams.js.

Intentional; I'm no longer maintaining the non-module version and was planning to remove it at some point. I'll do that in a bit. ^_^


fix: clearProducts not resolving on iOS

Also forget to commit that one in the last PR

This will be in published in 8.0.7 ? Thank you !


feat(milestone): use approvers as milestone maintainer

Refs: https://github.com/caicloud/tools/issues/317
Demo: https://github.com/caicloud/pangolin/issues/362
/cc @ddysher @supereagle

/release-note-none

/lgtm


Incomplete Guidance

[Enter feedback here]

A user cannot create app passwords if MFA is enabled for him, but not enforced. Missing this details makes this guidance unusable

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

ID: 42fff764-77f2-2878-f27f-867c71d9a8fc
Version Independent ID: 669c3568-eedc-f959-01d6-fcde93b9daaa
Content: Configure app passwords for Azure AD Multi-Factor Authentication - Azure Active Directory
Content Source: articles/active-directory/authentication/howto-mfa-app-passwords.md
Service: active-directory
Sub-service: authentication
GitHub Login: @Justinha
Microsoft Alias: justinha

Thanks for the feedback! We are taking a look into this and will get back to you soon.

@Svijay-msft Thanks for providing feedback that helps improve our documentation. The topic has been updated to reflect enforced is required. This issue has been resolved and we are closing the issue. #please-close


bug(mat-button,side-nav): Unable to click on link from side nav once mat-button is clicked

Is this a regression?

[X] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
9.2.1
Description
Given a left-right side nav design, a bug was encountered where a mat-button from the side nav content (right) is clicked and follow up with clicking on the link from the side nav (left).
On the *first click, nothing will be happened and able to navigate on the second click.
Did more testing around the behavior and found out that

the interim click ( *first click ) is regardless of location, basically I just need to "unfocus" the mat button for the second click to be successful
the bug is gone once I removed the mat-button directive from the button

Bug can be tested here

Environment
Github

Reproduction
Steps to reproduce:

Browse to https://blackjackyau.github.io/multi-tenant-ngrx
Click on "Add Product" button
Click on side nav "Products" under Tenant 2
Nothing is happened on the first click
Click again to take effect

Expected Behavior
Should be able to click on link from side nav on every time
Actual Behavior
Unable to click on link on the first click ( after the mat-button is clicked )
Environment

Angular: 13.1.1
CDK/Material: 13.1.1
Browser(s): Chrome, Version 96.0.4664.110 (Official Build) (64-bit)
Operating System Windows

@blackjackyau It's a bit tough to identify the source of the issue from your example. I tried poking around on your GitHub but eventually gave up and created my own example on stackblitz
https://stackblitz.com/edit/angular-1s6rwv-wecmwn?file=src%2Fapp%2Fsidenav-drawer-overview-example.html
Things seem to be working normally, so my best guess is that there is something else going wrong with your example. Would you be able to provide a simple stackblitz demonstrating the problem?

@wagnermaciel
Things seem to be working normally, so my best guess is that there is something else going wrong with your example. From what I can tell from just interacting with your example, it seems like the side nav is re-rendering when you add a new item then click back into it. This is likely what's preventing your first click from actually interacting with the button.
yes, initially this is what I thought but the issue is gone after I remove the "mat-button" from the button. so it should be related to the material library. Let me try to come out with something's simpler.

Closing this issue due to no recent activity, if this is still an issue please create a new issue with a reproduction.


[DEV-21670] Backport build_absolute_uri performance fix

This backports a performance fix that is in Django 2.1 for build_absolute_uri. Here's the original bug: https://code.djangoproject.com/ticket/28828 and the pull request that fixes it: https://github.com/django/django/pull/9376
Our API serializers make extensive use of URLReversalField, and local profiling indicates that this change could result in significant performance improvements.
I opened a PR against the branch we currently point to in our webapp, but it's not clear to me that merging this would actually get it out to the webapp - since we just lock to https://github.com/roverdotcom/django/archive/stable/rover-1.11.11.tar.gz I don't know how it would know to grab a new version. Open to suggestions on the best way to handle that.

@bal2ag probably easiest to update the reference and put it at a new tag so everyone's stuff + production gets updated.

@bal2ag Have you run Django's test suite locally?

@rmtobin I tried running the test suite locally however there are some failures even with no changes. I ran it with my changes and the same test of tests fail. Also did some manual testing by backporting these changes into my local environment and things seemed to work.


⚠ 2 Minutes de génie (staging) has degraded performance

In 3811167, 2 Minutes de génie (staging) (https://2mdgstaging.gitlab.io/) experienced degraded performance:

HTTP code: 502
Response time: 3218 ms

Resolved: 2 Minutes de génie (staging) performance has improved in 1e15152.


creating lists using map - problems with variable setting and using ranges

See git://gist.github.com/1629194.git

OK, this is because of the way the dependency checker for question variables works. It doesn't know about bound and unbound variables.
I'll hack in a fix now, but I want to clear up this kind of thing so that the lambda operation is properly defined.


Add documntation for to get SDIA credetials

Users have no idea what SDIA is when asked to fill in the credentials.
Add button/doc on how to get access.

This is going to be separated with the PaaS


Question of exercise 7.43.

Exercise information

Exercise 7.43
Question or Bug
Question: why can't use "C() = default;"?

Your enviroment information

System:  :grey_question: Ubuntu 16.04 LTS
Compiler version/IDE:  :grey_question: g++ 5.4.0

If I understand correctly, your intention is define the default ctor.  The way to do that in C++ is to assign the members its default explicitly (as there is no "default" keyword to do so).  In the exercise, same is done by def(0) where def is a private member of type NoDefault.

I believe that the keyword "default" is feasible (you can refer exercise 7.32). I have being thinking a while and maybe the reason it cannot be use in this exercise is that the memeber def is a member of type NoDefault, which is an artifitial type and cannot be initialized by synthesized default constructor.

I stand corrected, default has been introduced with C++11 while my comment was based on C++98.  Having said that, I see the point of default not working for def which is of type NoDefault, hence making it not obvious to implement for the compiler.

Thanks, man.


Cannot find module 'caniuse-db'  'babel-runtime'

in branch part-3-starter
Starting LiveReload v0.6.2 for /Users/showzyl/Desktop/test/learn-rollup/build on port 35729.
bundling...
node_modules/nan
resolve failed:  { Error: Cannot find module 'caniuse-db'
at Function.Module._resolveFilename (module.js:470:15)
at Function.requireRelative.resolve (/Users/showzyl/Desktop/test/learn-rollup/node_modules/require-relative/index.js:30:17)
at resolve (/Users/showzyl/Desktop/test/learn-rollup/node_modules/modify-babel-preset/lib/serialize.js:25:26)
at findAndRemove (/Users/showzyl/Desktop/test/learn-rollup/node_modules/modify-babel-preset/lib/serialize.js:67:11)
at /Users/showzyl/Desktop/test/learn-rollup/node_modules/modify-babel-preset/lib/serialize.js:111:13
at Array.map (native)
at loadPreset (/Users/showzyl/Desktop/test/learn-rollup/node_modules/modify-babel-preset/lib/serialize.js:103:29)
at module.exports (/Users/showzyl/Desktop/test/learn-rollup/node_modules/modify-babel-preset/index.js:97:19)
at Object. (/Users/showzyl/Desktop/test/learn-rollup/node_modules/babel-preset-es2015-rollup/index.js:3:18)
at Module._compile (module.js:571:32) code: 'MODULE_NOT_FOUND' } caniuse-db
resolve failed:  { Error: Cannot find module 'babel-runtime'
at Function.Module._resolveFilename (module.js:470:15)
at Function.requireRelative.resolve (/Users/showzyl/Desktop/test/learn-rollup/node_modules/require-relative/index.js:30:17)
at resolve (/Users/showzyl/Desktop/test/learn-rollup/node_modules/modify-babel-preset/lib/serialize.js:25:26)
at findAndRemove (/Users/showzyl/Desktop/test/learn-rollup/node_modules/modify-babel-preset/lib/serialize.js:67:11)
at /Users/showzyl/Desktop/test/learn-rollup/node_modules/modify-babel-preset/lib/serialize.js:111:13
at Array.map (native)
at loadPreset (/Users/showzyl/Desktop/test/learn-rollup/node_modules/modify-babel-preset/lib/serialize.js:103:29)
at module.exports (/Users/showzyl/Desktop/test/learn-rollup/node_modules/modify-babel-preset/index.js:97:19)
at Object. (/Users/showzyl/Desktop/test/learn-rollup/node_modules/babel-preset-es2015-rollup/index.js:3:18)
at Module._compile (module.js:571:32) code: 'MODULE_NOT_FOUND' } babel-runtime
bundled in 1951ms. Watching for changes...

@showzyl If the module is missing, I'd try running npm install again.
If that doesn't work, sometimes it helps to clear the npm cache and start over:
# remove all modules
rm -rf node_modules/

# make sure Node is pulling fresh copies from the server
npm cache clean

# reinstall everything
npm install

If that doesn't work, please share the repo you're working in so I can take a look.

I just ran the following:
git clone git@github.com:jlengstorf/learn-rollup.git --branch part-3-starter
cd learn-rollup/
npm install

No errors, and everything works as expected. Closing this issue.


Error: Cannot read properties of undefined [BUG]

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Check out https://github.com/CivicActions/guidebook/
Install and run linkspector with default config
Get a couple of errors, then the following error message:

💥 Error: Cannot read properties of undefined (reading 'start')

Expected behavior
Get a list of any broken links in the repo
Additional context
$ node -v
v22.2.0
$ yarn -v # used to install
1.22.22

I moved all the markdown containing files/directories to a standalone directory to avoid any interactions with other files resulting in this many files:
$ ls
LICENSE.md  README.md  about-civicactions  about-this-guidebook  common-practices-tools  company-policies  employee-benefits  practice-areas
$ find . -name '*.md' | wc -l
139

That resulted in the error above:
../node_modules/.bin/linkspector check
⠋ Configuration file not found. Using default configuration.
# Snip broken links
💥 Error: Cannot read properties of undefined (reading 'start')

I deleted most of the files and it started running fine. I then added them back and removed some directories until it started running:
rm -rf practice-areas/project-management/
rm -rf practice-areas/help-desk/
find . -name '*.md' | wc -l
112

After that the test completed successfully.
../node_modules/.bin/linkspector check
⠋ Configuration file not found. Using default configuration.
# Snip broken links
💥 Error: Some hyperlinks in the specified files are invalid.

Given this, my hypothesis is that it is probably something to do with the number of files. I couldn't identify a specific file that caused it to fail repeatedly, although it's possible that is a cause also. Let me know if I can help test anything or if you need more info :)
Finally - thanks for working on this project! We have been using markdown-link-check for a long time, but have had to keep increasing the number of exceptions due to site adding CDNs. This looks like it should help a lot with this approach (as well as filtering and reporting checks!).

Thank you @grugnog for trying this out.
I identified the issue in your Markdown file at https://github.com/CivicActions/guidebook/blob/master/practice-areas/help-desk/project-support-accessibility-guidelines.md?plain=1#L34 There is an incorrect [ instead of ].
However, Linkspector should offer handle such cases better. Keep this issue open and I'll try to fix it.

@gaurav-nelson Ahh, thank you! I guess I needed to be a bit more methodical with my testing!

I have the same error still on Linkspector v0.3.9.
https://github.com/kaktusztea/km100/actions/runs/9594211671/job/26456291694
 Running linkspector with reviewdog 🐶 ...
  Error in checking if file #0-bevezet%C5%91-jelz%C5%91k exist! TypeError: Cannot read properties of undefined (reading 'includes')
  Error in checking if file #1-karakteralkot%C3%A1s exist! TypeError: Cannot read properties of undefined (reading 'includes')
  Error in checking if file #2-h%C3%A1tterek exist! TypeError: Cannot read properties of undefined (reading 'includes')
  Error in checking if file #3-k%C3%A9pzetts%C3%A9grendszer exist! TypeError: Cannot read properties of undefined (reading 'includes')
  Error in checking if file #4-fort%C3%A9lyok exist! TypeError: Cannot read properties of undefined (reading 'includes')
  Error in checking if file #5-trad%C3%ADci%C3%B3k exist! TypeError: Cannot read properties of undefined (reading 'includes')
  Error in checking if file #6-harcrendszer-%EF%B8%8F exist! TypeError: Cannot read properties of undefined (reading 'includes')
  Error in checking if file #7-t%C3%A1vols%C3%A1gi-harcrendszer- exist! TypeError: Cannot read properties of undefined (reading 'includes')
  Error in checking if file #8-psz%C3%AD exist! TypeError: Cannot read properties of undefined (reading 'includes')
  Error in checking if file #9-m%C3%A1giarendszer exist! TypeError: Cannot read properties of undefined (reading 'includes')
  Error in checking if file #10-papi-m%C3%A1gia-10- exist! TypeError: Cannot read properties of undefined (reading 'includes')
  Error in checking if file #11-var%C3%A1zst%C3%A1rgyak--10- exist! TypeError: Cannot read properties of undefined (reading 'includes')
  Error in checking if file #12-gy%C3%B3gy%C3%ADt%C3%A1s-gy%C3%B3gyul%C3%A1s exist! TypeError: Cannot read properties of undefined (reading 'includes')
  Error in checking if file #13-m%C3%A9regrendszer-m%C3%A9rgek exist! TypeError: Cannot read properties of undefined (reading 'includes')
  Error in checking if file #14-%C3%A9rz%C3%A9kel%C3%A9s-%C3%A9szlel%C3%A9s-90 exist! TypeError: Cannot read properties of undefined (reading 'includes')
  Error in checking if file #15-szitu%C3%A1ci%C3%B3k-20 exist! TypeError: Cannot read properties of undefined (reading 'includes')
  Error in checking if file start.md#karakteralkot%C3%B3k exist! TypeError: Cannot read properties of undefined (reading 'includes')
  reviewdog: failed to unmarshal rdjson (DiagnosticResult): proto: unexpected EOF
  Error: Process completed with exit code 1.

The problematic page:
https://github.com/kaktusztea/km100/blob/master/md/start.md
The problematic part is a bunch of in-page anchor links which work well (all of them).
[Bevezető](#0-bevezet%C5%91-jelz%C5%91k)  -  [Karakteralkotás](#1-karakteralkot%C3%A1s)\
[Hátterek](#2-h%C3%A1tterek)   -  [Képzettségrendszer](#3-k%C3%A9pzetts%C3%A9grendszer)  -  [Fortélyok](#4-fort%C3%A9lyok)  -  [Tradíciók](#5-trad%C3%ADci%C3%B3k)\
[Harcrendszer](#6-harcrendszer-%EF%B8%8F)  -  [Távolsági Harcrendszer](#7-t%C3%A1vols%C3%A1gi-harcrendszer-)\
[Pszí](#8-psz%C3%AD)  -  [Mágiarendszer](#9-m%C3%A1giarendszer)  -  [Papi mágia](#10-papi-m%C3%A1gia-10-)  -  [Varázstárgyak](#11-var%C3%A1zst%C3%A1rgyak--10-)\
[Gyógyítás, gyógyulás](#12-gy%C3%B3gy%C3%ADt%C3%A1s-gy%C3%B3gyul%C3%A1s)  -  [Méregrendszer, Mérgek](#13-m%C3%A9regrendszer-m%C3%A9rgek)  -  [Érzékelés, Észlelés](#14-%C3%A9rz%C3%A9kel%C3%A9s-%C3%A9szlel%C3%A9s-90)  -  [Szituációk](#15-szitu%C3%A1ci%C3%B3k-20)

Thank you @kaktusztea I tested that repo locally to confirm that this issue was resolved. However, I see that the GitHub action is still using Linkspector 0.3.7. I'll update the action which fixes this issue. I'll also see into making action updates match the linkspector release.

Thanks Gaurav,
it's almost perfect now. It has found many true positive broken links which I fixed.
I have only one false positive left here in line 3:
https://github.com/kaktusztea/km100/blob/master/md/kepzettsegek/etikett.md
[összetett próba](036_kepzettsegproba.md#%C3%B6sszetett-k%C3%A9pzetts%C3%A9gpr%C3%B3ba-m%C3%A1sodlagos-pr%C3%B3badob%C3%A1sok)

It works well, but Linkspector gives false positive match:
https://github.com/kaktusztea/km100/actions/runs/9642517089
[linkspector] md/kepzettsegek/etikett.md#L3: md/kepzettsegek/etikett.md#L3
Cannot reach 036_kepzettsegproba.md#%C3%B6sszetett-k%C3%A9pzetts%C3%A9gpr%C3%B3ba-m%C3%A1sodlagos-pr%C3%B3badob%C3%A1sok. Status: 404 Cannot find: 036_kepzettsegproba.md#%C3%B6sszetett-k%C3%A9pzetts%C3%A9gpr%C3%B3ba-m%C3%A1sodlagos-pr%C3%B3badob%C3%A1sok

Thanks Gaurav,
it works now very well! It has found many broken anchor links (true positives) and I could fix all of them.
Now everything is green 🙂
https://github.com/kaktusztea/km100/actions/runs/9642938190/job/26591839358


correct link for guid

see https://twitter.com/shimabukuro/status/1123137070594027520

@stianst Could you check it ?


KAS-3978

Adds 2 migrations to correct the mandatee dates that are also in themis. The mandatees are fetched from themis so that we don't change the ones that are unique to kaleidos.

This will most likely need minor frontend changes so don't merge yet


Feature meta.total and ?offset filter

Adds the ?offset= filter and a switch in options.includeMeta to toggle output of meta.total in response. With options.includeMeta enable the query and the total count will happen in parallel.
I wanted to split the features in two pull-requests, but it did not work out the way I intended...

I will close this now.


Improve Performance On Terminate

count is used in a loop and is a low performance construction
based on several experiments, I conclude that using foreach is better. Indeed, this performance increase does not really affect the framework, but why not?

Tested on Ubuntu Server 20.04 (dual core cpu, 4 gb ram, first image)
Tested on MacBook Air M1 2020 (second image)
First order is better
The test is carried out 10 times, each time the test calls 100 callbacks

Ubuntu Server

MacBook Air

<?php

// create 100 dummy callback
$data = array_map(static function () {
    return static function () {
        // something
    };
}, range(1, 100));

function bench(array $data)
{
    $results = [];

// while
    $start = microtime(true);

    $i = 0;
    while ($i < count($data)) {
        $data[$i]();
        $i++;
    }

    $results['while'] = microtime(true) - $start;

// for
    $start = microtime(true);

    for ($i = 0; $i < count($data); $i++) {
        $data[$i]();
    }

    $results['for'] = microtime(true) - $start;

// foreach
    $start = microtime(true);

    foreach ($data as $value) {
        $value();
    }

    $results['foreach'] = microtime(true) - $start;

// print result

    asort($results);

    foreach ($results as $key => $value) {
        echo $key . ': ' . $value . PHP_EOL;
    }
}

// run

for ($i = 0; $i <= 10; $i++) {
    bench($data);

    echo PHP_EOL;
}

But foreach use a in-memory copy of terminatingCallbacks array, and I think that this array can be edited on the fly adding more elements while is being executed. Then, the new elements will be executed using foreach.

I think this is possibly a breaking change? People could have been messing with what was in that array as part of a termination handler. 10.x is probably the safest place for this, especially since the performance improvement is only very minor.

I think this is possibly a breaking change? People could have been messing with what was in that array as part of a termination handler. 10.x is probably the safest place for this, especially since the performance improvement is only very minor.

I don't think it would be a breaking change, the function to register the termination callback uses an integer index on the array, and based on the previous code uses an integer index to call.
See : https://github.com/laravel/framework/blob/cf2965695011df99692c5acf2d2654c753db8311/src/Illuminate/Foundation/Application.php#L1149-L1176

Maybe a test would be great to verify that behavior

No plans to change this.


shrink dataset for testing

Hello @rasbt! Thanks for updating the PR.

In the file code/tests/test_notebooks.py, following are the PEP8 issues :

Line 87:13: E722 do not use bare except'


FYI: Now available from ArchLinux User Repository (AUR)

This issue is informative only, and you may close it at your discretion. No action is needed on your part unless you wish to include the information in the README.
The pre-compiled release binary of docfd is now available from AUR:

https://aur.archlinux.org/packages/docfd-bin

It can be installed using an AUR helper:

https://wiki.archlinux.org/title/AUR_helpers

E.g., yay:
yay -S docfd-bin

:pray:

Thanks! I've updated the README accordingly.
Also re attribution: what is your preferred way of linking/attribution? To your codeberg account or Microsoft github account? (Or another method)

Understood. I'll leave it at gh then if you have no preference. Thanks again!

Hey @kseistrup
Just FYI, 2.2.0 is out. It has some fixes, improvements, and the search expression feature is properly documented now.

@darrenldl
Thanks for reaching out, I just updated the AUR package a few minutes ago:

https://aur.archlinux.org/packages/docfd-bin

Microsoft GitHub automatically sends me a notification whenever you release a new version (or announce a security issue), so it's okay for you to be forgetful about AUR. And it's also okay to say hello, of course, so thanks for the notification. :pray:


PagerDuty integration to get incident updates

Describe the feature request
Hi,
Does it integrate with PagerDuty webhook to get incident updates from it?
Or if you know there is any way to do that?
Why do you personally want this feature to be implemented?
Yes. I used few products in past but none of those offer this feature as far as I found. Want to check before going ahead with starting to build my own.
How long have you been using this project?
No response
Additional information
No response

What do you mean by "incident updates"?
I assume you're asking whether any update about an ongoing incident on PagerDuty is reflected on Gatus' status page - unfortunately, it is not currently the case.
I do plan on adding support for incident updates soon, but not yet :)


2025 data with working test

So the issue wasn't in the edges of the brackets, but after 4 hours of debugging found the culprit with the different percentage for the first 'schijf' in 2025 for the 'socialPersent' values. Also the test data was off, the wrong columns from the originally downloaded Excel file were removed. For future reference: column G and K need to be removed.
Updated the contributing file with the missing step.

@huge10 wow! impressive!

yes, now the test works!

Successfully published<EMAIL_ADDRESS>

updated also UI part - https://thetax.nl/
@huge10
@luca1226
let me know what would be the best way to refer to you to say thank you in my LinkedIn announcement post

@huge10 thanks for checking that & good job.
I thought we had to remove the last 2 columns. @stevermeister Would be great to add that in the contributing.md file right or would it be 2 others columns to remove next year?
no need as well for me haah, you can call us contributors :)


Missing function in 3.x: EVP_PKEY -> EC_GROUP

When I generate a key with
openssl genpkey -algorithm ec -pkeyopt ec_paramgen_curve:brainpoolP256r1 -outform der | xxd -ps

I am able to import it with d2i_PrivateKey. The result is an EVP_PKEY.
Using deprecated functions it is easy to get the EC_GROUP.

EVP_PKEY_get1_EC_KEY -> EC_KEY
EC_KEY_get0_group -> EC_GROUP

I would like to avoid to use deprecated functions but I am not able to find a function to get the EC_GROUP from an EVP_PKEY.
The migration_guide points to EVP_PKEY-EC. But there is only an entry to get a string if it is a named curve. While I use the named curve brainpoolP256r1 in my example, I need to consider also unnamed curves so I can not use OSSL_PKEY_PARAM_GROUP_NAME. Is it possible to add the missing function or give me a hint how it is possible?

EC_GROUP functions are deprecated altogether so there is no way to have EVP_PKEY conversion to EC_GROUP being done via non-deprecated functions.
What particular things do you need to do with the EC_GROUP?
In general arbitrary unnamed curves are not something that we to expand support for.

We have a protocol where keys provided by the user are used. In a handshake the public keys are given to the communication partner. The partner calculates its own public key to start a ECDH keyexchange. At this step we only receive the raw public point and an ID of the key he choosed. So what we need to do is:

Load our private key with the ID.
Get the privat part with EVP_PKEY_get_bn_param ... "priv" ....
Get the curve from our key.
Use EC_POINT_new and EC_POINT_oct2point to interpret the raw public point.
Use EC_POINT_mul with our private key.
For step 4 and 5 we need the curve (even for named curves).

Btw, this is also interesting for #23996 to get curve attributes again.

This is an absolutely normal ECDH operation. You can do all this without using the deprecated APIs or EC_POINT.
Copying some relevant code snippets from libssl which does the same:
    ckey = EVP_PKEY_new();
    if (ckey == NULL || EVP_PKEY_copy_parameters(ckey, skey) == 0) {
        SSLfatal(s, SSL_AD_INTERNAL_ERROR, SSL_R_COPY_PARAMETERS_FAILED);
        goto err;
    }

    if (!EVP_PKEY_set1_encoded_public_key(ckey, data, i)) {
        SSLfatal(s, SSL_AD_INTERNAL_ERROR, ERR_R_INTERNAL_ERROR);
        goto err;
    }

This creates EVP_PKEY ckey (pubkey) by copying the parameters (curve) from skey (privkey).
And this can be used in ECDH derive operation as follows:
    pctx = EVP_PKEY_CTX_new_from_pkey(sctx->libctx, privkey, sctx->propq);

    if (EVP_PKEY_derive_init(pctx) <= 0
        || EVP_PKEY_derive_set_peer(pctx, pubkey) <= 0
        || EVP_PKEY_derive(pctx, NULL, &pmslen) <= 0) {
        SSLfatal(s, SSL_AD_INTERNAL_ERROR, ERR_R_INTERNAL_ERROR);
        goto err;
    }

    pms = OPENSSL_malloc(pmslen);
    if (pms == NULL) {
        SSLfatal(s, SSL_AD_INTERNAL_ERROR, ERR_R_CRYPTO_LIB);
        goto err;
    }

    if (EVP_PKEY_derive(pctx, pms, &pmslen) <= 0) {
        SSLfatal(s, SSL_AD_INTERNAL_ERROR, ERR_R_INTERNAL_ERROR);
        goto err;
    }

Btw, this is also interesting for #23996 to get curve attributes again.

You can get the individual EC curve params by using EVP_PKEY_get_BN_param() or EVP_PKEY_todata(). Please see https://www.openssl.org/docs/manmaster/man7/EVP_KEYMGMT-EC.html

@nhorman IMO there is nothing to implement here. Documentation improvements including examples would be of course beneficial.

Thank you very much. That helped a lot. It is a little bit more code as before but works as expected.
QByteArray SimulatorCard::ecMultiplication(const QByteArray& pPoint) const
{
	if (mCardKey.isNull())
	{
		qCCritical(card) << "Missing private key";
		return QByteArray();
	}

#if OPENSSL_VERSION_NUMBER >= 0x30000000L
	const auto& terminalKey = EcUtil::create(EVP_PKEY_new());
	if (terminalKey.isNull() || EVP_PKEY_copy_parameters(terminalKey.data(), mCardKey.data()) == 0)
	{
		qCCritical(card) << "Initialization of the terminal key failed";
		return QByteArray();
	}
	if (!EVP_PKEY_set1_encoded_public_key(
			terminalKey.data(),
			reinterpret_cast<const unsigned char*>(pPoint.data()),
			static_cast<size_t>(pPoint.length())))
	{
		qCCritical(card) << "Interpreting the terminal key failed";
		return QByteArray();
	}

	const auto& ctx = EcUtil::create(EVP_PKEY_CTX_new_from_pkey(nullptr, mCardKey.data(), nullptr));
	size_t resultLen = 0;
	if (EVP_PKEY_derive_init(ctx.data()) <= 0
			|| EVP_PKEY_derive_set_peer(ctx.data(), terminalKey.data()) <= 0
			|| EVP_PKEY_derive(ctx.data(), nullptr, &resultLen) <= 0)
	{
		qCCritical(card) << "Initialization or calculation of the result failed";
		return QByteArray();
	}

	QByteArray result(static_cast<qsizetype>(resultLen), '\0');
	if (EVP_PKEY_derive(ctx.data(), reinterpret_cast<uchar*>(result.data()), &resultLen) <= 0)
	{
		qCCritical(card) << "Calculation of the result failed";
		return QByteArray();
	}

	return result;

#else
	const auto& curve = EcUtil::create(EC_GROUP_dup(EC_KEY_get0_group(mCardKey.data())));
	auto point = EcUtil::oct2point(curve, pPoint);
	if (!point)
	{
		qCCritical(card) << "Interpreting the point failed";
		return QByteArray();
	}

	QSharedPointer<EC_POINT> result = EcUtil::create(EC_POINT_new(curve.data()));
	const auto& privateKey = EcUtil::create(BN_dup(EC_KEY_get0_private_key(mCardKey.data())));
	if (!EC_POINT_mul(curve.data(), result.data(), nullptr, point.data(), privateKey.data(), nullptr))
	{
		qCCritical(card) << "Calculation of the result failed";
		return QByteArray();
	}

	return EcUtil::point2oct(curve, result.data(), true);

#endif
}

Given that the modified code worked for @SmallLars , I'm marking this as closed.  Please comment f there is more work to be done here


useDismiss outsidePress is not reactive

This is an issue that was introduced in https://github.com/floating-ui/floating-ui/pull/2010.
My usecase is that on large screens, the floating element is rendered inline, i.e. it is not actually floating. On smaller screens, it transforms to a floating element, rendered like a modal. This is controlled by reactive resize handlers (we use react-responsive library, but that's not too relevant). This means that the outsidePress value might change while the floating element is open, but currently this does not update the outside press event listeners, so one of two issues can happen:

When resizing the window from large to small (i.e. component changes from non-floating to floating), outside press does not work as expected.
When resizing the window from small to large (component changes from floating to non-floating), outside press handlers stay attached, meaning a click outside will close the floating element, even though it is not expected.

It's configured like this:
export const useDrawer = () => {
  const [open, setOpen] = React.useState(false);
  const { variables } = useTheme();
  const isLargeScreen = useMediaQuery({ query: variables.media.width.xlarge.min });
  const isModal = !isLargeScreen;

  const data = useFloating({
    open,
    onOpenChange: setOpen,
  });

  const context = data.context;
  const click = useClick(context);
  const dismiss = useDismiss(context, {
    outsidePress: !isLargeScreen,
    outsidePressEvent: "mousedown",
  });
  const role = useRole(context);

  const interactions = useInteractions([click, dismiss, role]);

  return React.useMemo(
    () => ({
      open,
      setOpen,
      modal: isModal,
      ...interactions,
      ...data,
    }),
    [open, setOpen, isModal, interactions, data],
  );
};

Any way that change could be reverted or made smarter in this regard, i.e. keep the boolean value reactive?

"Doubt this matters." LOL, well.... 😭


IGAPP-937: Add support for ukrainian

This pull request belongs to an issue on our bugtracker.
You can find it there by looking for an issue with the key which is mentioned in the title of this pull request.
It starts with the keyword IGAPP.

Testable here: https://integreat.app/testumgebung/uk (production cms)

for me the page is rendered empty when navigating to https://integreat.app/testumgebung/uk . Both on chrome and firefox

I mean obviously you need to use localhost


error

Sorry, it was a pull request created by mistake.
On Thu, Sep 12, 2019 at 11:11 PM Philippe Fanaro<EMAIL_ADDRESS>wrote:

Could you please add a description?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/CamDavidsonPilon/lifetimes/pull/318?email_source=notifications&email_token=AL764XSCFMC3B6DWX44VZRDQJKWARA5CNFSM4IWEBRG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6TIX2Y#issuecomment-531008491,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL764XQACTF6ERZBIROFDZLQJKWARANCNFSM4IWEBRGQ
.

--
Alex Escala | Data Scientist at Scopely

hey @alex-escala-scopely, I love the idea for implementing the BG/CNBD-K; are you going to be continuing to work on this. or did you get this to work for you reliably already?


Retry failed calls to prevent long-lived connection issues.

Context in this Discord chat.
Sometimes, we get random connection errors that are fixed when we have long-lived connections. However, those get fixed when we retry them. We need to find a way to do this safely.

+1


Data Dashboard: Only show dropdown options on type-in location field when user has typed 1+ characters

Currently, the type-in field for selecting a location presents a dropdown of every location available on the first user click.
We want to amend this so that this option dropdown only presents when a user has typed in at least 1 character as they are searching for their location.
Another consideration for this could be subcategorizing the options in the location dropdown and alphabetizing them; this can be considered further after implementation.

Why do we not want to show the dropdown until they start typing?

Chi, Larry, and I thought that showing the dropdown list immediately could
be a bit overwhelming, and that it seemed to indicate to users that they
could scroll through the available options to find their location when
really the list itself is pretty massive.
At least until the list can be furrher categorized into States/Counties, we
figured the trigger for the list appearing could be the effort to search
it.  Thoughts?
On Thu, Feb 25, 2021, 3:41 PM Aaron<EMAIL_ADDRESS>wrote:

Why do we not want to show the dropdown until they start typing?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/SatcherInstitute/health-equity-tracker/issues/377#issuecomment-786306503,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEULCIHT6P4KNBBH47UWPSLTA3N4JANCNFSM4XXKE7OA
.

I don't have a strong opinion. That explanation makes sense, though I agree that a better experience is a list that shows counties nested under states rather than one massive alphabetical list.
This also seems low priority relative to other UX issues?


Add a little  zh-tw  translations

What's new

Add a little  zh-tw  translations

What's fixed

Add a little  zh-tw  translations

Any word on updates?
My plan is to focus on 3X, and while I will merge features and fixes submitted by other users I'd like for them to be more complete. With that in mind I'll be closing this later if there aren't any plans on updating it.


The crawler tries to compile java files in the resources folder

If a project contains a sub-project / other java files in the src/test/resources, the crawler also tries to extract error-codes from there.
This should not be the case.

I was hit with recently. I had to disable the it for now.


User Registration and Authentication

After registering on app it should re-direct to user dashborad. This feature is not implemented . I will write backend for registration and user authentication and store data of users in data base

Assign me this issue with labels I will start working on it


⚠ Bofrost.de has degraded performance

In d06cf09, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1741 ms

Resolved: Bofrost.de performance has improved in beb12d6 after 20 minutes.


WinUI3 with c++ seems can't use IValueConverter?

Describe the bug
I get the following error:
Build started...
1>------ Build started: Project: WinUI3ValueConverter, Configuration: Debug x64 ------
1>XamlTypeInfo.g.cpp
1>E:\Exercise\WinUI3ValueConverter\WinUI3ValueConverter\Generated Files\XamlTypeInfo.g.cpp(195,55): error C2039: 'ValueConverter': is not a member of 'winrt::WinUI3ValueConverter'
1>E:\Exercise\WinUI3ValueConverter\WinUI3ValueConverter\Generated Files\XamlTypeInfo.g.cpp(22): message : see declaration of 'winrt::WinUI3ValueConverter'
1>E:\Exercise\WinUI3ValueConverter\WinUI3ValueConverter\Generated Files\XamlTypeInfo.g.cpp(195,71): error C2039: 'DemoPage': is not a member of 'winrt::WinUI3ValueConverter'
1>E:\Exercise\WinUI3ValueConverter\WinUI3ValueConverter\Generated Files\XamlTypeInfo.g.cpp(22): message : see declaration of 'winrt::WinUI3ValueConverter'
1>E:\Exercise\WinUI3ValueConverter\WinUI3ValueConverter\Generated Files\XamlTypeInfo.g.cpp(195,55): error C3083: 'ValueConverter': the symbol to the left of a '::' must be a type
1>E:\Exercise\WinUI3ValueConverter\WinUI3ValueConverter\Generated Files\XamlTypeInfo.g.cpp(195,71): error C3083: 'DemoPage': the symbol to the left of a '::' must be a type
1>E:\Exercise\WinUI3ValueConverter\WinUI3ValueConverter\Generated Files\XamlTypeInfo.g.cpp(195,97): error C2039: 'TestConverter': is not a member of 'winrt::WinUI3ValueConverter::implementation'
1>E:\Exercise\WinUI3ValueConverter\WinUI3ValueConverter\Generated Files\XamlTypeInfo.g.cpp(22): message : see declaration of 'winrt::WinUI3ValueConverter::implementation'
1>E:\Exercise\WinUI3ValueConverter\WinUI3ValueConverter\Generated Files\XamlTypeInfo.g.cpp(195,110): error C2065: 'TestConverter': undeclared identifier
1>E:\Exercise\WinUI3ValueConverter\WinUI3ValueConverter\Generated Files\XamlTypeInfo.g.cpp(195,6): error C2440: 'initializing': cannot convert from 'overloaded-function' to 'winrt::Windows::Foundation::IInspectable (__cdecl *)(void)'
1>E:\Exercise\WinUI3ValueConverter\WinUI3ValueConverter\Generated Files\XamlTypeInfo.g.cpp(195,6): message : None of the functions with this name in scope match the target type
1>E:\Exercise\WinUI3ValueConverter\WinUI3ValueConverter\Generated Files\XamlTypeInfo.g.cpp(201,5): error C2078: too many initializers
1>Done building project "WinUI3ValueConverter.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

ValueConverter.DemoPage.TestConverter.h:
#pragma once
#include "ValueConverter.DemoPage.TestConverter.g.h"

namespace winrt::WinUI3ValueConverter::ValueConverter::DemoPage::implementation
{
    struct TestConverter : TestConverterT<TestConverter>
    {
        TestConverter() = default;

        winrt::Windows::Foundation::IInspectable Convert(winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::UI::Xaml::Interop::TypeName const& targetType, winrt::Windows::Foundation::IInspectable const& parameter, hstring const& language);
        winrt::Windows::Foundation::IInspectable ConvertBack(winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::UI::Xaml::Interop::TypeName const& targetType, winrt::Windows::Foundation::IInspectable const& parameter, hstring const& language);
    };
}
namespace winrt::WinUI3ValueConverter::ValueConverter::DemoPage::factory_implementation
{
    struct TestConverter : TestConverterT<TestConverter, implementation::TestConverter>
    {
    };
}

TestPage.xaml:
<Page
    x:Class="WinUI3ValueConverter.TestPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:WinUI3ValueConverter"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:ValueConverter="using:WinUI3ValueConverter.ValueConverter.DemoPage"
    mc:Ignorable="d">
    <Page.Resources>
        <ResourceDictionary>
            <ValueConverter:TestConverter x:Key="TestConverter"/>
        </ResourceDictionary>
    </Page.Resources>

    <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
        <Button x:Name="myButton" Content="{Binding asd, Converter={StaticResource TestConverter}}" Click="myButton_Click"/>
    </StackPanel>
</Page>

Steps to reproduce the bug
I wrote an example to illustrate this problem  WinUI3ValueConverter.zip
Expected behavior
Compile successfully
Screenshots
No response
NuGet package version
1.0.0
Packaging type
Packaged (MSIX)
Windows version
Windows 11 version 21H2 (22000)
IDE
Visual Studio 2019
Additional context

Probably IValueConverter not ValueConverter?

Probably IValueConverter not ValueConverter? I'm not strong with C++ but successfully used the interface in C#.
Documentation

Yes, I used IValueConverter not ValueConverter.
I wrote a file TestConverter.idl:
namespace WinUI3ValueConverter
{
    namespace ValueConverter
    {
        namespace DemoPage
        {
            [default_interface]
            runtimeclass TestConverter : Windows.UI.Xaml.Data.IValueConverter
            {
                TestConverter();
            }
        }
    }
}

The file ValueConverter.DemoPage.TestConverter.h was generated by compiler.

@dybb8999 it looks like you've solved the problem. Please reactivate if you need further assistance.

@dybb8999 it looks like you've solved the problem. Please reactivate if you need further assistance.

No. Maybe you misunderstood me😭. I want to say I have a program that I can’t use ‘ IValueConverter’. I never used ’ValueConverter’, never!

@btueffers You Didn't want to close the issue. May your reopen as it's not solved ?


fix: Behavior of LIBP2P_FORCE_PNET

js-libp2p throw error when LIBP2P_FORCE_PNET is 0 and don't use Protector. Because, 0 (string) is true and js-libp2p enforce to use private network. However, go-libp2p don't throw an error when LIBP2P_FORCE_PNET is 0.
This PR changes js-libp2p not to throw an error when the environment variable LIBP2P_FORCE_PNET is 0 (and any value other than 1) and don't use Protector.

@b1018043 We would need to revisit all boolean environment variables in this case. Could you open an issue to specify correct inputs and their behavior?

This issue was created: https://github.com/libp2p/js-libp2p/issues/1189

I don't think we want to encourage interpreting the contents of environmental variables where they are intended to be treated as booleans.
It's important to use idiomatic JavaScript - if you wish the env var to be interpreted as true, set it to a truthy value, if not set it to something falsy (though remember node exposes all process.env key/values as strings) or better yet, do not set the variable at all.


Change AP Bed seeding process to derive Bed Name from room & bed numbers

Rather than using the bedCode from the upload for the name use {Room Number} - {Bed Number}
Also allow updating Bed Names when reprocessing an existing Bed

 Seeding existing bookings


[BUG] - Missing outline for Quote block

Describe the bug
> Quote here
Quote markdown does not show the outline of the quote's area.
To Reproduce
Steps to reproduce the behavior (this is an example):

type:   > Quote here  in the Live preview mode.
Switch to Reading mode.

Expected behavior
Should (best too?) see a line around the quoted text.

Hi! That's the intended formatting of the theme. There should only be an accented vertical line on the left side of the quote, nothing else. If you have a suggestion, though, you can submit an idea request here as well.


Feature Request: Batch Render or Loop Render

Describe the feature you'd like to see:
Since unlimited "local render" is working, maybe we need also the ability to batch render static or animated frames -- with different random seed or same seed. I would like to render over night usually, since my local render is kind of slow 4-10 minutes per image, I can let it render for 6-8 hours while asleep or when computer idle.
Another request is if we could "loop" render X times the image from last render or image last AI render, sometimes it could produce interesting details.
Thanks!
Additional information
No response

Yeah, this is a great idea, and it's in my plans. I definitely want to make this happen.

Was just about to write up a feature request for this. Very happy to see it being worked on. We're blessed to have devs with a positive work-ethic.
Thank you @benrugg !!

Batch processing is now possible with the animation support in the latest release! You can animate Stable Diffusion settings (including prompt text!) and run as many variations as you want.
I will leave this open, though, because the one thing that isn't available yet is "loop rendering". ie. the ability to use the last AI image as the start for the next one.

See the Animation Instructions page for more info. (And I'll be posting more instructions there soon)

Hi, I'm trying to achieve something similar, but it seems to me that instead of adding one option, it's best to make Compositing Nodetree work properly. Currently, for some reason, anything after AIRender and before Composite node - is ignored and not saved, even if save before and after is checked. I tried saving it manually because the preview in "Render Result" appears correct.

@TutajITeraz ah, that's a really good point. It's working that way by design, but tbh I probably didn't think that through well enough. It certainly seems like it should save the final composite, not just what was returned by Stable Diffusion. I'll add this to the list for the future.


[Event Request] Codeunit 74 change OnCopyItemChargeAssgntOnBeforeFindPurchLine2 event

Hi All,
In Codeunit 74 "Purch.-Get Receipt" change the OnCopyItemChargeAssgntOnBeforeFindPurchLine2 publisher to add extra parameter as below:
before:
[IntegrationEvent(false, false)]    local procedure OnCopyItemChargeAssgntOnBeforeFindPurchLine2(var PurchLine2: Record "Purchase Line"; var ItemChargeAssgntPurch2: Record "Item Charge Assignment (Purch)")
begin
end;
after
[IntegrationEvent(false, false)]    local procedure OnCopyItemChargeAssgntOnBeforeFindPurchLine2(var PurchLine2: Record "Purchase Line"; var ItemChargeAssgntPurch2: Record "Item Charge Assignment (Purch)"; PurchRcptLine: Record "Purch. Rcpt. Line")
begin
end;
Also where this publisher is called change it like this:
OnCopyItemChargeAssgntOnBeforeFindPurchLine2(PurchLine2, ItemChargeAssgntPurch2, PurchRcptLine);

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 53049.


MotS - From New Game to game started

See email for details.

Closing as per email.

Closing as per email.


python312Packages.gardena-bluetooth: 1.4.1 -> 1.4.2

Diff: https://github.com/elupus/gardena-bluetooth/compare/refs/tags/1.4.1...1.4.2
Changelog: https://github.com/elupus/gardena-bluetooth/releases/tag/1.4.2
Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

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

5 packages built:

home-assistant-component-tests.gardena_bluetooth
python311Packages.gardena-bluetooth
python311Packages.gardena-bluetooth.dist
python312Packages.gardena-bluetooth
python312Packages.gardena-bluetooth.dist


Reset 2FA and sweep funds are not working properly.

2FA reset/sweep funds: After scanning the approval key nothing is happening beyond that.
If I scan wrong approval key then loader comes up and it continuously loading.If I relogin to the app then also that loader is loading continuously and I am getting stuck on that page.Everytime I have to kill the app to get out of this page.
This is happening in all the scenarioes(Upgrade,restore).

Reset 2FA worked properly for me on scanning appropriate Approval Key(thought the savings account had that sending bottom sheet issue), however, when we scan wrong QR, the loader never goes away and doesn't clear even after the app restart.

Verified this issue on dev app v2.0.75(475)


create-update asks for password (?) and then "authentication failed"

I just released cockpit-ostree 178 with packit, creating this koji build: https://koji.fedoraproject.org/koji/taskinfo?taskID=36198029
Now I wanted to release it:
❱❱❱ PYTHONPATH=~/tmp/packit/ python3 -m packit.cli.packit_base create-update --dist-git-branch f30
Koji builds for package cockpit-ostree and koji tag f30-updates-candidate:
 - cockpit-ostree-178-1.fc30
Password:

Hmm, what password? I already have a kerberos token:
❱❱❱ klist
Ticket cache: KEYRING:persistent:1000:1000
Default principal<EMAIL_ADDRESS>[...]

So I entered my Fedora password again, then:
ERROR    Authentication failed
Unexpected exception occurred,
please fill an issue here:
https://github.com/packit-service/packit/issues

Once again with --debug:
❱❱❱ PYTHONPATH=~/tmp/packit/ python3 -m packit.cli.packit_base --debug create-update --dist-git-branch f30
10:07:18.136 packit_base.py    DEBUG  logging set to DEBUG
10:07:18.136 local_project.py  DEBUG  working_dir is set and git_repo is not: let's discover...
10:07:18.137 local_project.py  DEBUG  it's a git repo!
10:07:18.142 local_project.py  DEBUG  remote url of the repo is https://github.com/cockpit-project/cockpit-ostree.git
10:07:18.143 local_project.py  DEBUG  Parsed namespace and repo name from url: cockpit-project/cockpit-ostree
10:07:18.144 config.py         DEBUG  The local config file '/home/martin/upstream/cockpit-ostree/.packit.yaml' not found.
10:07:18.144 config.py         DEBUG  The local config file '/home/martin/upstream/cockpit-ostree/.packit.yml' not found.
10:07:18.144 config.py         DEBUG  The local config file '/home/martin/upstream/cockpit-ostree/.packit.json' not found.
10:07:18.144 config.py         DEBUG  Local package config found: /home/martin/upstream/cockpit-ostree/packit.yaml
10:07:18.147 config.py         DEBUG  Package config:
{
    "specfile_path": "cockpit-ostree.spec",
    "synced_files": [
        "cockpit-ostree.spec"
    ],
    "upstream_project_name": "cockpit-ostree",
    "downstream_package_name": "cockpit-ostree",
    "actions": {
        "post-upstream-clone": "make cockpit-ostree.spec",
        "create-archive": "make dist-gzip"
    }
}
10:07:18.148 utils.py          DEBUG  can't obtain upstream_ref: 'upstream_ref'
10:07:18.148 api.py            DEBUG  create bodhi update, builds=(), dg_branch=f30, type=enhancement
10:07:18.148 base_git.py       DEBUG  command handler = RunCommandType.local
10:07:18.149 distgit.py        DEBUG  Using dist-git repo https://src.fedoraproject.org/rpms/cockpit-ostree.git
10:07:18.149 distgit.py        DEBUG  About to create a Bodhi update of type enhancement from f30
10:07:30.889 distgit.py        DEBUG  Koji builds for package cockpit-ostree:
 - f29-updates-candidate
 - f30-updates-candidate
 - f28-updates-candidate
 - f29-updates-testing
 - f30-updates-testing
 - f28-updates-testing
 - f29-updates
 - f30-updates
 - f28-updates
 - f29-override
 - f30-override
 - f28-override
 - f29-updates-testing-pending
 - f30-updates-testing-pending
 - f28-updates-testing-pending
 - f29-updates-pending
 - f30-updates-pending
 - f28-updates-pending
Koji builds for package cockpit-ostree and koji tag f30-updates-candidate:
 - cockpit-ostree-178-1.fc30
10:07:30.890 local_project.py  DEBUG  Url https://src.fedoraproject.org/rpms/cockpit-ostree.git parsed. Resulting scheme: https
10:07:30.891 utils.py          DEBUG  Cloning repo: https://src.fedoraproject.org/rpms/cockpit-ostree.git -> /tmp/tmpzq3l93or
Username:

That's weird, why now username in addition? I enter my Fedora credentials again, then
ERROR    Authentication failed
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/fedora/client/openidbaseclient.py", line 244, in send_request
output = func(method, **kwargs)
File "/usr/lib/python3.7/site-packages/fedora/client/openidbaseclient.py", line 89, in _decorator
'{0} requires a logged in user'.format(output.url))
fedora.client.LoginRequiredError: https://bodhi.fedoraproject.org/updates/ requires a logged in user
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/bodhi/client/bindings.py", line 109, in wrapper
result = method(*args, **kwargs)
File "/usr/lib/python3.7/site-packages/bodhi/client/bindings.py", line 266, in save
data=kwargs)
File "/usr/lib/python3.7/site-packages/fedora/client/openidbaseclient.py", line 246, in send_request
raise AuthError()
fedora.client.AuthError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/bodhi/client/bindings.py", line 109, in wrapper
result = method(*args, **kwargs)
File "/usr/lib/python3.7/site-packages/bodhi/client/bindings.py", line 576, in csrf
self.login(self.username, self.password)
File "/usr/lib/python3.7/site-packages/fedora/client/openidbaseclient.py", line 293, in login
openid_insecure=self.openid_insecure)
File "/usr/lib/python3.7/site-packages/fedora/client/openidproxyclient.py", line 138, in openid_login
raise AuthError(output['message'])
fedora.client.AuthError: Authentication failed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/home/martin/tmp/packit/packit/cli/utils.py", line 58, in covered_func
    func(config=config, *args, **kwargs)
  File "/home/martin/tmp/packit/packit/cli/create_update.py", line 76, in create_update
    update_type=update_type,
  File "/home/martin/tmp/packit/packit/api.py", line 395, in create_update
    update_type=update_type,
  File "/home/martin/tmp/packit/packit/distgit.py", line 329, in create_bodhi_update
    result = b.save(builds=koji_builds, notes=rendered_note, type=update_type)
  File "/usr/lib/python3.7/site-packages/bodhi/client/bindings.py", line 134, in wrapper
    result = method(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/bodhi/client/bindings.py", line 261, in save
    kwargs['csrf_token'] = self.csrf()
  File "/usr/lib/python3.7/site-packages/bodhi/client/bindings.py", line 134, in wrapper
    result = method(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/bodhi/client/bindings.py", line 576, in csrf
    self.login(self.username, self.password)
  File "/usr/lib/python3.7/site-packages/fedora/client/openidbaseclient.py", line 293, in login
    openid_insecure=self.openid_insecure)
  File "/usr/lib/python3.7/site-packages/fedora/client/openidproxyclient.py", line 138, in openid_login
    raise AuthError(output['message'])
fedora.client.AuthError: Authentication failed
08:08:28.497 local_project.py  DEBUG  Cleaning: /tmp/tmpzq3l93or

For doing automated releases, asking for a password interactively isn't acceptable.

+1, Martin
This is how python3-bodhi works and I recall bodhi did not support kerberos ~9 months ago.
<EMAIL_ADDRESS>* Though it may seem that Kerberos addresses this problem, Bodhi does not use Kerberos (it uses OpenID) and there are not plans to adjust Bodhi to use Kerberos because we plan to convert it to use OpenID Connect instead.

Related issues:
https://github.com/fedora-infra/bodhi/issues/1179
https://github.com/fedora-infra/bodhi/issues/1180
https://github.com/user-cont/release-bot/issues/11
https://bugzilla.redhat.com/show_bug.cgi?id=1483538
I'm personally not familiar with openid connect much but while skimming through the issues listed above, it seems to me that one cannot do non-interactive authenticated bodhi API calls - b/c the openid connect prompts for the password.
CC @puiterwijk

@TomasTomecek : Oh right, I completely forgot about that. Indeed we do that in Cockpituous as well. Can I rely on it always asking for exactly just the password, so that we do the echo thing? Or should packit wrap that itself, and accept some CLI option with a file that has the password? Supposedly it could supply --user from the existing krb ticket?

+1 on having a packit interface to get the password (and/or the username)

I've done an update last week and it's really not convenient.

I've done an update last week and it's really not convenient.

To clarify the task:

[ ] Check if the other authentications are possible for bodhi.
[ ] Print a descriptive message before bodhi asks for the password so users know what will be requested.

I briefly checked bodhi issue tracker and none of the issues is fixed, so it seems that printing the description is the way


✨ Specify content keyword in front matter

Define page focus keywords with the keywords front matter meta data.
Render keywords in data-content-keywords in the body tag to highlight the focus keywords of each page for content authors. This helps the content team to quickly inspect to see the types of content we're providing across different channels.
Use graceful fallback when no keywords have been provided — comma separated URL path segments.

@dannymidnight can you please deploy for me!


Font has been changes to Inter UI

Correct me if I'm wrong, but we will have to edit every component so it uses Inter UI. Now it seems like you are trusting the fact that the wrapper apps have it loaded..?


[Gally]: master <- dev

Automatically created by Git-Ally

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix/test coverage

Coverage remained the same at 50.0% when pulling ec254a852b1f9b114d53cd1aa7703769cdcd59ba on fix/test_coverage into 0c95941d2d43446df58f045da472885b61085f0f on master.

Coverage remained the same at 50.0% when pulling 91a1aaf1a59da7668cd9d3691aa9fe30da5d093c on fix/test_coverage into 0c95941d2d43446df58f045da472885b61085f0f on master.


Lookahead Decoding Development Roadmap

Software Quality

[ ] Refactor Code  #9
[ ] Simple way to add new model

Implementation

[ ] Support FlashAttention
[ ] Support Sampling
[ ] Support Batch>1
[ ] Lookahead window KV-Cache (May hurt accuracy)
[ ] Verification branch trie

New Models

[ ] Baichuan #11
[ ] QWen #22

Does this project support the vicuna model?

Vicuna is already supported because it is based on LlamaForCausalLM.

Thank you for your reply!Do you mean that I can use the following code to observe the acceleration effect of the vicuna model?
USE_LADE=1 python applications/chatbot.py  --model_path meta-llama/vicuna-7b-v.13 --debug #no chat, with lookahead
USE_LADE=0 python applications/chatbot.py  --model_path meta-llama/vicuna-7b-v.13 --debug #no chat, without lookahead

Thank you for your reply!Do you mean that I can use the following code to observe the acceleration effect of the vicuna model? USE_LADE=1 python applications/chatbot.py --model_path meta-llama/vicuna-7b-v.13 --debug #no chat, with lookahead USE_LADE=0 python applications/chatbot.py --model_path meta-llama/vicuna-7b-v.13 --debug #no chat, without lookahead

It should be lmsys/vicuna-7b-v1.3 and yes.

Got it!Thank you for your reply again!

Hi, Im really interesting in this decoding development. Is there any progress to integrate in Qwen model? thanks.


Correct use of path in search result

The $path variable was being set to different values in the CSS for the multi-select and search-result pages.
This corrects that usage so they are both the same (meaning both can be used on a project that sets $path once.

LGTM :+1:


locks not dropping off

When an enemy casts and the locks drop, the tas is still showing them. Not sure if bug or behaviour of the game of having act of 0

That's the way we detected it in the python TAS (from sos_consideration.py)


Fix drop down mobile in examine

Hi,
The little changes attached should address our ios asset drop down issue .

Coverage remained the same at 31.709% when pulling ffe4f034e9b970b92af3bb769c20245330f1e02c on nuruddeensalihu:nuru/fix_examine into c1c69bef39190217b9c1c44cf875136e81bdf399 on binary-com:master.


Change type promotion from np.can_cast to c style

So far, upcasting is determined according to numpy rules. Here I propose to change a part of it, namely to allow c-style upcasting for testing if types can be cast, while still selecting the target type according to NumPy operator implementations (ufunc.types), choosing the implementation according to c-style type promotion instead of np.can_cast (the latter is more strict, e.g. only allows casting of integers to float64, never float32).
This will fix an issue where the simple stencil
@gtscript.stencil(backend='gt:cpu_ifirst', rebuild=True)
def stencil(out: gtscript.Field[np.float64], *, param: np.float32):
    with computation(PARALLEL), interval(...):
        out = 2 * param * param

was raising in gtir_to_oir.

bors try

bors try

bors try

bors try

bors try

bors try


Change link name

Hi Zita!!
Here is another quick fix. Unfortunately I didn't grab a before screenshot. I will next time.
Issue:
https://issues.redhat.com/browse/AAH-548

@ShaiahWren It seems that there's extra commit change details tabe name and info section header to install. Please remove it. Otherwise LGTM 👍

HI Zita!
I forgot to include issue#456 in the pr description, my bad. It is now
updated. Now there should be one commit for each issue:
https://issues.redhat.com/browse/AAH-548
https://issues.redhat.com/browse/AAH-546
Is it okay now?
On Fri, May 21, 2021 at 4:21 AM ZitaNemeckova @.***>
wrote:

@ShaiahWren https://github.com/ShaiahWren It seems that there's extra
commit change details tabe name and info section header to install.
Please remove it. Otherwise LGTM 👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ansible/ansible-hub-ui/pull/462#issuecomment-845760326,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APK3PR4MLEQCM2L2PDTXQLDTOYJWXANCNFSM45HN5XNA
.

pr closed.


Updated MO Counties

Updated MO. Table no longer contains "County" in the name except for one. Added check to append county to minimize work needed. Also updated URL.

Hey @jbencina , lemme know if you think we need this one merged. Having trouble reconciling the specific differences between the scrapers, and it seems to work right now as-is. Does this fix a timeseries issue or something?
Thank you!

I think we can drop this? It looks like @paulboal and I both wrote a PR https://github.com/lazd/coronadatascraper/pull/216. It seems we have data in there for 3/20 so it appears to be working as is


feat: Challenge 2 - Creating queues, exchanges and bindings

Change the producer.py in order to:

Rename exchange to proper name
Create Queues for HR, Marketing and Support
Bind the queues to the exchange
Change send_to_queue function to use the new exchange and add delivery properties
Change the sample send_to_queue messages to send to the appropiate queue

Change the consumer.py just to test messages reading... Pending of Challenge 3 to modify it.
resolves: #2

resolves: #3


feat: Set both caller and self as controller by default

I have no idea what the changes will be on the DFX end, Kyle said to just implement it on the wallet level for now.


fixed grammar in analysis description

@xavijam, fixed incorrect grammar (customer reported). Permission to merge when green?

yeah!


Route parameter contraints cause run to break

The portal gets into the following situation if you specify a route constraint. For example, in this case I had the route template as "hello/{name:alpha}"
Run is treating this as two parameters of almost the same name and will return an error (400 if no value provided, 502 if value provided and then for every execution thereafter)

Dublicate: Http trigger run pane : incorrect route parameter label #693
Fixed in function-next


polars dependency not being added in a fresh installation

As noted in #188, when I install pyglider fresh, using miniconda on macOS14.5, the polars dependency is not installed, and has to be added manually. I tried on two different macOS machines (intel and arm), with the same result.

Thanks for raising this Clark! At the moment, the test matrix only tests against ubuntu-latest
https://github.com/c-proof/pyglider/blob/aa43c17c82ae4f53acb41fb3e59e00ef08183f3e/.github/workflows/tests.yml#L9
I'll put in a PR to add mac and windows. Hopefully that will show up the issue, as I don't have a mac here to test with.

It looks like polaras was added to the conda recipe in release 0.07 a couple of weeks ago
https://github.com/conda-forge/pyglider-feedstock/commit/00083d8c63e9d49cb4ad5ee12ae9799d7e53009d
Can you check if that resolves the issue? I'll still work on adding mac and windows to the test matrix to catch these issues earlier in future

Thanks for raising this Clark! At the moment, the test matrix only tests against ubuntu-latest

Just a note that this problem isn't something that can be picked up via CI (as that uses the development environment file). Instead it would require modifying the test: section in the feedstocks recipe.yml. Perhaps adding a simple example.


New Category: Security

This proposal is to introduce a new cateogry called 'Security' and this can contain technologies like Bot Detection (e.g. PerimeterX / CyberFend / Google Re-captcha). Here are providers from Forrester report. Let's cover at least these

Detection pattern

Technology
Website
Pattern
Example Page

Perimeter X
https://www.perimeterx.com/
Presence of cookie '_pxvid'
https://direct.asda.com

Akamai Bot Manager
http://akamai.com/bot-manager
Look for any of the cookies "ak_bmsc", "bm_sv","bm_sz"
https://www.myntra.com/

Datadome
https://datadome.co/
Look for cookies datadome-_zldt OR datadome-_zldp OR script js.datadome.co/tags.js
https://www.kurtgeiger.com/

Imperva
https://www.imperva.com/
Look for
https://www.cotswoldco.com/

Reblaze
?
?

ShieldSquare
https://www.shieldsquare.com/
?
?

Netacea
https://www.netacea.com/)

Castle
https://castle.io/)

Cloudflare
?
?

CloudFilt
https://cloudfilt.com/
?
?

F5
www.f5.com
?
?

Happy to have that added.

@AliasIO  - I see a category for 'Captchas' (Category 16). I think it's very limited... Shall we rename that to 'Security'? Most of these bot management soutions can also result in a Captcha exprience.

Yes, happy to rename that one.

@AliasIO - Renamed the cateogry as discussed and added first 4 vendors from the table where patterns were known.
Also, noticed that Incapsula (CDN Solution.. this was already in apps.json) has been renamed to Imperva (Bot protection solution). Found out this while making this change. (https://www.imperva.com/incapsula-moved/). Somebody should clean up these 2 later.

Please can you add nooder website security: www.nooder.net
The cookies used are NOODER_*

@f14stelt - Please provide an example site to test Nooder.. Preferably not your own site.. a client of yours who is using Nooder so that we can test.

sure, you can test out vacban.wtf

@rockeynebhwani any news?


Maya: Stop creation of reviews for Cryptomattes

Quick fix
This is fixing an issue where cryptomattes were still used for generation review videos even if they shouldn't. This then caused crash with ffmpeg during publishing because it cannot handle data stored in exrs.

How to test
Publish render from Maya with cryptomattes enabled in any AOV.
🗒 This is really just quick fix and proper solution is needed. Currently we are looking for crypto string in subset name but this is too broad definition.

Why it is crashing? Shouldn't this be fixed with https://github.com/pypeclub/OpenPype/pull/2635/files ?

Why it is crashing?  Because it does work in ExtractReview, or?

ffmpeg is not handling CryptoMesh channel for some reason

So it is not converted using oiio or it is converted wrong. Because it does work in ExtractReview, or?

This is in ExtractJpegEXR plugin, no oiio involved. I think this plugin should actually be reworked to use oiio rather then ffmpeg. Let ffmpeg handle video data and oiio sequences.


Use MinimumOSVersion in Kestrel

@anurse Test only change.
Some tests require specific versions of Win10 and we recently added support for detecting that via MinimumOSVersion. We'd also like to move away from using OSSkipCondition for version checks, only using it for platform checks instead.
I also adjusted the APLN related skips to clarify that Win8 does not support it.
I'll need to make some additional reactions in master where some of these conditions were changed.

There are many of these in IIS? Want to do them there as well?

There are many of these in IIS? Want to do them there as well?

Those are all Win7, right? I'm starting a separate conversation to figure out what to do about that.

@jkotalik here's the only relevant IIS Win8 reference I can find.
https://github.com/aspnet/AspNetCore/blob/3477daf3c4f530dff80f197e0642cb39a26fb07b/src/Servers/IIS/IntegrationTesting.IIS/src/ProcessTracker.cs#L18-L19


Should not generate code for function which no return value and not params typed AuthAccount

This issue was included in #32


fix: ensure the sarif output has a stable order

This stabilizes the order in the SARIF output so that it is deterministic, as #937 proved it was not.

Codecov Report
Attention: Patch coverage is 35.71429% with 9 lines in your changes are missing coverage. Please review.

Project coverage is 64.13%. Comparing base (2b165ea) to head (35ea85d).

Files
Patch %
Lines

internal/output/result.go
25.00%
8 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #938      +/-   ##
==========================================
+ Coverage   63.62%   64.13%   +0.51%
==========================================
  Files         146      146
  Lines       11947     9293    -2654
==========================================
- Hits         7601     5960    -1641
+ Misses       3878     2863    -1015
- Partials      468      470       +2

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

The coverage drop is fine - we were not covering the original code anyway, and it will be covered by #937, after which just the final return 0 will be uncovered as I can't seem to hit that :/


double should be replaced by decimal

As soon we are working in the financial field all these objects like ask, bid, last, high, low, volume should be decimal instead of double.
For instance, we can't compare doubles directly without add precision.

Good point.
We need to think how it can be implemented without back capability broken.

It's not possible to directly switch from double to decimal without breaking compatibility.
But you can add a custom type like MtDouble with implicit operators, which behaves like a double or like a decimal regarding what the code requests:
    public struct MtDouble
    {
        private decimal _value;
        public MtDouble(double val) => _value = (decimal)val;
        public MtDouble(decimal val) => _value = val;
        [Obsolete("Doubles should not be used in financial operations. This will be removed in a later version, please use decimal instead.")]
        public static implicit operator double(MtDouble mtDouble) => (double)mtDouble._value;
        public static implicit operator decimal(MtDouble mtDouble) => mtDouble._value;
        [Obsolete("Doubles should not be used in financial operations. This will be removed in a later version, please use decimal instead.")]
        public static implicit operator MtDouble(double val) => new MtDouble(val);
        public static implicit operator MtDouble(decimal val) => new MtDouble(val);
    }

usage:
    MtDouble doubleValue = 5.0d;
    MtDouble decimalValue = 5.0m;
    double conversion1 = decimalValue;
    double conversion2 = doubleValue;
    decimal conversion3 = decimalValue;
    decimal conversion4 = doubleValue;

Thanks to the Obsolete-Attribute, the dev get a hint everytime he uses a MtDouble as double:

Then you can just replace double from MtOrder:
public class MtOrder
    {
        public int Ticket { get; set; }
        public string Symbol { get; set; }
        public TradeOperation Operation { get; set; }
        public MtDouble OpenPrice { get; set; }
        public MtDouble ClosePrice { get; set; }
        public MtDouble Lots { get; set; }
        public int MtOpenTime { get; set; }
        public int MtCloseTime { get; set; }
        public MtDouble Profit { get; set; }
        public string Comment { get; set; }
        public MtDouble Commission { get; set; }
        public int MagicNumber { get; set; }
        public MtDouble Swap { get; set; }
        public int MtExpiration { get; set; }
        public MtDouble TakeProfit { get; set; }
        public MtDouble StopLoss { get; set; }

        public DateTime OpenTime
        {
            get { return MtApiTimeConverter.ConvertFromMtTime(MtOpenTime); }
        }

        public DateTime CloseTime
        {
            get { return MtApiTimeConverter.ConvertFromMtTime(MtCloseTime); }
        }

        public DateTime Expiration
        {
            get { return MtApiTimeConverter.ConvertFromMtTime(MtExpiration); }
        }
    }

@mbochmann Excellent. I think your solution can be used as temporary fix for migration from double to decimal.


Support for access control with API Gateway

Is there any plan to support access control functionalities?
For example, only allowing federated identities to API GW, cognito integration, and so on.
If this is possible currently, I hope there are samples or example codes.

There's a feature request for adding authentication support, see #14.

Implemented by @JamieCressey via https://github.com/awslabs/chalice/pull/75.  Try it out and let us know if you have any feedback!


Support R22 PHYSLITE

Running causes constant crashes when looking at pileup - it can't get the campaign. This is triggered by not having a file to look at the metadata for.
So, we need to figure out how to go from a sample handler entry to a file.


Will it work with Surface 0.7.0?

mix test test/bulma_test/surface_bulma/form_test.exs

test form as an atom (SurfaceBulma.Components.FormTest)
test/bulma_test/surface_bulma/form_test.exs:37
** (RuntimeError) invalid value for property "errors". Expected a :keyword, got: nil.

I am looking forward to use surface bulma on a project.

Thanks for the issue. The tests are not all passing, due to a large amount of components that were added. I will have a look to see if 0.7.0 is working but it seems like it should. If you want to help this project by fixing some tests, that would be very much appreciated!

My assumption was wrong, this is a bug in SurfaceBulma.Component. It has been fixed and will be published in 0.3.2. I will update the master branch to use Surface 0.7 and publish that as version 0.4.0. It will have the fix for the form errors assign.


include: improve compatibility with C++ apps.

This patch lets a C++ application use more of Zephyr by adding guards
and changeing some constructs to the C++11 equivalent.
Changes include:

Adding guards
Switching to static_assert
Switching to a template for ARRAY_SIZE as g++ doesn't have the
builtin.
Re-ordering designated initialisers to match the struct field order
as G++ only supports simple designated initialisers.

Signed-off-by: Michael Hope<EMAIL_ADDRESS>

Codecov Report

Merging #6656 into master will increase coverage by <.01%.
The diff coverage is 80%.

@@            Coverage Diff             @@
##           master    #6656      +/-   ##
==========================================
+ Coverage   53.87%   53.87%   +<.01%
==========================================
  Files         439      439
  Lines       41687    41689       +2
  Branches     7945     7945
==========================================
+ Hits        22458    22460       +2
  Misses      16027    16027
  Partials     3202     3202

Impacted Files
Coverage Δ

include/misc/util.h
50% <ø> (ø)
:arrow_up:

include/kernel.h
94.73% <ø> (ø)
:arrow_up:

include/misc/byteorder.h
56.81% <80%> (+2.05%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 83752c1...80a6b4b. Read the comment docs.

This is failing as the tree is unstable:
zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj -Wl,--end-group -L"/opt/sdk/zephyr-sdk-0.9.2/sysroots/armv5-zephyr-eabi/usr/lib/arm-zephyr-eabi/6.2.0/armv7e-m" -L/home/buildslave/src/github.com/zephyrproject-rtos/zephyr/sanity-out/nrf52840_pca10056/samples/subsys/usb/cdc_acm/test_x86/zephyr -lgcc -Wl,--print-memory-usage -nostartfiles -nodefaultlibs -nostdlib -static -no-pie -Wl,--fatal-warnings -Wl,-X -Wl,-N -Wl,--gc-sections -Wl,--build-id=none && :
Memory region         Used Size  Region Size  %age Used
FLASH:       67364 B         1 MB      6.42%
SRAM:       16756 B       256 KB      6.39%
IDT_LIST:         164 B         2 KB      8.01zephyr/libzephyr.a(usb_device.c.obj): In function usb_transfer_work': /home/buildslave/src/github.com/zephyrproject-rtos/zephyr/subsys/usb/usb_device.c:1109: undefined reference to usb_dc_ep_mps'

Tree is now stable, yay!

@andrewboie @nashif  I've split out the ext/ changes.
I also went through the most common driver files and added guards, and added a mainly compile related test to see that they stay compatible in the future.

I've updated spi_legacy.h as well to fix the compile test.

@nashif  Hi Anas.  Could you install lib32stdc++-7-dev on the Shippable configuration?  It's needed for C++ apps to link in the POSIX m32 config.

PR sent for adding the m32 version of libsdc++ to the Shippable config.

recheck

recheck

recheck

@nzmichaelh  please rebase

@nashif I've rebased and added the flags to testcase.yaml.  Let's see how the build goes...

@nzmichaelh

@nashif I've rebased and added the flags to testcase.yaml. Let's see how the build goes...

thanks :)


'Save Branch as Scene' also saves original scene

'Save Branch as Scene' would not mark the original scene as changed, and therefore no prompt would appear if the scene was closed immediately after saving the branch when no other changes had been made.
Fixes #32067

I think this should be changed to use UndoRedo instead, which should increase the history version and mark the scene as modified, giving the option to undo the changes.
It probably doesn't make sense to undo saving the branch as a separate file (we won't go around and delete the created file), but the replacement of the in-scene branch by the new scene instance could be undone.

Fair enough. I'll give that a go.

I've mostly just wrapped the existing function calls in add_do_/add_undo_s and removed the queue_delete(). I hope that's how I'm supposed to do it.

Looks good. I suppose you've confirmed that it works well (do, undo and redo)?
Can you squash commits together?

Do, undo, redo, and marking the scene as modified all appear to work, yeah.

Thanks!


App crashes on iPhone 5 / iOS 10.3 simulator and device

From @chrisse27 on May 18, 2018 20:52

Did you verify this is a real problem by searching the NativeScript Forum and the other open issues in this repo?
Yes.
Tell us about the problem
App crashes on IPhone 5 (Simulator and device). App does not crash on newer iPhone versions.
Which platform(s) does your issue occur on?
iOS
Please provide the following version numbers that your issue occurs with:

CLI: 4.0.1 / 4.02
Cross-platform modules: 4.0.0
Runtime(s): 4.0.1

Please tell us how to recreate the issue in as much detail as possible.
tns create test-app
cd test-app
tns run ios (use iPhone 4S or 5 / iOS 8.4, 9.3 or 10.3)

The app crashes. This started happening with NS 4. It cannot be reproduced with NS 3.4.3. This is the log:
May 18 22:39:58 ChristophsMBP3 nscrashcore[26646]: assertion failed: 17E202 14E8301: libxpc.dylib + 65908 [099EE567-D51F-3277-B929-5FBFDFDE1116]: 0x7d
May 18 22:39:58 ChristophsMBP3 SpringBoard[22197]: [KeyboardArbiter] HW kbd: Failed to set (null) as keyboard focus
May 18 22:39:58 ChristophsMBP3 com.apple.CoreSimulator.SimDevice.10DFF776-A173-410A-ACED-299AEC32184B[22181] (UIKitApplication:org.nativescript.nscrashcore[0xab16][22202][26646]): Service exited due to Segmentation fault: 11
May 18 22:40:08 ChristophsMBP3 assertiond[22202]: Deleted job with label: UIKitApplication:org.nativescript.nscrashcore[0xab16][22202]

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
No additional code involved
Copied from original issue: NativeScript/NativeScript#5837

Hi @chrisse27,
Thank you for reporting this issue. We've managed to reproduce it using iOS Simulator, but according to our tests the crash doesn't occur on a real iPhone 5 device. We'll investigate further and keep you informed about any progress in fixing it.

Hi @mbektchiev,
thanks for looking into this. When running the app on the device I get the following error
file:///app/vendor.js:1:13865: JS ERROR ReferenceError: Can't find variable: UILayoutGuide

@chrisse27 This error is expected because NativeScript core modules have dropped support for iOS 8.x since version 4.0. For more information on this matter see NativeScript v4.0 Breaking changes.

I see, thanks for the hint. So then it's really "only" a Simulator related issue.

Same problem occurs on iphone5 simulator running iOS 9.x with nativescript 4.1.1
Glad to hear that this is only a simulator related issue


always include global meta data for snapshots

This allows to also restore a snapshot of a single partition into a non-existent
table. This, however, requires that the snapshot has been created with version
0.55.5 or greater!
@seut @mfussenegger please

@mfussenegger can you take another look please

Lgtm otherwise

lgtm


Failed function calls within afterScenario should be reported somehow in execution summary

If the cleanup fails, it makes debugging large tests suites quite difficult.
If the user sees that everything is green in the execution summary, it is unlikely that he will parse the logs for phrases indicative of errors.
If this is not possible to report it in the execution summary, we should amend the documentation(https://github.com/intuit/karate#hooks) so the user knows to keep an eye out for the string "ERROR".
Same would apply for both afterScenario and afterFeature.
    Background: hooks
        #after hooks
        * configure afterScenario = function(){ karate.afterScenarioCleanupFailedMiserably() }
        * configure afterFeature = function(){ karate.afterFeatureCleanupFailedMiserably() }

produces the output:
19:43:58.840 [main] ERROR com.intuit.karate - javascript function call failed: <eval>:1 TypeError: karate.afterScenarioCleanupFailedMiserably is not a function
19:43:58.840 [main] ERROR com.intuit.karate - failed function body: function(){ karate.afterScenarioCleanupFailedMiserably() }
19:43:58.841 [main] WARN  com.intuit.karate - afterScenario hook failed: javascript function call failed: <eval>:1 TypeError: karate.afterScenarioCleanupFailedMiserably is not a function
19:43:58.845 [main] ERROR com.intuit.karate - javascript function call failed: <eval>:1 TypeError: karate.afterFeatureCleanupFailedMiserably is not a function
19:43:58.845 [main] ERROR com.intuit.karate - failed function body: function(){ karate.afterFeatureCleanupFailedMiserably() }
19:43:58.846 [main] WARN  com.intuit.karate - afterFeature hook failed: javascript function call failed: <eval>:1 TypeError: karate.afterFeatureCleanupFailedMiserably is not a function

If we are unlucky so that the feature file with the failed call is not the last, then we are very likely to miss it as the execution summary is all green.
---------------------------------------------------------
feature: classpath:conduitApp/feature/Hooks.feature
scenarios:  2 | passed:  2 | failed:  0 | time: 0.0302
---------------------------------------------------------

@lupul-cel-bun this is likely to be fixed in the 1.0 release: https://github.com/intuit/karate/wiki/1.0-upgrade-guide (0.9.9.RC4 is available to test)
if not, I consider it a wontfix - you are welcome to contribute code. we have always recommended a pre-test clean up strategy or the hooks: https://stackoverflow.com/a/60944060/143475


Adding node performance check based on vCenter performance metrics

The objective of this PR is to monitor disk latency for master nodes.  This enhancement also provides the ability to monitor other metrics for master, workers, or both depending on the definition.

/test all

/test all

/test all

/test all

Hi @gnufied @jsafrane we are looking to add a node check that checks if master disk latency is too high in an effort to help highlight storage performance issues.  Would you mind looking over this PR and letting me know what you think?

Hi @gnufied @jsafrane we are looking to add a node check that checks if master disk latency is too high in an effort to help highlight storage performance issues.  Would you mind looking over this PR and letting me know what you think?

/test e2e-vsphere

/test e2e-vsphere

/test e2e-vsphere

/test e2e-vsphere

/test e2e-vsphere

/test e2e-vsphere

/test e2e-vsphere

Lets merge this, we can fix names later as part of https://bugzilla.redhat.com/show_bug.cgi?id=1929780

/lgtm

/approve


Registry returning wrong component pool in Shared Library

When working with multiple shared library, Registry is returning wrong component pool. For example-
mRegistery.view is returning a pool of Component B.
I am not able to reproduce this issue on macOS. It is happening in case of shared libs on Android.

There was an issue with older versions of EnTT. However, it was solved with v3.9 (with many tests to guarantee it since then).
Without more details and a proper repro, I can only mark this issue as invalid/solved and close it. I'm sorry. Maybe all you need is to update the library?

Closing this because it has been inactive for a week now and I've not enough details.


Client broadcast not working

As mentioned in the documentation here: http://gosf.io/#client-broadcasts
this method is broadcasting to the sender client as well.
I am sendin socket.emit on this "Register" method of the controller on connecting:
func (controller Auth) Register(client *f.Client, request *f.Request) *f.Message
 {
	response := f.NewSuccessMessage("client registered", nil)
	body := request.Message.Body
	fmt.Println(*request)
	client.Join(body["room"].(string))//this is how it works
	return response
}

When the client sends a message it hits the controller's this method:
func (controller Chatter) SendMessage(client *f.Client, request *f.Request) *f.Message
 {
	body := request.Message.Body
	message := request.Message.Text
	room := body["room"].(string)
	fmt.Println(room)
	fmt.Println(request.Endpoint)
	response := f.NewSuccessMessage(message, body)
	client.Broadcast(room, request.Endpoint, response) // supposed to send only non-sender clients
	return nil
}

socket.emit('chat', {
			id: msgData.id,
			text: msgData.text,
			body: {
				room: roomID
			}
		})

chat endpoint is being listened to send message to other connected clients.
Also, when id is a string, it fails to send. Please add support for string as ID.

hi @ambelovsky  can you please look into this issue we need to use this lib as it has perfectly integrated because of its simplicity.

Yes, I will take a look as soon as I can. You caught me during a vacation.
Enviado do meu iPhone

Em 1 de nov. de 2020, à(s) 7:33 AM, Sudhanshu Monga<EMAIL_ADDRESS>escreveu:

hi @ambelovsky can you please look into this issue we need to use this lib as it has perfectly integrated because of its simplicity.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@ambelovsky thanks a lot and sorry to bother you on vacay.

Looks like we have two separate issues here:

Bug - Client broadcast is including the originating client in broadcast response
Feature Request - Add support for passing a message ID as a string

I'll take a look this week and see what I can do.  Thanks!

Sudhanshumonga,
The bug where a client broadcast is including the originating client has now been fixed.
Please run the following to update your gosf-socketio package:
go get -u "github.com/ambelovsky/gosf-socketio"

Sudhanshumonga,
You can now pass a "uuid" or "guid" instead of or in addition to "id" with your message.  "id" will continue to require an integer, but "uuid" and "guid" can accept string values.
Please update GOSF with the following:
go get -u "github.com/ambelovsky/gosf"
Help support ongoing development effort with a donation to the following BTC wallet: 13pkXi8bW5bKjWewQYtv36CUgwhgQEn7eA

Thanks a lot ambelovsky, will check out the fix!


feat: use explanations to track proposal uniqueness

Fixes #
Changes in this PR:

Improves state management in the UMA module
Tracks whether a specific Snapshot proposal was executed, not just whether a proposal with matching transactions was executed
Cleans up comments and console logs
Uses the unique Snapshot vote IPFS CID as the explanation when proposing transactions to the Optimistic Governor

How to test and review this PR?

Test end-to-end flow on Vercel preview

This looks really good! I have ran through a few proposals and everything has worked as intended.
Were you able to include the Snapshot changes that were merged into the uma branch?


Revert "Use python3.6.3 everywhere"

Reverts pypa/warehouse#2508
Heroku doesn't have this yet, reverting for now.

Relevant bug: https://github.com/heroku/heroku-buildpack-python/issues/482


MM-10486 Add opengraph POSTs to load test

Loadtest Results
Score: 2646.89
The score is the average of the 95th percentile, median and interquartile ranges in the routes below.
Routes
/channels/CID/members

Metric
Actual

Hits
26515

Error Rate
0.00%

Mean Response Time
173.61ms

Median Response Time
13.00ms

95th Percentile
502.50ms

/channels/CID/members/me

Metric
Actual

Hits
20519

Error Rate
0.00%

Mean Response Time
227.93ms

Median Response Time
11.00ms

95th Percentile
615.50ms

/channels/CID/posts

Metric
Actual

Hits
20519

Error Rate
0.00%

Mean Response Time
97.54ms

Median Response Time
11.00ms

95th Percentile
285.00ms

/channels/CID/stats

Metric
Actual

Hits
20519

Error Rate
0.00%

Mean Response Time
126.01ms

Median Response Time
7.00ms

95th Percentile
199.00ms

/channels/members/me/view

Metric
Actual

Hits
20519

Error Rate
0.00%

Mean Response Time
714.07ms

Median Response Time
225.00ms

95th Percentile
3937.50ms

/files

Metric
Actual

Hits
42

Error Rate
0.00%

Mean Response Time
2373.12ms

Median Response Time
1644.50ms

95th Percentile
6504.50ms

/files/PID/thumbnail

Metric
Actual

Hits
2969

Error Rate
0.01%

Mean Response Time
72.72ms

Median Response Time
13.00ms

95th Percentile
205.00ms

/hooks/incoming

Metric
Actual

Hits
603

Error Rate
0.00%

Mean Response Time
495.30ms

Median Response Time
293.00ms

95th Percentile
1289.00ms

/opengraph

Metric
Actual

Hits
164723

Error Rate
0.00%

Mean Response Time
37.52ms

Median Response Time
5.00ms

95th Percentile
78.00ms

/posts

Metric
Actual

Hits
2920

Error Rate
0.00%

Mean Response Time
1196.33ms

Median Response Time
593.50ms

95th Percentile
4869.00ms

/posts/PID/files/info

Metric
Actual

Hits
3683

Error Rate
0.01%

Mean Response Time
47.44ms

Median Response Time
7.00ms

95th Percentile
136.00ms

/teams/TID/channels

Metric
Actual

Hits
2190

Error Rate
0.00%

Mean Response Time
566.98ms

Median Response Time
13.00ms

95th Percentile
4526.00ms

/teams/TID/channels/autocomplete

Metric
Actual

Hits
3083

Error Rate
0.00%

Mean Response Time
770.05ms

Median Response Time
36.00ms

95th Percentile
4463.00ms

/teams/TID/channels/search

Metric
Actual

Hits
30092

Error Rate
0.00%

Mean Response Time
527.23ms

Median Response Time
16.00ms

95th Percentile
3995.50ms

/teams/TID/posts/search

Metric
Actual

Hits
731

Error Rate
0.00%

Mean Response Time
570.06ms

Median Response Time
47.00ms

95th Percentile
4089.50ms

/users/UID/active

Metric
Actual

Hits
6666

Error Rate
0.00%

Mean Response Time
234.67ms

Median Response Time
204.00ms

95th Percentile
401.00ms

/users/email/UID

Metric
Actual

Hits
6666

Error Rate
0.00%

Mean Response Time
12.53ms

Median Response Time
7.00ms

95th Percentile
30.00ms

/users/status/ids

Metric
Actual

Hits
184722

Error Rate
0.00%

Mean Response Time
462.63ms

Median Response Time
7.00ms

95th Percentile
3683.50ms


Alarm: Can not leave the repeat custom menu

with alarm 0.29 and sched 0.11 on Bangle JS2:
how to Reproduce:

open alarm app
select new->Alarm
select Repeat, choose Custom, select/unselect days to repeat
With hardware button go to previous menu. Interface is now frozen.

Error in console:

Uncaught Error: Unknown Watch 1
at line 1 col 13
clearWatch(n);Bangle.removeListener("touch",l);g.reset().cle...
^
in function "remove" called from line 1 col 139
....back&&WIDGETS.back.remove();Bangle.btnWatches&&(Bangle.btnW...
^
in function called from line 15 col 809 in .boot0
sui(mode,cb);if(!mode)return;if("object"==typeof mode)mode=mode.mode;if(!mo...
^
at line 15 col 809 in .boot0
sui(mode,cb);if(!mode)return;if("object"==typeof mode)mode=mode.mode;if(!mo...
^
in function "setUI" called from line 3 col 212
...<=b)&&b<d.c&&d.select(b))}});return e
^
in function called from line 7 col 80
...em(a)}}};s=E.showScroller(n);return r
^
at line 7 col 80
...em(a)}}};s=E.showScroller(n);return r
^
in function called from line 31 col 16 in alarm.app.js
E.showMenu(menu);
^
at line 31 col 16 in alarm.app.js
E.showMenu(menu);
^
in function called from system

@alessandrococco you might want to take a look

@nxdefiant I just tried but I can't replicate the bug :-/ I'm on firmware 2v13.87. What version are you on?

Don't know how to get the minor version (if there is any).

You can see the full version in the About app or you can connect your Bangle to the WEB IDE.

Did you test with the official version in the app loader or your own version?

Official app loader.

Bangle 1 or 2?

Update: Only happens when using the button to go to previous menu, not with the back widget.

Traceback in original post goes to firmware. Updated to "Cutting Edge" Firmware 2v13.123, issue persist.
@gfwilliams Do you have an idea here?

Do you have any other widgets/boot code installed? I'm just wondering whether something else calls clearWatch which would end up removing all watches on all pins, and would give this error.

Update: Only happens when using the button to go to previous menu, not with the back widget.

Yes, now I can replicate it (sorry for being late 😅)

Do you have any other widgets/boot code installed? I'm just wondering whether something else calls clearWatch which would end up removing all watches on all pins, and would give this error.

Nope.
I did some test. I removed all the apps and I installed only boot, launch, antonclk, setting, sched, alarm and the problem is still here ( 2v13.156)

Tested here and latest cutting edge build should be fixed.

Tested here and latest cutting edge build should be fixed.

Thank you, I'll update later!