Build is failing for Yocto Zeus

Hi,
Am trying to include iotedge in my yocto os.
Following steps I followed to get started.
git clone -b zeus https://github.com/openembedded/openembedded-core.git
git clone -b zeus https://github.com/Azure/meta-iotedge.git
git clone https://github.com/meta-rust/meta-rust.git
git clone -b zeus https://git.yoctoproject.org/git/meta-virtualization
Added these to BBLayer conf
${BSPDIR}/sources/meta-rust
${BSPDIR}/sources/poky/meta
${BSPDIR}/sources/poky/meta-poky
${BSPDIR}/sources/poky/meta-yocto-bsp
${BSPDIR}/sources/meta-freescale
${BSPDIR}/sources/meta-freescale-3rdparty
${BSPDIR}/sources/meta-freescale-distro
${BSPDIR}/sources/meta-openembedded/meta-oe
${BSPDIR}/sources/meta-openembedded/meta-python
${BSPDIR}/sources/meta-openembedded/meta-multimedia
${BSPDIR}/sources/meta-openembedded/meta-gnome
${BSPDIR}/sources/meta-openembedded/meta-networking
${BSPDIR}/sources/meta-ts
${BSPDIR}/sources/meta-qt5
${BSPDIR}/sources/meta-custom
${BSPDIR}/sources/meta-openembedded/meta-filesystems
${BSPDIR}/sources/meta-virtualization
${BSPDIR}/sources/meta-iotedge \
Added the below in local.conf
CORE_IMAGE_EXTRA_INSTALL += "libunwind icu libcurl openssl libgssapi-krb5"
IMAGE_INSTALL_append += "  docker connman connman-client "
IMAGE_INSTALL_append += " iotedge-cli iotedge-daemon libiothsm-std"
DISTRO_FEATURES_append += " virtualization"
Build Configuration:
BB_VERSION           = "1.44.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "arm-poky-linux-gnueabi"
MACHINE              = "tsimx6"
DISTRO               = "poky"
DISTRO_VERSION       = "3.0.4"
TUNE_FEATURES        = "arm vfp cortexa9 neon thumb callconvention-hard"
TARGET_FPU           = "hard"
meta-rust            = "master:494d879a1d337cda5b3a19406cabe46fcd3aee76"
meta
meta-poky
meta-yocto-bsp       = "HEAD:d88d62c20d7d8da85f02edb170dae0280624ad7e"
meta-freescale       = "HEAD:14f1a630a47375432f93c556927b879b51d84c4e"
meta-freescale-3rdparty = "HEAD:81d336c6c4a78916b06eb4d2190e39bc23f22336"
meta-freescale-distro = "HEAD:ca27d12e4964d1336e662bcc60184bbff526c857"
meta-oe
meta-python
meta-multimedia
meta-gnome
meta-networking      = "HEAD:2b5dd1eb81cd08bc065bc76125f2856e9383e98b"
meta-ts              = "HEAD:a40463beb840dd3788cafe2d1527df451a4cc4f7"
meta-qt5             = "HEAD:91e6e3b1f5aebd17f895caac3dee32a14630da99"
meta-custom          = ":"
meta-filesystems     = "HEAD:2b5dd1eb81cd08bc065bc76125f2856e9383e98b"
meta-virtualization  = "zeus:7e5219669ff6f8e9c8c33ffd230e95a6b2b025f4"
meta-iotedge         = "zeus:1e926424395abcb683b045452dfd7fde4b2679f4"
when i run bitbake core-image-minimal,  am getting the below error
Parsing recipes: 100% |#############################################################################################################| Time: 0:00:01
Parsing of 2793 .bb files complete (2790 cached, 3 parsed). 3989 targets, 260 skipped, 0 masked, 0 errors.
ERROR: No recipes available for:
/data/ts-bsp/sources/meta-iotedge/recipes-devtools/cargo/cargo_1.40.0.bbappend
I tried removing cargo_1.40.0.bbappend from meta-iotedge and tried building again, that gives an another error
**_| NOTE: rustc =
| NOTE: cargo build -v --target arm-poky-linux-gnueabi --release --manifest-path=/data/ts-bsp/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/iotedge-cli/<IP_ADDRESS>-r0/iotedge-<IP_ADDRESS>/edgelet/iotedge/iotedge/Cargo.toml
| error: manifest path /data/ts-bsp/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/iotedge-cli/<IP_ADDRESS>-r0/iotedge-<IP_ADDRESS>/edgelet/iotedge/iotedge/Cargo.toml does not exist
| WARNING: exit code 101 from a shell command.
| ERROR: Execution of '/data/ts-bsp/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/iotedge-cli/<IP_ADDRESS>-r0/temp/run.do_compile.15765' failed with exit code 101:
| error: manifest path /data/ts-bsp/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/iotedge-cli/<IP_ADDRESS>-r0/iotedge-<IP_ADDRESS>/edgelet/iotedge/iotedge/Cargo.toml does not exist
| WARNING: exit code 101 from a shell command.
|
ERROR: Task (/data/ts-bsp/sources/meta-iotedge/recipes-core/iotedge-cli/iotedge-cli_<IP_ADDRESS>.bb:do_compile) failed with exit code '1'
ERROR: iotedge-daemon-<IP_ADDRESS>-r0 do_compile: Execution of '/data/ts-bsp/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/iotedge-daemon/<IP_ADDRESS>-r0/temp/run.do_compile.15783' failed with exit code 101:
error: manifest path /data/ts-bsp/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/iotedge-daemon/<IP_ADDRESS>-r0/iotedge-<IP_ADDRESS>/edgelet/iotedged/iotedged/Cargo.toml does not exist
WARNING: exit code 101 from a shell command.
ERROR: Logfile of failure stored in: /data/ts-bsp/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/iotedge-daemon/<IP_ADDRESS>-r0/temp/log.do_compile.15783
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: cargo = /data/ts-bsp/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/iotedge-daemon/<IP_ADDRESS>-r0/recipe-sysroot-native/usr/bin/cargo
| NOTE: rustc =
| NOTE: cargo build -v --target arm-poky-linux-gnueabi --release --manifest-path=/data/ts-bsp/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/iotedge-daemon/<IP_ADDRESS>-r0/iotedge-<IP_ADDRESS>/edgelet/iotedged/iotedged/Cargo.toml
| error: manifest path /data/ts-bsp/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/iotedge-daemon/<IP_ADDRESS>-r0/iotedge-<IP_ADDRESS>/edgelet/iotedged/iotedged/Cargo.toml does not exist
| WARNING: exit code 101 from a shell command.
| ERROR: Execution of '/data/ts-bsp/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/iotedge-daemon/<IP_ADDRESS>-r0/temp/run.do_compile.15783' failed with exit code 101:
| error: manifest path /data/ts-bsp/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/iotedge-daemon/<IP_ADDRESS>-r0/iotedge-<IP_ADDRESS>/edgelet/iotedged/iotedged/Cargo.toml does not exist
| WARNING: exit code 101 from a shell command.
|
ERROR: Task (/data/ts-bsp/sources/meta-iotedge/recipes-core/iotedge-daemon/iotedge-daemon_<IP_ADDRESS>.bb:do_compile) failed with exit code '1'_**
Please let me know what am doing it wrong

Hi @sathyendranv,
I just merged a fix to build 1.1.1 in Zeus (#61)- can you try it again with this change?

Hi @darobs
I pulled the latest and run a fresh build. Still seeing the same issue.
This is git log

@darobs and @sathyendranv , I think the issue is an incompatible version of RUST.  If I revert the version back to 1.49, it will start to compile:
git clone -b master git://github.com/meta-rust/meta-rust.git
# reverting to a known good version
cd meta-rust
git checkout 0ee328aa26e6615d0546c05e987d2f9b19a30e3d

It will start to compile, but fails eventually with:
| install: cannot stat '/mnt/data/yocto/yocto/tmp/work/corei7-64-poky-linux/iotedge-daemon/1.1.1-r0/iotedge-1.1.1/edgelet/target/x86_64-poky-linux/release/iotedged': No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/mnt/data/yocto/yocto/tmp/work/corei7-64-poky-linux/iotedge-daemon/1.1.1-r0/temp/run.do_install.34315' failed with exit code 1:
| install: cannot stat '/mnt/data/yocto/yocto/tmp/work/corei7-64-poky-linux/iotedge-daemon/1.1.1-r0/iotedge-1.1.1/edgelet/target/x86_64-poky-linux/release/iotedged': No such file or directory
| WARNING: exit code 1 from a shell command.

There appears to not be a directory target, so is there a pathing issue?
ksaye@androidubuild:/mnt/data/yocto$ ls -all /mnt/data/yocto/yocto/tmp/work/corei7-64-poky-linux/iotedge-cli/1.1.1-r0/iotedge-1.1.1/edgelet/
total 260
drwxr-xr-x 39 ksaye ksaye  4096 Jul  7 21:03 .
drwxr-xr-x 22 ksaye ksaye  4096 Jul  7 21:03 ..
drwxr-xr-x  2 ksaye ksaye  4096 Jul  7 21:03 api
drwxr-xr-x  4 ksaye ksaye  4096 Jul  7 21:03 build
-rwxr-xr-x  1 ksaye ksaye 65880 Jul  7 21:03 Cargo.lock
-rw-r--r--  1 ksaye ksaye   683 Jul  7 21:03 Cargo.toml
drwxr-xr-x  9 ksaye ksaye  4096 Jul  7 21:03 contrib
-rw-r--r--  1 ksaye ksaye  1018 Jul  7 21:03 Cross.toml
drwxr-xr-x  2 ksaye ksaye  4096 Jul  7 21:03 doc
drwxr-xr-x  3 ksaye ksaye  4096 Jul  7 21:03 docker-rs
drwxr-xr-x  3 ksaye ksaye  4096 Jul  7 21:03 dps
drwxr-xr-x  3 ksaye ksaye  4096 Jul  7 21:03 edgelet-core
drwxr-xr-x  6 ksaye ksaye  4096 Jul  7 21:03 edgelet-docker
drwxr-xr-x  4 ksaye ksaye  4096 Jul  7 21:03 edgelet-hsm
drwxr-xr-x  5 ksaye ksaye  4096 Jul  7 21:03 edgelet-http
drwxr-xr-x  3 ksaye ksaye  4096 Jul  7 21:03 edgelet-http-external-provisioning
drwxr-xr-x  3 ksaye ksaye  4096 Jul  7 21:03 edgelet-http-mgmt
drwxr-xr-x  4 ksaye ksaye  4096 Jul  7 21:03 edgelet-http-workload
drwxr-xr-x  3 ksaye ksaye  4096 Jul  7 21:03 edgelet-iothub
drwxr-xr-x  3 ksaye ksaye  4096 Jul  7 21:03 edgelet-kube
drwxr-xr-x  3 ksaye ksaye  4096 Jul  7 21:03 edgelet-test-utils
drwxr-xr-x  3 ksaye ksaye  4096 Jul  7 21:03 edgelet-utils
drwxr-xr-x  5 ksaye ksaye  4096 Jul  7 21:03 external-provisioning
-rw-r--r--  1 ksaye ksaye    55 Jul  7 21:03 .gitignore
drwxr-xr-x  4 ksaye ksaye  4096 Jul  7 21:03 hsm-rs
drwxr-xr-x  5 ksaye ksaye  4096 Jul  7 21:03 hsm-sys
drwxr-xr-x  4 ksaye ksaye  4096 Jul  7 21:03 hyper-named-pipe
drwxr-xr-x  3 ksaye ksaye  4096 Jul  7 21:03 iotedge
drwxr-xr-x  5 ksaye ksaye  4096 Jul  7 21:03 iotedged
drwxr-xr-x  3 ksaye ksaye  4096 Jul  7 21:03 iotedged-eventlog-messages
drwxr-xr-x  6 ksaye ksaye  4096 Jul  7 21:03 iotedge-proxy
drwxr-xr-x  4 ksaye ksaye  4096 Jul  7 21:03 iothubservice
drwxr-xr-x  4 ksaye ksaye  4096 Jul  7 21:03 kube-client
lrwxrwxrwx  1 ksaye ksaye    10 Jul  7 21:03 LICENSE -> ../LICENSE
-rw-r--r--  1 ksaye ksaye  8599 Jul  7 21:03 Makefile
drwxr-xr-x  5 ksaye ksaye  4096 Jul  7 21:03 management
drwxr-xr-x  3 ksaye ksaye  4096 Jul  7 21:03 mini-sntp
drwxr-xr-x  3 ksaye ksaye  4096 Jul  7 21:03 proto
drwxr-xr-x  3 ksaye ksaye  4096 Jul  7 21:03 provisioning
-rw-r--r--  1 ksaye ksaye   368 Jul  7 21:03 README.md
-rw-r--r--  1 ksaye ksaye     6 Jul  7 21:03 rust-toolchain
drwxr-xr-x  3 ksaye ksaye  4096 Jul  7 21:03 signal-future
drwxr-xr-x  3 ksaye ksaye  4096 Jul  7 21:03 support-bundle
drwxr-xr-x  3 ksaye ksaye  4096 Jul  7 21:03 systemd
lrwxrwxrwx  1 ksaye ksaye    20 Jul  7 21:03 THIRDPARTYNOTICES -> ../THIRDPARTYNOTICES
drwxr-xr-x  4 ksaye ksaye  4096 Jul  7 21:03 tokio-named-pipe
-rw-r--r--  1 ksaye ksaye     5 Jul  7 21:03 version.txt
drwxr-xr-x  3 ksaye ksaye  4096 Jul  7 21:03 win-logger
drwxr-xr-x  5 ksaye ksaye  4096 Jul  7 21:03 workload
ksaye@androidubuild:/mnt/data/yocto$ cat /mnt/data/yocto/yocto/tmp/work/corei7-64-poky-linux/iotedge-cli/1.1.1-r0/iotedge-1.1.1/edgelet/version.txt
1.1.1

Full log file attached:
20210707205018.log

Hello @ksaye, @sathyendranv
The 1.1 branch is tied to a specific version of Rust (1.47.0) - this is why we use that specific commit of meta-rust (METARUST_REV: '7ff669d8cedd83a2d3efb73073a63b0a7efffddc').
Need to figure out what is going on with that pathing issue - these paths should be OK - CARGO_TARGET_SUBDIR should be set per project.

@sathyendranv , I think you are still dealing with a RUST version issue.  I saw the same thing.
When I switched (back) to RUST 1.47, it worked.  You can change it by using the following command:
git clone -b master git://github.com/meta-rust/meta-rust.git
# reverting to a known good version
cd meta-rust
git checkout 7ff669d8cedd83a2d3efb73073a63b0a7efffddc

I just compiled and booted Yocto for MACHINE              = "intel-corei7-64" with success.

@darobs @ksaye  Thank you for the input. That worked :)

Yep, we need better information on this.  :)


Marketing: YouTube - Locate and update content?

Hi everyone,
We have had meetings over the last few weeks and have been unable to locate the videos while scrolling through the latest videos on YouTube. https://www.youtube.com/@OpenSSF/videos
I think it would be helpful to newbies like me if we had one or more of the following:

Can public meetings be posted
Can hyperlinks to the public meeting be added to the meeting notes
WG-DEI in the Title
#WG-DEI is adding the body
Useful general summary added to each video, such as
How to get involved hyperlink
When is the next meeting

We had meetings on

[ ] 2024-09-26 DEI WG Community Office Hours -  https://www.youtube.com/watch?v=L2NEUYuVxSo
[ ] 2024-09-24 WG-DEI Working Group Meeting
[ ] 2024-09-10 WG-DEI Working Group Meeting
[ ] 2024-08-27 WG-DEI Working Group Meeting
[ ] 2024-08-22 DEI WG Community Office Hours
[ ] 2024-08-13 WG-DEI Working Group Meeting

2024-09-26 DEI WG Community Office Hour
https://www.youtube.com/watch?v=L2NEUYuVxSo
I just found this meeting, and here are a few suggestions to consider

Add this to the title "DEI WG Community Office Hour - 09-26-2024"
Add "2024-09-26 DEI WG Community Office Hour" to the body
List the speaker and their preferred a hyperlink such as GitHub, LinkedIn, or LF Profile
Summary or Overview
Link to join "Get Involved in OpenSSF DEI Working Group" - hyperlink here
When is the next meeting, and link to calendar

@SecurityCRob, can you assist with this issue?
@marcelamelara & @cyberjiujiteira: I will spend a little time creating a summary and providing a draft here.

2024-09-26 DEI WG Community Office Hour https://www.youtube.com/watch?v=L2NEUYuVxSo
I just found this meeting, and here are a few suggestions to consider

Here is a draft of a summary to update the YouTube video. Please feel free to continue to proof, edit, and refine what I provided below:
Finding Community & Mentors in Open Source
DEI WG Community Office Hour - 09-26-2024
The OpenSSF September Community Office Hours are for the DEI working group. Our focus is on mentorship and community-building in open-source software and cybersecurity.
DEI Community Managers & Advocates shared their experiences as community managers and advocates contributing to various open-source projects. They mentioned working on Linux events and recently shifting focus to cybersecurity.
Open-source Contributors shared how they have been engaged in open-source projects for years, contributing to several Linux Foundation projects, mentoring through programs like Google Summer of Code (GSoC), and encouraging collaboration.
Topics Discussed

Mentorship vs. Coaching vs. Sponsorship: Mentorship is a long-term relationship focused on overall growth, while coaching is more short-term and skill-specific. Sponsorship involves advocacy, where a sponsor promotes the mentee in the room that isn't present.

Expectations from Mentorship: Mentors should provide feedback, resources, and opportunities while fostering a supportive environment where mentees can openly discuss challenges.

Finding Opportunities: Open-source projects and mentorship programs (like Google Summer of Code, Linux Foundation (LFX), and Outreachy) were discussed. The speakers emphasized researching projects, joining communities, and staying active on platforms like GitHub to find opportunities.

Starting Small and Building Trust: Mentees are encouraged to engage in small, manageable tasks within a project to build experience and confidence. Building trust and openly communicating between mentor and mentee are critical to a successful relationship.

Project Responsibilities to be Welcoming: Projects should have clear documentation, defined paths for newcomers, and proactively invite new contributors. Hosting events and ensuring accessible entry points for contributors were also emphasized.

Learnings Observed
Mentees can proactively find opportunities and should not hesitate to contact mentors or join events. Take advantage of communities, attend events, and get comfortable with open-source platforms.
Maintainers should work to create clear, open, and transparent communication and pathways for new contributors. They will also continue to advertise needs, host events, and ensure newcomers feel welcome.
Get Involved: Join OpenSSF DEI Working Group - hyperlink
or
Learn more today: Visit OpenSSF DEI Working Group - hyperlink

@GrooveCS Thank you for this !! Here are my tweaks to your summary
`The OpenSSF September Community Office Hours is hosted by the DEI working group. The focus of this community office hours is on mentorship and community-building in open-source software and cybersecurity.
....
Project Responsibilities to be Welcoming: Projects should have clear documentation, defined paths for newcomers, and proactively invite new contributors. If the projects do not have this, it would be a great opportunity for a newcomer to assist with. Hosting events and ensuring accessible entry points for contributors were also emphasized.
....`

This is a great summary, thank you for putting this together @GrooveCS . I think we're ready to make the template from #7 a permanent file in this repo, and then we can open a PR based off that with the content here.


Fix this to work on "x.com"?

I love this extension and have been using it for a long time now. Even after Twitter got renamed to "x", it still worked because the main page was still "twitter.com".
However, it looks like just today, that finally got changed so that "twitter.com" redirects all URLs to "x.com". Which, breaks this lovely addon!
The site itself still seems to function the same, so it would be lovely if I could keep using it. Thanks.

Thanks to @lolLucoa, this should be fixed with https://github.com/autophagy/twitter-bg-restorer/pull/19. I think I need to fix a few things to upload a new version, and I'll try and do that today or tomorrow. Will close this when I've uploaded a new version!

It seems to be working for me now, thank you so much!


[GST Plugin] AAC Invalid Codec Private Data

Hi! I'm working on pumping video data (H264/AAC) from an upstream source to Kinesis Video Streams via the gstreamer plugin. While the gst pipeline runs and submits data successfully, when I try to generate an HLS playlist I get the following error:
$ aws kinesis-video-archived-media get-hls-streaming-session-url --endpoint $ENDPOINT_URL --stream-name aac-audio-issue --hls-fragment-selector FragmentSelectorType=SERVER_TIMESTAMP,TimestampRange={StartTimestamp=2021-04-06T15:05:00.007Z} --playback-mode LIVE_REPLAY

An error occurred (MissingCodecPrivateDataException) when calling the GetHLSStreamingSessionURL operation: Missing codec private data in fragment for track 2.

If I grab the fragment via get-media-for-fragment-list, the fragment AAC has an invalid sampling rate:
$ ffprobe -hide_banner fragment.webm
[aac @ 0x7fdfb6820c00] invalid sampling rate index 13
[matroska,webm @ 0x7fdfb680de00] Failed to open codec in avformat_find_stream_info
[aac @ 0x7fdfb6820c00] invalid sampling rate index 13
    Last message repeated 1 times
[matroska,webm @ 0x7fdfb680de00] Failed to open codec in avformat_find_stream_info
[matroska,webm @ 0x7fdfb680de00] Could not find codec parameters for stream 1 (Audio: aac, 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, matroska,webm, from 'fragment.webm':
  Metadata:
    title           : Kinesis Video SDK
    encoder         : Kinesis Video SDK 1.1.0
    AWS_KINESISVIDEO_FRAGMENT_NUMBER:<PHONE_NUMBER>3181724596048935557323111792491521698
    AWS_KINESISVIDEO_SERVER_TIMESTAMP:<PHONE_NUMBER>.251
    AWS_KINESISVIDEO_PRODUCER_TIMESTAMP:<PHONE_NUMBER>.469
  Duration: N/A, start:<PHONE_NUMBER>.469000, bitrate: N/A
    Stream #0:0(eng): Video: h264 (Constrained Baseline), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 30.30 fps, 30 tbr, 1k tbn, 60 tbc (default)
    Metadata:
      title           : kvs_video_track
    Stream #0:1(eng): Audio: aac, 0 channels, fltp (default)
    Metadata:
      title           : kvs_audio_track
[aac @ 0x7fdfb686a800] invalid sampling rate index 13
Could not open codec for input stream 1

To confirm that the GST pipeline isn't the culprit, I replaced kvsplugin with an matroskamux/filesink and the file works correctly (see pipeline.mkv). I also tried conforming the CPD by calling mkvgenGenerateAacCpd, but ran into the same error (see aac_cpd.patch)
This is my test gst pipeline:
gst-launch-1.0 \
    filesrc location=src.mkv do-timestamp=TRUE !  matroskademux name=demux ! identity sync=TRUE ! queue ! \
    video/x-h264,group-id=1 ! multiqueue name=q sync-by-running-time=true demux. ! audio/mpeg,group-id=1 ! q.  \
    q. ! audio/mpeg ! aacparse ! kvs.

All my test media and my unsuccessful attempt at a fix is attached:
media.zip
aac_cpd.patch.txt
Thank you in advanced for helping us get to the bottom of this one.

Can you please
export KVS_DEBUG_DUMP_DATA_FILE_DIR and set it to a path, the Producer SDK will write out the MKV the same as what it will stream out to the back-end service.  Then we can inspect that and see if there is an issue there too.

Also in your AAC patch can you please also add logging to print out the sample rate?

Closing due to inactivity.


Use command key as control key (macOS)

Describe your feature request
Currently, when you want to zoom in or out on macos, you need to use the CTRL key as the control key. This is not intuitive, as on macos, the Command key is usually used for this.
This is only an issue in the desktop app, as the zoom level is controlled by the browser in the case of the web app :)
Are you willing to contribute this feature?
No
Related pull request (if applicable)
N/A

Since zooming will likely be removed soon (see https://github.com/StarlaneStudios/Surrealist/issues/78#issuecomment-1657286813), I'm going to close this and shelve it for when it might be relevant.

Yep! Sounds good!


Proposed ToC

What
Proposed TOC based on data: https://1drv.ms/w/s!Arn_TmX-psuNg_pIs1_8rAVSGTrn4g?e=NsG5h9
Why
Data shows that our ToC is not optimized based on the pages that customers are visiting the most. We are reorganizing the ToC to match that user behavior and help customers find content.
How Tested

Process & policy checklist

[ ] I have updated the project documentation to reflect my changes if necessary.
[ ] I have read the CONTRIBUTING documentation.

Is this a breaking change?

[ ] This change causes current functionality to break.

Ping... Let's land this PR so it's included in the latest beta likely to go out this week.


Appending all Highlights in a single page instead of creating a new page for each Article

Please give us the option to Append Highlights from all articles to a single Page(One can choose the page in the settings)
Will be helpful
Thanks

Hey @kngautham , we have added this feature in 1.3.2 release.

You can turn it on by enabling "IsSinglePage" toggle and set a fixed "Filename" in the plugin settings.
Please try it out!

Perfect. Thank you so much


More logs ?

Hi
I'm working on a plugin, that I kickstarted by forking an existing one + sed "s;old name;new name;".
My kanboard is a fresh install using git clone / composer, sqllite. It worker so far as login admin/admin. Of course something went wrong as soon as I cloned my githib.com/rgarrigue/plugin-redmine-webhook into plugin folder, and I got a
Unable to load this plugin class \Kanboard\Plugin\plugin-redmine-webhook\Plugin

I enabled debug log in config.php. That's just giving me a bunch of
[2016-03-17 10:00:51] [debug] SQL_QUERIES=0
[2016-03-17 10:00:51] [debug] RENDERING=0.020128011703491
[2016-03-17 10:00:51] [debug] MEMORY=2.57M
[2016-03-17 10:00:51] [debug] URI=/
[2016-03-17 10:00:51] [debug] ###############################################

I enabled everything error-related in php.ini, set error level to E_ALL... nothing.
How can I get more intel for my dev?

Did you check this? https://github.com/fguillot/kanboard/blob/master/doc/plugin-registration.markdown
For example "The first letter of the plugin name must be capitalized."

I did read that doc. That unlikely to be the issue since I cloned plugin-github-webhook, all filename should be ok, for now I just renamed github|gitlab in redmine in the content.
I guess I'll find what's wrong with a bit more time spent on it.
But that's not my question. If kanboard is telling me he can't load the plugin, I'ld like to know what's wrong for him, hence more log. THat about efficiency for later on too :-)

Maybe you could debug this method: https://github.com/fguillot/kanboard/blob/a7f3e3bec50762f2083f70672a0ba3db533fc8bb/app/Core/Plugin/Loader.php#L61

The folder name of your plugin and the namespace declared in the Plugin.php should be the same otherwise Kanboard will raise an exception.


Add HTTPS to AddressRegistrationTests

So the plan is to test this with Socket/SslStream instead of HttpClient so it can pass on all OS X machines?

@halter73: Correct, I'm writing an HttpClientSlim which uses Socket+SslStream.

https://github.com/Tratcher/HttpClient/blob/dev/src/Microsoft.Net.Http.Client/ManagedHandler.cs

@halter73, @cesarbs, @Tratcher: Travis is now passing, ready for review.

:shipit:

Nice!
:shipit:


experiment(ui-watt): css grid table

Description
Just a little attempt at making the material table use CSS grid, in order to have a "scrollable body".

References

#1018

We should however remember to make sure the determined max-height is responsive and doesn't break mobile so EO can still make use of the tables.

For suresies, will have to play around with the responsiveness some more 🙂 The 300px was just to force the scrollbars here, but good point!


Add Abhishek Kandi to the Contributors list

Add Abhishek Kandi to the Contributors list. Thanks a lot helping me to make my first contribution to open source.

Hi  @abhishekkandi, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added social share  to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.


docs

Great project! Would you mind to publish the docs anywhere?

Thanks!
I'll publish the docs on github pages tomorrow.

Docs published at http://livioribeiro.github.io/projects/rusted_cypher/rusted_cypher/index.html

great! thx!


I can't get it to work

I did everything according to the instructions
git clone https://github.com/black-forest-labs/flux
python -m venv .venv
source .venv/Scripts/activate
pip install -e “.[all]”

then run the model with python -m flux --name “flux-schnell” --loop.
The first time I had a bin file of 45gb downloaded when everything was loaded and the next times I got a warning message
You are using the default legacy behaviour of the <class 'transformers.models.t5.tokenization_t5.T5Tokenizer'>. This is expected, and simply means that the `legacy` (previous) behavior will be used so nothing changes for you. If you want to use the new behaviour, set `legacy=False`. This should only be set if you understand what it means, and thoroughly read the reason why this was added as explained in https://github.com/huggingface/transformers/pull/24565 D:\Program Files\python\Lib\site-packages\transformers\tokenization_utils_base.py:1601: FutureWarning: `clean_up_tokenization_spaces` was not set. It will be set to `True` by default. This behavior will be depracted in transformers v4.45, and will be then set to `False` by default. For more details check this issue: https://github.com/huggingface/transformers/issues/31884   warnings.warn( then the script closed.
I understand this is an error in the source files and did not change something by hand.
My pc configuration:
AMD RYZEN 5 5600
16GB DDR4
RX580
WIN10
Run everything in PowerShell
Ty for ur attention

something similar for me. nor cuda nor cpu works
$ python demo_gr.py --name flux-schnell --device cuda
You are using the default legacy behaviour of the <class 'transformers.models.t5
.tokenization_t5.T5Tokenizer'>. This is expected, and simply means that the leg acy (previous) behavior will be used so nothing changes for you. If you want to
use the new behaviour, set legacy=False. This should only be set if you under
stand what it means, and thoroughly read the reason why this was added as explai
ned in https://github.com/huggingface/transformers/pull/24565
H:\flux.venv\Lib\site-packages\transformers\tokenization_utils_base.py:1601: Fu
tureWarning: clean_up_tokenization_spaces was not set. It will be set to True  by default. This behavior will be depracted in transformers v4.45, and will be
then set to False by default. For more details check this issue: https://gith
ub.com/huggingface/transformers/issues/31884
warnings.warn(
Segmentation fault
(.venv)

code stops when loading t5
t5 = load_t5(device, max_length=256 if is_schnell else 512)


Grpc.Core Exception - Unhanded exception failed to connect to all addresses

Grpc Exception - Unhanded exception failed to connect to all addresses
As stated in the documentation, I started in Sample run steps, I started the zeebe client first which seems running with default setting and then Client.Examples cs project which resulting into gRPC exception
To Reproduce
Steps to reproduce the behavior:

Start zeebe client
docker run -p 26500:26500 camunda/zeebe:latest

Git checkout C Sharp client.

Cd Client.Examples

Run C Sharp Sample project as:
dotnet run --project Client.Examples.csproj

Error

I assume Zeebe client in step # 1 is the only prerequisite as stated for this sample run...
Am I missing anything?
Expected behavior
As I understand, client uses Zeebe orchestration client, deploy the workflow file and complete the flow as per workflow.
Enviroment (please complete the following information):

OS: Windows 10

Hey @anilraut30 thanks for reporting this and to provide these steps. I followed them, but can't reproduce this failure.
I get the following output:
Brokers:

 Address: <IP_ADDRESS>:26501,
 Host: <IP_ADDRESS>,
 NodeId: 0,
 Port: 26501,
 Partitions:
  PartitionId: 1,
  IsLeader: True,
  Role: LEADER
2019-11-21 19:55:01.6076 | DEBUG | Zeebe.Client.Impl.Worker.JobWorker | Job worker (zell-arch) for job type payment-service has been opened.
2019-11-21 19:55:01.6642 | DEBUG | Zeebe.Client.Impl.Worker.JobWorker | Job worker (zell-arch) activated 5 of 5 successfully.
Handling job: Key:<PHONE_NUMBER>685272, Type: payment-service, WorkflowInstanceKey:<PHONE_NUMBER>685252, BpmnProcessId: order-process, WorkflowDefinitionVersion: 1, WorkflowKey:<PHONE_NUMBER>685250, ElementId: taskA, ElementInstanceKey:<PHONE_NUMBER>685265, Worker: zell-arch, Retries: 3, Deadline: 11/21/19 7:55:11 PM, Variables: {"foo":"123","a":"123","wow":"this"}, CustomHeaders: {}

I'm sorry that you have problem with running the example. It might be a windows and docker related problem? I can try to reproduce this tomorrow on windows. I normally run that on linux.

Could you try to change this line
        private static readonly string ZeebeUrl = "<IP_ADDRESS>:26500";

In the example to either
        private static readonly string ZeebeUrl = "localhost:26500";

or
        private static readonly string ZeebeUrl = "<IP_ADDRESS>:26500";

And rerun your procedure?


Update the mirror url to use latest-4.5

We started using candidate for 4.5 because that time latest link
was not available and now it is so switching to latest so our CI
also can test what is comming in latest-4.5 side.

Isn't candidate-4.5 closest to what we want to test regularly, as this is what our next release would be based on? I don't really know the difference between candidate and latest :)

I don't know if it's possible with the CI but we could also choose to create a 4.5 branch now and put this commit in.

Isn't candidate-4.5 closest to what we want to test regularly, as this is what our next release would be based on? I don't really know the difference between candidate and latest :

@cfergeau latest- and stable- are what are part of stable channel and candidate is which is not out as part of stable channel and stress testing is still in progress and we always release based on the latest or stable. we only do the release with candidate when and upcoming release (like this time 4.5) is available to mirror but not part of stable yet (going to be soon). All the z stream releases we do using stable/latest till now.

I don't know if it's possible with the CI but we could also choose to create a 4.5 branch now and put this commit in.

@guillaumerose I would keep master with 4.5 till there is 4.6 candidate available and the do this switch.

/lgtm

/test e2e-snc


When we swipe left or right then menuContext 1. save to the album 2. cancel is coming. How can I remove these options.  Please help me out library is looking fine but still these options are coming.

You can set saveToLocalByLongPress=false

ascoders Thanks buddy. But Still swipe left, swipe right is not working proper.  I did try with url and props both but not getting success.
render() {
const images = [{
props: { source: require('../Images/logo_login.png')}
}, {
props: { source: require('../Images/BG.png') }
}, {
props: { source: require('../Images/logo_login.png') }
}]
return (
<View style={{ width: 400, height: 300 }}>

)}

What's the specific performance? Or give a gif please, thanks!

@itnilesh90 Have you been able to solve this?
@ascoders I came across the same issue

Yes.
This problem will not come with real App(install .apk), try with that.
Regards,
Nilesh
On Wed, Dec 5, 2018 at 2:05 PM naorzr<EMAIL_ADDRESS>wrote:

@itnilesh90 https://github.com/itnilesh90 Have you been able to solve
this?
@ascoders https://github.com/ascoders I came across the same issue
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ascoders/react-native-image-viewer/issues/225#issuecomment-444402194,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AegkS5PF_OwzqMhsETRc7JHsKWERa34vks5u14U0gaJpZM4WNwMy
.

Thanks! I'll look into that

Yes. This problem will not come with real App(install .apk), try with that. Regards, Nilesh
…
On Wed, Dec 5, 2018 at 2:05 PM naorzr @.***> wrote: @itnilesh90 https://github.com/itnilesh90 Have you been able to solve this? @ascoders https://github.com/ascoders I came across the same issue — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#225 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AegkS5PF_OwzqMhsETRc7JHsKWERa34vks5u14U0gaJpZM4WN

Thanks it's works for me


w-icon uses inline style, breaks strict CSP

If you have a strict Content Security Policy like:
style-src: 'self'

The use of inline styles will be blocked by the policy.  Can this component in particular, and maybe others in general be configured to not use inline styles?

Hi @cwaldbieser,
thanks for the suggestion, but this is not going to be in the scope for now. Too many components use inline styles to be very flexible, and it will not be possible to do otherwise unless I remove options for the user. Setting 10-15 common sizes is too many size when you need only one, and not the size you want for some users.
All the famous UI libraries have some inline styles, in order to offer more flexibility.
Hope that makes sense, thanks for the idea though. :)


Experiment entry not found in MLFlow

Issue:
Experiment not getting tracked in MLFlow

I created the stack by following the instructions provided in the README
I spun-up a SageMaker Notebook instance
Ran one of the example notebook

Output from SageMaker Notebook:
algo-1-8lk9t_1  | INFO:root:reading data
algo-1-8lk9t_1  | INFO:root:building training and testing datasets
algo-1-8lk9t_1  | INFO: 'boston-house' does not exist. Creating a new experiment
algo-1-8lk9t_1  | INFO:root:training model
algo-1-8lk9t_1  | INFO:root:evaluating model
algo-1-8lk9t_1  | INFO:root:AE-at-10th-percentile: 0.3148059956709947
algo-1-8lk9t_1  | INFO:root:AE-at-50th-percentile: 1.5540873015873053
algo-1-8lk9t_1  | INFO:root:AE-at-90th-percentile: 4.351567142857139
algo-1-8lk9t_1  | INFO:root:saving model in MLflow
algo-1-8lk9t_1  | 2020-12-05 01:46:05,404 sagemaker-training-toolkit INFO     Reporting training SUCCESS

Couldn't find the Experiment entry in the MLFlow

Can you check those 2 things and confirm if it helps:

the IAM role of your SageMaker Notebook instance has access to the S3 bucket with the name s3://mlflow-artifact...
in the first cell of the notebook, you set tracking_uri = '<YOUR MLFLOW SERVER URI>' . You can find this URI in CloudFormation Outputs when your stack finishes to deploy.
you have refreshed the MLflow page when your training job finishes. the experiement with the run(s) should appear.

Can you check those 3 things and confirm if it helps:

the IAM role of your SageMaker Notebook instance has access to the S3 bucket with the name s3://mlflow-artifact...
in the first cell of the notebook, you set tracking_uri = '<YOUR MLFLOW SERVER URI>' . You can find this URI in CloudFormation Outputs when your stack finishes to deploy.
you have refreshed the MLflow page when your training job finishes. the experiement with the run(s) should appear.

It granted permission for the s3://mlflow-artifact... S3 bucket and it worked. Thank you!

One other fix for this, if anyone else gets stuck, is I needed to add http:// in front of the URI printed in the console when using in Sagemaker with MLflow.


Fix EdgeHolder from incorrectly reporting an active connection

Description

Prevents check_active_connection from mistakenly returning true for a holder where init_owned_edge has been called but neither the init_connected_edge method or the add_connector method have not been called.

Relates to issue #360
Checklist

[x] I am familiar with the Contributing Guidelines.
[x] New or existing tests cover these changes.
[x] The documentation is up to date with these changes.

/merge


Different tracking IDs for cordova apps?

Is there a way to specify a different tracking ID for android and IOS apps?
Thanks.

I don't think so. It's set via Meteor.settings. Perhaps you could do something hacky like set it from your client code. I'm not sure if that actually works, I've never tried it, but you could try.


File Locksmith cannot detect processes with PIDs greater than 65535

Microsoft PowerToys version
0.72.0
Installation method
PowerToys auto-update
Running as admin
None
Area(s) with issue?
File Locksmith
Steps to reproduce
Leave a machine running for some time
confirm new process IDs are greater than 65535 in Process Explorer
open a file in any app like Microsoft Word
Click "What's using this file" from the context menu
✔ Expected Behavior
App is listed in File Locksmith dialog
❌ Actual Behavior
App is NOT listed in File Locksmith dialog (no result)
Other Software
No response

I create https://github.com/microsoft/PowerToys/pull/28265 to fix this issue.

Please review https://github.com/microsoft/PowerToys/pull/28265 for the fix.

This has been worked on for the 0.74.0 release. Please update PowerToys to the latest version. 😉
https://github.com/microsoft/PowerToys/releases


Ledger device: Missing critical parameter (0x6800)

If I try to sign the following tx json it fails with Ledger device: Missing critical parameter (0x6800)
{
    Account: "OMMITED"
    Domain: "OMMITED"
    Fee: "12"
    Flags: 65536
    LastLedgerSequence: 67379294
    Sequence: 67377767
    SetFlag: 8
    SigningPubKey: "OMMITED"
    TickSize: 6
    TransactionType: "AccountSet"
    TransferRate:<PHONE_NUMBER>
}

If I remove the Flags parameter it succeeds in the signature but fails to decode correctly.
Any Ideas?

The XRP app currently requires the flag tfFullyCanonicalSig to be set when signing transactions (https://xrpl.org/transaction-common-fields.html#global-flags). It appears that your Flags field does not contain it, which would explain why the transaction fails with the error you're seeing.
This flag has been deprecated since its introduction in this app, so it probably makes sense to remove the requirement. Please let me know what you think @RareData @natenichols.
You can find the relevant code here
https://github.com/LedgerHQ/app-xrp/blob/066af6b3c224de8f36451fe647e0396dcc18d1f7/src/xrp/xrp_parse.c#L423-L432

I agree, enforcing tfFullyCanonicalSig is no longer necessary. Until there is a new firmware version @natenichols, increase your Flags value by the https://xrpl.org/transaction-common-fields.html#global-flags decimal value<PHONE_NUMBER>. For example, if you intend to sign a transaction with Flags: 65536, use Flags:<PHONE_NUMBER> instead.

Thank you guys, I really appreciate the quick feedback.
I will try this today and see if that also fixes the ripple-codec-error.


Dependency check problems in v6.16.3 and v6.16.4

The following code illustrates nested dependency. Test A completes request, but fails assertion. Test B depends on some condition of test A and test C depends on some condition of test B:
### Test A
# @name a
POST https://httpbin.org/anything

?? status == 201

### Test B
# @name b
# @ref a
{{
  exports.$cancel = (aResponse?.statusCode !== 201);
}}
PATCH https://httpbin.org/anything

?? status == 200

### Test C
# @name c
# @ref b
{{
  exports.$cancel = (bResponse?.statusCode !== 200);
}}
GET https://httpbin.org/anything?b={{bResponse?.statusCode}}

?? status == 200

In , v6.16.2, the result is what you'd expect: both tests B and C get skipped:
---------------------

=== Test A ===

POST https://httpbin.org/anything
=> 200 (2224 ms, 590 B)
✖ status == 201 (AssertionError [ERR_ASSERTION]: status (200) == 201)

---------------------

=== Test B ===

PATCH https://httpbin.org/anything
○ Test skipped

---------------------

=== Test C ===

GET https://httpbin.org/anything?b={{bResponse?.statusCode}}
○ Test skipped

In In , v6.16.3 and 6.16.4, test B gets skipped, but the pre-request script of test C does not get processed due to the ReferenceError: bResponse is not defined error. So, the code to set the $cancel variable does not complete and test C is executed:
---------------------

=== Test A ===

POST https://httpbin.org/anything
=> 200 (1528 ms, 590 B)
✖ status == 201 (AssertionError [ERR_ASSERTION]: status (200) == 201)

---------------------

=== Test B ===

PATCH https://httpbin.org/anything
○ Test skipped

---------------------

=== Test C ===

GET https://httpbin.org/anything?b={{bResponse?.statusCode}}
✖ bResponse is not defined (ReferenceError: bResponse is not defined - Object.userJS (c:\PROJECTS\Test\HttpYacTest\test.http:21:22)

However, test C shows everywhere as successfully executed:

I think the test dependency logic in v6.16.2 was mostly correct. The only issue I seem to see with v6.16.2 is that it would try to invoke a failed test multiple times during a test run (for every @ref). But v6.16.3 and v6.16.4 do not work with my logic at all unless I'm doing something wrong.

The following script could be helpful for testing:
### A
# @name a
POST https://httpbin.org/anything

?? status == 201

### B
# @name b
# @ref a
{{
  exports.$cancel = (aResponse?.statusCode !== 201);
}}
PATCH https://httpbin.org/anything

?? status == 200

### C
# @name c
# @ref b
{{
  exports.$cancel = (bResponse?.statusCode !== 200);
}}
GET https://httpbin.org/anything?b={{bResponse?.statusCode}}

?? status == 200

### D
# @name d
# @ref b
{{
  exports.$cancel = (bResponse?.statusCode !== 200);
}}
GET https://httpbin.org/json?b={{bResponse?.statusCode}}

?? status == 200

It should produce test results:
---------------------

=== A ===

POST https://httpbin.org/anything
=> 200 (545 ms, 590 B)
✖ status == 201 (AssertionError [ERR_ASSERTION]: status (200) == 201)

---------------------

=== B ===

PATCH https://httpbin.org/anything
○ Test skipped

---------------------

=== C ===

GET https://httpbin.org/anything?b={{bResponse?.statusCode}}
○ Test skipped

---------------------

=== D ===

GET https://httpbin.org/json?b={{bResponse?.statusCode}}
○ Test skipped

@AnWeber I think I figured out a workaround. The problem now is apparently that when a test gets skipped neither the test nor the testResponse variable gets set, so I added a check to see if the variable is indefined before testing its properties:
### A
# @name a
POST https://httpbin.org/anything?x=a

?? status == 201

### B
# @name b
# @ref a
{{
  exports.$cancel = (aResponse?.statusCode !== 201);
}}
PATCH https://httpbin.org/anything?x=b

?? status == 200

### C
# @name c
# @ref b
{{
  exports.$cancel = (typeof bResponse === 'undefined' || bResponse?.statusCode !== 200);
}}
GET https://httpbin.org/anything?x=c

?? status == 200

### D
# @name d
# @ref b
{{
  exports.$cancel = (typeof bResponse === 'undefined' || bResponse?.statusCode === 200);
}}
GET https://httpbin.org/json?x=d

?? status == 200

Test results:
---------------------

=== A ===

POST https://httpbin.org/anything?x=a
=> 200 (437 ms, 610 B)
✖ status == 201 (AssertionError [ERR_ASSERTION]: status (200) == 201)

---------------------

=== B ===

PATCH https://httpbin.org/anything?x=b
○ Test skipped

---------------------

=== C ===

GET https://httpbin.org/anything?x=c
○ Test skipped

---------------------

=== D ===

GET https://httpbin.org/json?x=d
○ Test skipped

It seems to have done the trick, but I am still wondering if this is a bug.


Make set termguicolors more prominent

Hi, I really love your color scheme! It was much more what I was looking for vs everything else I was seeing out there. But I'm a Neovim Newb, and for the life of me couldn't get why the blue background shading wasn't showing up. Decided to RTFM and saw that I was missing set termguicolors. That's my only nitpick.

Thank you for the feedback! I didn't really look at many examples when making this theme so I am not sure how other themes handle the termguicolors. I was afraid if I added the command to the theme it would break in incompatible terminals. I did do the best I could to make the cterm version of the theme.
I have updated the instructions. If there is anything else you think I should change, let me know.


Timeout should match value in environment

Description
This change fixes the issue of the hard-coded timeout value. This fixes #9
I ran into this issue here: https://github.com/openfaas-incubator/of-watchdog/issues/50
This is not yet complete (must be duplicated 4x). This is what I needed to change to get my long running function to work and I am looking for feedback here.
How Has This Been Tested?

I have tested this in my environment. See https://github.com/openfaas-incubator/of-watchdog/issues/50#issuecomment-465430595
How are existing users impacted? What migration steps/scripts do we need?
Values set for "write_timeout" will be respected.
Checklist:
I have:

[x] updated the documentation and/or roadmap (if required)
[x] read the CONTRIBUTION guide
[ ] signed-off my commits with git commit -s
[ ] added unit tests

Hi @brandonkal
Do you intend to finish this PR. If not, I would like to submit this and get merged.
Thanks
Rajat Jindal

@rajatjindal given that this was last touched in Feb, I'm going to close. Please raise a new PR and do the fix there.

@brandonkal thanks for having started this :+1:


Updating random page to follow Picocms 1.x URL Routing system

Minor fix. I've incorporated in to my installation, but thought I'd pass along to you.
re: http://picocms.org/in-depth/upgrade/#routing-system
Thanks for you efforts on this Picocms plugin.

Thanks for the fix!


[language] remove outdated function allows_equality

Motivation
The function allows_equality is outdated and is replaced by is_copyable in bytecode_verifier.
Have you read the Contributing Guidelines on pull requests?
(Write your answer here.)
Test Plan
(Share your test plan here. If you changed code, please provide us with clear instructions for verifying that your changes work.)
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/libra/website, and link to your PR here.)

@bors-libra r=dariorussi

:pushpin: Commit 07ec835 has been approved by dariorussi

:hourglass: Testing commit 07ec83534217507939b976f0cb8722abaa05fba1 with merge a2fe7d1baa2d713ce105a8d7c940e7cb1ed48284...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: dariorussi
Pushing a2fe7d1baa2d713ce105a8d7c940e7cb1ed48284 to master...


type_traits not found

With the hopes that someone possibly running into this issue maybe being able to find something; I'm leaving a note here (most google results are about reinstalling stuff and don't drill into the underlying issue):
If you're trying to parse qt headers with clang similar to:
NIX_DEBUG=1 clang -xc++ -std=c++11 -stdlib=libc++ -nostdinc++ -I $(nix-build --no-out-link '<nixpkgs>' -A llvmPackages.libcxx)/include/c++/v1/ -I qtheaders/include/ -fsyntax-only qtheaders/include/QtWidgets/QPushButton -v

If you get errors like
qtheaders/include/QtCore/qglobal.h:45:12: fatal error: 'type_traits' file not found

-- the reason is because you dont have the libcxx includes in your search path (which type_traits[1] is a part of, and not type_traits.h which is in includes/llvm/Support).
This I have half kludged in with the above command (there's probably a more direct fix for this) via https://libcxx.llvm.org/docs/UsingLibcxx.html
[1] https://en.cppreference.com/w/cpp/header/type_traits

NIX_DEBUG=1 clang -xc++ -std=c++11 -stdlib=libc++ -nostdinc++ -I $(nix-build --no-out-link '<nixpkgs>' -A llvmPackages.libcxx)/include/c++/v1/ -I qtheaders/include/ -fsyntax-only qtheaders/include/QtWidgets/QPushButton -v

Hi, I still got this error, when I tried to compile smokeqt from https://github.com/commonqt/commonqt5/,
this is my mkshell.nix https://github.com/prehonor/nixscript/blob/master/project/qt5env.nix
this is log :
[  0%] Generating smokedata.cpp, x_1.cpp, x_2.cpp, x_3.cpp, x_4.cpp, x_5.cpp, x_6.cpp, x_7.cpp, x_8.cpp, x_9.cpp, x_10.cpp, x_11.cpp, x_12.cpp, x_13.cpp, x_14.cpp, x_15.cpp, x_16.cpp, x_17.cpp, x_18.cpp, x_19.cpp, x_20.cpp
using generator "/home/prehonor/.local/bin/../lib/smokegen/generator_smoke.so"
didn't find file "/home/prehonor/CLionProjects/smokeqt/build/qtdefines"
parsing "/home/prehonor/CLionProjects/smokeqt/qtcore/qtcore_includes.h"
In file included from /home/prehonor/CLionProjects/smokeqt/qtcore/qtcore_includes.h:1:
In file included from /nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/QtCore:4:
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:45:12: fatal error: 'type_traits' file not found
include <type_traits>
       ^~~~~~~~~~~~~

1 error generated.
make[2]: *** [qtcore/CMakeFiles/smokeqtcore.dir/build.make:75: qtcore/smokedata.cpp] Error 1
make[1]: *** [CMakeFiles/Makefile2:259: qtcore/CMakeFiles/smokeqtcore.dir/all] Error 2
make: *** [Makefile:136: all] Error 2


GH-4119 LMDB store in Workbench

GitHub issue resolved: #4119
Briefly describe the changes proposed in this PR:

PR Author Checklist (see the contributor guidelines for more details):

[ ] my pull request is self-contained
[ ] I've added tests for the changes I made
[ ] I've applied code formatting (you can use mvn process-resources to format from the command line)
[ ] I've squashed my commits where necessary
[ ] every commit message starts with the issue number (GH-xxxx) followed by a meaningful description of the change

@kenwenzel you can try this out by checking out my branch and going to the docker directory and running ./build.sh followed by docker-compose up -d and then go to http://localhost:8080/rdf4j-workbench.

@jeenbroekstra i want to merge the changes that allow the LMDB store to be created from the workbench, since I thought that this had already been included in RDF4J 4.1.0 so I put it in the release announcement.
The other changes, which are more performance related I'll retarget to 4.2.0 together with config options in the workbench for LMDB and SHACL/RDFS/etc.

@jeenbroekstra i want to merge the changes that allow the LMDB store to be created from the workbench, since I thought that this had already been included in RDF4J 4.1.0 so I put it in the release announcement.

Sounds good. I had a glance at the PR and it looks legit. Have you had a chance to run the changes in the workbench and check that it works?

The other changes, which are more performance related I'll retarget to 4.2.0 together with config options in the workbench for LMDB and SHACL/RDFS/etc.

👍

Yeah. I use the docker script to run it up. Works well.


add alternative permissionlist naming

Apparently this CRD may (also) need to be called permissionlist rather than (just) permission

I couldn't find the CRD that creates the CR type PermissionList:
https://github.com/rabbitmq/messaging-topology-operator/tree/main/config/crd/bases
Can you share a link to the CRD itself?

my GitOps contains the following (redacted):
apiVersion: rabbitmq.com/v1beta1
kind: PermissionList
metadata:
name: rabbitmq-permission-list
annotations:
refresh: dummy-refresh-annotation
items:

apiVersion: rabbitmq.com/v1beta1
kind: Permission
metadata:
name: redacted
spec:
user: redacted
vhost: redacted
permissions:
configure: "."
write: "."
read: ".*"
rabbitmqClusterReference:
name: rabbitmq
apiVersion: rabbitmq.com/v1beta1
kind: Permission
metadata:
name: redacted
spec:
user: redacted
vhost: redacted
permissions:
configure: "."
write: "."
read: ".*"
rabbitmqClusterReference:
name: rabbitmq

my CRD also differs from the one in source control when fetched via get -o yaml:
status:
acceptedNames:
categories:
- all
kind: Permission
listKind: PermissionList
plural: permissions
singular: permission
permissionlist is referred to by the docs:
https://github.com/rabbitmq/messaging-topology-operator/blob/main/docs/api/rabbitmq.com.ref.asciidoc
so it's not a locally-made configuration.
I would wager that the CRD extractor does not currently support this. Perhaps my patch is not the right one, even if it does superficially fix the problem.

from reading around, I understand that listKind has the same schema as the "regular" kind, correct?
I'm wondering if creating duplicate schemas with just different names is the right way to handle this use case.


Fix preview.html

Hey,
prefixClass doesn't appear to be rendering https://github.com/filamentgroup/grunticon/blob/master/example/preview.hbs#L23
Currently I have to set the following empty value to even get the preview.html file working:
        grunticon: {
            myIcons: {
                files: [{
                    expand: true,
                    cwd: 'img/layout',
                    src: ['*.svg', '*.png'],
                    dest: 'img/layout/grunticon'
                }],
                options: {
                  cssprefix: ""
                }
            }
        }

I'm probably doing something wrong, but I expected preview.html to work out of the box :hammer:
Regards,

Which version of grunticon are you using? Which OS? What value were you trying that's not working?

I don't want a prefix, so I tried an empty string "" and " "
{{prefix}} updated in preview.html, but {{prefixClass}} didn't, leading me to think something was/is buggy
Regards,

@ldexterldesign with no prefix, there will just be a filename as the selector - I believe that we have the ability to do that overridden - if you're using your own class prefix on the filename, I believe "." as your prefix class is the way to go (this, of course, will not work if your filename would not be an appropriate class such as .0001-home)

@jefflembeck could you give me an example of "no prefix" because none of the following seemed to work for me:
        grunticon: {
            myIcons: {
                files: [{
                    expand: true,
                    cwd: 'img/layout',
                    src: ['*.svg', '*.png'],
                    dest: 'scss/vendor/grunticon'
                }],
                options: {} // add "icon-" prefix
            }
        }

        grunticon: {
            myIcons: {
                files: [{
                    expand: true,
                    cwd: 'img/layout',
                    src: ['*.svg', '*.png'],
                    dest: 'scss/vendor/grunticon'
                }],
                options: {
                    cssprefix: "" // add "icon-" prefix
                }
            }
        }

        grunticon: {
            myIcons: {
                files: [{
                    expand: true,
                    cwd: 'img/layout',
                    src: ['*.svg', '*.png'],
                    dest: 'scss/vendor/grunticon'
                }],
                options: {
                    cssprefix: "." // prefix/replace dot (".") with dot
                }
            }
        }

Yours hopefully,

I can confirm that this is still an issue in ver 2.0.0.
I am also on OS X Yosemite.
I have replicated the same steps as @ldexterldesign. I have tried to look at fixing myself in the repo but can't find where the  prefixClass is assigned. So to re-iterate, it is just the preview file that is not rendering the css class correctly:

.icon-burger:

should be rendering as:

.icon-burger:

The css itself in the .css files is fine and has the '.icon-' prefixed.
I have also tried including the https://github.com/filamentgroup/grunticon/blob/master/example/preview.hbs#L23 preview file and referencing it in my repo with:
options: {               previewTemplate: "source/preview-custom.hbs"             }
But to no avail.
The only way to get a working preview right now is by naming every svg file as 'icon-filename.svg'  and then adding
options: {               cssprefix: '.'             }
But this is no way forward for production so I'll be creating my own preview file for now.

I think I've got this one working in 2.0.1 - Sorry about that, misunderstood the issue.

Boom!
Nailed it.
Thanks!

@jefflembeck kind thanks


A bootstrap node running only a gateway module does not allow clients to start off

When I added the tfchain peer(<IP_ADDRESS> = bootstrap4.threefoldtoken.com) manually later, it did work

weird, arrived at home, my chain is progressing but no peers are shown on the commandline


Refactor post_storagepools in the storagepools_apis in the framework

When using "metadataProfile": 'single' and "dataProfile": 'single', the number of devices used need to be one

Make sure to consider the min number of devices for each type of raid

Single profile can use more than one device

Make sure that the relation between the raids and the disk provided is correct


Curated dashboard: We should, together with the Athena team, create one dashboard that demonstrates the features of the plugin.

Update:

we did one curated dashboard already (CUR data)
we are now slated to do another (VPC), see slack for discussion.


Unable to authenticate to Azure ML Workspace using Service Principal

Package Name: azureml-core
Package Version: 1.13.0
Operating System: Windows 10.0.18363
Python Version: 3.6.2

Describe the bug
Unable to authenticate to Azure ML Workspace using Service Principal.
I get the following error:
AttributeError: 'AdalAuthentication' object has no attribute 'get_token'.
To Reproduce
Steps to reproduce the behavior:

pip install azureml-core==1.13.0

from azureml.core import Workspace
from azureml.core.authentication import ServicePrincipalAuthentication

tenant = "tenant"
client = "client"
key = "key"

credentials = ServicePrincipalAuthentication(
           tenant_id=tenant,
           service_principal_id=client,
           service_principal_password=key)

workspace = Workspace.from_config("config.json", auth=credentials)

with config.json file containing information about the Workspace.
Expected behavior
To be able of attaching to the Workspace using Service Principal.

Having a similar issue connection to Azureml using service principle

Same issue I have been facing as well. It worked fine until yesterday. Unable to connect to Azureml using service principal

Same here. It was working fine till yesterday. From today, I am facing the same issue.

Was working fine for me until around 6.30am GMT+1 this morning

Same here, started to fail today.

Hello guys. I'm facing the same problem. All was a fine couple hours ago.

Workaround/Possible Solution
In azure\core\pipeline\policies_authentication.py in class BearerTokenCredentialPolicy instead of calling get_token use _token_retriever() and take the element with index one.
 def on_request(self, request):
        # type: (PipelineRequest) -> None
        """Adds a bearer token Authorization header to request and sends request to next policy.

        :param request: The pipeline request object
        :type request: ~azure.core.pipeline.PipelineRequest
        """
        self._enforce_https(request)
        print(self._token)
        print(self._need_new_token)
        if self._token is None or self._need_new_token:
            #help(self._credential._token_retriever)
            #print(dir(self._credential._token_retriever))
            #print(help(self._credential._token_retriever()))
            print(self._credential)
            scheme, self._token, _ = self._credential._token_retriever()
            print(self._token)
        self._update_headers(request.http_request.headers, self._token)

Hi, I have been using Azure Devops Pipelines with Microsoft Hosted Agents to connect to Azure ML. I am seeing this error "AttributeError: 'AdalAuthentication' object has no attribute 'get_token'"

Can confirm @gison93 proposal seems to solve this issue. I don't fully understand what may have changed if there has been no version update, though.

Can confirm @gison93 proposal seems to solve this issue. I don't fully understand what may have changed if there has been no version update, though.

I suspect is due to the recent update of azure-mgmt-keyvault to version 7.0.0 some hours ago

@gison93 can we use your proposal on microsoft hosted agents?

@gison93 can we use your proposal on microsoft hosted agents?

I think it is easier to roll back to the previous stable version of azure-mgmt-keyvault, i.e. force to use azure-mgmt-keyvault==2.2.0 in the meantime. This seems to solve the issue on my end.

Same here. It was working fine till yesterday. From today, I am facing the same issue. The codes work perfectly from my local computer but did not work from Azure hosted agents.

On local, workaround from @gison93 work's perfectly, but I'm using Azure DataBricks as a compute target and cannot change the source code of libraries. I find a solution with downgrade lib azure-mgmt-resource from 15.0.0 to 8.0.1.

Yes, I agree with @chengyu-liu-cs

@gison93 can we use your proposal on microsoft hosted agents?

I think it is easier to roll back to the previous stable version of azure-mgmt-keyvault, i.e. force to use azure-mgmt-keyvault==2.2.0 in the meantime. This seems to solve the issue on my end.

This solution did not work for me.

@gison93 can we use your proposal on microsoft hosted agents?

I think it is easier to roll back to the previous stable version of azure-mgmt-keyvault, i.e. force to use azure-mgmt-keyvault==2.2.0 in the meantime. This seems to solve the issue on my end.

This solution did not work for me.

They are probably changing more stuff at the moment. This did work but is is not working anymore. We will have to wait for a proper fix I guess.

I did further investigation comparing package differences. Actually, both local and hosted agents have azureml-core==1.12.0.post1. So My guess  azureml-core version might not be the direct reason.
There were many packages that have different versions from my local versions. But I rolled back a couple of most possible ones and solved the issue (at least for now)
azure-mgmt-keyvault==2.2.0
azure-mgmt-resource==10.2.0
azure-identity==1.2.0
azure-core==1.8.0
azure-mgmt-storage==11.1.0

A new version of Azure Mgmt Resource client library released 5 hours ago. Is that caused the issue?
https://pypi.org/project/azure-mgmt-resource/

It's not because of AzureML. (downgrading to 1.12.0 causes the same issue.)
As @sajalda23409 mentioned it's related to https://pypi.org/project/azure-mgmt-resource/15.0.0/
Fixed with pinning the previous version:
pip install azure-mgmt-resource==10.2.0
Or if you are using Databricks:
if dbutils.library.installPyPI('azure-mgmt-resource', version="10.2.0"):
  dbutils.library.restartPython()

We are taking a look at this issue, and will provide update later
For the time being, a workaround is using azure-mgmt-resources 10.2.0
cc @yonzhan  @changlong-liu  @00Kai0 @jsntcy

You can temporarily fixed with pinning the previous version:
pip install azure-mgmt-resource==10.2.0

it fixes the issue with the service principle by pinning mgmt-resource (azure-mgmt-resource==10.2.0) , but its breaking automl now:
957         except ValidationException as ex:
/databricks/python/lib/python3.7/site-packages/azureml/automl/core/package_utilities.py in _get_package_incompatibilities(packages, ignored_dependencies)
420                     target=','.join(incompatible_packages.keys()),
421                     missing_packages_message=';'.join(messages),
--> 422                     reference_code=ReferenceCodes._UNVERIFIED_PACKAGES
423                 ))
424
ValidationException: ValidationException:
Message: Please install specific versions of packages: We validated this package with azure-core<=1.8.0 but your environment has azure-core 1.8.1.;We validated this package with azure-mgmt-keyvault<=2.2.0 but your environment has azure-mgmt-keyvault 7.0.0.;We validated this package with azure-mgmt-storage<=11.2.0 but your environment has azure-mgmt-storage 16.0.0.;We validated this package with dotnetcore2<=2.1.14 but your environment has dotnetcore2 2.1.15.;We validated this package with interpret-community<=0.14.3 but your environment has interpret-community 0.14.4.;We validated this package with liac-arff<=2.4.0 but your environment has liac-arff 2.5.0.;We validated this package with msal<=1.4.3 but your environment has msal 1.5.0.;We validated this package with msrest<=0.6.18 but your environment has msrest 0.6.19.;We validated this package with ruamel.yaml.clib<=0.2.0 but your environment has ruamel.yaml.clib 0.2.2.;We validated this package with ruamel.yaml<=0.16.10 but your environment has ruamel.yaml 0.16.12.;We validated this package with tqdm<=4.48.2 but your environment has tqdm 4.49.0.
 There were also issues with creating virtual networks with the azure-mgmt-network package, and this was solved with reverting to the previous version:
pip install azure-mgmt-network==10.2.0

Please uninstall the azure-mgmt-resource==15.0.0 and azureml-core==1.13.0.
Then install azureml-core==1.13.0.post1. It should fix the issue.

Hi guys, I wanted to provide an update here. The real cause of this behavior is the version upgrade for azure-mgmt-resources from 10.2.0 to 15.0.0
Basically,  we did a major upgrade for Python SDK management libraries for some services. In the new version of SDK, the authentication mechanism has been changed, we have mentioned those changes in the release notes, please refer to this changelog:
changelog
The new version of SDK offers a number of important features but also introduces some breaking changes.
You can either choose to upgrade to the new version or stay on the old version.
To upgrade:
There is migration guide here for updating to the new SDK
Detailed info of benefits of the new SDK as well as documentation/code samples can be found here
To stay on the old version
Please keep using 10.2.0

Thank you @nickzhums! I will take a look at the new version

Hi @nickzhums, I tried to use ClientSecretCredential instead of ServicePrincipalCredential with no luck.
from azureml.core import Workspace
from azure.identity import ClientSecretCredential

tenant = "tenant"
client = "client"
key = "key"

credentials = ClientSecretCredential(
            tenant_id=tenant,
            service_principal_id=client,
            service_principal_password=key)

workspace = Workspace.from_config("config.json", auth=credentials)

I get the following error:
AttributeError: 'ClientSecretCredential' object has no attribute '_get_workspace'
Should I open a new issue?

It  seems like you are directly passing credentials to Workspace.from_config method, which I'm not sure if it will support. The standard practice is to use a service client.
Yes, please open an issue and we can track it from there

@nickzhums I am still getting the same error with the latest packages:
Traceback (most recent call last):
  File "/usr/lib/python3.9/code.py", line 90, in runcode
    exec(code, self.locals)
  File "<console>", line 1, in <module>
  File "/home/ben/Projects/hive/ide/providers/azure/provider.py", line 78, in deploy_project_resources
    self.resource_client.resource_groups.create_or_update(resource_group_name, {
  File "/home/ben/.virtualenvs/hive/lib/python3.9/site-packages/azure/mgmt/resource/resources/v2020_06_01/operations/_resource_groups_operations.py", line 154, in create_or_update
    pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
  File "/home/ben/.virtualenvs/hive/lib/python3.9/site-packages/azure/core/pipeline/_base.py", line 211, in run
    return first_node.send(pipeline_request)  # type: ignore
  File "/home/ben/.virtualenvs/hive/lib/python3.9/site-packages/azure/core/pipeline/_base.py", line 71, in send
    response = self.next.send(request)
  File "/home/ben/.virtualenvs/hive/lib/python3.9/site-packages/azure/mgmt/core/policies/_base.py", line 47, in send
    response = self.next.send(request)
  File "/home/ben/.virtualenvs/hive/lib/python3.9/site-packages/azure/core/pipeline/_base.py", line 71, in send
    response = self.next.send(request)
  File "/home/ben/.virtualenvs/hive/lib/python3.9/site-packages/azure/core/pipeline/_base.py", line 71, in send
    response = self.next.send(request)
  File "/home/ben/.virtualenvs/hive/lib/python3.9/site-packages/azure/core/pipeline/_base.py", line 71, in send
    response = self.next.send(request)
  [Previous line repeated 1 more time]
  File "/home/ben/.virtualenvs/hive/lib/python3.9/site-packages/azure/core/pipeline/policies/_redirect.py", line 157, in send
    response = self.next.send(request)
  File "/home/ben/.virtualenvs/hive/lib/python3.9/site-packages/azure/core/pipeline/policies/_retry.py", line 436, in send
    response = self.next.send(request)
  File "/home/ben/.virtualenvs/hive/lib/python3.9/site-packages/azure/core/pipeline/_base.py", line 69, in send
    _await_result(self._policy.on_request, request)
  File "/home/ben/.virtualenvs/hive/lib/python3.9/site-packages/azure/core/pipeline/_tools.py", line 29, in await_result
    result = func(*args, **kwargs)
  File "/home/ben/.virtualenvs/hive/lib/python3.9/site-packages/azure/core/pipeline/policies/_authentication.py", line 93, in on_request
    self._token = self._credential.get_token(*self._scopes)
AttributeError: 'AdalAuthentication' object has no attribute 'get_token'

I am using the following azure libs:
$ pip freeze | grep azure
azure-common==1.1.26
azure-core==1.9.0
azure-mgmt-core==1.2.2
azure-mgmt-dns==3.0.0
azure-mgmt-resource==15.0.0
azure-storage-file-share==12.3.0
msrestazure==0.6.4

@bendavis78 please check this one : https://docs.microsoft.com/en-us/azure/developer/python/azure-sdk-overview#migrating-from-older-management-libraries
I apologize for the broken link - we've been doing some cleanup
cc @00Kai0 and @jsntcy to help with get_client_from_auth_file question

Same issue here.  We've upgraded to azure-mgmt-resource==15.0.0 because we need some of the new features - now all of our Azure ML code is broken.  We've tried both CLI auth (but doesnt work due to https://github.com/Azure/azure-cli/issues/15496), and service principle - where we hit this issue.

Same issue here.  We've upgraded to azure-mgmt-resource==15.0.0 because we need some of the new features - now all of our Azure ML code is broken.  We've tried both CLI auth (but doesnt work due to https://github.com/Azure/azure-cli/issues/15496), and service principle - where we hit this issue.

@jamescross91 were you able to resolve this issue using the instructions above?

@jamescross91 were you able to resolve this issue using the instructions above?

@nickzhums it's unclear to me how the migration instructions relate to the Azure ML SDK

@nickzhums it's unclear to me how the migration instructions relate to the Azure ML SDK

Like mentioned above, once you upgrade to azure-mgmt-resource 15.0.0, the code breaks because we introduced a new authentication mechanism that integrates with Azure Identity. If your code breaks because of this, then you can relate to the guide above to see how if you can authenticate using the new library.

Like mentioned above, once you upgrade to azure-mgmt-resource 15.0.0, the code breaks because we introduced a new authentication mechanism that integrates with Azure Identity. If your code breaks because of this, then you can relate to the guide above to see how if you can authenticate using the new library.

Yup got that part - but the Azure ML SDK expects authentication to work like this: https://github.com/Azure/MachineLearningNotebooks/blob/master/how-to-use-azureml/manage-azureml-service/authentication-in-azureml/authentication-in-azureml.ipynb

Yup got that part - but the Azure ML SDK expects authentication to work like this: https://github.com/Azure/MachineLearningNotebooks/blob/master/how-to-use-azureml/manage-azureml-service/authentication-in-azureml/authentication-in-azureml.ipynb

@00Kai0  @jsntcy could you provide some insight on this

@00Kai0  @jsntcy could you provide some insight on this

Close this as all track 2 migration issue is tracked in https://github.com/Azure/azure-sdk-for-python/issues/16984.

Anyone else seeing this error again today?


SnackBar duplicated on Master-Detail UI with two Scaffolds

On multi panel UI (aka master-detail UI pattern for wide screen layouts for tablets or desktop), with two scaffolds in row, calling .showSnackbar(...)  cause showing duplicated SnackBar's on each Scaffolds.
disclaimer: There is no nested Scaffolds.
Steps to Reproduce

Execute flutter run on the code sample
Tap on button from one of the scaffold panels

Expected results:
Snackbar should be shown in the Scaffold that triggered it.
Actual results:
Snackbar is shown twice. at the left/master and right/details Scaffolds.

Code sample

import 'package:flutter/material.dart';

void main(){
  runApp(MaterialApp(home:TwoPanelsHome()));
}

class TwoPanelsHome extends StatelessWidget {
  const TwoPanelsHome({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Row(
      children: [
        Expanded(child: TestScaffold('left/master')),
        Expanded(child: TestScaffold('right/details'))
      ],
    );
  }
}

class TestScaffold extends StatelessWidget {
  const TestScaffold(this.name, {Key? key}) : super(key: key);

  final String name;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(title: Text(name)),
        body: Center(
          child: ElevatedButton(
            onPressed: () {
              ScaffoldMessenger.of(context)
                  .showSnackBar(SnackBar(content: Text('hello from $name')));
            },
            child: Text('show snack from $name'),
          ),
        ));
  }
}

[✓] Flutter (Channel stable, 2.8.0, on macOS 12.0.1 21A559 darwin-x64, locale en-RU)
    • Flutter version 2.8.0 at /Users/ng/Tools/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision cf44000065 (8 days ago), 2021-12-08 14:06:50 -0800
    • Engine revision 40a99c5951
    • Dart version 2.15.0

looks like this piece of checking root scaffold logic is recently added here https://github.com/flutter/flutter/issues/77251
For me current behaviour of duplicated scaffolds looks incompatible with Master-Detail UI pattern

This is working as expected. There is one ScaffoldMessenger by default for each route, it sends a SnackBar to all descendent Scaffolds. If you add a ScaffoldMessenger above each Scaffold in your example, it will work as you expect.
Controlling the scope of ScaffoldMessenger is documented here: https://github.com/flutter/flutter/blob/82c00c12a60283e075e79e015cdbdb264b7f3ed4/packages/flutter/lib/src/material/scaffold.dart#L73
It does mention nested Scaffolds, so we should probably update it to reflect nested Scaffolds or in cases where more than one Scaffold is visible.
import 'package:flutter/material.dart';

void main(){
  runApp(MaterialApp(home:TwoPanelsHome()));
}

class TwoPanelsHome extends StatelessWidget {
  const TwoPanelsHome({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Row(
      children: [
        Expanded(
           // Add a ScaffoldMessenger here
          child: TestScaffold('left/master'),
        ),
        Expanded(
          // Add a ScaffoldMessenger here
          child: TestScaffold('right/details'),
        )
      ],
    );
  }
}

class TestScaffold extends StatelessWidget {
  const TestScaffold(this.name, {Key? key}) : super(key: key);

  final String name;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(title: Text(name)),
        body: Center(
          child: ElevatedButton(
            onPressed: () {
              ScaffoldMessenger.of(context)
                  .showSnackBar(SnackBar(content: Text('hello from $name')));
            },
            child: Text('show snack from $name'),
          ),
        ));
  }
}

Thanks! Maybe you have similar answer for the same multi panel layout and PopupMenuButton unexpected behaviour described here https://github.com/flutter/flutter/issues/95425 :)

(Triage) This issue has been resolved, there is additional handling for nested scaffolds now, as well as docs and examples. I am going to close it, but if there is still work to be done here, lave a comment and we can take another look. Thanks!


Fix error in resumable upload handler

@matthewayne it would be great if you could also update the test cases to cover this situation.


Docs/getting started

Change structure for several sections, rephrase sentences, and correct grammar issues.

Codecov Report

Merging #197 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #197   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          20     20
  Lines         377    377
=====================================
  Hits          377    377

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 0df55fc...de3fa58. Read the comment docs.


ElectrumG wallet no longer syncing

Are the servers even active ?
Seems to be domain changes or pages changes to the website.
The wallet was working properly a week ago but no longer tries to connect and sync.

Please switch all the servers from *.bitcoingold.org to *.btgofficial.org

It doesn't seem to work, either.
Am I doing it wrong?


feat: Avoid requiring arith gates in sequence

Another installation in the series of PRs to allow for trace sorting. A common pattern in the builder is that the final gate in some sequence (usually aux or sort gates) is an arithmetic gate that serves two purposes: (1) provides wires values to the preceding gate via shifts, and (2) performs some check expressed as an arithmetic constraint. This causes problems if we sort the gates by type, which brings the arithmetic gate out of sequence. The solution is simply to add a dummy gate (for purpose 1) prior to the arithmetic gate (purpose 2).
Note 1: I've added a create_dummy_constraint method and used it in some places to replace equivalent logic.
Note 2: The additional dummy gate in the process ROM array logic changes the vkey for circuits that use it, hence the updated vk hash in the js test that checks vk hash consistency.
No change:
--------------------------------------------------------------------------------
Benchmark                      Time             CPU   Iterations UserCounters...
--------------------------------------------------------------------------------
ClientIVCBench/Full/6      32585 ms        26673 ms

Benchmark results
Metrics with a significant change:

note_trial_decrypting_time_in_ms (8): 15.3 (+99%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit 40adc5cd and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
64 txs

l1_rollup_calldata_size_in_bytes
4,932
17,348
33,892

l1_rollup_calldata_gas
62,964
232,292
458,488

l1_rollup_execution_gas
190,864
493,550
897,698

l2_block_processing_time_in_ms
1,198
4,508 (-8%)
8,990

note_successful_decrypting_time_in_ms
206 (+4%)
545 (-1%)
992

note_trial_decrypting_time_in_ms
:warning: 15.3 (+99%)
64.4 (-15%)
127 (-1%)

l2_block_building_time_in_ms
16,249 (+1%)
64,106 (+1%)
129,177 (+1%)

l2_block_rollup_simulation_time_in_ms
12,406 (+1%)
48,961 (+1%)
98,843 (+1%)

l2_block_public_tx_process_time_in_ms
3,811 (+1%)
15,077 (+1%)
30,163 (+1%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
14,980 (-1%)
28,530

note_history_successful_decrypting_time_in_ms
1,276 (-6%)
2,415 (-1%)

note_history_trial_decrypting_time_in_ms
123 (+31%)
149 (+4%)

node_database_size_in_bytes
18,620,496
35,229,776

pxe_database_size_in_bytes
29,923
59,478

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
249
44,736
28,001

private-kernel-ordering
178
52,625
14,627

base-rollup
1,315
175,343
933

root-rollup
71.0 (+1%)
4,192
825

private-kernel-inner
313 (-1%)
73,715
28,001

public-kernel-app-logic
192
32,254
25,379

merge-rollup
5.74
2,712
933

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
0 deployed contracts

tx_size_in_bytes
19,147

Transaction processing duration by data writes.

Metric
0 new note hashes
1 new note hashes

tx_pxe_processing_time_ms
2,544
1,333

Metric
0 public data writes
1 public data writes

tx_sequencer_processing_time_ms
0.0307 (-2%)
470


Cannot read property 'latitude' of undefined

Hi
We're experiencing following error while calling findNearest() function. The error occurs in some of the calls. The inputs parameters of successful and unsuccessful calls are identical.
Any idea on the cause of the error or a fix on handling the type error will be appreciated.
TypeError: Cannot read property 'latitude' of undefined
at Geolib.geolib.extend.coords (/var/app/current/node_modules/geolib/dist/geolib.js:179:121)
at Geolib.geolib.extend.getDistance (/var/app/current/node_modules/geolib/dist/geolib.js:248:26)
at Geolib.geolib.extend.orderByDistance (/var/app/current/node_modules/geolib/dist/geolib.js:924:37)
at Geolib.geolib.extend.findNearest (/var/app/current/node_modules/geolib/dist/geolib.js:1013:32)
at /var/app/current/BAL/Content/Watchlist/Watchlist.js:633:56
at fn (/var/app/current/node_modules/async/lib/async.js:746:34)
at /var/app/current/node_modules/async/lib/async.js:1213:16
at /var/app/current/node_modules/async/lib/async.js:166:37
at /var/app/current/node_modules/async/lib/async.js:706:43
at /var/app/current/node_modules/async/lib/async.js:167:37
at Immediate._onImmediate (/var/app/current/node_modules/async/lib/async.js:1206:34)
at processImmediate as _immediateCallback

Seeing the exact same issue.

Can you provide some code examples maybe?

I'm debugging right the issue at the moment - I'll update shortly.

@manuelbieh It occurs when coordinates with additional precision are provided.
e.g. { latitude: 40.7536853999999, longitude: -73.9991637 }

@manuelbieh might it be related to this #113 ?

I am also having this issue right now but only on IOS. . it works fine on android . . in my case I added onPress event on the map to get coordinates. Here is my code:
https://github.com/airbnb/react-native-maps/issues/1499
It appears that on IOS the callback is missing some data or it did not return properly. Please advise. Thank you.

I believe I am having a similar issue
`                        <MapView.Marker
key={place.placeId}
coordinate={place.latLng}
title={place.title}
description={place.address}
onPress={this.animateToCoordinate}
>
<MapView.Callout>
<PlaceCallout {...place} />
</MapView.Callout>
</MapView.Marker>
animateToCoordinate(e) {
    console.log(e);
    console.log(e.nativeEvent);
    console.log(e.nativeEvent.coordinate);
}`

any update on this?

I don't know if this is the same issues others are seeing, but I also ran into it like this:
This (and #130) can both be caused by using the navigator.geolocationAPIs with geolib. The Coordinates object returned by a call to getCurrentPosition() or watchPosition() doesn't hasOwnProperty() for either 'latitude' or 'longitude', although the implementing object can retrieve values for these properties.
This means that coords(), delegating to getKeys()'s, fails to find latitude and longitude properties, and returns undefined. Other functions that depend on coords() (most of them, I believe), throw this error because they assume that coords() will return a valid object, but it does not, resulting in this error.

@ianawilson did you figure out how to fix this?

@kirakik My workaround was to map the Coordinates object to a POJO, eg,
navigator.geolocation.getCurrentPosition(function(position) {
  // or whatever geolib function
  geolib.longitude({
    latitude: position.coords.latitude,
    longitude: position.coords.longitude,
  });
});

or map when I had a collection of positions,
geolib.getPathLength(positions.map((p) => ({
  latitude: p.coords.latitude,
  longitude: p.coords.longitude,
})));

But I would love to see geolib work nicer with the geolocation API!

I was pretty sure that already worked 🤔  Should be fixed again in v3.0.0 which I will release shortly.


Publish 7.5-rc-1

Publish 7.5-rc-1

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.


How to set struct members from python

How to set struct members from python??Thanks!

@jerroldchou501 Hey, I know it's been a couple years since you posted this, but did you ever find a solution?

no，but you can make a function in Blueprint， for Python to call it.


Critical dependencies warning due to requiring pre-built js file

First of all thanks for building this, super useful. I'm getting a slightly annoying warning when requiring redux-segment.
My code:
/* global analytics */

// ... a bunch of imports

import { createTracker, EventTypes } from 'redux-segment';

export default props => {
  // ... init some other middlewares

  if (typeof analytics === 'object') {
    const tracker = createTracker();
    composedStore = compose(composedStore, applyMiddleware(tracker));
  }

  // ... some more stuff

 return store;
};

And I get the following warning:
18:18:37 client.1 | WARNING in ./~/redux-segment/redux-segment.js
18:18:37 client.1 | Critical dependencies:
18:18:37 client.1 | 1:485-492 This seems to be a pre-built javascript file. Though this is possible, it's not recommended. Try to require the original source to get better results.
18:18:37 client.1 |  @ ./~/redux-segment/redux-segment.js 1:485-492

duplicate https://github.com/rangle/redux-segment/issues/25 should close


v0.3.0-alpha.3

Push master branch to "v0.3.0-alpha.2" tag

Alright it's here:
https://github.com/guangie88/spdlog_setup/releases/tag/v0.3.0-alpha.3


Validator set tie breaking

Closes #22.
For this to work properly, it was necessary to add a start_height field to the Member struct. So that it can be used for pagination. If not, pagination could fail, return repeated elements, or both.
This field can be made optional. As it is now, it needs to be set for "add member", but it will then be ignored on addition. Working on that extension now. Publishing as Draft in the mean time, so that you can take a look.
I personally think this is a nice tie-breaking mechanism. But perhaps, adding this is too much of a hassle for such a minor issue / detail.

I understand why you do this, but adding start_height to tg4-stake,group,mixer seems very heavy.
We have the start_height in tgrade-valset and that is the height I would use (who became an active validator first).
A lighter  approach would be just modify the calculate_validators logic and the interface between tgrade-valset and tg4-mixer. Either
(a) let tgrade-valset add a start_height for validators (and start with default of 100000000 if not set), but leave tg4-stake and tg4-group untouched. then you can keep the same query you have now for tgrade-valset OR
(b) leave all the tg4-* contracts untouched and make a more complicated valset query. Once you hit the limit, keep reading in validators that have the same weight as the last one inside the limit. Then the contract can sort those in memory using the locally stored start_height.
(b) seems a bit easier in that only one contract is modified, but more confusing logic
(a) may be the cleaner one if we can freely break the contract interfaces.
I would leave tg4-stake and tg4-engagement untouched in both cases

I understand why you do this, but adding start_height to tg4-stake,group,mixer seems very heavy.

I agree.

We have the start_height in tgrade-valset and that is the height I would use (who became an active validator first).
A lighter approach would be just modify the calculate_validators logic and the interface between tgrade-valset and tg4-mixer. Either (a) let tgrade-valset add a start_height for validators (and start with default of 100000000 if not set), but leave tg4-stake and tg4-group untouched. then you can keep the same query you have now for tgrade-valset OR (b) leave all the tg4-* contracts untouched and make a more complicated valset query. Once you hit the limit, keep reading in validators that have the same weight as the last one inside the limit. Then the contract can sort those in memory using the locally stored start_height.

I was trying to avoid doing (b). And doing (a) looks complicated / dirty as well.

(b) seems a bit easier in that only one contract is modified, but more confusing logic (a) may be the cleaner one if we can freely break the contract interfaces.
I would leave tg4-stake and tg4-engagement untouched in both cases

I agree this is too invasive an approach for such a detail (tie breaking).
I was thinking yesterday that another approach that is relatively clean would be to have another index. So, we keep the weight index as is, and build another with the height info for tie-breaking. That way we don't need to change the Member and MemberResponse structs. The only drawback is that this other index will take some space, and eat some resources.

I will give both approaches a try (extra index, and in memory sorting for tie-breaking) and then we decide.

So, we keep the weight index as is, and build another with the start height info for tie-breaking

But where does the start_height come from?

I think this is not needed for patch net and I would consider it a bit lower priority.
There are still a number of open contract issues in https://github.com/orgs/confio/projects/8?card_filter_query=milestone%3A"0.6.0+patchnet+stretch"

So, we keep the weight index as is, and build another with the start height info for tie-breaking

But where does the start_height come from? This is my key point.

The start height is the block height at the moment of member addition (not update).

Either it comes from tgrade-valset (proper, solution (a) that you reject as too heavy) OR we approximate it as storing the height of the first time the address is stored with a non-zero weight.

That second one is what I'm doing. Problem is, this needs to be part of the group contracts, because there's where the members are added.

I think the second one just involves updating internal state and no external APIs.

My last does just that, but still, there's a good number of changes.
I agree this is not relevant / important in the short term. Will work on other issues, and leave this aside for now.

Closing in favour of #91.


KAFKA-16511: Fix the leaking tiered segments during segment deletion

When there are overlapping segments in the remote storage, then the deletion may fail to remove the segments due to isRemoteSegmentWithinLeaderEpochs check. Once the deletion starts to fail for a partition, then segments won't be eligible for cleanup. The one workaround that we have is to move the log-start-offset using the kafka-delete-records script.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Test failures are unrelated.

@abhijeetk88 for reviewing the changes.

Failed tests are unrelated.


Laravel 11.x support?

Hi @kirills-morozovs, Laravel 11 support should have been added in February (as part of v0.3.3). If you are having any issues, please let me know though.


Setting up logs - minor detail correction

Purpose

Correct wso2carbon.log file location detail under topic: Enable Gateway wire logs

@chathuranga95 , Pls do this fix in master as well, so that the changes get applied in the 3.1.0 docs as well


Update cloudwatch, dynamodb, kinesis, s3, sns, ... to 2.17.76

Updates

software.amazon.awssdk:cloudwatch
software.amazon.awssdk:dynamodb
software.amazon.awssdk:kinesis
software.amazon.awssdk:s3
software.amazon.awssdk:sns
software.amazon.awssdk:sqs
software.amazon.awssdk:sts

from 2.16.104 to 2.17.76.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

labels: library-update, early-semver-minor, semver-spec-minor

Superseded by #771.


Add pre-commit command to run eslint fix and type check of flow

Description

Add husky devDependency for pre-commit

Screenshots

Test

Can I ask how the lint here work? I have no idea why it reports error.

master is broken. please rebase! :_

Haven't had a good time with Husky in the past, but we'll give this another go!

Hi @i-liszt , how do I set up Husky?
I cloned the repository today, but I'm getting the error that
 Can't open .husky/_/husky.sh

How do get this shell script? I notice that it's gitignored.

Can I know how do you set that?

I just git pulled the latest repository and ran yarn. Were there extra steps to get Husky to work?

OK, I guess I need to add a prepare script. Let me create another PR for this.


Flamescope dashboard not available

I had followed all steps as stated in README. Still not able to view dashboard.
Please find the screenshots below:

Here of dashboard:

Port Number: 5000 is open & whitelisted for any ip address.
I am running the flamescope tool on my ec2 instance.

The error is pretty clear, your browser can't connect to the server, but there are several possible explanations. Here are a few troubleshooting steps:

Can you curl to localhost on port 5000?
You mentioned whitelisted? Whitelisted where? iptables? Security group?
You are listening on <IP_ADDRESS> too, which is likely not your external interface. Can you try switching that to <IP_ADDRESS>? Or your external interface ip address?

I'm guessing you're running flamescope on a remote instance. In which case <IP_ADDRESS> won't work: you'll need the IP address of that instance. Maybe we should update the startup messages of flamescope to list the remote IP address.

@PawanWagh assuming the issue was fixed. Closing.

Hey guys, thanks for the help. Setting host to "<IP_ADDRESS>" fixed the problem.


Fix RVFI rd write enable

The original query was (rvfi_rd_we_id == 1'b0), so this fixes the incorrect transformation.

Thanks Tobias!


Profile - When submitting an empty form below "Zip/Postcode" line does not display an error

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open the App
Login with any account
Tap to settings >Profile>Personal details
Navigate to Home address page and verify you cannot submit the form with any of the address fields empty except the "Address line 2" field (an error shows up on all fields that are empty, except address line 2)

Expected Result:
You cannot submit the form with any of the address fields empty except the "Address line 2" field.
Actual Result:
"Zip/Postcode" line does not display an error as in the other empty fields.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

Triggered auto assignment to @JmillsExpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

Interesting. I'm not able to reproduce this one. Closing, though please re-open if you're still able to reproduce on your end.