Lossy numeric LayerContentMetadata

When using any integer type as part of a Layer's Metadata, that metadata is deemed incompatible when reading from a previous layer. libcnb.rs seems to interpret these fields as Float.
For example, LayerMetadata like this:
#[derive(Deserialize, Serialize, Debug, Clone)]
struct CountingMetadata {
    counter_u64: u64,
    counter_i32: i32,
}

Will always hit the migrate_incompatible_metadata method, reporting the GenericMetadata as Some({"counter_i32": Float(1.0), "counter_u64": Float(1.0)}).
To reproduce:

Clone https://github.com/joshwlewis/sample-counter-buildpack
cargo libcnb package
pack build sample --buildpack target/buildpack/debug/sample-counter. It should build just fine.
pack build sample --buildpack target/buildpack/debug/sample-counter. It will fail to use the previously cached metadata, and that should show in the build logs.

Adding this to migrate_incompatible_metadata():
        let layer_file = std::fs::read_to_string(_ctx.layers_dir.join("counting.toml")).unwrap();
        println!("Layer file contents: {layer_file}");

...gives:
===> BUILDING
Layer file contents: [metadata]
  counter_i32 = 1.0
  counter_u64 = 1.0

Previous layer data invalid!!!

So the issue must either be on write, or a pack/lifecycle thing.

Ok so this is a pack/lifecycle thing. If I read counting.toml to a string in build() before+after the handle_layer() call, I can see that it's written correctly, but on the next build it's been changed even before handle_layer() runs.

This is enough to repro (create a skeleton buildpack using pack buildpack new testcase, drop the below in, then update api to 0.6 or newer and stacks to "*" in buildpack.toml):
#!/usr/bin/env bash

set -euo pipefail

layers_dir="${1}"

test_layer_dir="${layers_dir}/test"
test_layer_toml="${test_layer_dir}.toml"

mkdir -p "${test_layer_dir}"

if [[ -f "${test_layer_toml}" ]]; then
    echo "Existing layer TOML contents:"
    cat "${test_layer_toml}"
fi

cat > "${test_layer_toml}" << EOF
[types]
launch = true
build = true
cache = true

[metadata]
version = 1
EOF

...gives on the second (cached) build:
===> RESTORING
Restoring metadata for "testcase:test" from app image
Restoring data for "testcase:test" from cache
===> BUILDING
Existing layer TOML contents:
[metadata]
  version = 1.0

Here's a one stop reproduction script:
mkdir -p /tmp/fc3cf072c65938325d7541f1048f9f97
cd /tmp/fc3cf072c65938325d7541f1048f9f97

mkdir -p bin/

touch bin/build
touch bin/detect

cat > bin/detect <<'EOFF'
#!/usr/bin/env bash

set -euo pipefail

exit 0
EOFF

cat > bin/build <<'EOFF'
#!/usr/bin/env bash

set -euo pipefail

layers_dir="${1}"

test_layer_dir="${layers_dir}/test"
test_layer_toml="${test_layer_dir}.toml"

mkdir -p "${test_layer_dir}"

if [[ -f "${test_layer_toml}" ]]; then
    echo "Existing layer TOML contents:"
    cat "${test_layer_toml}"
fi

cat > "${test_layer_toml}" << EOF
[types]
launch = true
build = true
cache = true

[metadata]
version = 1
EOF
EOFF

cat > buildpack.toml <<'EOFF'
api = "0.6"

[buildpack]
id = "sample-counter"
version = "0.1.0"
name = "Sample Counter"
clear-env = true

[[buildpack.licenses]]
type = "BSD-3-Clause"

[[stacks]]
id = "*"
EOFF

chmod +x bin/build
chmod +x bin/detect

Running it twice demonstrates the error ed was seeing:
$ pack build sample --buildpack ./ --path ./
20: Pulling from heroku/buildpacks
Digest: sha256:c49ebf7c333d099ee765a1841acea6d5e5aa0a81a3375e96d7af41c4abc53344
Status: Image is up to date for heroku/buildpacks:20
20-cnb: Pulling from heroku/heroku
Digest: sha256:cb6e1902c1bd7c10e0e0d81d1a6c67a070e7820326b3cd22b11d0847b155ca5a
Status: Image is up to date for heroku/heroku:20-cnb
Previous image with name "sample" not found
===> DETECTING
sample-counter 0.1.0
===> RESTORING
===> BUILDING
===> EXPORTING
Adding layer 'sample-counter:test'
Adding 1/1 app layer(s)
Adding layer 'launcher'
Adding layer 'config'
Adding label 'io.buildpacks.lifecycle.metadata'
Adding label 'io.buildpacks.build.metadata'
Adding label 'io.buildpacks.project.metadata'
no default process type
Saving sample...
*** Images (12e0340bd3e0):
      sample
Adding cache layer 'sample-counter:test'
Successfully built image sample
⛄ 3.1.2 🚀 /tmp/fc3cf072c65938325d7541f1048f9f97
$ pack build sample --buildpack ./ --path ./
20: Pulling from heroku/buildpacks
Digest: sha256:c49ebf7c333d099ee765a1841acea6d5e5aa0a81a3375e96d7af41c4abc53344
Status: Image is up to date for heroku/buildpacks:20
20-cnb: Pulling from heroku/heroku
Digest: sha256:cb6e1902c1bd7c10e0e0d81d1a6c67a070e7820326b3cd22b11d0847b155ca5a
Status: Image is up to date for heroku/heroku:20-cnb
===> DETECTING
sample-counter 0.1.0
===> RESTORING
Restoring metadata for "sample-counter:test" from app image
Restoring data for "sample-counter:test" from cache
===> BUILDING
Existing layer TOML contents:
[metadata]
  version = 1.0
===> EXPORTING
Reusing layer 'sample-counter:test'
Reusing 1/1 app layer(s)
Reusing layer 'launcher'
Reusing layer 'config'
Adding label 'io.buildpacks.lifecycle.metadata'
Adding label 'io.buildpacks.build.metadata'
Adding label 'io.buildpacks.project.metadata'
no default process type
Saving sample...
*** Images (12e0340bd3e0):
      sample
Reusing cache layer 'sample-counter:test'
Successfully built image sample

Note the version = 1.0 instead of version = 1 as expected.

According to https://toml.io/en/ integers are supported types. I say this is for sure a bug in lifecycle. I'll move to make this bash example an https://codetriage.com/example_app and open an issue against the lifecycle.


feat: add join method to Url class

added support for URL path joining with optional trailing slashes and multiple arguments.

Change Summary

This PR implements a feature based on pydantic/pydantic#9794 to join URL path into the base URL. It uses the join method from the url crate.
Related issue number

fix pydantic/pydantic#9794
Checklist

[ ] Unit tests for the changes exist
[ ] Documentation reflects the changes where applicable
[ ] Pydantic tests pass with this pydantic-core (except for expected changes)
[ ] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

I've added tests and changed the implementation. Now, it only takes one argument instead of multiple.
I noticed that using multiple arguments can be confusing, especially when trailing_slash=False. Keeping it to one argument makes things clearer, similar to how servo-url and urllib.urljoin work.
For example, the user may expect either of the following. I wasn't sure which one to implement.
            a.join("e", "?q=1", "g", trailing_slash=False)
                    │     │      │
                    └──┬──┘      │
                       ▼         │
              ┌───► "e?q=1"      │
              │        │         │
    No trailing slash  └────┬────┘
                            ▼
                           "g"

         a.join("e", "?q=1", "g", trailing_slash=False)
                 │     │      │
                 └──┬──┘      │
                    ▼         │
                 "e/?q=1"     │
                    │         │
                    └────┬────┘
                         ▼
                       "e/g"

I think it would be great to have more time to discuss the semantics (does it need to match urllib? What about other libraries like furl? Should be double check with the current RFCs? We should also check what was said in this discussion).

Let's do this before moving forward


Add getRoomId to adapter

When sending a custom message, the room id is required as part of the message body. This function gives access to it.

Hey @alexbrazier thanks for the contribution!  I'll take a look and get it merged 👍

Thanks @geekgonecrazy, any update on when this and #170 will be merged?


Unignore Cargo.lock file

Cargo.lock files should be included in binary-producing packages to make installations more reproducible

I understood from your request and the following documents.
https://doc.rust-lang.org/cargo/faq.html#why-do-binaries-have-cargolock-in-version-control-but-not-libraries
Merged.
Thank you!


Include xRec in existing Events [Job Journal Line]

The Job Journal Line table has events such as "OnBeforeUpdateUnitCost" which have Rec and IsHandled as a parameter. We don't however provide xRec while xRec is used in much of the logic within the standard "UpdateUnitCost" function.
Please can xRec be added to these events?
OnBeforeUpdateUnitCost
Current
 [IntegrationEvent(false, false)]
   local procedure OnBeforeUpdateUnitCost(var JobJounralLine: Record "Job Journal Line"; var IsHandled: Boolean)
   begin
   end;

Proposed
   [IntegrationEvent(false, false)]
    local procedure OnBeforeUpdateUnitCost(var JobJounralLine: Record "Job Journal Line"; xJobJournalLine: record "Job Journal Line"; var IsHandled: Boolean)
    begin
    end;

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


Updated nuget packages breaks references and  doesn't work

Hi,
Apparently there is a new version over last days of the nuget package.
But i can't find the check-in for the code changes.
I've tried to upgrade but that apparently removed my references.
I've then tried to add the references manually but since then my code doesn't  build anymore.
The intellisense is ok but when i build i get errors that the namespace can't be found.
Are you sure the package is ok and can you check-in the code so I might have a look at the changes ?
Thank you in advance.
Kind Regards

This issue is confirmed,
I went back to <IP_ADDRESS> and the <IP_ADDRESS> packages and it works again.


[Feature] Disk Usage Stats

Please describe the feature you want this project to offer
It would be nice to have disk stats show up in termiboard.
Describe the solution you'd like
Implement the GetDiskUsage() method in the memory.go file.
Describe alternatives you've considered (Optional)
You could use the gopsutil library to achieve this

I would like to tackle this issue :)

Sure @S-Maciejewski


Getting Trends from different countries

How can we get trends from different countries?
It does not support proxy.

I have tried but it is required that login in twitter for getting trends from a different location. To login is not easy using html-request. I tried however twitter perceived as a bot a few minutes later.


PowerQuery SDK for VS or just VS Code?

Can I use the PQ SDK with VS or just VS code? This tutorial uses VS. What am I missing?

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

ID: f268458b-0823-daa4-2a92-4cdde33534ad
Version Independent ID: b4739249-2a91-a9d5-a4d2-4b325fea2029
Content: TripPin tutorial sequence - Power Query
Content Source: powerquery-docs/samples/trippin/readme.md
Service: powerquery
GitHub Login: @ptyx507x
Microsoft Alias: miescobar

The VS Code version is currently in public preview, but once it is generally available it'll replace the Visual Studio one. You could use either one, but we will keep this issue open and update this article with VS Code related images and instructions once it reaches general availability.
Thank you for your feedback!

Thanks Miguel. To confirm, the public preview version for vs code is v0.2.2?
Brad McDonald
Sr. Manager, NAML Performance Analytics
Email<EMAIL_ADDRESS>Mobile: +1<PHONE_NUMBER>
Houston, TX, USA
[HALLIBURTON]http://logw332.ati-host.net/gopc.url?xts=553058&xtor=EPR-25-[HAL-signatures]&url=http://www.halliburton.com
From: Miguel Escobar @.>
Sent: Tuesday, March 14, 2023 11:16 AM
To: MicrosoftDocs/powerquery-docs @.>
Cc: Bradley McDonald @.>; Author @.>
Subject: [EXTERNAL] Re: [MicrosoftDocs/powerquery-docs] PowerQuery SDK for VS or just VS Code? (Issue #383)
External Sender: Use caution with links/attachments.
The VS Code version is currently in public preview, but once it is generally available it'll replace the Visual Studio one. You could use either one, but we will keep this issue open and update this article with VS Code related images and instructions once it reaches general availability.
Thank you for your feedback!

Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fpowerquery-docs%2Fissues%2F383%23issuecomment-1468405930&data=05|01|bradley.mcdonald%40halliburton.com|86a39413a7074c4cf95508db24a7597f|b7be76866f974db79081a23cf09a96b5|0|0|638144073401954626|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=vnbV975l2fCEPXAJptuABXxhzzS%2F6dTU7JU%2BoKzxA1o%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA6PT3GIM7UYQSOVZ3MO56QTW4CKSTANCNFSM6AAAAAAV2VB5UQ&data=05|01|bradley.mcdonald%40halliburton.com|86a39413a7074c4cf95508db24a7597f|b7be76866f974db79081a23cf09a96b5|0|0|638144073401954626|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=wImDuWXc4ktAVLRKPVGukEIbG2eq6OXAH3hiKmHfJ54%3D&reserved=0.
You are receiving this because you authored the thread.Message ID: @.***>
This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message.

That is correct. You can check it out on https://marketplace.visualstudio.com/items?itemName=PowerQuery.vscode-powerquery-sdk

The Power Query SDK for Visual Studio Code has gone GA and the documentation has been updated.
#please-close


chore: update vtk js to 26.4.0

Context

Changes & Results

Testing

Checklist
PR

[] My Pull Request title is descriptive, accurate and follows the
semantic-release format and guidelines.

Code

[] My code has been well-documented (function documentation, inline comments,
etc.)

Public Documentation Updates

[] The documentation page has been updated as necessary for any public API
additions or removals.

Tested Environment

[] "OS:
[] "Node version:
[] "Browser:

Context
Changes & Results
Testing
Checklist
PR

[] My Pull Request title is descriptive, accurate and follows the
semantic-release format and guidelines.

Code

[] My code has been well-documented (function documentation, inline comments,
etc.)

Public Documentation Updates

[] The documentation page has been updated as necessary for any public API
additions or removals.

Tested Environment

[] "OS:
[] "Node version:
[] "Browser:

Please replace this with a brief description of the changes - two bullet points is sufficient in this case.


VNC Password failed when picking existing session

Hello everyone,
I'm having trouble configuring xrdp with VNC on a debian 9 VM.
VNC server used : tigervnc-standalone-server
I'm using these settings in xrdp.ini :
[xrdp0]
name=OldSession
lib=libvnc.so
username=ask
password=ask
ip=<IP_ADDRESS>
port=5910
delay_ms=5000
[xrdp1]
name=NewSession
lib=libvnc.so
username=ask
password=ask
ip=<IP_ADDRESS>
port=-1
delay_ms=5000
Creation of a new session works fine, but when I want to pick my older session, I have the following message : VNC Password Failed.
I was however using the same credentials.
Any ideas ?
Thanks !

IIRC sesman uses autogenerated passwords to create sessions. So your scenario won't work.

Can you confirm if the issue is identical to #1006, #1007?

Looks not.

I have the same issue (xrdp 0.9.5). My workaround is creating a vnc password with vncpasswd and copy paswd over the sesman__passwd:10 file. Then i can reconnect to my session.
If sesman uses autogenrated passwords, how can we reconnect to an existing session?

Leave -1 in port. If resolution and bpp didn't change, sesman will reconnect you to existing one.

Hi all,
When I'm setting the resolution (for example : 1366 x 768), no prob, sesman reconnects me to my older session. Tested with RDP Client on Windows 10.
But with Guacamole resizing automatically the resolution (sometimes with non-standard resolutions, causing sesman to create a new session), that scenario isn't possible unless if I set the resolution myself to a given value in user-mappings.xml. In that case, sesman will reconnect me because there was no resizing.
Is there any value that can help me in xrdp.ini ? I read somewhere that AllowVNCresize=1 could work, but it doesn't in my case...

@Fabiosilvero I tried my best with xrdp.ini 4 months ago and didn't achieve anything. For now I'm just using vncserver -geometry WxH :1 and connect with TigerVNC Viewer. With Guacamole I guess it's not a solution you seek.
I guess you'll have to dive into the code and dig out the part where sesman decides you're eligible for reconnection and propose a change to maintainers with pull-request.

@Adonai What if there is a session of which resolution and bpp are unknown/forgotten, is there a way to regain that session?

@liwaiwai just to clarify, I'm not the developer of xrdp.
I don't know how to recover lost session. Believe me, I tried.

Someday I hope to re-add the feature where you can choose the tcp port number and just reconnect to the session you had before (like it used to be). But I'd have to learn how to actually program first.
In the mean time, to discover what your current xvnc sessions are, use a shell script. This is adapted from my personal bgscripts project. Here's the one-liner version, to get you started. The linked script includes the color depth as well.
{ echo "user pid Xdisplay port"; { ps -ef | awk '/Xvnc :[[:digit:]]+/ {print $1,$2,$9}' | while read tu tpid tvnc; do sudo netstat -tlpn | awk -v "tpid=${tpid}" '$0 ~ tpid {print $4;}' | sed -r -e 's/^.*://;' -e "s/^/${tu} ${tpid} ${tvnc} /;" ; done ; } | sort -k3 ; } | column -c4 -t

It outputs something like the following:
user      pid     Xdisplay  port
bgstacj15   2439    :10       5910
anotheruser  122207  :11       5911

Here is my observation-
Leave the port number as -1, it will reconnect/create a session with TCP port 5910. However, specifying the port number as 5910 causes password failure. Even, it is not allowing me to create multiple sessions.
Does anyone have a solution yet?

Just spent entirely too long fighting with xrdp.ini on this issue. We have users who travel sometimes and use xrdp to access our servers when giving presentations, and expect to be able to access the same session they left since they're logging in with their normal credentials. Obviously, xrdp will provide a new session since it's a different device with different settings.
We've also had times where xrdp just randomly disconnects and refuses to let them access their old session, since it creates a new session without notice and then just reconnects to that one.
In the past, it was clearly an option to be able to use the port to reconnect to an existing session. Will this become a feature again in the future, even if it's using a different mechanism?

Hi @taylorjtamu
I can't answer your specific question, but I can give you some background and suggest a workaround. This workaround may not be ideal for you, but it may give you some further ideas.
You haven't mentioned the Xorg backend (which supports resizing). I'm going to assume you've discounted Xorg for other reasons, and I'll stick to discussing the Xvnc backend below.
Looking at the current code, it seems for the Xvnc backend a random password is generated for each session. This was introduced by #497 which in turn was prompted by a Debian security issue CVE-2013-1430. This password is known only to the session manager. In order to connect directly to the VNC session, you'd need to know this password which isn't currently possible to do.
In other words, at the moment you'll need to go through the session manager and convince it to connect to the required session.
The session matching code when you reconnect is controlled by the "session allocation policy" in sesman.ini. By default, for the Vnc backend this looks for a match of user, colour depth and screen resolution. The screen resolution part of the match is enforced in code in the routine session_get_bydata(). You could try messing with the policy setting in sesman.ini, but I'd heavily recommend sticking with the default policy and working with that.
So to reconnect to the required session, the user, colour depth and resolution of the RDP client must match the user, colour depth and resolution of the target session.
I'll assume your travelling users are using some version of Windows on a laptop when travelling, and know the colour depth and resolution of the target session.
Target session is lower resolution than laptop
Run mstsc.exe, and display the options. On the 'Display' tab, choose the required resolution on the slider and choose the colour depth on the dropdown. You should then be able to reconnect to the target session, which will be smaller than the laptop screen.
Target session is higher resolution than laptop
In this instance more effort is required. This is because the mstsc.exe display tab slider will not let you set larger resolutions than the screen you are running on.
Run mstsc.exe, and setting all the parameters you need except the resolution. Set that to 800x600. Then on the General tab, save the settings to an RDP file somewhere.
Edit the file you've just saved in notepad. Find these lines:-
desktopwidth:i:800
desktopheight:i:600

Replace the numbers with the required resolution values and save the file.
You should now be able to double-click on the file in Windows explorer and connect to your session. In this case the session will be larger than the laptop screen, so you'll need to use scrollbars to move around it.
I hope this is useful - please feel free to come back to me if I've made bad assumptions about your situation, or I've not been clear enough.

@matt335672 thanks so much for the insight. The information about color-depth and resolution explains the randomness that I have been seeing with xrdp in Centos7. I would love to have some better options for session management but for now I am telling everyone to specify the window geometry in their the RDP connection settings. Our users typically connect from the same device, but "fit session to window" changes the geometry when they are docked and using an external display.

@premiumkibble - if you're using CentOS 7, you can upgrade to v0.9.14 or later of xrdp. The VNC backend on those releases supports session resizing. See the wiki for more info.

@matt335672  I have updated my clients to 0.9.15 and all is well.
Thanks again!

Thanks for the update. I'll close this one now.


SG SCSS refactor accordions.scss file

Description of the change: SCSS refactor accordions.scss file
Reason for the change: Improve quality of scss files

Hello @okrasn,Thanks again for the PR! It's HACKTOBERFEST! We want to show our appreciation by sending                                              you some special Hacktoberfest swag. If you have not already, could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX

Hello @okrasn,Thanks again for the PR!                                         We noticed that you have earned 4 out of the 5 points needed to receive glorious SendGrid Hacktoberfest swag.                                         Please take a moment to checkout this link to find more issues to get you past the required threshold.                                         Also, please be sure that you have officially registered here.                                         Thank you and Happy Hacktobering!                                         Team SendGrid DX


[rte] Add option to sort block-types listed in the dropdown

why can't we use the order as specified in the blocktypeMap?
probably because it's a map - couldn't it turned into an array - to also include the sort order?

why can't we use the order as specified in the blocktypeMap?
probably because it's a map - couldn't it turned into an array - to also include the sort order?

Would be possible. But it would lead to a situation that the user is forced to pass a complete blocktypeMap if the user wants to change the order of the default blocktypeMap. The blocktypeMap is optional.


citations: add/edit citation anchor text

As a record editor, I want to be able to add new or edit citation anchor text in both French and English.

@bwhicks Ben, I apologize but I can't seem to find this function anywhere in the current database.  What we need is to be able to add the anchor text, i.e., the text from De la grammatologie, to each individual citation.

A mistaken click in this case. Sorry for the confusion! This is part of the next database phase.


Look at internal details for the os.execvp vs subprocess.check_call command runners

i.e., what will be better for running an embedded executable in the long run

Better to use subprocess.check_call() or subprocess.call() on Windows as an alias to os.execvp owing to how they better handle shell creation. It is fine to use os.execvp on Unix-like systems


Update propulsor to 1.5-SNAPSHOT for http/2

As subject.

After merging this, we can declare Indy supports HTTP/2. However, client side needs to change (e.g., mvn settings.xml). What I learned is to add "Upgrade: h2c" header. e.g.,

Upgrade
h2c

Maybe we need to run sth like 'curl --verbose' to verify HTTP/2 is in action.

LGTM!


Force user to enter mandatory data to be stored in profile when the user chooses the option to sign up using social accounts

Hi Luca,
First of all, thanks a lot for making such a useful and excellent package!
I had a query as below:
When the user wishes to signs-up using "accounts-password" i.e. email/username and password to register with the app, I show a simple form to collect additional data from the user to be stored in profile. This works perfectly fine. However, if the user wishes to register using social viz. Facebook, Twitter etc., is there any OOTB option available now to make the user fill the same form? As of now, after the user clicks for e.g. "Register (Sign-up) with Facebook", the user is simply routed to the defined route after a successful oauth response & token i.e. the user is directly logged into the app. Should I be using some hooks post login specific to at-oath?
I hope I was able to put my query :) Apologies if it's not clear, I will try again.
Kind Regards,
Ray.

Hello Ray!
This is something that seems to be a need for many and I think we should get some mechanism to solve it into v2.0!
Telescope has some logic to force users complete their profile: see these lines

Hi Luca,
I am thinking of following two approaches:
a. Inside here, I'm thinking of first retrieving the logged-in users' profile which is just fine and then perhaps, call a function to check if the required fields in profile are present in Mongo. If not, somehow redirect the client to a registration form, not sure how to achieve redirect here (may be you can help here). This registration form (through the redirect) of course can be any depending on the serviceName. Hence, the issue of independent and custom workflows for users coming through different oauths becomes simple.
b. Define a function for onSubmitHook inside AccountsTemplates.configure({}). This function can have the same logic as above. However, I am not sure how can I capture/recognize the oauth service (viz. facebook, twitter etc.) that the user has used to define different workflows or routes. Something like below:
var customSubmitFunc = function(error, state) {
    console.log("RORAY inside customSubmitFunc");

    if (!error) {
        if (state === "signIn") {
            // Successfully logged in
            // ...
        }
        if (state === "signUp") {
            console.log("RORAY inside customSubmitFunc : signUp : ROHAN RAY IS IN 6");
            console.log(Meteor.userId());
            var thisUser = Meteor.user();
            if (thisUser.profile.phone === null) {
                if (service === "facebook") {
                    //redirect to a custom registration form for FB
                }
                if (service === "twitter") {
                    //redirect to a custom registration form for twitter
                }
            }
        }
    }

};

I am not sure if this is a good way of achieving the desired result. Let me know your thoughts.

Please ignore the close, it was a mistake. Although, I would really like to close this issue soon

For now, I did a workaround as below:
I have defined:
AccountsTemplates.configure({
homeRoutePath: '/myAccount'
});
Then the route function for myAccount is as below:
Router.route('/myAccount', function() {
    var thisUser = Meteor.user();
    console.log(thisUser);

    if (thisUser.profile.bio === null || thisUser.profile.bio === "") {
        this.render('customSignUp');
    } else {
        this.render('myAccount');
    }

});

Hence, once the user is logged in successfully either through sign in/sign up using oauth (fb, twitter etc.). The route goes to myAccount as defined in homeRoutePath. And then the router function checks against the user collection if the bio field (a random field) in the user's profile is set or not. If it's not set, the customSignUp template is rendered wherein the user is asked to fill in the registration form or else the user is taken to myAccount page.
I know that the above is really a crude or rather dirty hack. Can you help me by suggesting a robust and a good way (best practice) of implementing the above solution?
Also, I was thinking on the lines, if we can have two config options 1. homeRoutePath & 2. homeRoutePathRegister (for when the user has signed in or signed up using oauth and the user needs to be directed to fill the registration form).
P.S.: Router.go works inside onLogoutHook but not inside onSubmitHook. Is that the way it is?

Hi @splendido please can you have a look at the above comment :)

Hi @splendido please can you have a look at the above comment :)

+1 for this feature. Is this coming in 2.0? When is 2.0 likely to be released?


Rust runtime is unable to find symbol "main" of Hello World example

I am currently trying to run the Hello World example from the documentation in the Rust runtime example. All tools are built from the current revision of the main branch.
Although running with lucet-wasi yields no errors ...
$ wasm32-wasi-clang -Ofast -o hello.wasm hello.c
$ lucetc-wasi -o hello.so hello.wasm
$ lucet-wasi hello.so
Hello world

my attempts at running the same .so file in the Rust runtime fails.
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: SymbolNotFound("main")', src/main.rs:17:31

Is there anything I might have missed?

The documentation is not up to date.
In the Rust code, you should call the function named _start().


fix: GitLab pipeline username/password prefixed with $ in createConfigArtifactsCommand

What's changed?
Removing the variable call on publishUserSecretName and publishPwdSecretName in the GitLab pipeline generation as these values are being re-interpreted as environment variables.
What's your motivation?
Forked the gitlab starter repo https://gitlab.com/moderneinc/moderne-gitlab-ingest and provided the environment variables.
You can see the username and password are being prefixed with $ in the generated pipeline and interpreted as environment variables.

./mod-connect/bin/mod-connect gitlab \
      --fromCsv repositories.csv \
      --publishUrl $PUBLISH_URL \
      --publishUserSecretName $PUBLISH_USER_SECRET \
      --publishPwdSecretName $PUBLISH_PASSWORD_SECRET \
      --cliVersion $MOD_CLI_VERSION \
      --downloadCLIUrl $MOD_CLI_DOWNLOAD_URL

Anything in particular you'd like reviewers to focus on?
Wasn't sure about the tenant.moderneTokenSecret option but I think it also doesn't need to be passed through the variable
Anyone you would like to review specifically?
@timtebeek @pstreef
Have you considered any alternatives or workarounds?
Not that I'm aware of.
Any additional context
Checklist

[x] I've added unit tests to cover both positive and negative cases
[x] I've added the license header to any new files through ./gradlew licenseFormat
[x] I've used the IntelliJ auto-formatter on affected files
[x] I've updated the documentation (if applicable)

These secrets are supposed to be defined in GitLab and as such should become variables (secrets are just variables defined outside of the pipeline).
The generated pipeline is exposed as an artifact and can be downloaded so it should not contain any credentials (values), which is why I went for secrets in there too.
So we pass names into mod-connect and turn them into variables in the generated pipeline.

These secrets are supposed to be defined in GitLab and as such should become variables (secrets are just variables defined outside of the pipeline).
The generated pipeline is exposed as an artifact and can be downloaded so it should not contain any credentials (values), which is why I went for secrets in there too.
So we pass names into mod-connect and turn them into variables in the generated pipeline.

I see, makes sense so we just need to adjust the gitlab ci template to not pass the secrets as values.


Adding support for real-time cgroup values

This is required for an incoming PR I am submitting to docker/docker, so that users may supply --cpu-rt-period and --cpu-rt-runtime values so processes inside a container can set their realtime priority when the kernel option CONFIG_RT_GROUP_SCHED is configured.
This is discussed a bit towards the end of this issue https://github.com/docker/docker/issues/22380

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "realtime-threads" git@github.com:erikstmartin/engine-api.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

Thanks @erikstmartin. It's better if you open the PR in docker/docker at the same time. That way, maintainers can discuss about the feature in general while you work on it.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "realtime-threads" git@github.com:erikstmartin/engine-api.git somewhere
$ cd somewhere
$ git rebase -i HEAD~2
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "realtime-threads" git@github.com:erikstmartin/engine-api.git somewhere
$ cd somewhere
$ git rebase -i HEAD~2
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

I haven't submitted the PR to docker/docker yet, still chasing down some failing integration tests, but for anyone who wants to . I can if  there is anyone interested in discussing it in the meantime.
This is the current state of the patch https://github.com/docker/docker/compare/master...erikstmartin:realtime-threads

Thanks for this PR.
We have moved the code from this repo back into the main docker/docker repository; if you still wish to make this change you will need to reopen this PR on the main repo.
You can find the code for the client and types here:
https://github.com/docker/docker/tree/master/api/types
https://github.com/docker/docker/tree/master/client
Sorry for the inconvenience but making this change helps people better contribute and not have the vendor mess going forward when changing the types or client for Docker.
Sorry about that and feel free to ask if you have any questions.


Update notebook magics to work with Gemini

Adds some aliases for the commands too:

%%palm still works, for backwards compat
%%llm as a generic magic
%%gemini as an analogue to %%palm

Motivation
Need to work with the new API and new models.
Type of change
Choose one: New feature
Checklist

[x] I have performed a self-review of my code.
[x] I have added detailed comments to my code where applicable.
[x] I have verified that my change does not break existing code.
[x] My PR is based on the latest changes of the main branch (if unsure, please run git pull --rebase upstream main).
[x] I am familiar with the Google Style Guide for the language I have coded in.
[x] I have read through the Contributing Guide and signed the Contributor License Agreement.

I broke the presubmit tests for this. Have you tested manually?

https://github.com/google/generative-ai-python/pull/141

Yeah I have run them manually but will rebase properly & ensure they pass in CI first.

Rebased onto main.


Include baserunners who are put out

Baserunners who are put out on a play as a result of caught stealing, fielders choice, etc, currently do not appear in the base_runners events for the associated play. Ideally, the behavior would be for them to still appear in the play and either have base_after_play = 0, or to have a separate "out" flag, to denote that the runner was put out during the play.

Should be fixed in 1.10.0 (prophesizer 1.2.2, deployed now), with base_after_play = 0


Support multi OS on plugin install, upgrade

Add plugin install, upgrade hooks to call a shell script which will download binary for currently used OS.

a nice script example https://github.com/chartmuseum/helm-push/blob/master/scripts/install_plugin.sh

Solved in #18

Closing as #22 has merged.


Discount code for Elton Stoneman: Docker for .NET Apps - on Linux and Windows has expired

File: get-started/resources.md
The docs mention :
[Elton Stoneman](https://docker4.net/udemy): Docker for .NET Apps - on Linux and Windows. Includes the discount code 644ABCBC33F474541885.

The coupon code has expired.

Either remove this code from the docs or add a new coupon code.

@usha-mandya Issue still persists:
The coupon code entered is inactive or expired.

@sixeyed Could you please check?

Fixed now. Apologies - you can't have a permanent voucher in Udemy and I haven't found a way to automate creating a new one, so it needs a manual process.

Thanks @sixeyed ! A bit similar to the invite-links we have for our slack; they also keep expiring 😫
Let me close this one again

Hi @sixeyed, I’m so sorry you have to do this manually. Could you please generate one last time.

Hi @iSatishYadav  - it should have still been live yesterday, but I've generated a new one today with a bigger saving :)


Add Vocational High School Boedi Luhur

Add Vocational High School Boedi Luhur from indonesia.

@novalramdhani I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host smkboediluhur.sch.id not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!

@novalramdhani I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host smkboediluhur.sch.id not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!

Ah yes, I forgot the name of my school's website called yapenhasboediluhur.sch.id not smkboediluhur.sch.id, sorry it seems I made a typo. can i pr back?

@novalramdhani I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host smkboediluhur.sch.id not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!

yeah, no problem


Wikipedia URL functionality

Added URL for wikipedia page

Hey @AChelikani, will you be willing to complete this?

@swapagarwal Definitely! Sorry, I've been busy - I'll get to it before the end of the week.

Fixed! Let me know if it looks good!

@AChelikani no problem, take your time. just a couple of small fixes and this should be ready to merge.

Fixed!

Thanks @AChelikani! :+1:


console.log outputs undefined

VSCode Version: Code - Insiders 1.3.0-insider (de66522e06d74752d48d92e934dcd026050355ba, 2016-06-24T05:07:35.941Z)
OS Version: Windows_NT ia32 6.3.9600

Steps to Reproduce:

in DEBUG CONSOLE write: console.log(100)
you'll obtain "undefined"

This is coming from the node debug adapter thus forwarding to @weinand
Chrome dev tools behaves the same so I think this is desgined behavior but I'll let @weinand decide

@gdimauro please run this snippet and you will see that this behaviour is correct:
if (console.log(100) === undefined) {
  console.log("return value from console.log() is indeed undefined");
}


Bugfix #6102: Assumptions about consistent container runtime in a Ceph cluster running mixed OS versions

Use hostvars from the delegated host to determine container binary.

Could you open the PR agains the master branch and add a signoff ?
We don't allow pushing changes on stable branches directly (unless it's the only solution) so you should create the PR on master and we will create the backport to the stable branches.

Thanks Dimitri!  I looked at master branch and the approach there has been refactored so applying the patch is not trivial.  The issue does appear to be still there (unless it is resolved at a different level).  Unfortunately I cannot test against master branch.

If the issue reported here boils down to an issue because of different OS versions, I would say we have never supported deployments with a mix of different host OS versions.
That being said, from what I'm understanding here, the underlying question is about supporting to deploy with a mix of different container runtimes, regardless of the OS version.
@dsavineau why should we support this kind of deployment? I'm not 100% sure so I might be wrong but off the top of my head, this has never really been supported nor tested in the CI. (On the other hand, I'm thinking about deployments which would be collocated with nodes that already come with a container runtime installed or something like that)
A couple of questions:

Is this patch enough to fully support this? Is it broken as well in stable-5.0 and master?
If we decide to support this, it means we should add functional testings

The situation where it arises for me is in rolling upgrades from 7 to 8.  During that process, the cluster will be partly running 7+Docker, and partly 8+Podman

@dsavineau why should we support this kind of deployment? I'm not 100% sure so I might be wrong but off the top of my head, this has never really been supported nor tested in the CI. (On the other hand, I'm thinking about deployments which would be collocated with nodes that already come with a container runtime installed or something like that)

That's true, we never supported this kind of setup but in the same time we've never mentioned anywhere that it wasn't supported.

Is this patch enough to fully support this?

It's only a partial fix to me (especially for Stig's environment) because there's a lot of other part of the code where we use delegate_to + unscoped container_binary/container_exec_cmd/etc variables.

Is it broken as well in stable-5.0 and master?

Yes. Note that it should be easier to fix this in master/stable-5.0 as we use more standalone container commands (docker/podman run) via the ansible module vs the docker/podman exec workflow in stable-4.0.

That's true, we never supported this kind of setup but in the same time we've never mentioned anywhere that it wasn't supported.

That doesn't mean that if we don't explicitly say something isn't supported one can state it is.
To be honest, Although I don't mind introducing patches for that I'm not sure we should start supporting this given the future of ceph-ansible, it all depends on how much effort it represents for adding this kind of support (thinking about ci testing, etc.)


Linux: Kudu does not work when WEBSITE_DISABLE_SCM_SEPARATION is set to true

I am not sure whether it is documented, but Kudu fails when WEBSITE_DISABLE_SCM_SEPARATION is set to true.
Repro:

Create an Azure Web App on Linux
Select Docker Image = DotNetCore
Set WEBSITE_DISABLE_SCM_SEPARATION = true in AppSettings
Try to open https://.scm.azurewebsites.net
It never loads Kudu

Impact: When Docker doesn't start properly, it makes it easier to check if the binaries are present in the image.

This feature (or the Docker/Linux equivalent, which would be running the Kudu site in the same container as the main site) is not available on App Service for Linux.
We will be looking at options for greater visibility into the main site container's process space and filesystem in the future, but right now Kudu's visibility into the main site is limited to the /home directory, which is mounted to both the Kudu container and the main site container.
That said, setting this to true to true shouldn't break the site, and this issue should remain open until that's fixed.

Thanks for the answer!

Hi
If the problem persists and is related to running it on Azure App Service, please open a support incident in Azure:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
This way we can better track and assist you on this case
Thanks,
Joaquin Vano
Azure App Service


Feature Request: UI depreciated flag for Allow Trust operation

The Allow Trust op is now depreciated in favor of Set Trust Line Flags.
https://developers.stellar.org/docs/start/list-of-operations/#allow-trust
We should add a UI flag for directing to the appropriate operation to help alleviate confusion and direct folks to the new op.

This is fixed in the Lab v2.


Documentation: Page template data migration / Page builder data migration advanced features

Optional feature - reading more information using kentico discovery from source instance (KX13).
In case of any questions related to feature contact @tkrch.
For any changes please use git branch 89-documentation-page-template-data-migration-page-builder-data-migration-advanced-features
notes from DEV:

Opt-in feature - QuerySourceInstanceApi
Toolkit needs to know for data  migation of widgets, sections, etc. what datatype/form component was used to store data. This information cannot be fetched from Kentico database. For example definition of widget, section, form component can be defined as class in source instance.  To overcome this issue, you can deploy this feature to enable toolkit migaration of such data.
Installation
AspNetCore.Mvc

prerequisity ˙IHttpContextAccessor˙ must be configured. More information: https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.http.ihttpcontextaccessor?view=aspnetcore-6.0

copy ToolkitApiController.cs from [ToolkitRoot]\KX13.Extensions to Controllers directory of migrated Kentico Xperience 13 MVC Site

Register controller route (registration is usually located in file Startup.cs  class Startup, method Configure, app.UseEndpoints)

app.UseEndpoints(endpoints =>
{
	endpoints.MapControllerRoute(
		name: "ToolkitExtendedFeatures",
		pattern: "{controller}/{action}",
		constraints: new
		{
			controller = "ToolkitApi"
		}
	);

	// other routes ...
});

Fill your secret inside ToolkitApiController.cs

private const string Secret = "__your secret string__";

fill same secret in toolkit configuration path Settings.OptInFeatures.QuerySourceInstanceApi.Connections[].Secret like this:

"OptInFeatures":{
  "QuerySourceInstanceApi": {
	"Enabled": false,
	"Connections": [
	  { "SourceInstanceUri": "http://localhost:60527", "Secret": "__your secret string__" }
	]
  }
},

optional You can test controller by making http POST request to http://localhost:[port]/ToolkitApi/Test with body { "secret":"__your secret string__" }. Response should be { "pong": true }

AspNet.MVC5

copy ToolkitApiController.cs from [ToolkitRoot]\KX13.Extensions to Controllers directory  of migrated Kentico Xperience 13 MVC Site
Register controller route (usually located in /App_Start/RouteConfig.cs)

public static void RegisterRoutes(RouteCollection routes)
{
	routes.MapRoute(
	   name: "ToolkitExtendedFeatures",
	   url: "{controller}/{action}",
	   defaults: new { },
	   constraints: new
	   {
		   controller = "ToolkitApi"
	   }
	);
}

Fill your secret inside ToolkitApiController.cs

private const string Secret = "__your secret string__";

fill same secret in toolkit configuration path Settings.OptInFeatures.QuerySourceInstanceApi.Connections[].Secret like this:

"OptInFeatures":{
  "QuerySourceInstanceApi": {
	"Enabled": false,
	"Connections": [
	  { "SourceInstanceUri": "http://localhost:60527", "Secret": "__your secret string__" }
	]
  }
},

optional You can test controller by making http POST request to http://localhost:[port]/ToolkitApi/Test with body { "secret":"__your secret string__" }. Response should be { "pong": true }

Limitations
Inlined value editor / component
Consider properties defined like this:
public class CardWidgetProperties : IWidgetProperties
{

	public IEnumerable<MediaFilesSelectorItem> Image { get; set; } = new List<MediaFilesSelectorItem>();

	// ... other properties

}

and cshtml defined like this:
@if (Context.Kentico().PageBuilder().EditMode)
{
    <vc:image-uploader<EMAIL_ADDRESS>property-name="@nameof(CardWidgetProperties.Image)"
                       has-image="@(Model.ImagePath != null)"<EMAIL_ADDRESS>                       use-absolute-position="true" />
}

unfortunately this cannot be discovered using api - this type of data cannot be part migration.
To overcome this issue, you can decorate such property with component explicitly:
public class CardWidgetProperties : IWidgetProperties
{
	[EditingComponent(MediaFilesSelector.IDENTIFIER, Label = "Image", Order = 1)]
	public IEnumerable<MediaFilesSelectorItem> Image { get; set; } = new List<MediaFilesSelectorItem>();

	// ... other properties

}

Documented. Pull request created:
https://github.com/Kentico/xperience-migration-toolkit/pull/104


Imgur token refresh not working

Describe the bug
after imgur token expires, VV does not refresh the token. this causes uploaded pictures to be converted to jpgs and not linked to the user.
To Reproduce
Steps to reproduce the behavior:

authorize imgur
wait for token to expire

Expected behavior
imgur continues working

it might actually work, or there is an error case that i'm not handling.
leave this open for now


ContentDialog Opens Only Once

Problem Description
I am using react-native-xaml in my React Native Windows project. I created a Dialog using ContentDialog from react-native-xaml but the problem is the first time the app loads, when i press the button it open up the ContentDialog but after closing it, it doesn't open the second time.
React Native : 0.70
React Native Windows: 0.70.1
react-native-xaml: 0.0.69
Steps To Reproduce

Show and hide the ContentDialog with a button using state.

Expected Results
Toggle the ContentDialog on and off by pressing the button.
Environment
System:
    OS: Windows 10 10.0.22000
    CPU: (4) x64 Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
    Memory: 5.28 GB / 11.90 GB
  Binaries:
    Node: 16.17.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.4 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 8.15.0 - C:\Program Files\nodejs\npm.CMD
    Watchman: Not Found
  SDKs:
    Android SDK: Not Found
    Windows SDK:
      AllowDevelopmentWithoutDevLicense: Enabled
      AllowAllTrustedApps: Enabled
      Versions: 10.0.18362.0, 10.0.19041.0
  IDEs:
    Android Studio: Not Found
    Visual Studio: 16.11.32901.82 (Visual Studio Enterprise 2019)
  Languages:
    Java: Not Found
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.1.0 => 18.1.0
    react-native: 0.70.0 => 0.70.0
    react-native-windows: 0.70.1 => 0.70.1
  npmGlobalPackages:
    *react-native*: Not Found

You have to set its state prop to closed in the onClosed event. See https://github.com/microsoft/react-native-xaml/blob/main/USAGE.md#contentdialog

Yes, when i click the close button it closes without a problem but when i click the button to open it again it doesn't open the contentDialog Box. I have copied the exact code from the usage guide.

thanks for reporting @Qurishe , this got recently broken, fixing it in #228


Bump circe to 0.6.0

Since the stable version's out, it'd be good to bump up to it.

Current coverage is 74.66% (diff: 100%)

Merging #673 into master will not change coverage

@@             master       #673   diff @@
==========================================
  Files            30         30
  Lines           592        592
  Methods         566        566
  Messages          0          0
  Branches         26         26
==========================================
  Hits            442        442
  Misses          150        150
  Partials          0          0

Powered by Codecov. Last update 133d214...441926b

Thanks @clhodapp!


Introduced PreserveReferencesAttribute

At this moment Hyperion defines an ability to preserve (and optimize serialization of) references for all reference types at a serializer level. There's no way to tell "I want to use this optimization, but only for objects of given type", which could be useful for things like i.e. Akka.NET IActorRef (if we'll use serializer sessions properly).
This PR introduces PreserveReferencesAttribute, which can be marked on class level. All objects with this attribute will override default SerializerOptions.PreserveObjectReferences settings.

Besides rebase. Could also use some docs. Like a simple paragraph explaining what it does and why you would want to use it.


component: rating

Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [x] feature request

Desired functionality.
Would be nice to have a rating component like https://jsfiddle.net/craig_h_411/992o7cq5/

@devCrossNet working on it 👍

merged to next


Unable to tunnel to Traefik UI

I tried multiple times but could not reach Traefik UI through tunneling. Then I went into master machine where it should be running and can't see anything running on 8080. I used these commands to check.

netstat -a | grep localhost:8080

sudo lsof -i -P -n | grep 8080

@laeeq80 could you post the tunnelling command that you are trying to run, and the error message? Also could you run kubectl get pods --all-namespaces and post the results?

laeeq@optiplex:~/Desktop/Backup/Project5/cpvs_deployment$ kn kubectl get pods --all-namespaces
Using KubeNow version: latest
NAMESPACE        NAME                                             READY     STATUS    RESTARTS   AGE
default          cheddar-2695380518-bwt10                         1/1       Running   0          48m
default          cheddar-2695380518-l2c8s                         1/1       Running   0          48m
default          stilton-2773127498-17wqn                         1/1       Running   0          48m
default          stilton-2773127498-jf16t                         1/1       Running   0          48m
default          wensleydale-1811307530-1t1cm                     1/1       Running   0          48m
default          wensleydale-1811307530-gdb96                     1/1       Running   0          48m
kube-system      etcd-chemolytics-master-000                      1/1       Running   0          1h
kube-system      kube-apiserver-chemolytics-master-000            1/1       Running   0          1h
kube-system      kube-controller-manager-chemolytics-master-000   1/1       Running   0          1h
kube-system      kube-dns-2425271678-cjld6                        3/3       Running   0          1h
kube-system      kube-flannel-ds-2f7sg                            1/1       Running   0          1h
kube-system      kube-flannel-ds-54pf9                            1/1       Running   0          1h
kube-system      kube-flannel-ds-chzhf                            1/1       Running   0          1h
kube-system      kube-flannel-ds-cr7wx                            1/1       Running   0          1h
kube-system      kube-flannel-ds-ks589                            1/1       Running   0          1h
kube-system      kube-flannel-ds-qm52c                            1/1       Running   0          1h
kube-system      kube-flannel-ds-vm6hv                            1/1       Running   0          1h
kube-system      kube-proxy-658m8                                 1/1       Running   0          1h
kube-system      kube-proxy-6q5p6                                 1/1       Running   0          1h
kube-system      kube-proxy-rdd3r                                 1/1       Running   0          1h
kube-system      kube-proxy-skt25                                 1/1       Running   0          1h
kube-system      kube-proxy-sqfh6                                 1/1       Running   0          1h
kube-system      kube-proxy-w0zkt                                 1/1       Running   0          1h
kube-system      kube-proxy-zt87j                                 1/1       Running   0          1h
kube-system      kube-scheduler-chemolytics-master-000            1/1       Running   0          1h
kube-system      tiller-deploy-1651615695-dsh98                   1/1       Running   0          1h
kube-system      traefik-ingress-controller-pr4n3                 1/1       Running   0          1h
storage-heketi   glusterfs-7bss2                                  1/1       Running   0          1h
storage-heketi   heketi-586026537-5nq1b                           1/1       Running   0          1h

laeeq@optiplex:~/Desktop/Backup/Project5/cpvs_deployment$ ssh -i ssh_key -N -f -L localhost:8080:localhost:8080<EMAIL_ADDRESS>No Error
but when I try to see localhost:8080, it says the page is not working

@laeeq80 nowadays we serve the interface on 8081, we need a documentation fix.


How to disable url normalization?

Which @angular/* package(s) are the source of the bug?
Don't known / other
Is this a regression?
Yes
Description
I just want to stop angular from doing some weird adding a slash then removing a slash. If my route is /products, i don't want it to go to /products/ then have it see another redirect and go back to /products.
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in (run ng version)
No response
Anything else?
No response

The behavior of Express' static middleware which adds a trailing slash to serve pre-rendered pages; without it, static pages won’t be served.
Here are a couple of potential solutions:

Transition to a different framework than Express.js.
Manage the serving of pre-rendered pages directly within the Angular App Engine.


C++: New range analysis

This PR adds an IR-based port of the Java range analysis library, which has more precision than the existing SimpleRangeAnalysis  and supports bounds relative to other IR instructions and operands. The library will need more correctness tests as well as some performance testing before it's ready to merge.
The library currently only reports bounds relative to Operands and Instructions. A mapping layer to support the AST classes may be added in a followup PR.
A few features of the Java library are currently missing from the C++ reimplementation. The Java library supports range analysis across a small set of math functions. Those may be addressed as part of this PR or as a follow up PR. There is also a modulus analysis library used to improve precision in the Java range analysis, which will be ported in a separate PR.

So, I've commented along the way as I read the code.  I think the code could be streamlined a bit and made easier to understand, since I felt like some of the predicates got slightly confusing in the translation from the java implementation.
The general algorithm works by propagating bound-facts along the edges of a graph, and the predicates are roughly divided into two groups - those that define the edges of the graph and those that propagate and update bound-facts (the latter group is easy to identify as they all have a paramenter of type Bound).  I think the former group of predicates (those defining the graph edges) can be made clearer.
To get a better grasp of this, we should consider exactly which nodes and which edges we need in the graph - and in particular avoid accidentally including edges that are unnecessary due to being the concatenation of two other edges.
In the java implementation there are 3 kinds of nodes: expressions, ssa variables, and ssa variable-ssa read position pairs. A read of an ssa variable (at some position) yield edges from ssa variables and ssa variable-read position pairs to expressions, most expressions yield expr-to-expr edges, ssa variable definitions yield edges from their defining expr to the variable, and guards comparing an ssa variable to some expr yield edges from that expr to all ssa variable-read position pairs that are corresponding ssa reads guarded by the condition.
In the C implementation there are as far as I've been able to gather just two kinds of nodes, Instruction and Operand. Edges go from operands to instructions, say in the case of an addition, or from an instruction to an operand (if the operand is defined by the instruction).  Then there's guards, and I'm not sure how to factor those edges in in the best way, but it should likely result in an operand-to-operand edge.
I hope this makes sense. :-)

I've retargeted to next for the moment because I need #648 for termination. Initial performance testing looks acceptable but not great; 4 minutes of evaluation after building IR on ChakraCore. Half of that time is before the main stage of the range analysis, which probably means there's performance improvements to be made in the sign analysis library.  That time was with a 1.19 snapshot, my changes on top of next, and a 1.18 evaluator, so the performance is likely better with a 1.19 evaluator.
I've done a bit of glancing at stats on ChakraCore; about half of instructions have a bound, about a tenth of those have a non-self bound. There's 370 instructions after pruning by #648 that have an impossible pair of bounds (upper and lower bounds relative to the same value number, with the lower bound's delta > the upper bound's delta). I suspect that most of those are actually unreachable, but I haven't done a manual review yet.

A few comments to your observations:
The sign analysis in java was quite prone to bad join-orders, so you may experience something similar.
For unreachable code, it is expected that the range analysis can come up with impossible pairs of bounds (as that contradiction might be the reason the code is unreachable).  As an example, in the following code, it is reasonable to infer both x < y and x > y in the body of the if:
if (x < y && x > y) { ... }

The sign analysis in java was quite prone to bad join-orders, so you may experience something similar.

That seems likely to be the problem in sign analysis

For unreachable code, it is expected that the range analysis can come up with impossible pairs of bounds

Right; I'm just thinking that that's likely to be fertile ground for finding correctness issues.

To what extent is it possible to compare this new range analysis to SimpleRangeAnalysis to look for improvements and regressions? Can you make a test that uses the sample code from both the old and the new analyses and produces output with four columns for each Expr: its {upper, lower} bound with the {old, new} range analysis. Only rows where the analyses give different results need to be included.

It looks like most of the differences result from type-derived bounds. Most of these are cases where the old library gets bounds of MAXINT-1 or MININT+1 because it ignores overflow while doing arithmetic with unbounded ints. However, some other differences are regressions where a type-derived bound is relevant after widening; line 371 in test.c is an example of this.
There are a few cases where a constant bound isn't propagated across a negation by the new library. We can't do anything useful with negation for relative bounds, but I could add something to handle it for constant bounds.

Comparison.txt

For the initial off-by-one query we're planning to write using this library, I think we should be OK with the current results. If we're going to try and replace SimpleRangeAnalysis.qll, we'll need to handle the type-derived bounds (hopefully in a more accurate way) as well as negations. I also noticed one more type of regression - we don't give a lower bound for remainders where both operands are positive.

... and that's just an instance of a broader problem with replacing SimpleRangeAnalysis: the algorithm we're using doesn't combine constant bounds from both operands of an arithmetic operation, so we won't get a constant upper bound on x + y in the following case:
if (x < 10) {
  if (y < 10) {
    return x + y;
  }
}


Questions on initial config

This is a great project!
Just getting started with the initial demo.
How do I set the time zone?

If you're seeing the clock displayed on the screen, that's coming from the example clock automation.  This automation tells Home Assistant to send the current time every minute, which the panel receives and then displays.
All of this is to say that Home Assistant is the system keeping the clock (and, more generally, is the system which controls nearly every detail of what you see on the HASP display).  To set the time zone on Home Assistant, check the documentation here.

Where do I configure the lights that are controlled?
I assume I can set some of my existing light, but not sure how to configure.
BTW this is really cool! What I have been looking for.

Everything is handled in the Home Assistant automations.  The provided automations are there to use as an example and starting point, but to really make this work in your environment you're going to have to build your own automations to suit your own use cases.
You'll find the page 1 scene control button examples here, the page 3 toggle buttons here, and the page 4 dimmer sliders here.


Async qdrant client

It is an mvp of async qdrant client generator
It should be refactored a lot, it is a minimal code to produce a workable client

update ci to fail if async client was updated


R CMD check

Currently we are running R CMD check on R version 3.5, 3.6 and the latest release (currently 4.1) along with package versions from the time the respective R version was released. Keeping the backward compatibility with the v3.5 environment (with package versions from 2018) is increasingly proving to be difficult.
I've asked which R versions people are using in their GxP environments in our Slack channel. v3.5 only got a single vote so it's probably safe to "discard".
I would suggest that going forward we test on

3.6.3 with package versions from 2020-02-29
4.0.5 with package versions from 2021-03-31
4.1.x with latest package versions

Any thoughts @pharmaverse/admiral-devs

That's a good idea.
For the future I would propose a rule like "admiral does not support R and package versions older than two years". Then it is clear when GxP environments need to be updated to be able to use the latest admiral version.

I would have suggested to always support the latest 3 versions such that once R v4.2 is out we would only test on v4.0, v4.1 and v4.2.

Makes sense.
We should add it to our documentation.

For documentation - We are adding this to Readme and somewhere else - Developer Guide and maybe FAQs?
I feel like this is a pharmaverse best practice that we should codify across all packages.  #929

We should definitely make this clear in our documentation. Certainly should also be added as an expectation in our README.


Add source and site instance information to secret files. Fixes #2094

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

:shipit:


I also have some  problems about#181

But it didn't work,After I entered the wrong username and password in chrome,The website stays at '/reauth'.And Switch between the '/reauth' and 'ssh/host/hostname' in firefox .The pop-up didn't reappear.I think that is because browser remember basic-auth with my wrong password。
I think the problem is basictAuth in 'util.js',
“if (myAuth && myAuth.pass !=='')”，
'myAuth.pass' is still exsit, so the pop-up didn't reappear.How to clear it?Do you have the same problem as me?
chrome：‘ 80.0.3987.122’
firefox：‘73.0.1’

I want clear it everytime.
I can't connect to another host, because username and password are saved.
But, I can't find where to edit in source code..


feedstock test failure

feedstock test fails with:
Traceback (most recent call last):
File "/home/runner/work/bazel-feedstock/bazel-feedstock/open-ce-builder/tests/feedstock_tests/check_build_numbers.py", line 27, in
from common import get_configs, make_parser, get_build_numbers
File "/home/runner/work/bazel-feedstock/bazel-feedstock/open-ce-builder/tests/feedstock_tests/common.py", line 24, in
import conda_build.api
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/conda_build/api.py", line 22, in
from conda_build.config import (Config, get_or_merge_config, get_channel_urls,
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/conda_build/config.py", line 15, in
from .conda_interface import root_dir, root_writable
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/conda_build/conda_interface.py", line 119, in
context_get_prefix = try_exports("conda.base.context", "get_prefix")
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/conda_build/conda_interface.py", line 16, in try_exports
return getattr(import_module(module), attr)
AttributeError: module 'conda.base.context' has no attribute 'get_prefix'
Error: Process completed with exit code 1.
https://github.com/open-ce/bazel-feedstock/actions/runs/7445988477/job/20255350242?pr=37

This is resolved.


Allow configuration of printing duplicate declerations

Is your feature request related to a problem? Please describe.

Currently the locateDependencies<VARIANT> are printing duplicate declarations which can be lost in large Gradle projects. This also prevents proper caching of this task as an up-to-date/from-cache is not executing any println's
Describe the solution you'd like

Include the duplicate declarations as a separate category for the projectHealth, which can be configurable to print or not to print.
Describe alternatives you've considered

Additional context

Resolved via eafc9b53c5ac1c2b7aa28172290039a10b378810.


Separate formatting from UI

Goals :

provide a single function entry point for each UI
separate input formatting from UI management
factorize all input formatting for all devices
rationalize APIs


Use an exact join to initiate Package datasets

We currently initialize the package dataset by first instantiating a xr.Dataset or xu.UgridDataset and then updating this each time by assigning new DataArrays to it. This has the disadvantage that we do not have control over how coordinates should be joined, as the default value for join is used, which is "outer" :
Call to merge_core, no option for join
Definition merge_core with default value
iMOD Python expects its dataset to have exactly joined coordinates. To have more control over this, we should consider initializing package datasets with xr.merge, which allows us to set the join method to exact. This will the following error:
ValueError: cannot align objects with join='exact' where index/labels/sizes
are not equal along these coordinates (dimensions): 'layer' ('layer',)

It's not entirely perfect, as the name of the erronous variable is not printed (we do have idomain, so we know what the coordinates should look like). But it ensures that the thing we implicitly expect as a dataset is created correctly. Otherwise we run into issues like:
https://github.com/Deltares/imod-python/issues/674

This might be a blocker to create UgridDatasets: https://github.com/Deltares/xugrid/issues/179, but we might be able to work around it.

Just as an extra check to see if xr.merge causes any loss of performance in this case as reported in: https://github.com/Deltares/imod-python/issues/736#issuecomment-1884643780 . Apparently with nicely overlapping coordinates, merging is not such a slow process and the changes made in this PR should only (very slightly) enhance performance.
# %% import
import numpy as np
import xarray as xr

# %% functions
def make_da(nlay, nrow, ncol):
    shape = nlay, nrow, ncol

    dx = 10.0
    dy = -10.0
    xmin = 0.0
    xmax = dx * ncol
    ymin = 0.0
    ymax = abs(dy) * nrow
    dims = ("layer", "y", "x")

    layer = np.arange(1, nlay + 1)
    y = np.arange(ymax, ymin, dy) + 0.5 * dy
    x = np.arange(xmin, xmax, dx) + 0.5 * dx
    coords = {"layer": layer, "y": y, "x": x}

    return xr.DataArray(
        data=np.ones(shape, dtype=float),
        dims=dims,
        coords=coords,
    )

def make_big_data_dict(nvar=4, nlay=3, nrow=1000, ncol=1000):
    varnames = [f"var{i}" for i in np.arange(nvar)]
    return {var: make_da(nlay, nrow, ncol) for var in varnames}

def ds_from_merge_exact(d):
    return xr.merge([d], join="exact")

def ds_from_merge_default(d):
    return xr.merge([d])

def ds_assigned(d):
    ds = xr.Dataset()
    for key, value in d.items():
        ds[key] = value

    return ds

# %% Create data dict

d = make_big_data_dict()

# %% Benchmark
# Benchmark in iPython notebook

# %timeit ds_exact = ds_from_merge_exact(d)
## > 424 µs ± 3.53 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each)

# %timeit ds_default = ds_from_merge_default(d)
## > 864 µs ± 11.4 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each)

# %timeit ds = ds_assigned(d)
## > 1.75 ms ± 42.5 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each)


prevent adding duplicate feed

same feed URL can be added more than once

I don't think it's the case, but there may be times when you add the same feed with different schema (http or `https') or with or without trailing slash
I don't want to modify the URL when saving it since some webservers may not handle it properly, but I'll try to find a way of generating some deterministic unique ID for each source and looking for that. Probably getting rid of schema and trailing slash if present would make it


Rectangle trouble

Rectangle.js
p.pad = function(top, left, bottom, right) {
	this.x -= top; // should be this.x -= left
	this.y -= left; // should be this.y -= top
	...
};

Feel free to submit a pull request.

I just pushed a fix for this: https://github.com/CreateJS/EaselJS/commit/94bc7f13af8c8f6b37b776a7532553d23918365f


Support for Fn_Cidr

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-cidr.html

Fixed in #19


Reduce locking when processing PeersRequest::Heartbeat

The number of lock accesses in PeersRequest::Heartbeat can be reduced by obtaining the needed values just once and reusing them afterwards. In addition, a small refactoring related to the use of E::{PEER_NODES, SYNC_NODES} is included.

Superseded by further PRs.


Pass environement variables describing job and current step

PR created by accident. Requires #10 to be merged in first.


Fixed null wrapping in update set

Coverage increased (+0.002%) to 98.439% when pulling 63d2e31d90c7520de0055a90708c3736d2ea26e9 on Zeliboba5:master into acfbc4c38018f2dc302d110531dc7a0930d730d2 on kayak:master.

Coverage increased (+0.003%) to 98.44% when pulling b8c4a5f358196b9a0825c20035204ef6918d5abc on Zeliboba5:master into acfbc4c38018f2dc302d110531dc7a0930d730d2 on kayak:master.


fix encoding US-ASCII error

Description
[Describe what this change achieves]
Issues Resolved
https://github.com/opensearch-project/ml-commons/issues/1111
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

31 tests completed, 5 failed, 9 skipped
Tests with failures:
 - org.opensearch.ml.rest.RestMLRemoteInferenceIT.testCohereClassifyModel
 - org.opensearch.ml.rest.RestMLRemoteInferenceIT.testCohereGenerateTextModel
 - org.opensearch.ml.rest.RestMLRemoteInferenceIT.testPredictRemoteModel
 - org.opensearch.ml.rest.RestMLRemoteInferenceIT.testOpenAIModerationsModel
 - org.opensearch.ml.rest.RestMLRemoteInferenceIT.testOpenAIEditsModel

It is better after the #1114 but still shows this: @ylwu-amzn @ryanbogan
31 tests completed, 3 failed, 9 skipped
Tests with failures:
 - org.opensearch.ml.rest.RestMLRemoteInferenceIT.testPredictRemoteModel
 - org.opensearch.ml.rest.RestMLRemoteInferenceIT.testOpenAIEditsModel
 - org.opensearch.ml.rest.RestMLRemoteInferenceIT.testOpenAIModerationsModel
 - ```


DO NOT MERGE - Use experimental CSP-friendly Alpine package

We’re heavy users of Lookbook at GitHub. In addition to our public Primer ViewComponents Lookbook (https://primer.style/view-components/lookbook/inspect/primer/beta/blankslate/default/), we use Lookbook internally for our application-specific components. Recently, we’ve been looking into deploying our internal Lookbook to production.
One blocker to doing so is resolving the compromised CSP configuration we've had to use to run Lookbook, which requires unsafe-eval due to usage of AlpineJS. In looking into this issue, I found that Alpine has an experimental CSP-friendly package. I've added it in this PR for the sake of testing by others to see if anything is broken.
How does this look to you @allmarkedup?

Thanks for this @joelhawksley - although I've been away for a few days around Easter and am just catching up with everything so I haven't had a chance to look at this in detail yet I'm afraid!
The failing tests here are not to do with your PR, they are to do with a change I pushed just before I went away that has broken the main v2 branch. I'll hopefully get that fixed up in the next day or two.
With regards to the CSP-friendly build specifically, it's something that has been mentioned before, unfortunately it seems like it hasn't been updated in a while and there is no clear roadmap to it having an official release. Having said that, I wouldn't have any problem with building it from source and vendoring it in in it's current state if we can get it working (the gitpkg approach here is perfect for testing but I'd prefer to not rely on it for if we ended up using it in a proper release).
I'm pretty sure that the restrictions around its use will currently cause issues in a few places, but off the top of my head I can't see why it wouldn't be possible to work around those. I'll need to take a little time to refresh my memory of what exactly that would entail - I'll try and do that over the next few days alongside giving it this PR a spin.
Thanks for bringing this up again, I know it's something that others would also appreciate getting working so I'll try and prioritise at least a first exploration to see how much work it would be. Depending on what shakes out of that I may try and squeeze it in to the v2 release, but I also don't want to hold that up too much at this late stage so it may have to be handled in a later follow-up release if the changes needed are significant. I'll let you know how I get on :-)

Just a followup note here - the assets need rebuilding after this change, and that rebuild is currently failing (not reflected in the tests here because currently the build needs to be run manually and doesn't happen as part of a GH actions workflow - something that is on my list of things to improve!).
To run the asset build npm run build needs to be run after the packages are updated.
I haven't had a chance to dive in properly yet but It looks like the gitpkg build step is not working correctly for the CSP directory? I'll take a look over the weekend and see if I can figure it out.

@joelhawksley after some investigation it seems that updating the existing UI to use the more restrictive CSP build is not really feasible. It needs reworking from the ground up with support for that built in from the start.
It is still something I'm keen to support, but it will likely be as part of a bigger UI rework. I've actually started exploring what this might look like already but I don't have anything ready to show just yet.
So I'm going to go ahead and close this down for now but it will stay firmly on my radar :-)


Enabling JMX for a datasource does not work

Description
After following the documentation in [1], jConsole does not show the relevant database under MBeans for investigation.
[1] https://apim.docs.wso2.com/en/4.3.0/observe/api-manager/metrics/jmx-based-monitoring/#enabling-jmx-for-a-datasource
Steps to Reproduce
Follow the steps in [1] for Enabling JMX for a datasource. Access the jConsole and check for the relevant database MBeans. There is none.
[1] https://apim.docs.wso2.com/en/4.3.0/observe/api-manager/metrics/jmx-based-monitoring/#enabling-jmx-for-a-datasource
Affected Component
APIM
Version
4.3.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response

This feature is deprecated now. Hence closing.


custom options

When implementing the Poison.Encoder protocol, we would like to use some custom options. Doing this breaks the spec which is restricted to the following list https://hexdocs.pm/poison/Poison.Encoder.html#t:options/0
How should this be tackled? Would it make sense to extend the options spec to optional(atom())?
Thank you!

we've added dialyzer exceptions and that solved the issue


v2.2.1

This issue is to increment version in documentation and installation files in preparation for release.
Before merge to master :

[x] Increment version in changelog

Before merge to maintenance/2.2.x :

[x] Increment version in documentation
[x] Increment version in configuration/project files

After merge to maintenance/2.2.x :

[ ] Create release tag
[ ] Upload pdf documentation
[ ] Update default version page on readthedocs
[ ] Upload to Pypi

Docs for maintenance\2.2.x are hidden here.

In pdf format: pygfunction.pdf.

Release candidate is uploaded to testpypi: https://test.pypi.org/project/pygfunction/2.2.1rc0/
Install using pip install -i https://test.pypi.org/simple/ pygfunction==2.2.1rc0

Release will be on Friday 2022-08-12.


Fail to run asset-transfer-private-data sample on Apple ARM

Hi, I try to run this :
https://github.com/hyperledger/fabric-samples/blob/main/asset-transfer-private-data/README.md#running-the-sample
but it's failed :
$ ./network.sh up createChannel -c mychannel -ca
Using docker and docker-compose
Creating channel 'mychannel'.
If network is not up, starting nodes with CLI timeout of '5' tries and CLI delay of '3' seconds and using database 'leveldb with crypto from 'Certificate Authorities'
Bringing up network
Unable to find image 'hyperledger/fabric-tools:latest' locally
docker: Error response from daemon: manifest for hyperledger/fabric-tools:latest not found: manifest unknown: manifest unknown.
See 'docker run --help'.
 This may cause problems.
Unable to find image 'hyperledger/fabric-ca:latest' locally
latest: Pulling from hyperledger/fabric-ca
docker: no matching manifest for linux/arm64/v8 in the manifest list entries.
See 'docker run --help'.
CA_LOCAL_VERSION=1.5.5
CA_DOCKER_IMAGE_VERSION=
Local fabric-ca binaries and docker images are out of sync. This may cause problems.
Generating certificates using Fabric CA
[+] Running 0/3
 ⠿ ca_orderer Error                                                                                3.0s
 ⠿ ca_org2 Error                                                                                3.0s
 ⠋ ca_org1 Pulling                                                                                3.0s
no matching manifest for linux/arm64/v8 in the manifest list entries

os:
$ sw_vers
ProductName:		macOS
ProductVersion:		13.1
BuildVersion:		22C65

$ uname -a
Darwin xxx 22.2.0 Darwin Kernel Version 22.2.0: Fri Nov 11 02:03:51 PST 2022; root:xnu-8792.61.2~4/RELEASE_ARM64_T6000 arm64

i didn't try this:
build docker image of ca with  --platform=linux/arm64 and run
thanks

On compose-test-net.yaml file change docker image version to hyperledger/fabric-peer:2.5.0-alpha3, hyperledger/fabric-tools:2.5.0-alpha3, hyperledger/fabric-orderer:2.5.0-alpha3.
And change fabric-ca version to hyperledger/fabric-ca:1.5.6-beta3 on compose-ca.yaml then it work on apple arm.


C# tutorials - arrays

Should teach the basic concepts of creating and using arrays in C#.
Tutorials should include one or more code examples, each example should also show expected output and should include an explanation of the code where it isn't obvious. Examples shouldn't be dependent on a specific IDE or target platform.

I'll take this one as well.  Please assign to me.  cc @BethMassi

Done @matthewreily

Thanks!


Not working on android - Attempt to invoke virtual method 'void com.wowza.gocoder.sdk.api.WowzaGoCoder.setConfig(com.wowza.gocoder.sdk.api.configuration.WowzaConfig)' on a null object reference

Hi,
I'm having trouble with the android.
I've followed all the steps from readme but I got this error when running the app.
I'm using GoCoder SDK Version : 1.0.2
06-05 14:04:26.921 29223-29223/com.cameradispatch E/unknown:ReactNative: Exception in native call
    java.lang.NullPointerException: Attempt to invoke virtual method 'void com.wowza.gocoder.sdk.api.WowzaGoCoder.setConfig(com.wowza.gocoder.sdk.api.configuration.WowzaConfig)' on a null object reference
        at com.rngocoder.BroadcastManager.initBroadcast(BroadcastManager.java:34)
        at com.rngocoder.BroadcastView.onHostResume(BroadcastView.java:93)
        at com.facebook.react.bridge.ReactContext$1.run(ReactContext.java:150)
        at android.os.Handler.handleCallback(Handler.java:789)
        at android.os.Handler.dispatchMessage(Handler.java:98)
        at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:29)
        at android.os.Looper.loop(Looper.java:164)
        at android.app.ActivityThread.main(ActivityThread.java:6665)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)

Environment
System
  platform           darwin
  arch               x64
  cpu                4 cores                                             Intel(R) Core(TM) i5-6360U CPU @ 2.00GHz

JavaScript
  node               10.2.0       /usr/local/bin/node
  npm                6.1.0        /usr/local/bin/npm
  yarn               1.5.1        /usr/local/bin/yarn

React Native
  react-native-cli   2.0.1
  app rn version     0.55.4

Ignite
  ignite             2.1.0        /usr/local/bin/ignite

Android
  java               1.8.0_121    /usr/bin/java
  android home       -            /Users/gama/Library/Android/sdk

iOS
  xcode              9.4

Possibly related to closed issue #15. Try getting a license key tied to your Android package name and see if that fixes the crash.

I believe this has to do with the GoCoder SDK deprecating some of its methods. I had to rewrite some of the files. How do I submit the fix for review since I've never done something like this?


Add chartOnly mode

Example of usage (I left the title blank in the second card so it would really only show the chart. Might needs updating the documentation to say that title can be empty.)

I think it's better to change config field name to chart_only — it's common style for field names in Lovelace.

Thanks, changed it. I did discover that I had some mixup in my patchset too, so I fixed that as well.

Really interested in that feature. Is it planned to be merged in the near future ?

Any updates on this ?

Similar option added in #16


test 555

test the speed of on demand ISR, and if it have the issue of out of sync with pagination on page


Is this for loading SSL? Or just for redirecting?

From the README it's not clear to me whether this is for redirection only, or if this actually lets me load SSL in rack (such that it would work with WEBrick et al).

It looks like this project just enforces the scheme and adds a couple headers.
It also looks like the repo owner is a tad grumpy. #39 Someone buy @josh a drink. 🍺


Add a section on how to extend addons

Closes #170

@mehulkar Also you might want to add StateManager here
https://github.com/ember-learn/cli-guides/blob/220d733d84cade45a9831e3a394ef9265f0f6747/.local.dic#L86
to fix lint errors

@rajasegar I think I was just missing some backticks. Should pass now?

cc @jenweber @locks for review!


We can even scrape website like ambitionboֶx to scrape website and show the top companies

Describe the feature
This feature will allow us to scrape websites like AmbitionBox to find companies based on their ratings. This could be a valuable feature for developers to add functionality to their projects.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'24 contributor
[X] I want to work on this issue

Go ahead @PlanetDestroyyer
Note

Please create a separate module for this, as in the folder and project structure (if it is already created, just add your features as functions in the same module).
Do not use the `selenium web driver as it is incompatible with all devices and cloud platforms.
Before making any changes, please check whether the module you want to add exists. If yes, then you can add your functionality as a method only make a separate module and class for it.

All the best 👨💻

@nikhil25803 Thank you

@nikhil25803 can i use scarpy framework?? casue with bs4 the website is blocking the crawler and not able to scrape the data but with scarpy i m able to scrape the data but if i m doing with scrapy i need to modify bit files i g

I did PR review and merge it


Enhance the Cloudinfo service to serve AWS/PKE related information

Serve ami information for amazon PKE service.
Retrieve available amis for the attributes:

input: region + PKE version + k8s version + os
output: img (ami)

ami ids need to be "scraped" from amazon based on image tags

fixed by  #281


Upgrade AnonCreds dependency to 0.2.0-dev10

@jamshale -- can you take care of this as soon as possible. I did try on my own, but system is not setup right...'
Thanks

Absolete — by #2761


Added calculating button

Closes #64

Branch 47 create resulttable component now saves clinical tests and experiments asynchronously, therefore, the loader may not be relevant in the fileupload component.


skopeo: 1.15.0 -> 1.15.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/containers/skopeo/releases.
meta.description for skopeo is: A command line utility for various operations on container images and image repositories
meta.homepage for skopeo is: https://github.com/containers/skopeo
meta.changelog for skopeo is: https://github.com/containers/skopeo/releases/tag/v1.15.1
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.15.1 with grep in /nix/store/z5a7ri304m7cvy6yhv37mc9ng665d7pn-skopeo-1.15.1
found 1.15.1 in filename of file in /nix/store/z5a7ri304m7cvy6yhv37mc9ng665d7pn-skopeo-1.15.1

Rebuild report (if merged into master) (click to expand)

6 total rebuild path(s)

6 package rebuild(s)

First fifty rebuilds by attrpath

haskellPackages.nvfetcher
nix-prefetch-docker
nvfetcher
ostree-rs-ext
skopeo

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/z5a7ri304m7cvy6yhv37mc9ng665d7pn-skopeo-1.15.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A skopeo https://github.com/r-ryantm/nixpkgs/archive/514b55bcdaaba5b04fee64d24e1cc620460ecf39.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/514b55bcdaaba5b04fee64d24e1cc620460ecf39#skopeo

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/z5a7ri304m7cvy6yhv37mc9ng665d7pn-skopeo-1.15.1
ls -la /nix/store/z5a7ri304m7cvy6yhv37mc9ng665d7pn-skopeo-1.15.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

5 packages built:

nix-prefetch-docker
nvfetcher
ostree-rs-ext
skopeo
skopeo.man

Maintainer pings
cc @nlewo @developer-guy @saschagrunert @vdemeester for testing.

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

7 packages built:

haskellPackages.nvfetcher
haskellPackages.nvfetcher.doc
nix-prefetch-docker
nvfetcher
ostree-rs-ext
skopeo
skopeo.man


Documentation Update for AWS Deployment Non-Managed Services

Signed-off-by: Atul Krishna<EMAIL_ADDRESS>:nut_and_bolt: Description: What code changed, and why?
Documentation Update for AWS Deployment Non-Managed Services

:chains: Related Resources
https://chefio.atlassian.net/browse/SHIELD-237
:+1: Definition of Done
:athletic_shoe: How to Build and Test the Change
:white_check_mark: Checklist
All PRs must tick these:

[ ] I have read the CONTRIBUTING document.
[ ] All commits signed-off for the Developer Certification of Origin.

With occasional exceptions, all PRs from Progress employees must tick these:

[ ] Is the code clear? (complicated code or lots of comments--subdivide and use well-named methods, meaningful variable names, etc.)
[ ] Consistency checked? (user notifications, user prompts, visual patterns, code patterns, variable names)
[ ] Repeated code blocks eliminated? (adapt and reuse existing components, blocks, functions, etc.)
[ ] Spelling, grammar, typos checked? (at a minimum use make spell in any component directory)
[ ] Code well-formatted? (indents, line breaks, etc. improve rather than hinder readability)

All PRs from Progress employees should tick these if appropriate:

[ ] Tests added/updated? (all new code needs new tests)
[ ] Docs added/updated? (all customer-facing changes)

Please add a note next to any checkbox above if you are NOT ticking it.
:camera: Screenshots, if applicable

Netlify deployment got failed, as a result, there is no preview. https://app.netlify.com/sites/chef-automate/deploys/63e5308b22b7c10007db2871
Please fix the netlify and share the preview link

Netlify deployment got failed, as a result, there is no preview. https://app.netlify.com/sites/chef-automate/deploys/63e5308b22b7c10007db2871
Please fix the netlify and share the preview link

Here is the link: https://deploy-preview-7717--chef-automate.netlify.app/


[Feature Request] WASM build for non-js environment

Yes it's possible to use current wasm build in non-js environment but it's at least inconvenient
Is it possible to provide wasm build with minimal c-style API to be used in arbitrary environment ?

Do you have a proposal?

Do you have a proposal?

no, only couple ot thoughts (nothing reasonable)


System values are not updated

Describe the bug
The values that are queried via console using pwrsystem are no longer synchronized in the adapter. The values I mean can be seen in the screenshot.
Setup: Pylontech US5000 as Master with US2000C as Slave

To Reproduce
I can't reproduce it because when I create a new adapter the system values don't appear at all.
Versions:

Adapter version: latest
JS-Controller version: 7.0.0
Node version: 20.17.0

Since nothing has changed on the adapter, I suspect it's your environment:
If the checkbox is set in the configuration, the data will not be read otherwise.
If you put the battery into admin/configuration mode, the adapter will no longer work.

I can't understand it at the moment but system is not part of the query for US batteries. All data listed in the screenshot can be found under Power. SOH is colomb, for example.

Thanks for the answer
Strange that it then showed me the values. Can you integrate pwrsystem? Because it is the one important query if I want to have the complete status of the entire unit. What is otherwise under power is only the status of the respective individual unit.
I looked at the programming and the pwr part would probably have to be almost identical, just with a pwrsys part added. I want to have the values directly from the system and not have to have something calculated together. I can't find the system_rc and system_soc values in the power part either.


Upgrade React component boilerplates to newer es7 standards?

The boilerplate will try to follow the latest standards now, will close this issue