How to customize map options?

I am trying to change the position of the zoom control by disable the zoom control when map init and add a zoom control with specified position afterwards. Something like this: https://stackoverflow.com/questions/22926512/customize-zoom-in-out-button-in-leaflet-js
But I don't know how to customize map options.
Try to do it like this:
<v-map :zoom="zoom" :center="center" ref="map" :bounds="markerGroup.getBounds()" :padding="[50, 50]" :options="{zoomControl: false}">

But got this error:

Hi @dramaking,
I can't reproduce your issue with the last version.
You can see a working example here
Let me know if it works for you.
Mickaël

Hi @KoRiGaN,
Thank you for your help. It works. Guess we have to pass a data property instead of returning an object.

Hi @dramaking,
Here is an example that also work with just an object.
Don't really know what was wrong in your case as I can't reproduce it.
Can I close this case ?

Hello @KoRiGaN , I reproduce something like this when my options object is a computed properties.
Here, I have an exemple to reproduce.
Maybe my code is not good. What's the good way ?


OOB auth flow is scheduled for deprecation

Just learned about this: https://developers.googleblog.com/2022/02/making-oauth-flows-safer.html?m=1#disallowed-oo

OAuth out-of-band (OOB) is a legacy flow developed to support native clients which do not have a redirect URI like web apps to accept the credentials after a user approves an OAuth consent request. The OOB flow poses a remote phishing risk and clients must migrate to an alternative method to protect against this vulnerability. New clients will be unable to use this flow starting on Feb 28, 2022.
...

Feb 28, 2022 - new OAuth usage will be blocked for the OOB flow
Sep 5, 2022 - a user-facing warning message may be displayed to non-compliant OAuth requests
Oct 3, 2022 - the OOB flow is deprecated for existing clients

From a comment on Hacker News: https://news.ycombinator.com/item?id=30417735

I could switch to the flow for TVs and limited input devices... https://developers.google.com/identity/protocols/oauth2/limited-input-device#identify-access-scopes - but that doesn't appear to allow the scope that I need!

I think what I need to do is fire up a localhost web server and redirect back to that.
The announcement is a little confusing here because it mentions that option being disabled too - but actually they are only disabling that for "iOS, Android and Chrome app OAuth client types".

I always worry about starting a local server for this kind of thing because I want my tools to be usable on a remote server via SSH, where running a web server doesn't make sense since you can't easily run a localhost browser there.
I may have to recommend people create the auth.json file on their local machine with a browser and then scp it to their server to capture that case.

I always worry about starting a local server for this kind of thing because I want my tools to be usable on a remote server via SSH, where running a web server doesn't make sense since you can't easily run a localhost browser there.

What rclone does is provide a special mode rclone authorize to run locally to get the token only so users can but and paste that remotely.

I may have to recommend people create the auth.json file on their local machine with a browser and then scp it to their server to capture that case.

That is the other alternative which we call "copying the config" in the rclone world!

Need to configure things in the console next.

I run into your same issue within my project. Random stuff I'd love to share:

Started an HTTPServer with MyServerHandler as you did
self.path contains both the requested path and the querystring
try to parse query string: qs = parse_qs(self.path[2:])
if code is found in qs, use that for requesting access and refresh token.
show a message to inform user about the results
browsers will make at least an additional request to get the favicon
sys.exit(0) when the flow is done


Finalize release notes for v3.8.0

What

[ ] Write final release notes
[ ] Developer review
[ ] 2i

Who needs to be involved
@m-green and whoever is doing the release

@m-green we think everything that's going in to v3.8 has now been merged, so the changelog should now have everything that needs to be included in the final release notes:
https://github.com/alphagov/govuk-frontend/blob/master/CHANGELOG.md#unreleased

@36degrees Thank you - will take a look now!


Error installing package

[Symfony\Component\Debug\Exception\FatalThrowableError]
Cannot use object of type Illuminate\Console\Scheduling\Schedule as array

After in composer update does not wok .
php artisan command does not work after installing this package.
I removed this package from composer.json . Then it was normal like before.
my composer.json file
{
    "name": "laravel/laravel",
    "description": "The Laravel Framework.",
    "keywords": ["framework", "laravel"],
    "license": "MIT",
    "type": "project",
    "require": {
        "php": ">=5.5.9",
        "laravel/framework": "5.1.*",
        "laravelcollective/html": "5.1.*",
        "zizaco/entrust": "dev-laravel-5",
        "ellipsesynergie/api-response": "^0.12.1",
        "oriceon/oauth-5-laravel": "dev-master",
         "guzzlehttp/guzzle": "4.0",
        "nesbot/carbon": "~1.18",
        "paypal/rest-api-sdk-php": "*",
        "webup/laravel-sendinblue": "^1.0",
        "pion/laravel-chunk-upload": "^0.3.1"
    },
    "require-dev": {
        "fzaninotto/faker": "~1.4",
        "mockery/mockery": "0.9.*",
        "phpunit/phpunit": "~4.0",
        "phpspec/phpspec": "~2.1",
        "laracasts/generators": "^1.1",
        "barryvdh/laravel-ide-helper": "^2.1"
    },
    "autoload": {
        "classmap": [
            "database"
        ],
        "psr-4": {
            "App\\": "app/"
        }
    },
    "autoload-dev": {
        "classmap": [
            "tests/TestCase.php"
        ]
    },
    "scripts": {
        "post-install-cmd": [
            "php artisan clear-compiled",
            "php artisan optimize"
        ],
        "post-update-cmd": [
            "php artisan clear-compiled",
            "php artisan ide-helper:generate",
            "php artisan optimize"
        ],
        "post-root-package-install": [
            "php -r \"copy('.env.example', '.env');\""
        ],
        "post-create-project-cmd": [
            "php artisan key:generate"
        ]
    },
    "config": {
        "preferred-install": "dist"
    }
}

What error were you receiving? I'm curious if this is related to the same issue I'm having?

Hi @masiur, thank you for the bug report. I'm sorry for my late response, had a lot of working.
The issue is fixed. Please upgrade to 0.3.2.
Thank you,


add: fox package

Fox is a cute little utility to help you bootstrap and sample Deno web frameworks, like Oak, Abc, and the like

Can you merge with master?

@lucacasonato merged with master :+1:


post wallet secret input hang

After entering wallet secret the script hangs.  I let it sit for 10 minutes. When I hit enter a 2nd time it shows this output.
codius-install.sh: line 102: read: `[?] Running moneyd in ripple testnet ? [Y/n] ': not a valid identifier
[root@codius ~]#

I have tried entering "Y"  before hitting enter but same issues.

OS INFO
[root@codius ~]# uname -a
Linux codius.zerpgames.com 3.10.0-862.el7.x86_64 #1 SMP Fri Apr 20 16:44:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@codius ~]# cat /etc/centos-release
CentOS Linux release 7.5.1804 (Core)
[root@codius ~]#

Interesting enough the following output moves past that line.

[+] What is your XRP wallet secret (need for moneyd) ?
Wallet Secret: d
[+] What is your Email address ?
Email:

Hey
can you test it again ?

I sure can.  However the commits haven't changed from 18 to 19.  last commit was 7 hours ago.

Im wondering if its me....

[root@codius zerpadmin]# wget https://raw.githubusercontent.com/xrp-community/codius-install/master/codius-install.sh -O codius-install.sh && bash codius-install.sh
--2018-06-10 08:13:45--  https://raw.githubusercontent.com/xrp-community/codius-install/master/codius-install.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8093 (7.9K) [text/plain]
Saving to: â€˜codius-install.shâ€™

100%[======================================================================================================================================================>] 8,093       --.-K/s   in 0s

2018-06-10 08:13:45 (56.8 MB/s) - â€˜codius-install.shâ€™ saved [8093/8093]
Welcome to codius installer!

I need to ask you a few questions before starting the setup.
You can leave the default options and just press enter if you are ok with them.

[+] First, provide the IPv4 address of the network interface
IP address: <IP_ADDRESS>

This server is behind NAT. What is the public IPv4 address?
Public IP address: <IP_ADDRESS>
[+] What is your Codius hostname?
Hostname: codius.zerpgames.com
[+] What is your XRP wallet secret (need for moneyd) ?
Wallet Secret: XXXXXXXXXXXXXXXXXXXXXXXXX
[+] What is your Email address ?
Email<EMAIL_ADDRESS>[root@codius zerpadmin]#

Intresting , I think there is a problem with github , maybe it's cache the files , can you check the file after downloading and see if it's same as the current file in github ?

I just tested it from another site using a brand new install.  Same result as above.   Below is lengthly but I hope it helps.
I checked the hyperd section and it is commit 19.  For some reason a new install of cent os 7 and yum update are not allowing this whole program to run after filling out the questionnaire.  Fails here just before actually trying to install dependency packages >> sudo yum install -y gcc-c++ make epel-release git wget
OUTPUT FOR REFERENCE - bullets should be + but github translated them
`Email<EMAIL_ADDRESS>
[[ -z<EMAIL_ADDRESS>]]
coloredEcho '\n[!] Installing required packages ...\n' green
local 'exp=\n[!] Installing required packages ...\n'
local color=green
[[ green =~ ^[0-9]$ ]]
case $(echo $color | tr '[:upper:]' '[:lower:]') in
++ echo green
++ tr '[:upper:]' '[:lower:]'
color=2
tput setaf 2
[root@app05 ~]# `

**SNIPPET OF CODE SECTION WHERE IT FAILS.**
# Hyperd ==============================================
coloredEcho "\n[!] Installing required packages ...\n" green
sudo yum install -y gcc-c++ make epel-release git wget
coloredEcho "\n[!] Installing Hyperd ...\n" green
curl -sSl https://coiltest.s3.amazonaws.com/upload/latest/hyper-bootstrap.sh | bash

EXTRA INFO - MANUAL APPLICATION
Some notes on another issue when trying to pull manually the hyper-bootstrap.sh file.   I am getting the following:   curl: (23) Failed writing body (3653 != 10835)
Perhaps adding tac to the end as such?
curl -sSl https://coiltest.s3.amazonaws.com/upload/latest/hyper-bootstrap.sh | tac | tac | bash
Even after pulling it down I get no response from bash.  It seems to run then fail immediately with no warning.
[root@app05 ~]# curl -sSl https://coiltest.s3.amazonaws.com/upload/latest/hyper-bootstrap.sh | tac | tac | bash
[root@app05 ~]#
RUNNING IN DEBUG BASH -x"
`[root@app05 ~]# curl -sSl https://coiltest.s3.amazonaws.com/upload/latest/hyper-bootstrap.sh | tac | tac | bash -x
+++ dirname bash
++ cd .
++ pwd

BASE_DIR=/root
cd /root
SLEEP_SEC=10
set -e
++ id -un
CURRENT_USER=root
BOOTSTRAP_DIR=/tmp/hyper-bootstrap-root
BASH_C='bash -c'
S3_URL=https://s3-us-west-1.amazonaws.com/coiltest/upload/latest/
PKG_FILE=hyper-latest.tgz
UNTAR_DIR=hyper-pkg
<EMAIL_ADDRESS>CENTOS7_QEMU_HYPER=qemu-hyper-2.4.1-3.el7.centos.x86_64
CENTOS7_HYPERSTART=hyperstart-1.0.0-1.el7.centos.x86_64
CENTOS7_HYPER=hyper-container-1.0.0-1.el7.centos.x86_64
FC23_HYPERSTART=hyperstart-1.0.0-1.fc25.x86_64
FC23_HYPER=hyper-container-1.0.0-1.fc25.x86_64
DEBIAN_HYPER=hypercontainer_0.8.1-1_amd64
DEBIAN_HYPERSTART=hyperstart_0.8.1-1_amd64
SUPPORT_DISTRO=(debian ubuntu fedora centos linuxmint)
LINUX_MINT_CODE=(rafaela rebecca qiana)
UBUNTU_CODE=(trusty utopic vivid wily xenial)
DEBIAN_CODE=(jessie wheezy)
CENTOS_VER=(6 7)
FEDORA_VER=(20 21 22 23 24 25)
++ tput setaf 1
RED=
[root@app05 ~]# `

Below is a snippet from hyper-bootstrap.sh before it hits the main().  Notice in the debug above that it fails at "RED=" however above that is the value of variable RED= tput setaf 1.  Im not sure if this is bash misprinting it or if bash is reading the script wrong or if thats how it is displayed normally.
SNIPPET FROM THE HYPER-BOOTSTRAP.SH CODE.
########## Constant ########## SUPPORT_DISTRO=(debian ubuntu fedora centos linuxmint) LINUX_MINT_CODE=(rafaela rebecca qiana) UBUNTU_CODE=(trusty utopic vivid wily xenial) DEBIAN_CODE=(jessie wheezy) CENTOS_VER=(6 7) FEDORA_VER=(20 21 22 23 24 25) #Color Constant RED=tput setaf 1 GREEN=tput setaf 2 YELLOW=tput setaf 3 BLUE=tput setaf 4 WHITE=tput setaf 7 LIGHT=tput bold  **RESET=tput sgr0** #Error Message

We can close this out.  The issue was related to the hyper-bootstrap.sh file in this instance.  The variables RED, BLUE, etc were using "old syntax" and my CentOS 7 did not like the ' ' but instead wanted ()

@therippening Hey man, I see that you closed this, but I am running into the issue. Not very experienced with code or debugging at all, but I am very interested in learning more about the syntax as well as dabbling with a codius host. Is there any way you could point me in the right direction for solving this issue? It would be much appreciated!


Ability to see Extension Size

Type: Feature Request
Extension size indicator within extensions marketplace may help users conserve storage space and metered networks.
VS Code version: Code 1.89.1 (dc96b837cf6bb4af9cd736aa3af08cf8279f7685, 2024-05-07T05:13:33.891Z)
OS version: Windows_NT x64 10.0.19045
Modes:

Hi @PhrotonX
Thanks for sharing the feedback. We will review it and follow up to determine the best way to address it.
-VS Marketplace Team


Make it work with Github CI

I adapted the code to make it working with the currently used Github CI
I'll comment the code to explains what I changed and why
As you can see the build passe on both Travis and Github

nice! do you mind removing the whitespace-only changes on the other files?

@ladyada I made no changes on the others files I don't know what happenned i'll try to revert those

thanks, i marked which ones they are

thank you! last question, there's build.sh - can we not use install.sh?

@ladyada Github do not seem to be able to call a sourced function and after trying to make a messy condition into install.sh i thought it was a better way to separate them but if you know a clean way to merge them, still calling build from argument an not repeating install, I can apply it
I was thinking of something like this
If [No arguments]
Then
 //Install
Else
//Declare functions
//call function argv
If

But I didn't manage to make it work, I do not tried a lot because I thought it was messy

This way it throw Permission denied on both Github and Travis

Ok maybe a chmod issue I'll try again

mode change 100644 => 100755 install.sh
Now this should work, it does on my local machine

@ladyada
So it work on both Github and travis with only install.sh file

ok we'll try it! thank you so much :)

It worked, the commit have the green mark, nice


problem 4

Using Jest (https://jestjs.io/ and https://github.com/jestjs/jest), write unit tests to ensure that the core functionality of the web frontend of your song rating app is fully functional.


[SPARK-27576][SQL] table capability to skip the output column resolution

What changes were proposed in this pull request?
Currently we have an analyzer rule, which resolves the output columns of data source v2 writing plans, to make sure the schema of input query is compatible with the table.
However, not all data sources need this check. For example, the NoopDataSource doesn't care about the schema of input query at all.
This PR introduces a new table capability: ACCEPT_ANY_SCHEMA. If a table reports this capability, we skip resolving output columns for it during write.
Note that, we already skip resolving output columns for NoopDataSource because it implements SupportsSaveMode. However, SupportsSaveMode is a hack and will be removed soon.
How was this patch tested?
new test cases

cc @rdblue @gengliangwang @gatorsmile

Test build #104937 has started for PR 24469 at commit 65cefd3.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/10241/
Test PASSed.

Test build #104937 has finished for PR 24469 at commit 65cefd3.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/104937/
Test PASSed.

Retest this please.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/10314/
Test PASSed.

Test build #105020 has started for PR 24469 at commit 65cefd3.

Test build #105020 has finished for PR 24469 at commit 65cefd3.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/105020/
Test PASSed.

Hi @rdblue , I think we need to make an exception now.
https://github.com/apache/spark/pull/24233 removes SupportsSaveMode, but it has a hack to bypass the schema check for tables that reports empty schema.
To get rid of that hack, this PR adds a new table capability to bypass the schema check. However, this PR has a hack in NamedRelation because the v2 relation is not available in the catalyst.
To remove the hack in this PR, https://github.com/apache/spark/pull/24416 was created to move data source v2 to catalyst. However, #24416 is blocked because SupportsSaveMode refers to SaveMode which is in sql/core.
I think we need to merge either #24233 or this PR first, even it has a hack. Do you have a better idea?

@cloud-fan, I think the cleanest way to fix it is to commit this PR with the new method in NamedRelation. That should unblock the other PRs and we can remove NamedRelation in #24416.
Does that work for you?

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/10709/
Test PASSed.

Test build #105446 has started for PR 24469 at commit 31ce720.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/10710/
Test PASSed.

Test build #105447 has started for PR 24469 at commit 15a02f6.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/105446/
Test PASSed.

Test build #105447 has finished for PR 24469 at commit 15a02f6.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/105447/
Test PASSed.

+1 from me to unblock the circular dependency.
@dongjoon-hyun, does this look okay to you?

Thank you for asking. Yes. This looks good to me, too. My comments are also addressed. :)


Add support for User Messaging Platform SDK on Android

Description

Provide details of the change, and generalize the change in the PR title above.

Android implementation of UMP, mostly via a ConsentInfoHelper class.
Also adds OperationInProgress errors to iOS SDK.

Testing

Describe how you've tested these changes. Link any manually triggered Integration tests or CPP binary SDK Packaging Github Action workflows, if applicable.

Integration tests running in this PR, plus manual testing on Android emulator.

Type of Change
Place an x the applicable box:

[ ] Bug fix. Add the issue # below if applicable.
[X] New feature. A non-breaking change which adds functionality.
[ ] Other, such as a build process or documentation change.

Notes

Bug fixes and feature changes require an update to the Release Notes section of release_build_files/readme.md.
Read the contribution guidelines CONTRIBUTING.md.
Changes to the public API require an internal API review. If you'd like to help us make Firebase APIs better, please propose your change in a feature request so that we can discuss it together.

PTAL for code changes - although there is a build hang issue on Windows that I need to figure out before merging this.


Multiple navigation destinations aren't working as expected

Description
We have a screen that can trigger a long-running operation, and this navigates the user to a loading screen. After the operation is finished, automatic navigation to the result screen is triggered.
Checklist

[X] I have determined whether this bug is also reproducible in a vanilla SwiftUI project.
[X] If possible, I've reproduced the issue using the main branch of this package.
[X] This issue hasn't been addressed in an existing GitHub issue or discussion.

Expected behavior
After the operation is finished, the user is navigated to a result screen.
Actual behavior
The behavior is unstable, sometimes I get navigated to the result screen successfully, and sometimes I get popped back to the screen that triggers the operation.
Steps to reproduce
Here's a sample project. It uses both vanilla SwiftUI .navigationDestination and .navigationDestination from SwiftUI-Navigation. Changing .navigationDestination to .fullscreenCover for loading screen makes behavior even more weird when even operation triggering screen can be poped from navigation stack.
NavigationTest.zip
SwiftUI Navigation version information
1.0.0
Destination operating system
16.4
Xcode version information
Version 14.3.1 (14E300c)
Swift Compiler version information
xcrun swiftc --version
swift-driver version: 1.75.2 Apple Swift version 5.8.1 (swiftlang-<IP_ADDRESS>.5 clang-14<IP_ADDRESS>.100)
Target: arm64-apple-macosx13.0

Hi @olehpidhi, this is unfortunately just another bug in SwiftUI navigation and is reproducible in vanilla SwiftUI navigation.
First, note that although you seem to have found a work around with your ad-hoc isPresented bindings here:
//With setter doing nothing navigation works as expected
.navigationDestination(isPresented: Binding<Bool>(get: {
    viewModel.destination == .destination3
}, set: { isPresented in
  print(isPresented)
}), destination: {
    Rectangle().foregroundColor(.cyan)
})
.navigationDestination(isPresented: Binding<Bool>(get: {
    viewModel.destination == .destinationLoading
}, set: { isPresented in
  print(isPresented)
}), destination: {
    Rectangle().foregroundColor(.brown)
})

…this only causes other problems. You must implement the set in the binding, otherwise your data model will get out of sync with SwiftUI. And you can see this for yourself by running the demo, tapping "1", tapping "2", waiting for the blue screen to appear, and then tapping "Back". At that moment view 2's destination should be nil, but it's actually destination3. So now SwiftUI is in an inconsistent state.
If you update the set in the bindings to actually perform the correct logic so that SwiftUI does not get out of sync with your model:
.navigationDestination(isPresented: Binding<Bool>(get: {
    viewModel.destination == .destination3
}, set: { isPresented in
  viewModel.destination = isPresented ? .destination3 : nil  // ⬅
}), destination: {
    Rectangle().foregroundColor(.cyan)
})
.navigationDestination(isPresented: Binding<Bool>(get: {
    viewModel.destination == .destinationLoading
}, set: { isPresented in
  viewModel.destination = isPresented ? .destinationLoading : nil  // ⬅
}), destination: {
    Rectangle().foregroundColor(.brown)
})

…then you will see the exact same problem that you see with our navigationDestination(unwrapping:case:). And it's not that surprising because our method just calls down to navigationDestination(isPresented:) under the hood. They really shouldn't differ in behavior.
The unfortunate reality is that navigationDestination(isPresented:) is really buggy in iOS 16. Things got a little better in iOS 17, but there are still some bugs. Your example does run correctly in iOS 17, but only if you swap the order of the navigationDestination modifiers so that destinationLoading comes before destination3:
.navigationDestination(unwrapping: $viewModel.destination, case: /ViewModel2.Destination.destinationLoading) { $model in
  …
}
.navigationDestination(unwrapping: $viewModel.destination, case: /ViewModel2.Destination.destination3) { $model in
  …
}

Don't ask me why, I have no idea. 😅
Since this is not an issue with the library I am going to convert it to a discussion.


Structured trace PoC

Add pathways for executing Honk and/or PG with a structured trace plus tests that utilize them. This will be extremely memory/computation inefficient without all of the other optimizations but should be acceptable for a small test suite. This allows us to begin testing the structured trace logic without a full commitment to it. It also allows us to benchmark various optimizations as they go in. (We likely want to have both structured and unstructured options in perpetuity anyway).

Closed with PR #5853


Plugin broken - collab?

Hi - your plugin is broken due to a recent update. There was a PR opened 5 days ago that fixes this https://github.com/rtaylor4444/UltimateVolcanicMine/pull/28
Would you be open to adding me as a collaborating on this plugin to ensure it continues to function as expected? If not, I'd appreciate it if you merged in the above-linked PR to ensure the plugin can be used again.
Thank you!

I see the issue has been resolved - hope you had a great thanksgiving :turkey: :heart:


Add contributing workflow to docs

I think we should add document that will help users to contribute to the project. Doc should explain user what we expect in PR/review process and should explain how to do some actions. In my opinion it should have:

Link to how to build kubicorn.
Formatting code (make gofmt).
Linting code (make lint).
Vendoring dependecies (how to install dep, how to vendor, how to update)
Adding headers to *.go files (make check-header, make headers).
Maybe policy about testing stuff.

If you have suggestions, please leave them in comments.

Can we just expand this one? https://github.com/kris-nova/kubicorn/blob/master/CONTRIBUTING.md


Support RFC-7617

RFC-7617 updates the rules of Basic Authentication: now it gained support of optional charset parameter which defined the expected encoding of user credential. Previously, RFC-2616 only allowed to use ISO-8859-1 here, but de facto all major browsers and servers already provided support of UTF-8 in-place of ISO-8859-1. Now this behaviour get legalized and we can support it.

charset is WWW-Authenticate parameter, we don't rely on it in client code.
@kxepal do you suggest just switching encoding default to 'utf-8' in https://github.com/KeepSafe/aiohttp/blob/master/aiohttp/helpers.py#L33 line?

I actually found this support a bit complicated. aiohttp indeed doesn't handles WWW-Authenticate header in anyway, so the idea was to just introduce some callback that will handle it and provide basic auth credentials. Like what browsers do. Quite useful, but...
Spec tells that default should remains latin1 while the only valid charset parameter is UTF-8. Ok. But, most of servers ignores all the specs and uses UTF-8 by default (however, we still have deviations) while actually nobody follows the new rules now. So implementing RFC-7617 support right actually breaks everything and we're returning to direct specification of what charset to use. What makes this feature a little bit, but completely broken.
Basically, situation here is the same as with http client from stdlib (and related discussion about on python dev ml): doing right things makes life harder. Changing the default is from the same opera: UTF-8 is good intention, but it's not what spec tells us to do. Sad panda.

Let's close the issue then.

Ok with that.


HR-8 Sync model rotation

Now a model can be loaded on the canvas using a model ID.
Improvements missing:

Sync model zoom (missing Unity API)
Sync waypoints (missing Unity API)
Remove the default model (in Unity)
Add loading indicator while downloading/loading model (in Unity)

I agree with your suggestion @httom111 so I added an example input of "lung1"


Use prop-types package instead of React.PropTypes

In response to warnings appearing when using React 15.5+

Actually its suggested to place it in dependencies.
A quote from the library page.
For libraries, we also recommend leaving it in dependencies:

  "dependencies": {
    "prop-types": "^15.5.0"
  },
  "peerDependencies": {
    "react": "^15.5.0"
  }

https://www.npmjs.com/package/prop-types

Yeah thanks @ssilve1989 and @audiolion , merging


Verify content fetched from racing http gateways

While doing some local network fetching, I encountered this error: curl http://localhost:9050/ipfs/CID failed to return the expected content but returned that:

<title>504 Gateway Time-out</title>

504 Gateway Time-out

openresty

This is a combination of 2 errors:

Failure to verify the CID hash since that's not the expected content!
Failure to consider non 2xx response from gateways as errors.

This patch fixes both, and we now get the timeout from the local gateway as expected:
curl http://localhost:9050/ipfs/bafkreibimdxekc6ebparbv3pp2hrcfzib7m42ysvzis3djdlumflidnkky
{"code":504,"message":"request timed out","success":false}

cc @b5 since I think you touched that last.

The content_loader in there should be replaced with a configured version of the FullLoader in iroh-resolver. It has this fix already and integrates racing gateways and other transports including indexers.

https://github.com/n0-computer/iroh/blob/main/iroh-resolver/src/content_loader.rs#L45

At least I thought I did..seems I missed adding this when I worked on that code. This fix really needs to get into the FullLoader...

Sorry for my earlier confused content, this is important and very unfortunate that I missed this. Thank you for catching this.


updating image format in olm create bundle to match the new image format

Issue #, if available:
fixes aws-controllers-k8s/community#970
Description of changes:
Update olm-create-bundle script to follow new image formate. This code follows the same format/intent as the containerImage template code.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/lgtm


[Android] Opus recordings sounding like filtered

Opus recordings are sounding more like filtered (noisy) rather than natural. I changed only these few things in the settings:
Channels: Mono
Bitrate: 32 kbps
Sample rate: 48000 hz
I compared its produced Opus sound with other recorders (recforge, record you), but Phiola's output is like filtered or thinned out. I tested other encoder (AAC-LC) sound and it's fine.

Is this on Android?  Which CPU arch?  Does the problem persist if you record with default settings?  Most probably phiola's sample rate conversion is the reason (Opus requires 48khz rate, while AAC doesn't) - I will test this once again on my device.

Is this on Android? Which CPU arch? Does the problem persist if you record with default settings? Most probably phiola's sample rate conversion is the reason (Opus requires 48khz rate, while AAC doesn't) - I will test this once again on my device.

Yes, on Android11. Device is a Samsung Galaxy.
It's ARM64 supported.
With default settings, the sound quality is natural. (It's only with OPUS that the sound output seems filtered. It's like when in cancelling or suppressing background noise, the audio quality gets thinned out or looses its original or natural sound quality.)

It's only with OPUS that the sound output seems filtered

I've just tested voice recording on my arm64 device, and Opus sounds the same as AAC-LC to me (both not great quality sound, to be honest).
My settings:

Channels: Default
Sample Rate: Default
Encoder: Opus
Bitrate: 32
Buffer Length: 500
Dynamic Audio Normalizer: Disabled
Gain: 0
Please check once again - do you have the exactly same settings?

Also, the Opus encoder used for recording in phiola is the same code that is used for conversion.
So we can easily test it on your device if you select some good quality audio track (say, 320kbps mp3) and convert it to Opus 128kbps using phiola.
It will produce very good quality file, it sounds just like the original.
Now try to convert the same 320kbps mp3 file to Opus 32kbps, and immediately we can tell the difference - 32kbps is not enough for good quality sound.
What I mean is that you can try to set 128kbps Opus quality for your recording - does it sound fine then?

Please check once again - do you have the exactly same settings?

I reinstalled the app and tried again, now it is okay. Maybe I have done something wrong in the settings earlier.

both not great quality sound, to be honest

Actually, I need to record my lectures daily. OPUS 32kbps (mono) does maintain well in both quality and data consuming. In case of high-quality recording, WhatsApp does not allow sending more than 16MB single audio file(s). So, I found this OPUS setup very good in such circumstance. It takes hardly 10MB for a 40-minute lecture/dictation recording. 🙂

What I mean is that you can try to set 128kbps Opus quality for your recording - does it sound fine then?

128kbps (stereo) in opus is matchless. I have all my music files in OPUS in 128kbps.
Thanks, dear.

now it is okay

Glad to hear that!
I can only guess your problem was due to "Dynamic Audio Normalizer: Enabled" setting.

OPUS 32kbps (mono)

Just in case you didn't know: Opus-VOIP mode (also supported by phiola) should provide even better quality for voice recordings with ultra-low bitrate settings.


Request latency increase under high load

From trinidad 0.9.2 to trinidad 1.2.3, there seems to be a regression with respect to the latency when there is considerable amount of traffic (e.g. 100 requests per second). The old trinidad performs fine and maybe needs 20 millisecond, nearly independent of how much load there is. The curren trinidad needs 50 millisecond without any load, but it needs about 2000 millisecond with load. Thus, for high-traffic applications, trinidad 1.2.3 does not seem to be usable.

Well, the issue at hand was apparently

that the number of connections reached the default limit due to slow latency of the application (due to JIT compiling at the start, presumably) and
the effect of bug https://github.com/nahi/httpclient/issues/68 at the side of the HTTP client (which effectively means that once a connection is open, it is held open forever) and
a kind of (default?) HTTP queueing behaviour of trinidad (or Tomcat) such that in this connection overload case, there are only few free workers to handle new HTTP requests, which means that still TCP connections are accepted, but not handled promptly.

The last behaviour is suboptimal (in my case), as from the client side point of view, the service is slow, but there are no connection rejections (leading to increased resource usage at the client side, as more requests needs to be handled in parallel). Furthermore, on the server side, many parameters like CPU load or requests per second are within "known good" ranges (because the CPU load is comparably low because most workers are just waiting for more data through existing TCP connections, which only happens once in a while; and the requests per second are still at a comparatively good level, because there are still some workers which do all the work).
It would be better if in such a "worker overload" case connections which cannot be served promptly are rejected, notifying an error condition to the HTTP client (and allowing the HTTP client to release resources associated with the request).


Projects from other divisions are not all synchronized

Hi,
First of all, thank you for keeping the C# SDK alive!
I'm having issues with syncing projects from different divisions. Projects for the main (default) division are being synchronized without issue. However for the couple of other divisions only some projects are being synced. It will sync a couple, then skip a random number and so on. We have checked the non-syncing projects in Exact but cannot find any clue on why those particular projects are not being synced.
I'm not applying any filters, just straight up fetching all projects from all divisions. I've attached a snippet of the code I'm using.
Thank you in advance.
await _exactOnlineService.InitializeClient();

await _exactOnlineService.Client!.InitializeDivisionAsync(cancellationToken);

await _exactOnlineService.Database.InitializeDatabaseAsync(cancellationToken);

await _exactOnlineService.Client.SynchronizeWithAsync<SystemBase.Division>(_exactOnlineService.Database, ModelInfo.For<SystemBase.Division>().FieldNames(true), ct: cancellationToken);

var divisions = await _mediator.Send(new List.Query(), cancellationToken);

foreach (var division in divisions)
{
    await _exactOnlineService.InitializeClient(division.Id);

    await _exactOnlineService.Client.InitializeDivisionAsync(cancellationToken);

    await _exactOnlineService.Client.SynchronizeWithAsync<Project>(_exactOnlineService.Database, ModelInfo.For<Project>().FieldNames(true), ct: cancellationToken);
    await _exactOnlineService.Client.SynchronizeWithAsync<Account>(_exactOnlineService.Database, ModelInfo.For<Account>().FieldNames(true), ct: cancellationToken);
    await _exactOnlineService.Client.SynchronizeWithAsync<Item>(_exactOnlineService.Database, ModelInfo.For<Item>().FieldNames(true), ct: cancellationToken);
    await _exactOnlineService.Client.SynchronizeWithAsync<SalesItemPrice>(_exactOnlineService.Database, ModelInfo.For<SalesItemPrice>().FieldNames(true), ct: cancellationToken);
}

Hmm not sure... could it have something to do with permissions perhaps? Maybe the account you're using to log in doesn't have access to those divisions?
I have added logging in the latest version. You can pass an ILogger in the client constructor. If you set the minimumlevel to Debug, you should see the requests (and responses) that are executed. Maybe that can help to debug this further?

I was thinking the same thing initially, but some projects (even new ones that just got created) are syncing. I'll try debugging with the logger, thank you.

Apologies for the delayed follow-up. I've found the following filter being added to the /Projects GET call.
...$filter=Modified+gt+datetime'2023-11-13T19:49:18.3630000'&$select...
Is there a reason why this  is being added by default and is there a way to disable it?
My guess is that projects are only getting synced when they have been modified once. So new projects are not being synced until they've been actually modified, does this sound plausible?

This is what "synchronization" does by default. A so called "incremental" sync. It looks in the target table for the last modified datetime, and uses that to only grab the things that are updated after that date.
It does it like this for all entities. It's a bit different for entities that support the "sync" feature (from exact online). There the "timestamp" value is used to filter instead.
If you want to do a "non incremental" or "full" sync, you have to truncate the target table first. Or at least, that's how I've implemented it in the project where I'm using this library.

I'm not quite sure why the projects didn't sync in the first place then. The specific tables were empty on initial sync. Maybe I had some kind of bug in my code when the first sync happened and that propagated in the issue I'm seeing now.
I'll have to look into how to truncate the target table while maintaining existing records that had a relation with a project and "re-attach" them afterwards.
Anways, thank you for your insights.


PEP 740 persistence, take 3

WIP.
Action plan:

[ ] Make a separate PR for the models + migration, to eliminate the zippered reverts that we've had to do in the past.

[ ] https://github.com/pypi/warehouse/pull/16625

[ ] Make a separate PR with an appropriate admin flag for disabling provenance persistence.
[ ] Investigate the other action items in #16623

This reverts commit b6cf775fe6e48c5cdc6d0ef145972da57a1156a3.

I discussed the architectural challenges here a bit with @ewdurbin, and we came to the conclusion that the current scale/scope and expected volume doesn't warrant the complexity that's coming from the attestations feature needing to interact with object storage.
Given that files can currently only have a single attestation, our current conclusion is that the DB should contain a Provenance model, which in turn bears the individual attestation objects/bundles as members of a JSONB list.
In other words, the current data model of File -> [Attestation] will become File -> Provenance?, where Provenance tracks an interior set of attestation bundles as JSONB.

Hm, I think I came to a slightly different mental model than you.
I imagined immutable Attestation objects remaining as a concrete-db-backed model and Provenance being rendered from all attestations related to a file by joining them up then generating a hash. Bonus: this retains the ability for additional attestations to be added down the line.

I imagined immutable Attestation objects remaining as a concrete-db-backed model and Provenance being rendered from all attestations related to a file by joining them up then generating a hash. Bonus: this retains the ability for additional attestations to be added down the line.

I messed around with this a bit, but it has the "lifecycle" problem that our earlier design (which avoided persisting provenance objects to artifact storage at all) had: the provenance object needs access to the uploading request object to persist the appropriate Trusted Publisher metadata + claims. We could generate it outside of that request context, but doing so requires another mechanism to hold onto that request state. That becomes especially annoying with the OIDC claims, since those are a free-structured dict that aren't part of the TP state itself 😅
I'm halfway through rebasing this PR on top of #16625, which will hopefully make it a lot simpler and demonstrate how I think (I hope) we can still do mutability while sticking to only a single concrete DB-backed Provenance model.

Superseded by #16801.


[BUG]: Cannot save model config

Save is greyed out, can only Save As.

@kevin Please update the copy in the test to match the operator feature.

Not enough info here, reopen if needed


More tests for siteset

Since operator always throws anyway...

Codecov Report

Merging #29 into master will increase coverage by 0.22%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #29      +/-   ##
==========================================
+ Coverage   79.73%   79.96%   +0.22%
==========================================
  Files          26       26
  Lines        2058     2061       +3
==========================================
+ Hits         1641     1648       +7
+ Misses        417      413       -4

Impacted Files
Coverage Δ

src/mps/siteset.jl
91.89% <100%> (+20.83%)
:arrow_up:

src/physics/lattices.jl
90% <0%> (-10%)
:arrow_down:

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 4374d35...78e35d5. Read the comment docs.


TypeError: invalid type promotion

Bug/Feature Request Title
When I run dfs without specifying transform primitives, it works fine. But when I specified the parameters trans_primitives in dfs(), it fails with the error massage invalid type promotion. Is it because my featureools version is 0.12.0, but some tranform primitive are for 0.13.0? Thank youu for your help

Hi @jeremite , thanks for the report.
Could you share the full stack trace of the error message and the parameters you used for the dfs call?  It would help us debug your issue.

Hi @rwedge ,below is the error message, the problem is due to trans_primitives=tfm_pmt, tfm_pmt is a list of all the transform primitives.
TypeError                                 Traceback (most recent call last)
 in
4                                 agg_primitives=agg_used,
5                                 trans_primitives=tfm_pmt,
----> 6                                 where_primitives=whr_pmts)
~/dss/code-envs/python/travis/local/lib/python3.6/dist-packages/featuretools/utils/entry_point.py in function_wrapper(*args, **kwargs)
38                     ep.on_error(error=e,
39                                 runtime=runtime)
---> 40                 raise e
41
42             # send return value
~/dss/code-envs/python/travis/local/lib/python3.6/dist-packages/featuretools/utils/entry_point.py in function_wrapper(*args, **kwargs)
30                 # call function
31                 start = time.time()
---> 32                 return_value = func(*args, **kwargs)
33                 runtime = time.time() - start
34             except Exception as e:
~/dss/code-envs/python/travis/local/lib/python3.6/dist-packages/featuretools/synthesis/dfs.py in dfs(entities, relationships, entityset, target_entity, cutoff_time, instance_ids, agg_primitives, trans_primitives, groupby_trans_primitives, allowed_paths, max_depth, ignore_entities, ignore_variables, primitive_options, seed_features, drop_contains, drop_exact, where_primitives, max_features, cutoff_time_in_index, save_progress, features_only, training_window, approximate, chunk_size, n_jobs, dask_kwargs, verbose, return_variable_types, progress_callback)
274                                                   dask_kwargs=dask_kwargs,
275                                                   verbose=verbose,
--> 276                                                   progress_callback=progress_callback)
277     return feature_matrix, features
~/dss/code-envs/python/travis/local/lib/python3.6/dist-packages/featuretools/computational_backends/calculate_feature_matrix.py in calculate_feature_matrix(features, entityset, cutoff_time, instance_ids, entities, relationships, cutoff_time_in_index, training_window, approximate, save_progress, verbose, chunk_size, n_jobs, dask_kwargs, progress_callback)
278                                          pass_columns=pass_columns,
279                                          progress_bar=progress_bar,
--> 280                                          progress_callback=progress_callback)
281
282     # ensure rows are sorted by input order
~/dss/code-envs/python/travis/local/lib/python3.6/dist-packages/featuretools/computational_backends/calculate_feature_matrix.py in calculate_chunk(cutoff_time, chunk_size, feature_set, entityset, approximate, training_window, save_progress, no_unapproximated_aggs, cutoff_df_time_var, target_time, pass_columns, progress_bar, progress_callback)
374                                            ids,
375                                            precalculated_features=precalculated_features_trie,
--> 376                                            training_window=window)
377
378             id_name = _feature_matrix.index.name
~/dss/code-envs/python/travis/local/lib/python3.6/dist-packages/featuretools/computational_backends/utils.py in wrapped(*args, **kwargs)
30         def wrapped(*args, **kwargs):
31             if save_progress is None:
---> 32                 r = method(*args, **kwargs)
33             else:
34                 time = args[0].to_pydatetime()
~/dss/code-envs/python/travis/local/lib/python3.6/dist-packages/featuretools/computational_backends/calculate_feature_matrix.py in calc_results(time_last, ids, precalculated_features, training_window)
345                                               training_window=training_window,
346                                               precalculated_features=precalculated_features)
--> 347             matrix = calculator.run(ids, progress_callback=update_progress_callback)
348             return matrix
349
~/dss/code-envs/python/travis/local/lib/python3.6/dist-packages/featuretools/computational_backends/feature_set_calculator.py in run(self, instance_ids, progress_callback)
109                                             filter_variable=target_entity.index,
110                                             filter_values=instance_ids,
--> 111                                             progress_callback=progress_callback)
112
113         # The dataframe for the target entity should be stored at the root of
~/dss/code-envs/python/travis/local/lib/python3.6/dist-packages/featuretools/computational_backends/feature_set_calculator.py in _calculate_features_for_entity(self, entity_id, feature_trie, df_trie, full_entity_df_trie, precalculated_trie, filter_variable, filter_values, parent_data, progress_callback)
258                 filter_values=sub_filter_values,
259                 parent_data=parent_data,
--> 260                 progress_callback=progress_callback)
261
262         # Step 4: Calculate the features for this entity.
~/dss/code-envs/python/travis/local/lib/python3.6/dist-packages/featuretools/computational_backends/feature_set_calculator.py in _calculate_features_for_entity(self, entity_id, feature_trie, df_trie, full_entity_df_trie, precalculated_trie, filter_variable, filter_values, parent_data, progress_callback)
292
293         # Calculate all features that don't require the full entity.
--> 294         df = self._calculate_features(df, df_trie, not_full_entity_features, progress_callback)
295
296         # Step 5: Store the dataframe for this entity at the root of df_trie, so
~/dss/code-envs/python/travis/local/lib/python3.6/dist-packages/featuretools/computational_backends/feature_set_calculator.py in _calculate_features(self, df, df_trie, features, progress_callback)
307             representative_feature = group[0]
308             handler = self._feature_type_handler(representative_feature)
--> 309             df = handler(group, df, df_trie, progress_callback)
310
311         return df
~/dss/code-envs/python/travis/local/lib/python3.6/dist-packages/featuretools/computational_backends/feature_set_calculator.py in _calculate_transform_features(self, features, frame, _df_trie, progress_callback)
420                 values = feature_func(*variable_data, time=self.time_last)
421             else:
--> 422                 values = feature_func(*variable_data)
423
424             # if we don't get just the values, the assignment breaks when indexes don't match
TypeError: invalid type promotion

here is the dfs I used: dfs_res =  ft.dfs(target_entity='target_table',
entityset=es,
agg_primitives=agg_used,
trans_primitives=tfm_pmt,
where_primitives=whr_pmts)

@jeremite , thanks for the additional info.  From the stack trace it appears the error is happening while applying one of the transform primitive functions.  My initial guess is that the data in one of the columns can't be transformed properly for some reason.
You mentioned you are using featuretools 0.12, is it possible for you to upgrade to the latest release of featuretools (0.13.1) and check if that resolves the problem?
Beyond that,  I think the next thing to do would be to identify which primitive and columns combination is causing this error.

@jeremite can you see if this issue still occurs with the latest release of Featuretools?  We've made some fixes since then that might address this problem. Feel free to re-open if this is a still a problem and you can give us a runnable example


Upgrade rails - schema dump

Update the schema from the UAT database, so it's generated using the correct Rails version.
Had to remove a couple of tables that seem to be in UAT but not prod - 'teams' and 'procedures' - not sure where they came from.

If the db:schema:load works then you will be ok.
I think I had an issue with this or something similar as it wasn’t recognised.
On 20 Jul 2022, at 13:48, KatyTaylor<EMAIL_ADDRESS>wrote:
@KatyTaylor commented on this pull request.

In db/schema.rb [github.com]https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_sanger_sm-5Fworkflow-5Flims_pull_220-23discussion-5Fr925565066&d=DwMCaQ&c=D7ByGjS34AllFgecYw0iC6Zq7qlm8uclZFI0SqQnqBo&r=PioAYl_Zz9lnGwJRms8MsEB0E-grNRW-ut-_gAGl70g&m=eExmWWHJLUTUUhGNbT5dwDvVH0AMaZNeDKUBKBxEwUzoQCslhzCLiJjLiF-5Dmky&s=-Nf-PWhOrxeabJh6fuQqutIYU4HOfTF37RMJ-h4QuPQ&e=:

create_table "asset_types", id: :integer, force: :cascade do |t|
t.string   "name",                 limit: 255,                          null: false
t.string   "identifier_type",      limit: 255,                          null: false
t.boolean  "has_sample_count",                 default: false,          null: false

create_table "asset_types", id: :integer, charset: "utf8", collation: "utf8_unicode_ci", force: :cascade do |t|

Not familiar with collation. How would I test it? Trying to google...
—
Reply to this email directly, view it on GitHub [github.com]https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_sanger_sm-5Fworkflow-5Flims_pull_220-23discussion-5Fr925565066&d=DwMCaQ&c=D7ByGjS34AllFgecYw0iC6Zq7qlm8uclZFI0SqQnqBo&r=PioAYl_Zz9lnGwJRms8MsEB0E-grNRW-ut-_gAGl70g&m=eExmWWHJLUTUUhGNbT5dwDvVH0AMaZNeDKUBKBxEwUzoQCslhzCLiJjLiF-5Dmky&s=-Nf-PWhOrxeabJh6fuQqutIYU4HOfTF37RMJ-h4QuPQ&e=, or unsubscribe [github.com]https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AAD6ZH2R5L5JJS66MHWM6WTVU7YSRANCNFSM534TJVVA&d=DwMCaQ&c=D7ByGjS34AllFgecYw0iC6Zq7qlm8uclZFI0SqQnqBo&r=PioAYl_Zz9lnGwJRms8MsEB0E-grNRW-ut-_gAGl70g&m=eExmWWHJLUTUUhGNbT5dwDvVH0AMaZNeDKUBKBxEwUzoQCslhzCLiJjLiF-5Dmky&s=vSncCrxF31fDJxWtFOuXkDJUlaLuIRILxsOX4HDBeJQ&e=.
You are receiving this because your review was requested.Message ID: @.***>
--
The Wellcome Sanger Institute is operated by Genome Research
Limited, a charity registered in England with number 1021457 and a
company registered in England with number 2742969, whose registered
office is 215 Euston Road, London, NW1 2BE.


To send a picture I am obliged to add a text and I would like to add only the picture.

I resolve this issue, check "Image sending problem #22"


App Service service principal - Global? - Is this a secure approach

Under the sub heading "Deploy web app certificate from Key Vault" it says:
"If your template includes a Microsoft.Web/certificates resource for SSL binding, and the certificate is stored in a Key Vault, you must make sure the App Service identity can access the certificate.
In global Azure, the App Service service principal has the ID of abfa0a7c-a6b6-4736-8310-5855508787cd. To grant access to Key Vault for the App Service service principal"
I'm struggling to find further information on this approach. My concerns are over the level of privilege I'm giving to my Key Vault. If I give the global App Service service principal access to my key vault does that then mean that all app services running in my directory (any subscription??) can therefore access that Key Vault. Ideally I would have preferred the access policy to be more locked down to a specific App Service. I'm wondering if my assumptions here are correct?

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

ID: a8e2aa01-a886-0ba0-63b7-ddd32fc36601
Version Independent ID: 0d14c0b5-407d-7c6c-3d26-76094a70ffd4
Content: Guidance on deploying apps with templates - Azure App Service
Content Source: articles/app-service/deploy-resource-manager-template.md
Service: app-service
GitHub Login: @tfitzmac
Microsoft Alias: tomfitz

@danijam Thanks for the feedback! We are currently investigating and will update you shortly.

@danijam Thanks again for question! ServicePrincipalName parameter represents Microsoft.Azure.WebSites RP in user tenant and it will remain same for all Azure subscriptions. Also note that this is a onetime operation and once you have a configured a Key Vault properly, you can use it for deploying as many certificates as you want without executing these PowerShell commands again. For more information on Key Vault documentation you can check this link:  https://azure.microsoft.com/en-us/documentation/articles/key-vault-get-started/
You may also refer to link: https://github.com/Azure/azure-quickstart-templates/tree/master/201-web-app-certificate-from-key-vault

Thanks @SnehaAgrawal-MSFT  So I only need that key vault access policy during ARM deployment operation? Does that mean once the deployment is complete I could remove that access policy and my App Service will still be able to synchronise any certificate updates made in the Key Vault? I'm uncertain I understand how the running app service is able to then perform it's periodic GET operation on the key vault to check for updated pfx secrets.

@danijam To elaborate more on this By default Microsoft.Azure.WebSites Resource provider does not have access to Key Vault so we need to authorize it by using Power Shell commands before deploying the template and ServicePrincipalName parameter is User tenant which means it will be same for all Azure Subscription. So, this accessing to Key Vault authorization by using Power Shell command is one-time process. Once you are authorized you can deploy as many as certificates you want and no need to execute command again and again. To add to this, it doesn’t mean after deployment you can remove that access policy.

@danijam We will now proceed to close this thread but if you feel you need more information please just let us know.

Hi @SnehaAgrawal-MSFT What I'm trying to achieve is A) have key vault deployed along with a App Service B) give that App Service the ability to sync with that key vault to pick up newer TLS keys. However I don't want to set a access policy that grants all App Services in any of our subscriptions the ability to get the TLS key secret from this key Vault. Simple Example is we have Dev Subscription and a Prod Subscription. Within each is a Key Vault and App Service. It should not be possible for the Prod App Service to get the secret from the Dev Key vault and vice versa.
From my understanding the only way to authorise the App Service to Get secrets is to set the access policy as described in the referenced powershell such that any app service (in any subscription in our AAD) is now authorised to get secrets from my vault.
I don't understand how anyone would operate using that approach. I need a solution where I can specifically grant authorisation to a specific app service on a specific key vault. Is this possible?

Are there any updates on this? I am looking at importing Key Vault certs into App Services and have the same questions about the security scope and implications of giving the global App Service service principal get permissions on my key vault.

@tfitzmac
Any update?

I am not the right person for this issue. I think @msangapu-msft is the author.

@danijam not sure which URL you're referring to. Are you still having this issue? If you are internal, please email me.

Blast from the past!
Afraid we've long moved on. This is no longer relevant.


About MySQL connect error

The issue I mentioned here
This is not a problem with my code.
self._pool = create_pool(
            user=self.user,
            password=self.password,
            host=self.host,
            port=self.port,
            db=self.db,
        )

import asyncmy
import asyncio

async def run():
    pool = await asyncmy.create_pool()
    async with pool.acquire() as conn:
        async with conn.cursor() as cursor:
            await cursor.execute("SELECT 1")
            ret = await cursor.fetchone()
            assert ret == (1,)

if __name__ == '__main__':
    asyncio.run(run())

This is the example code for asyncmy and its use in the Mayim source code.Mayim's create_pool function is missing await.
I think it's unreasonable for the sample code and test code to not have MySQL.

Sorry, I didn't see the await pool in the open function below.
but I modified the connection statement in Maim to look like the following, which can run. The example is the simplest example on Maim's homepage.
            async with self._pool as pool:
                async with pool.acquire() as conn:
                    if transaction:
                        await conn.begin()
                    yield conn
                    if transaction:
                        if self.do_commit():
                            await conn.commit()

Calling the open function can also solve the problem
transaction = self.in_transaction()
            await self.open()
            async with self._pool.acquire() as conn:
                if transaction:
                    await conn.begin()
                yield conn
                if transaction:
                    if self.do_commit():
                        await conn.commit()

The Mysql insert operation needs to be completed in this way.
executor = Mayim.get(YouExecute)
async with executor.transaction():
    await executor.you_insert_operation(a,b....)


Calendar - Adaptable(1.3.2.a) Meaningful Sequence - lost focus

Hi @accdc
Focus is getting lost when user is clicking on next or previous button / arrows on the calendar and the focus comes to date on the calendar.
Steps to Replicate: Navigate to Calendar Next/Previous button using TAB key and press enter.
Current behavior: Focus is getting lost when user is clicking on Next/Previous button.
Expected behavior: Focus should remain on the same button (Next/Previous) button.
Appreciate if you could look into this.

Hi @accdc
Appreciate any update on this.

Hi, this was intentional when I built it, otherwise a blind person would not know which month was being activated, since the intent is to use PageUp and PageDown to navigate by month while focus is within the calendar.
I can add this functionality, but I won't be able to look into it until next week at the earliest.

Hi @accdc
Thanks for the feedback. However if the user wants to continue clicking on the next months, then he would not know how to come back to month for navigation.
Appreciate if you could let me know when this functionality is added.

I've already started looking into it, should be done by next week. I'll update this issue when it's complete.

Hi,
This has been fixed and is live in all of the repos where this module is present.
Test url: http://whatsock.com/tsg/Coding Arena/ARIA Date Pickers/ARIA Date Picker (Basic)/demo.htm

Thanks @accdc
This is fixed and working fine.


[FEATURE] Add a block for username not found

Description
Current then you enter a username after http://linkfree.eddiehub.org/
It sends an alert pop up
I propose a not-found page with a link to README.md to let people register first
Screenshots

Additional information
No response

Please assign this issue to me> I have some ideas and I have implemented them in my own fork I'd like to push changes

Please assign this issue.


failed to generate gitblit ca certificte

gitblit:1.9.3.tar.gz
java:1.8.0_202
OS:kylin arm64
cannot start gitblit.sh

Do you have some log output?

Maybe the data directory can not be written to by Gitblit?


Remove hard-coded FLOAT for numeric types

I mentioned this issue in the RealSelf repo but figured I'd post here as well in case there is more traction. At current it does not appear to be possible to have an output that uses numeric instead of float data types - this is ok for some applications but a critical bug for places where accuracy is important due to the nature of issues involving floating point precision. It would be great if it were possible to change to using NUMERIC data types in some way, although I'm not sure what all it would take to make that configurable.

Thank you for a great idea!
We have added this functionality to this branch and will be added to the next release.
Your JSON schema should be formatted like this:
"deci": { "type": "string", "format": "bq-decimal" }


Bad string creation for RNDF

From the Darpa Chanllenge spec:
"The RNDF is a tab-delimited ASCII file. Within the RNDF, strings have a maximum length of
128 characters, and do not contain any spaces, backslashes, or *. Integers are always positive
and have a maximum value of 32,768."
Right now, there are some strings which are being generated with spaces. I would add the length constraint too.
The samples at Darpa web page (https://www.grandchallenge.org/grandchallenge/resources.html) show the strings with '_' characters instead of blanks. I suggest doing the same.

Thanks for the report @agalbachicar !


LEGO: Pull request from lego/hb_04604851-bac4-4681-9f74-73de611d6e48_20220926153737001 to main

LEGO: Pull request from lego/hb_04604851-bac4-4681-9f74-73de611d6e48_20220926153737001 to main with localized lcls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 42.406%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
29238

Relevant Lines:
64159

💛  - Coveralls


Add our own airports in the database

Some small airports do not have an ICAO code and are not shown on the map.
Being able to create our database with those airports so that it can be represented on the map together with the default airport database.

I agree, I have added an entry directly on the SQLite DB, for the ICAO part I have added the name the I use in the logbook.
Could be useful in case of helicopter pilot like me.

ok, will take a look

preparing first beta https://github.com/vsimakhin/web-logbook/pull/108, will test it a little bit more and then release a new version

The new version 2.16.0 has been released. I will close this "issue", so please take a look if it's ok, and feel free to reopen it if it's not :)


[HELP] How to regster Commands

Hi, maybe I over read it, but I don't understand how to register the Bot commands with discord. Does this package take care of it? Maybe like db migrations? Or do I have to take care of it on my own? Do you have a full example for it? Thanks!

There are a few examples in the readme under Application Commands
The examples include creating, updating, and deleting, as well as examples of how to use options/etc with your commands.
As far as creating them with the same pattern as DB migrations, that's not something this package supports by default.
Running a Create operation with the same command name will result in an update to the existing command. So you could create/update them in seeders possibly.


Considering different extensions RDD files

Hi,
I'm using a collector which use rrd files with different extensions : "rsm", "rrm", "xrm", and "db".
When i try to use grafana-rrd-server with these files, it seems that it is not working.
Is it a limitation or an issue ?
Thank you.

@CNAMVHU Hi 👋
Currently the .rrd extension is hardcorded so grafana-rrd-server reads only RRD files having .rrd as an extension. Technically it's possible to support multiple (or user-specified) extensions so I'll keep this issue open. Thanks!


Depend on Ecclesia instead of cleavir-code-utilities?

Looks like cleavir-code-utilities was renamed to ecclasia, which breaks some Cleavir subsystems like cleavir-macroexpand-all.
Am I missing something?

cleavir-macroexpand-all has not been maintained.

Maybe mention it the doc?

the documentation in general is pretty out of date. i could add some kind of survey of the systems to the readme, though.


waqas/comply_new_changes

@waqas-younas-deriv this PR is quite old, is it still valid? Does it need to be merged?

I am closing this PR. Feel free to reopen if needed.


How do I properly use the vcpkg-tool repo?

When asking a question please also include where you looked for an answer (so we can update the documentation if needed).
@BillyONeal  /cc: @ras0219-msft

Somewhere I am missing something because my vcpkg-tool fork keeps getting out of sync saying my fork is xx Commits ahead and yy Commits behind microsoft/vcpkg-tool main.
I treat it the same as I do with vcpkg master, but use main as the branch name

I fork the vcpkg-tool on github to my github
I clone my fork of vcpkg-tool to my pc
I add microsoft/vcpkg-tool as an upstream main
Perform git pull upstream main to pull updates
Perform git push to update my vcpkg-tool fork

The past 2 days I have had to basically start over to get my fork back in sync

I delete my fork of vcpkg-tool on github
I delete the clone on my PC
Start over using Step 2 again, and all is in sync until an update is done to microsoft/vcpkg-tool

Basically my question is what am I doing wrong?
Is there something I should be doing with the microsoft/vcpkg-tool repo and my fork?
Thank you for your time, I know you have been busy these past 2 days, but I appreciate any help or insight.
Have a wonderful day/evening.

Until we actually make the switch here to start consuming the vcpkg-tool repo, every time a toolsrc change was made here I've had to rebase that whole repo on top of this one to maintain correct history. The problems you've experienced caused by those rebases being force pushes should be resolved after https://github.com/microsoft/vcpkg/pull/15474 lands and we start treating that repo like any other publicly exposed git repo.
Sorry for the confusion caused by the filter-branch fallout :/

Ok - just wanted to be sure I was not doing something wrong.
I will know until #15474 goes in, my fork of vcpkg-tool could get out of sync and I can just delete the fork and re-fork again.
I have been working on a local powershell script to build the vcpkg-tool from source using cmake.
Thanks again for all the hard work👏👏👏✔✨👍


[BUG] Escaping Bug in Block twig file.

Expected Behavior
Our custom WordPress theme uses ACF Pro to build custom blocks. The Twig file for the basic blog contains this HTML. It seems to be a weird escaping issue that is breaking in the CSS class with the right arrow. If I move this HTML to our page.twig file or our layout.twig file it works perfectly fine.
https://gist.github.com/mccomaschris/3c38c0867f8da6056e54c6e2f115db1a
Actual behavior
This is what you see when using devtools to check out the HTML on the actual page when used in our block's Twig file.

Steps to reproduce behavior

Create new block with ACF Pro
In the block's Twig file add this code: https://gist.github.com/mccomaschris/3c38c0867f8da6056e54c6e2f115db1a
Create New Page in WordPress and add block to page.
...

Notes
What version of Timber are you using?
Timber 2.2.0
What version of WordPress are you using?
WordPress 6.6.1
What version of PHP are you using?
PHP 8.2
How did you install Timber?
Installed or updated Timber through Composer

Hi @mccomaschris ,
This is not Timber related. I tried rendering the same HTML via the render compile hook from ACF blocks and the issue stays the same. So this must be something related to Gutenberg or ACF.

update:
Use the esc_attr() function or the https://timber.github.io/docs/v2/guides/escaping/#esc_attr filter to succesfully escape the classes so they render in the editor. I would recommend escaping all these tailwind classes to prevent those kind of issues.


⚠ Secret Website 3 has degraded performance

In 5e7399c, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 2130 ms

Resolved: Secret Website 3 performance has improved in 00bff55.


Add additional test assets for System.Drawing based on Mono's unit tests

In preparation of dotnet/corefx#23797, this adds assets used by Mono's test for System.Drawing to the System.Drawing.Common.TestData NuGet package.

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

/cc @mellinoe

Can you bump up the <version> tag as well, to 1.0.4?

@mellinoe Done.

I pushed version 1.0.4 to myget.


Include the library in project

In the issue #2 there is a similar question but this issue is closed and I am not being able to include the library on my project or on the example project.
So as the example project is saved on Downloads folder my root directory I assume is User/Downloads/Swift-YouTube-Player-master/YouTubePlayerExample than in the root directory I am adding   git init  than  git submodule add git@github.com:gilesvangruisen/Swift-YouTube-Player.git and in the end I am dragging YouTubePlayer.xcodeproj on the project directory.

But after I am adding the YouTubePlayer.framework on Embedded Binaries  the library on Embedded Binaries is showing red and I am having an error saying: No such module "YouTubePlayer"
Thank you in advance

I have figure it out actually now.
So after adding git submodule add git@github.com:gilesvangruisen/Swift-YouTube-Player.git in root directory we need to  drag YouTubePlayer.xcodeproj not inside the main project but on top of it than from the  YouTubePlayer.xcodeproj we take the Products file and drag it on the bottom of the project bundle. Than some other errors may be shown (if u have the new version of Swift) but all of them can be fixed without any problem.


What is the best network sniffer to get MSG200 token and a corresponding message id and timestamp?

Could you give an example flow where those values are set?

Here you are:
[{"id":"88f87bae.10d938","type":"inject","z":"ec2c2ba0.1671a8","name":"Get State","props":[{"p":"payload"}],"repeat":"","crontab":"","once":true,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":180,"y":160,"wires":[["f7696f8c.ae16c"]]},{"id":"f7696f8c.ae16c","type":"smartplug-control","z":"ec2c2ba0.1671a8","confignode":"d9dc372f.d15f08","name":"Smart Plug","ip":"<IP_ADDRESS>","x":370,"y":120,"wires":[["759b6fbe.d2d68"]]},{"id":"5b5e94ca.a0c614","type":"inject","z":"ec2c2ba0.1671a8","name":"Turn On","props":[{"p":"payload"}],"repeat":"","crontab":"00 23 * * *","once":false,"onceDelay":0.1,"topic":"","payload":"true","payloadType":"bool","x":180,"y":80,"wires":[["f7696f8c.ae16c"]]},{"id":"60c5c941.c24568","type":"inject","z":"ec2c2ba0.1671a8","name":"Turn Off","props":[{"p":"payload"}],"repeat":"","crontab":"00 23 * * *","once":false,"onceDelay":0.1,"topic":"","payload":"false","payloadType":"bool","x":180,"y":120,"wires":[["f7696f8c.ae16c"]]},{"id":"759b6fbe.d2d68","type":"debug","z":"ec2c2ba0.1671a8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":570,"y":120,"wires":[]},{"id":"d9dc372f.d15f08","type":"meross-config","name":"Meross Config","timestamp":"1234567890","token":"1234567890abcdef1234567890abcdef","messageid":"abcdef0123456789abcdef0123456789"}]

See #2 too.


[8.X] Can not run artisan optimize without views

Laravel Version: v8.10.0
PHP Version: 7.4.11

Description:
I'm using an api without any view (nor resources directorory) and I can not execute php artisan optimize without views installed.
Trying to execute php artisan optimize without Illuminate\View\ViewServiceProvider::class provider:
$> php artisan optimize

Configuration cache cleared!
Configuration cached successfully!
Route cache cleared!
Routes cached successfully!
Compiled views cleared!

In Container.php line 811:

  Target class [view] does not exist.

In Container.php line 809:

  Class view does not exist

Trying to execute php artisan optimize with Illuminate\View\ViewServiceProvider::class provider but without resources/views folder:
$> php artisan optimize

Configuration cache cleared!
Configuration cached successfully!
Route cache cleared!
Routes cached successfully!

In ViewClearCommand.php line 57:

  View path not found.

Steps To Reproduce:

Remove Illuminate\View\ViewServiceProvider::class provider or delete resources/views folder.
Execute php artisan optimize

Expected Results:
Do no try to optimize not loaded service providers.
Can I send a PR with a fix for this issue?

This is the expected case. Laravel does not support unloading core service providers.

This is the expected case. Laravel does not support unloading core service providers (unless you are doing some custom trickery which needs you to extend a core service provider and register that instead).

Then ViewServiceProvider is a core service? I can avoid to execute optimize and execute the one by one the others cache, config and route cache commands, but, will Laravel fails on other point if I do not use the ViewServiceProvider?
Thanks :)


Relative time from future

It says "in 48 minutes" and I don't think it's right.
Could be related to timezone problems, I have UTC+3.

The Apple RSS feed that this is based on is showing a future date, so it's not a timezone issue. I'm in the same timezone as the feed, and I see the same thing as you. Not sure if there's much that can be done about this one.

Thanks for the feedback @aprosvetova, unfortunately, there is nothing we can do here - Apple controls the feed and I don't think that it would be correct to implement any additional logic or calculations on the received time. :)
Let's hope that Apple will not put incorrect release times in the RSS feed in the future. :)


Find the Discount

Before jumping into Pr first comment for assign.All Problem from Edabit. Link is mandatory to add
Problem statement:  Create a function that takes two arguments: the final price and the discount as integers and returns the final price after the discount.
Problem Link:  https://edabit.com/challenge/L4Hevck84exPwe4wo

Before submitting a PR please Check some details. Check Edabit for problem task

[ ] fileName formet should be in camelcase
example- returnTheNextNumber.py
[ ]  Add label for Problem
[ ]  In file there should be problem statement and link to probelm
example -

'''
    Probem Task : This program will add two numbers
    Problem Link : https://edabit.com/challenge/SFzHtm63XT6EYNHWY
'''
*/
def main():
    return a + b

This repository is valid for HacktoberFest2020
Read before making PR - How to contribute on Github
Good Luck,

Hi Shreejichandra,
I can help out with this. Do you mind assigning me?

I myself would like to work on this. Please assign it to me @aayushi-droid.

assign to me

Apologies @Shreejichandra , I did not read the directions for creating the issue and then having it assigned to you.
All the best!

It's okay @trewest .


Move to Java 8

Coverage decreased (-6.3%) to 72.155% when pulling a5a6c2d72792bb146fef7a118f3fed96c970afe8 on kashike:java8 into 12c1a809720aced976ed22de34fb1457d8eda78f on flow:develop.

You.might need to add tests for new stream methods.

Look at the implementation.

On Feb 20, 2017, at 7:04 PM, kashike<EMAIL_ADDRESS>wrote:
@kashike commented on this pull request.
In src/main/template/float/com/flowpowered/math/vector/VectorN_E_.template:

@@ -437,6 +438,16 @@ public class VectorN#E# implements Vector#E#, Comparable<VectorN#E#>, Serializab
}

 @Override

public DoubleStream stream() {
?

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


(#149) Posts service tests

Adding the posts service tests

@olegkiprik, the current tests coverage is not sufficient. Please, get together and add more coverage.


🐛 cannot build for android

Prerequisites

[X] I checked the documentation and FAQ without finding a solution
[X] I checked to make sure that this issue has not already been filed

Expected Behavior
build and run on Android device
Current Behavior
Getting the error when building for android
Library version
3.1.2
Device
Any Android
Environment info
info Fetching system and libraries information...
(node:91736) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
System:
  OS: Linux 6.7 Arch Linux
  CPU: (12) x64 AMD Ryzen 5 5600 6-Core Processor
  Memory: 47.77 GB / 62.72 GB
  Shell:
    version: "5.9"
    path: /usr/bin/zsh
Binaries:
  Node:
    version: 21.6.1
    path: /usr/bin/node
  Yarn:
    version: 1.22.21
    path: /usr/bin/yarn
  npm:
    version: 10.4.0
    path: /usr/bin/npm
  Watchman: Not Found
SDKs:
  Android SDK:
    API Levels:
      - "33"
      - "34"
    Build Tools:
      - 33.0.1
      - 34.0.0
    System Images:
      - android-30 | Google Play Intel x86 Atom
    Android NDK: Not Found
IDEs:
  Android Studio: AI-231.9392.1.2311.11330709
Languages:
  Java:
    version: 21.0.2
    path: /usr/bin/javac
  Ruby:
    version: 3.0.6
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.73.2
    wanted: 0.73.2
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: Not found
  newArchEnabled: false

info React Native v0.73.3 is now available (your project is running on v0.73.2).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.73.3
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.73.3
info For more info, check out "https://reactnative.dev/docs/upgrading?os=linux".

Steps to reproduce

npx create-expo-app my-app
add Configuration & Installation
npx expo prebuild
npx expo run:android

Formatted code sample or link to a repository
didn't add anything custom just created clean expo app
openjdk 21.0.2 2024-01-16
OpenJDK Runtime Environment (build 21.0.2+13)
OpenJDK 64-Bit Server VM (build 21.0.2+13, mixed mode, sharing)

Relevant log output
› Building app...
Configuration on demand is an incubating feature.

> Configure project :expo

Using expo modules
  - expo-constants (15.4.5)
  - expo-file-system (16.0.5)
  - expo-font (11.10.2)
  - expo-keep-awake (12.8.2)
  - expo-modules-core (1.11.8)
  - expo-modules-core$android-annotation (1.11.8)
  - expo-modules-core$android-annotation-processor (1.11.8)

> Task :react-native-ble-plx:compileDebugJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-ble-plx:compileDebugJavaWithJavac'.
> Could not resolve all files for configuration ':react-native-ble-plx:androidJdkImage'.
   > Failed to transform core-for-system-modules.jar to match attributes {artifactType=_internal_android_jdk_image, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
      > Execution failed for JdkImageTransform: /opt/android-sdk/platforms/android-34/core-for-system-modules.jar.
         > Error while executing process /usr/lib/jvm/java-21-openjdk/bin/jlink with arguments {--module-path /home/electwix/.gradle/caches/transforms-3/df8a4d771b7ddfe0ae4b0751ab94f2d7/transformed/output/temp/jmod --add-modules java.base --output /home/electwix/.gradle/caches/transforms-3/df8a4d771b7ddfe0ae4b0751ab94f2d7/transformed/output/jdkImage --disable-plugin system-modules}

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 4s
117 actionable tasks: 3 executed, 2 from cache, 112 up-to-date
Error: /home/electwix/dev/ts/my-app/android/gradlew exited with non-zero code: 1
Error: /home/electwix/dev/ts/my-app/android/gradlew exited with non-zero code: 1
    at ChildProcess.completionListener (/home/electwix/dev/ts/my-app/node_modules/@expo/spawn-async/build/spawnAsync.js:52:23)
    at Object.onceWrapper (node:events:634:26)
    at ChildProcess.emit (node:events:519:28)
    at maybeClose (node:internal/child_process:1105:16)
    at ChildProcess._handle.onexit (node:internal/child_process:305:5)
    ...
    at Object.spawnAsync [as default] (/home/electwix/dev/ts/my-app/node_modules/@expo/spawn-async/build/spawnAsync.js:17:21)
    at spawnGradleAsync (/home/electwix/dev/ts/my-app/node_modules/@expo/cli/build/src/start/platforms/android/gradle.js:72:46)
    at Object.assembleAsync (/home/electwix/dev/ts/my-app/node_modules/@expo/cli/build/src/start/platforms/android/gradle.js:52:18)
    at runAndroidAsync (/home/electwix/dev/ts/my-app/node_modules/@expo/cli/build/src/run/android/runAndroidAsync.js:36:24)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Additional information
openjdk 21.0.2 2024-01-16
OpenJDK Runtime Environment (build 21.0.2+13)
OpenJDK 64-Bit Server VM (build 21.0.2+13, mixed mode, sharing)

using
openjdk 17.0.10 2024-01-16
OpenJDK Runtime Environment (build 17.0.10+7)
OpenJDK 64-Bit Server VM (build 17.0.10+7, mixed mode)

solved the issue


Outage

The app won't scan because it says there is an outage. I haven't had this problem before, not sure if it is just temporary, or it is no longer working.

same

its said that the api has changed


Add kernel cmdline parameter for CCNP measurement

ima_template=ima-cgpath is required for CCNP measurement

Hi, @ruomengh ,
5.15 does not have some an option, I am evaluating how large the patch would be for this option.
~/linux-image-bsk/security/integrity/ima# vim ima_template.c
static struct ima_template_desc builtin_templates[] = {
        {.name = IMA_TEMPLATE_IMA_NAME, .fmt = IMA_TEMPLATE_IMA_FMT},
        {.name = "ima-ng", .fmt = "d-ng|n-ng"},
        {.name = "ima-sig", .fmt = "d-ng|n-ng|sig"},
        {.name = "ima-buf", .fmt = "d-ng|n-ng|buf"},
        {.name = "ima-modsig", .fmt = "d-ng|n-ng|sig|d-modsig|modsig"},
        {.name = "evm-sig",
         .fmt = "d-ng|n-ng|evmsig|xattrnames|xattrlengths|xattrvalues|iuid|igid|imode"},
        {.name = "", .fmt = ""},        /* placeholder for a custom format */
};

Nor does 6.8-next

Hi, @ruomengh ,
5.15 does not have some an option, I am evaluating how large the patch would be for this option. Seems like not big patch, however need to validate with the 5.15 code.
Ref<EMAIL_ADDRESS>~/linux-image-bsk/security/integrity/ima# vim ima_template.c
static struct ima_template_desc builtin_templates[] = {
        {.name = IMA_TEMPLATE_IMA_NAME, .fmt = IMA_TEMPLATE_IMA_FMT},
        {.name = "ima-ng", .fmt = "d-ng|n-ng"},
        {.name = "ima-sig", .fmt = "d-ng|n-ng|sig"},
        {.name = "ima-buf", .fmt = "d-ng|n-ng|buf"},
        {.name = "ima-modsig", .fmt = "d-ng|n-ng|sig|d-modsig|modsig"},
        {.name = "evm-sig",
         .fmt = "d-ng|n-ng|evmsig|xattrnames|xattrlengths|xattrvalues|iuid|igid|imode"},
        {.name = "", .fmt = ""},        /* placeholder for a custom format */
};

This parameter is based on a separated kernel patch for container measurement. The patch will be put in the project later.


add icompose

i just found some functions that might be worth being added. But i don't really know where to add them and don't have the time to prepare a PR. So here we go:
mapIndex :: forall i j s t a b.
  (i -> j) -> IndexedTraversal i s t a b -> IndexedTraversal j s t a b
mapIndex fi tr = iwander \f -> itraverseOf tr (f <<< fi)

icompose :: forall i j k s' t' s t a b.
  (i -> j -> k) ->
  IndexedTraversal i s' t' s t ->
  IndexedTraversal j s t a b ->
  IndexedTraversal k s' t' a b
icompose ijk trO trI = iwander \f -> itraverseOf trO \i -> itraverseOf trI \j -> f (ijk i j)

icompose is inspired by
http://hackage.haskell.org/package/lens-4.15.1/docs/Control-Lens-Indexed.html#v:icompose
this way it's possible to combine IndexedTraversals:
test :: Array (Array Int)
test = [[1,2,3],[4,5,6]]

nested :: forall t1 t2 a b. (Traversable t1, Traversable t2) => IndexedTraversal (Tuple Int Int) (t1 (t2 a)) (t1 (t2 b)) a b
nested = icompose Tuple (positions traversed) (positions traversed)

comTest :: List (Tuple (Tuple Int Int) Int)
comTest = itoListOf nested test

-- comTest = ((Tuple (Tuple 0 0) 1) : (Tuple (Tuple 0 1) 2) : (Tuple (Tuple 0 2) 3) : (Tuple (Tuple 1 0) 4) : (Tuple (Tuple 1 1) 5) : (Tuple (Tuple 1 2) 6) : Nil)
-- or prettied up: [((0,0),1), ((0,1),2), ((0,2),3), ((1,0),4), ((1,1),5), ((1,2),6)]

👍 Sounds good, although maybe the implementation could be simpler?

i just looked at it again, and it's type is the original icompose specialized to IndexedTraversals. So the story for all the other indexed optics is missing. some more specialized combinators could be written, but what about combining an indexed lens with an indexed Traversal? I think some general combinator for IndexedOptics is needed.

i just looked at it again, and it's type is the original icompose specialized to IndexedTraversals. So the story for all the other indexed optics is missing. some more specialized combinators could be written, but what about combining an indexed lens with an indexed Traversal? I think some general combinator for IndexedOptics is needed.

I think the following works, though it might be able to be simplified further.
icompose :: forall p i j k s' t' s t a b.


Setting up the project and completing the first problem

Setting up the project and started development
Set up

Using node as environment
Added dev dependencies
Added a Linter (ESLint)
Added CI config (Travis CI)

Development

Added documentation and placeholders in it
Solved the each method
Added examples on how to use it
Added some tests for it
Added a file to store data for the tests

Cualquier comentario o mejora, no duden en comunicarla. Saludos!

LGTM 👍


GitHub: Invite member

Who should be invited to Catena-X ng
GitHub User<EMAIL_ADDRESS>Vouching person: Juergen Schuberthan
You should be able to contact him using your internal tooling set.

agree - please welcome Diogo with access as requested - thanks!

Hi @Ruskyy, can you please confirm Diogo's email address is the one used with Eclipse Foundation? Normally emails are company related hence asking.

@tomaszbarwicki Confirmed and its the same as Github

thanks @Ruskyy, Diogo's been invited, once accepted you can add him to respective teams.


refactor: move get_pairs from memory to shared utils

End-user friendly description of the problem this fixes or functionality that this introduces

[ ] Include this change in the Release Notes. If checked, you must provide an end-user friendly description for your change below

Give a summary of what the PR does, explaining any non-trivial design decisions
I am hoping to use get_pairs from other eval scripts in the editing PR (example here: https://github.com/All-Hands-AI/OpenHands/pull/3985/files#diff-da3a53dcb2ace4b1d1acc580c43958796162db335ef86d5e43f8d0e491ed50e0R7), so it will be helpful to refactor this function out into events.utils.

Link of any specific issues this addresses

Good call! I was doing some reading history from jsonl, and it didn't occur to me to use this one. This looks better, it's just a utility converting format.


No intellisense for other namespaces in Razor Components

Describe the bug
When working on a Razor Components project, I have a folder structure that looks like this:

A lot of the time I want to access my clsSql class in my services folder or one of my objects from my objects folder, but I am provided with no intellisense at all for these objects. They do work just fine though.
To Reproduce
Steps to reproduce the behavior:

Using asp.net core 3.0 and Visual Studio 16.1.0 Preview 1.0
Start a Razor components file and make a folder in your project.
Add a class to that folder and give it some functionality
Import the namespace and try to use the function only to see there is no intellisense

Expected behavior
I expected there to be basic syntax highlighting and intellisense on my objects.
Additional context
.NET Core SDK (reflecting any global.json):
Version:   3.0.100-preview3-010431
Commit:    d72abce213
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.17134
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\3.0.100-preview3-010431\
Host (useful for support):
Version: 3.0.0-preview3-27503-5
Commit:  3844df9537
.NET Core SDKs installed:
2.1.200 [C:\Program Files\dotnet\sdk]
2.1.201 [C:\Program Files\dotnet\sdk]
2.1.202 [C:\Program Files\dotnet\sdk]
2.1.402 [C:\Program Files\dotnet\sdk]
2.1.502 [C:\Program Files\dotnet\sdk]
2.1.503 [C:\Program Files\dotnet\sdk]
2.1.601 [C:\Program Files\dotnet\sdk]
2.1.700-preview-009597 [C:\Program Files\dotnet\sdk]
2.2.103 [C:\Program Files\dotnet\sdk]
3.0.100-preview3-010431 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.0.0-preview3-19153-02 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.0.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.8 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.0.0-preview3-27503-5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.0.0-preview3-27504-2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Possible a duplicate of #9320.

There are no errors like in #9320

Fixed in the latest release!


logs: support setting the source field

Support setting the Ddsource field on the datadogV2.HTTPLogItem struct. The Datadog Send Logs API expects the Ddsource field to be set in order for log items to have a source.
Currently, the transform function sets the Ddtags, Hostname, Message, Service, and AdditionalProperties fields on the datadogV2.HTTPLogItem struct but it does not set the Ddsource field.
https://github.com/DataDog/opentelemetry-mapping-go/blob/6e80d7ed923d9daa6a1245c7bc4afff2983fbbe1/pkg/otlp/logs/transform.go#L71
The workaround right now is to use the undocumented ddtags attribute to set the source tag. Thankfully I was able to find this undocumented attribute in https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/15387#issuecomment-1289094727. Here's the transform processor that does that.
processors:
  transform:
    log_statements:
      - context: log
        statements:
          - set(attributes["ddtags"], "source:sudomateo")

However, even with this configuration the log event will end up with two source tags, one with the value defined in the ddtags and the other with the value undefined. I suspect the undefined value is due to the API request not setting the Ddsource field which is why I opened this issue. Here's what one would see in the Datadog user interface with the above workaround configuration.

Please let me know what other information is needed from me. Thank you!

I'm actually seeing a similar but opposite issue using the under documented ddtags workaround you mentioned here.

I would love this as well! It seems very hard to set any of the USM / other commonly used tags in Datadog besides service

Just an FYI I submitted https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/34367 since Datadog Support asked me to submit an issue on that repository instead.


ClassCastException in ViewTooltip.on

With the newest version of ViewTooltip (1.1.3), I am getting a few crash reports looking at the Google Play Console:
java.lang.ClassCastException:
  at com.github.florent37.viewtooltip.ViewTooltip.on (ViewTooltip.java:54)
  at de.westnordost.streetcomplete.tangram.MapControlsFragment.showUnglueHint (MapControlsFragment.java:259)
  at de.westnordost.streetcomplete.tangram.MapControlsFragment.setTrackingButtonActivated (MapControlsFragment.java:251)
  at de.westnordost.streetcomplete.tangram.MapControlsFragment.onMapInitialized (MapControlsFragment.java:183)
  at de.westnordost.streetcomplete.tangram.MapFragment.tryInitializeMapControls (MapFragment.java:172)
  at de.westnordost.streetcomplete.tangram.MapFragment.onMapControlsCreated (MapFragment.java:165)
  at de.westnordost.streetcomplete.tangram.MapControlsFragment.onViewCreated (MapControlsFragment.java:145)

I think it's because you call it in fragment. You should call this method:
public static ViewTooltip on(Fragment fragment, final View view)

The fragment inherits from v4.app.Fragment, not from android.app.Fragment.

So, this will not be fixed?
The crash is new on 1.1.3 and did not appear on earlier versions.

can you send me your code please ?

MapControlsFragment.java:259

you can use 1.1.5 for this fix

This fixes the problem only for my case. Now, everyone who is not using the support library will have exactly that class cast problem.

Google preconise using fragment support v4. And has plan to deprecate stock
fragments
Le 9 mars 2018 19:26, "Tobias Zwick"<EMAIL_ADDRESS>a écrit :

This fixes the problem only for my case. Now, everyone who is not using
the support library will have exactly that class cast problem.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/florent37/ViewTooltip/issues/30#issuecomment-371902952,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFfQXF9kG93uP8lJcQhxHDlalbj-8FH8ks5tcslZgaJpZM4SSCVA
.