[e2e]: generic schedule main multi-subjects slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3087641521
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Trigger: schedule
Branch: main
Date: Tue Sep 20 05:36:34 UTC 2022

Getting a rekor error:
Getting rekor entry error error verifying tlog entry: calculated root:
[24 12 212 170 213 2 56 52 155 205 63 112 44 220 2 1 231 110 52 155 94 169 129 26 157 212 5 37 124 99 64 196]
 does not match expected root:
[161 54 80 70 6 156 217 165 66 112 218 229 59 131 190 83 40 141 66 118 98 5 110 175 23 241 106 177 93 217 127 40]: verifying inclusion proof, trying Redis search index to find entries by subject digest
FAILED: SLSA verification failed: could not find a matching valid signature entry: got unexpected errors

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3095402001
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Trigger: schedule
Branch: main
Date: Wed Sep 21 05:38:18 UTC 2022

Rekor is stuck at v0.10.0, which never included my race condition fix, FYI!
They are working on it
https://github.com/sigstore/rekor/issues/1055#issuecomment-1252892490

Rekor 0.11.0 has now been rolled out.

Thanks @haydentherapper! Hopefully the next run of the test will be successful and this issue will close automatically.

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3103039195
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Trigger: schedule
Branch: main
Date: Thu Sep 22 05:33:38 UTC 2022

@asraa Is this the client breaking change?

@asraa Is this the client breaking change?

What do you mean? I don't think it's related to cosign sign-blob fixes
The current failure is a little hard to read...

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3110557080
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Trigger: schedule
Branch: main
Date: Fri Sep 23 05:33:58 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3117121479
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Trigger: schedule
Branch: main
Date: Sat Sep 24 05:21:29 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3120946282
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Trigger: schedule
Branch: main
Date: Sun Sep 25 05:14:01 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3125318142
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Trigger: schedule
Branch: main
Date: Mon Sep 26 05:44:06 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3133135546
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Trigger: schedule
Branch: main
Date: Tue Sep 27 05:31:00 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3141068254
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Trigger: schedule
Branch: main
Date: Wed Sep 28 05:43:10 UTC 2022

I'm using<EMAIL_ADDRESS>and encountering message FAILED: SLSA verification failed: could not find a matching valid signature entry.
Based on the above information, it is hard for me to tell if this is expected right now or if perhaps I have done something wrong in my implementation.

Example error
Workflow file

Will keep an eye on this issue to see if/when there is a resolution.

I'm using<EMAIL_ADDRESS>and encountering message FAILED: SLSA verification failed: could not find a matching valid signature entry.

Hi! I don't think this is the same issue given that the error here is from multi subjects. There was a recent regression just today in Rekor regarding blob verification, see similar issue here (https://github.com/sigstore/cosign/issues/2294).
I'll check to see what is the cause and update you here.

Correct! Your issue will be fixed when this is rolled into production: https://github.com/sigstore/rekor/pull/1082

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3148877983
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Trigger: schedule
Branch: main
Date: Thu Sep 29 05:40:07 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3156492149
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Trigger: schedule
Branch: main
Date: Fri Sep 30 05:29:50 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3163294962
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Trigger: schedule
Branch: main
Date: Sat Oct  1 05:26:16 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3167380678
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Trigger: schedule
Branch: main
Date: Sun Oct  2 05:23:27 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3171659138
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Trigger: schedule
Branch: main
Date: Mon Oct  3 05:04:50 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3179542292
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Trigger: schedule
Branch: main
Date: Tue Oct  4 05:28:37 UTC 2022

The subject check in slsa-verifier isn't passing.
FAILED: SLSA verification failed: expected hash '89cfc6954e88b2f92a7c2879d9eb085c42f3c7065d012a5066f450dbe59b2c00', got '482ce8c8f7e867da3a3c05a9aee637703e17470ed1cf882a9e5b405e8f82619d': binary artifact hash does not match provenance subject

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3186949273
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.schedule.main.multi-subjects.slsa3.yml
Trigger: workflow_dispatch
Branch: main
Date: Wed Oct  5 03:28:13 UTC 2022
Tests are passing now. Closing this issue.


Bug: Request URI segment is our of range CI 4.0.3

Describe the bug
I have code in my app structured like this:
if ($request->uri->getSegment(2)){ ... }
It evaluates fine in 4.0.2 and earlier, but breaks in 4.0.3, throwing this error:
CodeIgniter\HTTP\Exceptions\HTTPException Request URI segment is our of range: 1
CodeIgniter 4 version
4.0.3 master
Affected module(s)
Which package or class is the bug in, if known.
Expected behavior, and steps to reproduce if appropriate
Previously this returned NULL. Maybe my code needs to be updated to restructure this conditional?
Context

ubuntu<IP_ADDRESS>
Apache/2.4.29 (Ubuntu)
PHP: 7.2.24-0

it seems you need to update your code, something like this:
if ($request->uri->getTotalSegments() >= 2 && $request->uri->getSegment(2))
{

}

Just an example, not in front of pc ;)

Oh, dear... I guess it's not gonna be very friendly to use in the long run... I haven't noticed this earlier but I would love to see this method to work similarly to one known from CI3. I guess it's a bit too late now.
Anyway... it's working that way from the beginning. No changes were made. You are experiencing this exception because it will always occur when you ask for a segment which number is greater than your total number of segments right now + 2.

Yeah i had this issue i resolved like how samsonasik said.
Of course if you use this how the old CI3 worked, you will have many problems to fix.

All nice and dandy. I think it is better to verify the segment that you are not out of range to know exactly the route on which you on.
But there is another issue i had to workaround that i really don`t like and understand.
When you get segments and you have no segment in the url
it returns an array of two empty elements
$request->uri->getSegment(0);

returns [0=>'', 1=>''];

It is cool not that much of a deal i think they return like this because something from the core needs to be empty to verify the controller and the method.
I am sure they can fix this but it will change a lot of files.

@crustamet I have to kindly disagree that in CI3 it was working "stupid". If you asked for a segment that wasn't there you always received a null in response. Personally, I would say the current implementation makes it more complicated to use.

It evaluates fine in 4.0.2 and earlier, but breaks in 4.0.3, throwing this error:

That part of the code are in 4.0.2 as well. The trow message where updated two years ago, and the function itself 5 years ago. So it have always worked that way. I guess you just have been lucky.

can be closed in favor of https://github.com/codeigniter4/CodeIgniter4/pull/3005

Just pass the current url while creating  object of URI class.
$url = new \CodeIgniter\HTTP\URI(current_url());         echo $url->getSegment(2);

Just pass the current url when creating an object of URI class like below.
$url = new \CodeIgniter\HTTP\URI(current_url());         echo $url->getSegment(2);
And please note that It is tested only with CI4 not with the previous versions.

Just pass the current url when creating an object of URI class like below. $url = new \CodeIgniter\HTTP\URI(current_url()); echo $url->getSegment(2); And please note that It is tested only with CI4 not with the previous versions. For more info you can visit WebAppsPlanet

Thanks for this @kumar-kapil


Add Footer Component

Description

Type of PR

Related Issue

Hi @Birdie13-stack, can you please include a screenshot of the footer both as it renders on a mobile screensize, and desktop. Thank you!

I'm sorry, I made an issue with the markdown so none of my content showed, I'm updating it now

Thank you @Birdie13-stack ! Looks great! If you think of further improvements you want to make, feel free to open a new issue.


Propagate Form and ResponseCookie init options

Also has nice side effect of allowing lazier load of the two features
Before

After

DefaultHttpContext increases by 16 bytes (120bytes->136bytes)
But it drops ResponseCookiesFeature at 56 bytes and FormFeature at 48 bytes
So overall 88 bytes and 2 allocations down per request or 83MB per 1M requests
Resolves https://github.com/aspnet/HttpAbstractions/issues/676
Resolves https://github.com/aspnet/HttpAbstractions/issues/677
/cc @Tratcher

Putting in 1.1 for investigation

@Tratcher @pakrym @davidfowl updated with currying, which makes creation is less messy and adds 16 more bytes; so only 72 bytes saved :disappointed:
Still breaks the feature chaining @Tratcher referenced, to make it work this
var feature = context.Features.Get<IResponseCookiesFeature>() ??
    new ResponseCookiesFeature(context.Features);

Would need to change to
var feature = context.Response.Cookies != null ?
    context.Features.Get<IResponseCookiesFeature>() :
    new ResponseCookiesFeature(context.Features);

Which isn't great...

@rynowak don't think this causes the feature collection to become dirty as is just regular flow construction? (its discards should have been resolved in https://github.com/aspnet/HttpAbstractions/pull/623)

Closing, even considering allocation gains we cant break feature chaining pattern.


Control the widget state: openness bug

The openness state prop is set when the widget actively opens or closes another widget within a controller. This fails however, in case

the user changes the widget selection => in this case, the openness prop is not adjusted to the new selection and might reflect a wrong status
the user closes a widget via it's own "X" button or opens/closes a widget via the controller widet

Because of (2), we have to check for openness live when handleToggleOpennessButton()

Fixed by pull request #152

Close #152


[SVCS-218] Test MFR compatibility with python 3.5.3 and document

Purpose
See if MFR works well with updated asyncio functions.
Changes
Adds Known Issue to the docs and a compatibility message stating compatibility.
Side Effects
None
Ticket
https://openscience.atlassian.net/projects/SVCS/issues/SVCS-218

Merged as d2f3e7cf5fced6c5ea95167da84621119ee9de65.


Framerate Drop in Monster Hunter World Armor Screen AMD

Recently I switched from a 1080ti to a 5700xt, I noticed some odd behavior in the armor screen that when a lot of higher rank gear is on the screen (blue/gold shiny ones) the frame rate drops to 45-50fps from previous 60fps. This does not happen with VKD3D or on my previous Nvidia GPU. This happens on older DXVK versions as well I tried it on Proton 4.11 with the same behavior. Changing the game graphics settings did nothing to effect this and happened regardless of graphics settings used. If the high rank armor isnt shining on the screen (tested by scrolling to lower rank gear) this does not happen.
Software information
Monster Hunter World: Iceborne
System Information
OS: EndeavourOS
CPU: Ryzen 5 3600
GPU: AMD 5700xt
Graphics Driver: Mesa 20.2 git
DXVK Version : DXVK 1.7
WINE Version: Proton-5.8-GE-2-MF

I am currently 24hr denuvo banned for trying other proton versions so am unable to provide anything further at this time

MHW is known to run very poorly with DXVK (or Proton in general, although vkd3d will give you much better results). It would be very useful to know
a) which GPU your "previous Nvidia GPU" was
b) whether you are GPU-bound or not (set DXVK_HUD=fps,gpuload).

MHW is known to run very poorly with DXVK (or Proton in general, although vkd3d will give you much better results). It would be very useful to know
a) which GPU your "previous Nvidia GPU" was
b) whether you are GPU-bound or not (set DXVK_HUD=fps,gpuload).
Also, make sure to use ACO.
In general I don't consider performance problems to be fixable at this point though, especially in this game which hits thread synchronization bottlenecks even on Windows and even moreso on wine.

It was a 1080ti (I mentioned it first thing) on vulkan beta driver. I switched between LLVM and ACO primarily using ACO to see if that was the issue but neither did anything. I also tried with/without FSYNC and I always use game mode.
I'm currently Denuvo banned so I can't do anything further till tomorrow, but I will say the performance has been pretty great minus this one oddity.

FWIW relative performance with D3D11 on my system (Ryzen 2700X + RX 480) compared to Windows is something like 40% in this game which is exceptionally bad, and it's probably not just DXVK's fault.

FWIW relative performance with D3D11 on my system (Ryzen 2700X + RX 480) compared to Windows is something like 40% in this game which is exceptionally bad, and it's probably not just DXVK's fault.

No doubt, MT Framework engine and MHW does some bizarre stuff. I'm just looking to figure out why this specific menu lags for some reason. If it was a GPU performance issue I'd imagine VKD3D to be worse because in GPU bound scenarios DXVK wins out but for the Armor menu its the opposite. Id even understand if something graphics/CPU heavy was happening but there's nothing really going on and in situations it is happening I can maintain 60FPS so its really strange

Ban just ended snd having trouble getting apitrace to work following instructions in common issues on the wiki. I did manage a d3d11 log running dxvk debug
MonsterHunterWorld_d3d11.zip
need to try and figure out how to get apitrace to work through proton/steam in the mean time

Mangohud screens of when the issue occurs
When the frame rate drops

Scroll up on the screen just a bit and it stops

i understand if this isnt a priority or even a concern, MHW is a flaky beast but its just odd and wanted to do my part if its solvable

CPU-bound then, not something I can just fix.

@Eckoa Your GPU could just be entering a lower power state due to perceived under-utilization in that particular spot. It might not be this, but I guess you could try to see if it still happens when something else is stressing the GPU in the background.

@Eckoa Your GPU could just be entering a lower power state due to perceived under-utilization in that particular spot. It might not be this, but I guess you could try to see if it still happens when something else is stressing the GPU in the background.

Gonna try and figure it out elsewhere, thanks though


chore: use Slack bot for sending messages

Also:

publish message on success
add ignore-policy.rego

:tada: This PR is included in version 0.18.12 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


fix: update to eye v6.0.4

fix: update to eye v6.0.4

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

npm package (@latest dist-tag)
GitHub release
v8.0.3

Your semantic-release bot :package::rocket:


Multiple IDS on Graphql API

Does anyone know if it is possible to send multiple Axie IDs to the API to get axle details rather than looping through one at a time?
Thanks,
Dex

You may use GraphQL aliases to perform multiple operations at once.


Decommission grunt contrib stylus

Description
Decommission grunt-contrib-stylus in grunt and move build css command in npm.
Type of change

[x] Development tool configuration change

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes do not lower current test coverage
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

👍


Foxy Signer

Merges the changes from  https://github.com/Foxy/eleventy-fundraising-minisite and incorporates Foxy Signer.

Replaced with a pull request to the official repo.


Favicon needs to be added

Icon for the website

@AnkitMajee Please raise your issues after the contribution period starts. I can't assign as it is created before.

hi @Srijita-Mandal I would like to work on the issue .
Can you assign it to me. under JWOC

i would like to work on this issue please assign this to me

I want to work on this issue under JWOC

@Srijita-Mandal you close this one I have created a new issue

i am working on this.


Setup fails because of LICENSE file extension

setup.py is looking for file "LICENSE" but it was renamed to "LICENSE.txt"

Fixed, thanks. Was hoping github would pick up the license under a different name, but it appears they don't detect the short version of the Apache license regardless of what it's called.


LDSv2 fixes for sidecar

Fixes for the e2e_simple test case. Test case now passes (only using v1alpha1 package however).

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: zackbutcher
Assign the PR to them by writing /assign @zackbutcher in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

mixer/OWNERS
pilot/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ostromart: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
05581743e9dd57852fce6907ad91146c05d931d1
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ostromart: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
05581743e9dd57852fce6907ad91146c05d931d1
link
/test istio-unit-tests

prow/istio-presubmit.sh
05581743e9dd57852fce6907ad91146c05d931d1
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/lgtm
/approve

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: kyessenov
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
Assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

mixer/OWNERS
pilot/OWNERS [kyessenov]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Purpose to update the README.md

Reading file using CVE-2020-1938
$ python tomcat.py read_file --webapp=manager /WEB-INF/web.xml <IP_ADDRESS>

--webapp=manager is not always the case, it might just be omitted.

If it has to be there. Then it would be nice to have some tips or samples to reveals them.
/opt/tomcat/conf/web.xml
/opt/tomcat/webapps/host-manager/WEB-INF/web.xml
/opt/tomcat/webapps/ROOT/WEB-INF/web.xml
/opt/tomcat/webapps/manager/WEB-INF/web.xml
/opt/tomcat/webapps/docs/appdev/sample/web/WEB-INF/web.xml
/opt/tomcat/webapps/docs/WEB-INF/web.xml
/opt/tomcat/webapps/examples/WEB-INF/web.xml

--webapp=manager
--webapp=ROOT

Hi @A1vinSmith , thank you for your issue. The README provides a simple example to read one file inside one webapp.
Can you prepare a PR for the examples you provided? I'll more than happy to merge it.

Sure, I would like to do those on my pr.

remove --webapp=manager from README.md
updating this line

read_file.add_argument("-w", "--webapp", type=str, default="", help="Webapp potential params: 'manager', 'host-manager', 'ROOT' and 'examples'")


CPT Updates for StudyDesignPopulation Class

Add sttributes for:

CPT:NumberofParticipants
USDM Attribute Name: plannedNumberOfParticipants
CPT:PlannedMaximumAgeofSubjects
USDM Attribute Name: plannedMaximumAgeOfParticipants
CPT:PlannedMinimumAgeofSubjects
USDM Attribute Name: plannedMinimumAgeOfParticipants
CPT:Sexofparticipants
USDM Attribute Name: sexOfParticipants

For details see:
Changes spreadsheet
Pay attention to the chosen attribute name in column 'S'

Erin/Craig - Semantics done in sprint 4 apart from number of participants - CT spreadsheet need updating
Gaston - what are the types
CPT:NumberofParticipants - number??
CPT:PlannedMaximumAgeofSubjects - lump unit or split unit into separate attribute?  @dih-cdisc thoughts
CPT:PlannedMinimumAgeofSubjects- lump unit or split unit into separate attribute?  @dih-cdisc thoughts
CPT:Sexofparticipants cdisc codelist = C66732 SEXPOP
Gaston to discuss with Chris about how the branches for sprint 5 are going to work.
Jared
Update API with new attribute

This ticket is now in progress but I'd need further clarification before I can close it. @daveih see John's message above where you're tagged. Also, I'm assuming sexOfParticipants is List @cupkes please correct me if necessary.

Age of Participants - use a quantity type, ie.e value and unit with a datatype / class approach. This is a good resource re datatypes and fields FHIR datatypes
Sex of Participants - List of Code makes sense

@daveih - I have added the comment from Berber below. Please confirm if this should be actioned.
Comment from Berber 09DEC2022 - Can you make it PlannedNumberOfParticipants? The planning will in most cases be different from actual numbers. So it is good to make a clear distinction between the design (planned) and the actual data like you already do with min and max age. And to be consistent you might also want to consider PlannedSexOfParticipants.
@EMuhlbradt and @czwickl - Just tagging you so you are aware of this comment. Will await reply from Dave IF.

CT development complete


feat(website/e2e-test): add README

Based on pairing with @raffomartini

This is semi-blocked on #400.


In operator narrowing does not work when key is a variable

🔎 Search Terms
In narrowing, as type, type inference
🕗 Version & Regression Information
I have tried  on 5.1.6 and on nightly typescript
⏯ Playground Link
https://www.typescriptlang.org/play?ts=5.4.0-dev.20231218#code/PTAEHUFMBsGMHsC2lQBd5oBYoCoE8AHSAZVgCcBLA1UABWgEM8BzM+AVwDsATAGiwoBnUENANQAd0gAjQRVSQAUCEmYKsTKGYUAbpGF4OY0BoadYKdJMoL+gzAzIoz3UNEiPOofEVKVqAHSKymAAmkYI7NCuqGqcANag8ABmIjQUXrFOKBJMggBcISGgoAC0oACCbvCwDKgU8JkY7p7ehCTkVDQS2E6gnPCxGcwmZqDSTgzxxWWVoASMFmgYkAAeRJTInN3ymj4d-jSCeNsMq-wuoPaOltigAKoASgAywhK7SbGQZIIz5VWCFzSeCrZagNYbChbHaxUDcCjJZLfSDbExIAgUdxkUBIursJzCFJtXydajBZJcWD1RpaSCoABqDGg7EgAAp4NIAFaQKn5UAAbwY+U47EQ0m+AF9+MkKDBuHzBKhKJxmABKAWKEoI0CsmVykReDncqnq-makqgJyofGGrk81AAbT10QAugBuc0S8HQQQoM0Wy10m2gLjcSAyziQbgekoSxRxinmaleZh0xnMyAAJnZdt5AqFIrFkulsuifIARAxywAfcvScum83a3Wl1wZJK51CNgNW4NG+1O1vuz3e30antBsheUPhjJRmOgONx4IqHDNDxT0CIeB9BjA9g0L5uMzMdgMVP8WDQdSJPfwPQG0DlgCiqwYiAW+nLSWx5fADlQAByYQADlIAkcsghUAB5L4yHeX1+FTI5UEcBRXGkPBA23HRhiwfQUAQRBoWES4jwkHdohEAwOGxBYmFYDgeCCEogA
💻 Code
function getValue(object: {a:number}, field: string) {
  if (field in object) {
    return object[field];
  } else {
    return undefined;
  }
}
function getValue2(object: {a:number}, field: "a"|"b") {
  if (field in object) {
    return object[field];
  } else {
    return undefined;
  }
}

🙁 Actual behavior

🙂 Expected behavior
Naturally i would expect this compile without errors or at least give me a suggested fix like:
function getValue(object: {a:number}, field: string) {
  if (field in object) {
    return object[field as keyof typeof object];
  } else {
    return undefined;
  }
}

Additional information about the issue
No response

Duplicate of #52311. Please don't post screenshots in place of code or error messages, it makes reading your issue fairly difficult and is not very inclusive.

I don't understand what the expected result is here. field in object doesn't mean field is 'a". What would the function return? This isn't a bug and the implied suggested change would be wrong.


feat(http): Add 'useLegacyHttpMethods' to $httpProvider

For now it defaults to true. This will open up a path to remove the short hand methods in the long run.

I like the idea behind this. success() and error() have always worried me...

A few things

The documentation for it needs to be beefed up
a deprecation notice needs to go in the commit message
if the legacy methods have been turned off then they should be changed to throw a helpful error rather than simply missing.

I'll get to the documentation. Just wanted to get some feedback first ;)
Is there a special format for deprecation notices?

Perhaps something like this would work: https://github.com/angular/angular.js/commit/38fbe3ee8370fc449b82d80df07b5c2ed2cd5fbe

This would close #10508

Sorry, it took me way too long to get back to this.
I've changed the documentation to to mainly cover then and added a deprecation notice to both the commit and the documentation. I've also added the error messaged.
Small aside: Once this is merged, it would be great if this could be uplifted to 1.4, as this would allow switching the default to off in 1.5.

@realityking - thanks for improving this. Just a couple of issues with the minerr stuff and then we are good to go.

If we default to false then this is a breaking change and needs to go into 1.5

I've fixed minErr and added the tests. Is there a script to generate the scaffolding for the error docs or is that all by hand?
As for 1.5, my I idea was to ship this with default true in 1.4.x and change the default to false in 1.5. That would allow people to fix their libraries and apps ahead of the release. Also, we'd get rid of the legacy methods being front and center in the docs.

That is better.
For the error doc, you just make a copy of a file like https://github.com/angular/angular.js/blob/master/docs/content/error/%24http/badreq.ngdoc and doctor it to your needs. The rest is magic.
One last comment about the provider method, I feel that useLegacyMethods is a bit vague. Perhaps useLegacyPromiseExtensions or something?

I think I've addressed everything.

I will land this week.


Use env_sprite to replace the particle.

Create a env_sprite entity above player's head and attach it to player. It's a workaround to the manifest issue.
https://developer.valvesoftware.com/wiki/Env_sprite
Example in the wild:
https://forums.alliedmods.net/showthread.php?p=2604172

I already knew about this, but I don't like that solution because, to my knowledge, it requires 2 edicts for every sprite. This is because any edict directlty attached to a player simply does not render.
Then still, we have a particle effects (sligly animated), not a sprite (texture).
I guess i could make it an option tho for server owners that don't mind up to 64 edicts being eaten by that :)

Indeed it needs 2 edicts :(


The time axis label are inconsistent

The two charts Overall Chart and Label Chart have a different time axis. In the Overall Chart you see the local time, in Label Chart the UTC time.

Hi @MoritzSalein, thanks for the report. I will try to look into it during this week.


IAI: Upgraded NuGet packages.

General question: should we use the *-preview NuGet packages for production?

No we should not, unless there is nothing else?

General question: should we use the *-preview NuGet packages for production?

No we should not, unless there is nothing else?

Ideally we shouldn't if there are non-preview versions. But most of Microsoft.Azure.Management.* NuGet packages are still in preview and there are no non-preview versions of them. In my last commit I migrated to Microsoft.Graph from Microsoft.Graph.Beta, which is only possible since recently.


Setting a global value for maxQueryLimit breaks force:apex:execute

Setting a global value for maxQueryLimit breaks force:apex:execute
When I set a value for maxQueryLimit to increase the number of records pulled by a soql query, force:apex:execute fails with Value is not defined
Steps To Reproduce:
Repository to reproduce: dreamhouse-lwc

Run `sfdx force:config:set --global maxQueryLimit=500000
Create a debug.apex file with just one statement System.debug('test')
Run the command sfdx force:apex:execute -f debug.apex

Expected result
The command should run successfully and we should see the debug statement in the console.
Actual result
Command fails to run with this error message ERROR running force:apex:execute:  Value is not defined.
System Information
Run sfdx version --verbose --json and paste the output here.
{
"cliVersion": "sfdx-cli/7.110.0",
"architecture": "wsl-x64",
"nodeVersion": "node-v14.17.0",
"pluginVersions": [
"@oclif/plugin-autocomplete 0.3.0 (core)",
"@oclif/plugin-commands 1.3.0 (core)",
"@oclif/plugin-not-found 1.2.4 (core)",
"@oclif/plugin-plugins 1.10.1 (core)",
"@oclif/plugin-warn-if-update-available 1.7.0 (core)",
"@oclif/plugin-which 1.0.3 (core)",
"@salesforce/lwc-dev-server 2.10.0",
"├─ @oclif/plugin-update 1.3.10",
"└─ @oclif/plugin-help 2.2.3",
"@salesforce/sfdx-diff 0.0.6",
"@salesforce/sfdx-trust 3.6.0 (core)",
"alias 1.1.10 (core)",
"auth 1.7.1 (core)",
"config 1.2.13 (core)",
"evergreen 0.34.0",
"└─ evergreen-build 0.20.2",
"generator 1.1.8 (core)",
"playground-export 1.2.0",
"salesforcedx 51.13.0 (latest-rc)",
"├─ apex 0.2.0",
"├─ data 0.4.6",
"├─ custom-metadata 1.0.12",
"├─ limits 1.2.1",
"├─ templates 51.4.0",
"├─ user 1.2.11",
"├─ @salesforce/sfdx-plugin-lwc-test 0.1.7",
"├─ salesforce-alm 51.6.23",
"├─ schema 1.0.7",
"└─ org 1.6.6",
"sfdmu 4.3.1",
"sfdx-cli 7.110.0 (core)",
"source 0.1.22",
"telemetry 1.2.2 (core)"
],
"osVersion": "Linux 5.4.72-microsoft-standard-WSL2"
}

@surajp I'm transferring this to the vscode, not because this is a vscode issue but because they're the same people who own this apex command.


Decode "timestamp" from oplog.timestamp

On the wiki it says:
The exact format of this file depends on MongoDB's toplogy. For a single replica set, the format is:
["oplog name", timestamp]

An example would be:
["Collection(Database(MongoClient('localhost', 27017), u'local'), u'oplog.rs')",<PHONE_NUMBER>674039941]

What format is this timestamp in, and how do you convert say,<PHONE_NUMBER>674039941, to a normal date?
Thanks.

In local.oplog.rs, oplog entry has timestamp value like this:
"ts" : Timestamp(1440194492, 391)

How is it relate to the timestamp format in oplog.timestamp? Perhaps this in oplog_manager.py?
timestamp = util.bson_ts_to_long(entry['ts'])

Okay, found a solution for this.
util.py has a method long_to_bson_ts, use Python to run the method directly:
python -c 'import util; print util.long_to_bson_ts(<val>)'

For example:
python -c 'import util; print util.long_to_bson_ts(6185145118358503425)'

And you will get a Timestamp object back.
Timestamp(1440091319, 1)

In mongo shell, use ISODate() to convert Timestamp to human readable form:
new ISODate(new Timestamp(1440091319, 1) * 1000)

It will return:
ISODate("2015-09-11T18:15:05.779Z")

Please note that the BSON Timestamp type is seconds since the Unix epoch plus an increment to represent multiple operations within the same second. See this for more information:
http://docs.mongodb.org/master/reference/bson-types/#timestamps

Thanks@ behackett
followed the same steps but I get current time stamp no matter what value you  I use
rs0:SECONDARY> new ISODate(new Timestamp(1442245369, 356) * 1000)
ISODate("2015-09-15T20:28:11.099Z")
rs0:SECONDARY> new ISODate(new Timestamp(1442244777, 386) * 1000)
ISODate("2015-09-15T20:28:30.838Z")

@upenblog Please follow updated step. Go to python and use datetime.

troubleshooting notes, if you get:
ImportError: No module named util
Make sure you git pull mongo-connector project, and you run the python command from mongo-connector/mongo_connector directory where util.py is.
ImportError: No module named mongo_connector.compat
Edit util.py, change line 26: from mongo_connector.compat import reraise to from compat import reraise

Extra credit: if you need to convert from bson timestamp to long (integer format used in oplog.timestamp):
python -c 'import util; from bson.timestamp import Timestamp; print util.bson_ts_to_long(Timestamp(<val>, <inc>))'
E.g.
python -c 'import util; from bson.timestamp import Timestamp; print util.bson_ts_to_long(Timestamp(1490951863, 8))'
6400312826585415689

Update, I've tried the following on my mac terminal and no dependencies issue. Convert from Epoch time to bson format (oplog) and vice versa.
https://atharva-inamdar.medium.com/understanding-mongodb-oplog-249f3996f528

Install pymongo
pip install pymongo
In Python3 terminal
python3
Copy paste:
from bson import Timestamp
from datetime import datetime
def ts_to_int(ts):
return (ts.time << 32) + ts.inc
def int_to_ts(t):
return Timestamp(t>>32, t & (2**32)-1)
Try it out:

ts=Timestamp(datetime.utcnow(), 1)
print(ts_to_int(ts))
7052809609722986497
ts=Timestamp(1642100404, 1)
print(ts_to_int(ts))
7052767531928387585


Incorrect result set column name

The result set section lists a column named "ordinal_position" when the actual column name is "column_ordinal" at least as of 14.0.3025.34

@stevenb-mcgrath : Thanks for your contribution! The author, @edmacauley, has been notified to review your proposed change.

Thank you for catching that #sign-off


No projects found when importing git project within eclipse

I am following this guide (https://github.com/cmu-db/peloton/wiki/Eclipse) to set-up my eclipse environment for development. When I get to step 7 of setup Peloton, I get no projects found in the dialog box instead of seeing peloton. Any ideas what could possibly going wrong or what I could try to troubleshoot this?

What I did was
1- clone peloton
2- open eclipse -> import -> C\C++ -> import code as Makefile project.
3- Go to the path of the project.
I used "Cross GCC" and the project source code will be indexed. However , I did all my tests at the terminal , not the IDE.

Also, make sure that you are using a newer version of Eclipse.
I've attached my .project + .cproject files. If you put them in the root dir then Eclipse should be able to find then.
peloton-eclipse-project.zip

Should I download Neon instead of Luna? I was worried about any compatibility issues so I stuck with Luna since that was in the guide.

I use Eclipse 4.5.2 (Mars).
The default version that in Ubnuntu is too old.

I'm using Neon. So far I have no problem indexing the code. Though I compile and test the code using command line.

I managed to get the project indexed on Neon. Thanks for all the help!


support of nerdctl inspect {imagename}

nerdctl inspect - Return low-level information on objects. Currently, only supports container objects.

Currently nerctl does not support to inspect images.
Will that be added in future?
Background:
Yet I am adding support for nerdctl in x11docker. For several features I need to inspect the image. The most important informations are ENTRYPOINT and CMD.  Further checks are done for WORKDIR, USER and the image architecture (mostly amd64).
Is there another way to get information about ENTRYPOINT and CMD before starting the container?

PR is wanted

I have no experience in go so I cannot provide a PR myself, unfortunately.
Is there another way to get information about ENTRYPOINT and CMD before starting the container?
nerdctl inspect {container} works; so if there would be a nerdctl create I could obtain the information from the non-running container. That would be a reasonable workaround. However, nerdctl create is not included yet, too. Any chance that you would include this?

I've included a workaround in x11docker that allows all x11docker features if the user provides a container command himself. So my request is less urgent now, but still desirable.
(Another workaround is needed in x11docker because nerdctl exec --user is not supported. However, the impact is minor.)

@AkihiroSuda  @mviereck  I take this ticket

nerdctl inspect {imagename} is now available (https://github.com/containerd/nerdctl/pull/239)
TODO: refacto ParseRepoTag  function in pkg/imgutil/imgutil.go (related : https://github.com/containerd/nerdctl/pull/239#discussion_r653170808 https://github.com/containerd/nerdctl/pull/239#discussion_r653170870)

Great, much thanks!
I hope it will be available in a release soon.

Released v0.9.0 https://github.com/containerd/nerdctl/releases/tag/v0.9.0

Thank you very much!


Amr Daoud

[ ] <!--10000

[ ]

⚠ If you do not respect this template, your pull request will be closed.
⚠ Your pull request title should be short detailed and understandable for all.
⚠ Also, please add it in the CHANGELOG file under Unreleased section.
⚠ If your pull request fixes an open issue, please link to the issue.
✅ I have added the tests to cover my changes.
✅ I have updated the documentation accordingly.
✅ I have read the CONTRIBUTING document.
-->
Summary
Details and comments

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

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


Enabled git build for m4port , along with patches

make check went through, with o/p as:
Skipped checks were:
./126.changeword ./127.changeword ./128.changeword ./129.changeword ./130.changeword ./131.changeword ./stackovf.test
Failed checks were:
./005.command_li:out ./006.command_li:out ./006.command_li:err ./138.include:err

How far does the build get with these changes?

I see the failures as:
Failed checks were:
./005.command_li:out ./006.command_li:out ./006.command_li:err ./138.include:err

Very cool. Can you open up an issue that indicates git build quality and what is failing so we can track what needs to be updated ?


Incoming webhook - Send messages using cURL and PowerShell does not work with Workflow connector

Steps to reproduce
This page https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/connectors-using?tabs=PowerShell%2Ctext1#send-messages-using-curl-and-powershell
PowerShell section suggests using this code to post message using webhook suggested by Microsoft to replace incoming webhook connector. Workflow template called "Post to a channel when a webhook request is received"
Expected behavior
Execute below with appropriate URI
Invoke-RestMethod -Method post -ContentType 'Application/Json' -Body '{"text":"Hello World!"}' -Uri
Expected to post "Hello World!" in channel
Actual behavior
Power Automate flow fails with error
Error details
Action 'Send_each_adaptive_card' failed: The execution of template action 'Send_each_adaptive_card' failed: the result of the evaluation of 'foreach' expression '@triggerOutputs()?['body']?['attachments']' is of type 'Null'. The result must be a valid array.

Thank you for reporting this, we will check this and get back to you.

@jentrup346734 Looks like the json format you are using is for old connector format. Since you are using a workflow you should be following the json format for the adative cards : just below the curl / powershell section, here.
The "Send_each_adaptive_card" of the workflow requires the "attachments" parts filled as an adaptive card, which is not present in your original json and hence the error.

@vivekk0903 Yes that is accurate, however we still need the documentation updated as the documentation is incorrect when using the new workflows.

@jentrup346734 - We have shared the feedback with engineering team to update the documentation with examples for workflows.


Save old topics

Saves the topics posted each time the add widget dialog is opened, maybe should add that also when the file is saved, up to the reviewer to decide, allows to modify the tab grid with the old widgets even when nto connected to the robot / sim

I was thinking about this PR recently, and I don't think it makes much sense to save NT data into the json for the layout. What I think would be better is to use the advantagescope NT replay feature to populate layouts when disconnected from the robot, since this can have several shortcomings, such as needing to the the value of a .type topic and not having a value.

@Gold872 I want to achieve the restore of the topics even when it wasn't connected on the last power-on of the local machine, will what u suggested be able to achieve that? (I mean that I will be able to access the topics from any time I want)


feat: make sub package of uml plugin

Please check if the PR fulfills these requirements

[x] It's the right issue type on the title
[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] The commit message follows our guidelines
[ ] Tests for the changes have been added (for bug fixes/features)
[x] Docs have been added/updated (for bug fixes/features)
[ ] It does not introduce a breaking change or has a description of the breaking change

Description

Add sub package of uml plugin

Docs

https://github.com/nhn/tui.editor/blob/feat/add-plugin-uml/plugins/uml/README.md

TODO

[ ] Remove demo
[ ] Add test case
[ ] Add typescript

Thank you for your contribution to TOAST UI product. 🎉 😘 ✨

@dongwoo-kim
컨피그 파일들은 -rc.js로 맞추겠습니다.


mypy update causing errors due to missing dataclasses types

I was gonna submit a fix but I wasn't sure where you'd prefer types-dataclasses to go, just in the github CI or in requirements.txt or some else

Thanks for flagging this! It looks like we were already manually installing mypy in the CI, so I pulled that and the new dep out to make it easier to add in more going forward as needed.


[AutoPR containerregistry/resource-manager] [ACR] Add Helm actions to webhook

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/4820

(message created by the CI based on PR content)

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/4052


Question: Showing labels on low and medium percentages borders

@anastr Is it possible to show labels on the borders of low to medium, and medium to high percentages, outer of the circle?
I mean this:

you can't, add textView to the next of speedometer.


Adding nodes or edges to a StellarGraph doesn't set a default type

Description
When creating a StellarGraph from a NetworkX graph we fill in the node and edge types with defaults when not specified. When adding nodes/edges to a StellarGraph object we are required to specify this type otherwise it will not be filled.
e.g.
    G = StellarGraph()
    elist = [(1, 2), (2, 3), (1, 4), (3, 2)]
    G.add_edges_from(elist)
    print(G.info())

The G.info() command will fail with the following error:
ValueError: All nodes should have a type set in the 'label' attribute.

Additionally, ML methods will fail as there are no node or type attributes set.
Note that even the use of G.add_edges_from(elist, label=label) will still fail the info() call.
Done Checklist (Bug)

[ ] Bug fixed
[ ] Branch and Pull Request build on CI
[ ] Branch and Pull Request pass unit tests on CI
[ ] Branch and Pull Request pass integration tests on CI
[ ] Version number reflects new status
[ ] Peer Code Review Performed
[ ] Code well commented

Hi, I'm actually facing this issue right now. I'm working on a project that turns urban maps into graphs and uses machine learning to predict traffic flow. I used PyTorch Geometric for a while but decided to try StellarGraph for your link prediction functions that you have implemented.
I already have my graph in networkx graph format with all the attributes (both node and edge), but I'm having trouble turning the graph into Stellargraph native format. The error says:
"TypeError: Node type not found in importing feature vectors!"
I'm not entirely sure what node type is refering to. Any thoughts on how to get around or fix this?

@adocherty can we provide a quick fix for the above, before the new StellarGraph class is implemented?

To my quick scan of the code containing that error, it looks like the type information is assumed as the first element of each datum. Not sure how long it would take to unwind all of the assumptions made.

Also, the block of code given at the top of this ticket actually works without error.

Thanks I just used the method used for the example in the documentation to get around the type problem, would be nice to have a seamless transition from NetworkX to StellarGraph though. I'll look into it.
Also curious if StellarGraph has the capability to accept edge attributes in a similar way as it does node attributes. It would be very useful for Urban data science/Infrastructure applications as well as for molecular representation.

Also, the block of code given at the top of this ticket actually works without error.

If you do print(G.info()) after that block of code, you get the error.

Also curious if StellarGraph has the capability to accept edge attributes in a similar way as it does node attributes. It would be very useful for Urban data science/Infrastructure applications as well as for molecular representation.

This is in our to-do list :)

The error you are reporting is not connected with this issue. When you create a stellargraph not from an existing NetworkX object the node type is created automatically. This issue is describing problems when creating an empty stellargraph object then adding nodes & edges without type information.
Your original error is triggered when trying to import the feature vectors that match the nodes in the graph.  In particular, it looks like you are trying to specify node features as a list. Could you tell us more about how you are trying to feed node features to the stellargraph object?
It is best to specify node features as a pandas DataFrame where the index is the Node ID (which must exist in the NetworkX graph).
For example:
import stellargraph as sg
import pandas as pd

G = nx.Graph()
elist = [(1, 2), (2, 3), (1, 4), (3, 2)]
G.add_edges_from(elist)

features = pd.DataFrame([[1,0,1],[0,1,1],[1,1,0],[1,0,1]], index=[1,2,3,4])
Gs = sg.StellarGraph(G, node_features=features)

Note that the features DataFrame has an index with the same IDs as the nodes in the graph.
If you continue to experience this error, please give us more details of how you are specifying the features when you create the stellargraph object.

@adocherty, I got confused between missing node labels and missing edge labels - I will retract my addition. I have just been reading the StellarGraphBase.__init__ method to see the defaults assigned. I will keep following the code trail. Is it plausible to simply use a get with a default whenever we want a type?


Owls88611 make sure REST calls are made using the expected port and protocol

The changes in this PR fix an issue where, in some configurations, the operator may choose a wrong port and/or a wrong protocol (mistakenly considering a non-sure port to be secure) for making REST calls to get WLS server health states.
The issue is caused by the following bugs in operator.

The code relies on the port names in a server service to determine if a port has "admin" privilege. This is not reliable because for example, the ssl port is exposed by the server service as "default-secure" by default, but as "https-secure" if istio is enabled. As a result, when istio is enabled, the server SSL listenport is not chosen when it should be the one to use.
If there is no "admin" port to use for a server, the logic picks the first port in the server service, instead of considering the one that exposes the server listen port first. As a result, the port of a channel may be chosen even the server listen port exists. When this happens, a non-secure port may be treated as a secure port because the code treat all non default listen port as secure.

The changes fix these issues by

removing the dependence to server services;
use the server listenport when there is no "admin" port is configured;
add a validation check for the case where the default listen port, SSL port, admin port are disabled/unconfigured, and there is not a channel with admin privileges.

Unit test cases are added to cover different configuration permutations.
Integrations test run on Jenkins (had no additional failures except for the known failures in main): https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-kind-new/4623/.

I could use some more explanations, here. There are a fair number of places where we need to select the REST port, including for the health check and the metrics. WlsServerConfig.getLocalAdminProtocolChannelPort as its own logic, which may not match that used in other places. I see fairly high level tests, but nothing that pertains directly to the algorithm for doing this selection. I could be missing something.

I could use some more explanations, here. There are a fair number of places where we need to select the REST port, including for the health check and the metrics. WlsServerConfig.getLocalAdminProtocolChannelPort as its own logic, which may not match that used in other places. I see fairly high level tests, but nothing that pertains directly to the algorithm for doing this selection. I could be missing something.

WlsServerConfig.getLocalAdminProtocolChannelPort has exactly what we need here: it chooses a port to use in the following order:

the channel that has admin privileges ;
the server's admin port;
the server's SSL port
the server's default listenport.

The original logic uses the ports on the server's K8S service, which is not needed.
As to the test cases, they do test if the correct port is picked/used given a server configuration. The expected port is specified in the line like this: defineResponse(200, "", "http://dyn-managed-server2.Test:7001");. This means the test expects that the default listenport 7001 is picked.   I noticed that the test names do not make this obvious. I can make some changes to make it clearer.

One minor comment - It looks like there are some test methods with unused clusterName variable -

Mostly looks good; some questions/comments:

You said that the names weren't a reliable way to select the right port, but I didn't see code/tests that explicitly dealt with that. The tests I see appear to be done at a much higher level. I'd have expected tests on WlsServerConfig at the least.
The monitoring exporter also needs to compute the REST port, but I don't see any changes/tests that deal with that.

@doxiao, @russgold, @ankedia, @jshum2479, can someone provide the list of all code points that need this information? I can think of the monitoring exporter, the server health check through REST, and the dynamic update in the introspector (this likely will be a different code base since it's behavior from WDT). Are there other cases? These then need to give the correct answer with and without Istio.

The problem exists in code paths that use the result of WlsServerConfig#getAdminProtocolChannelName method to match a port in server service's ports. As far as I can tell, only REST (ReadHealthStep) and exporter (PodHelper) do this. I have changed both places to NOT use server service ports to determine which port to use, instead just call getLocalAdminProtocolChannelPort method.

Mostly looks good; some questions/comments:

You said that the names weren't a reliable way to select the right port, but I didn't see code/tests that explicitly dealt with that. The tests I see appear to be done at a much higher level. I'd have expected tests on WlsServerConfig at the least.

The problem and fix are not in WlsServerConfig layer, instead, in ReadHealthStep. Therefore the newly added test cases are at the ReadHealthStep layer.

The monitoring exporter also needs to compute the REST port, but I don't see any changes/tests that deal with that.

@russgold I noticed that in PodHelper#createMonitoringExporterContainer method, the logic of choosing a port for the Java options -DWLS_PORT is different from what is for choosing a port for the ContainerPort. The former looks for a channel with admin privileges before looking for server's admin port, ssl port and listen port, but the latter does not. I am not sure if it is intentional. Changes in this PR only impacts the former where WlsServerConfig#getAdminProtocolChannelName is used.


Permalink is including some nonsense in the query string

Generating a permalink to some code on the playground currently has "version=undefined&mode=undefined" in the query string. This happens even if you have specified a version other than stable, or a mode other than debug. This seems to have been caused by the new design

This seems to have been caused by the new design

What are you basing that on?

Can you add some steps to reproduce? I'm not seeing it:

What are you basing that on?

The fact that I noticed the redesign for the first time when I noticed this issue. It's entirely unrelated.

Can you add some steps to reproduce? I'm not seeing it:

Based on your gif.... no. :(
And actually I can't even reproduce it now. So I'm going to just straight up assume this was all a dream. I'm blaming Vivian.

I'm blaming Vivian.

👶

I came across this earlier today, and chanced to figure out how to reproduce it.
All you have to do is follow the link twice. After clicking "Share", click the permalink. Once the page loads again, you still see a permalink in the right-half (or bottom) pane, but it has "version=undefined&mode=undefined" instead of the proper values.
It was different before the redesign to the best of my recollection.

As an aside, it's like 99%  unlikely that the redesign had anything to do with this. However, it doesn't matter because it's a bug now.


feat(event-receiver): add user ip

Description
Add the user's ip to event data, enabling detection of false positives during geoblocking.

Changes Made

add ip to each event

Checklist

[ ] I have followed the project's style and contribution guidelines.
[ ] I have performed a self-review of my own changes.
[ ] I have made corresponding changes to the documentation.
[ ] I have added tests that prove my fix is effective or that my feature works.

After a discussion with @jboix last week, this superb piece of software will undergo a small refactoring, in the near future, in order to make it testable.


Using dynamic attributes on self closing tags is inconsistant

This will work:
<module-input>
  <input type={ opts.type } />
</module-input>

This won't (notice there's no space between the } and the /).
<module-input>
  <input type={ opts.type }/>
</module-input>

This is fixed on v2.0.8, which was just released.


Updated README for SASS/Compass.

Hey @mjbellantoni,
This updates the README to provide some instructions for getting running with SASS + Twitter Bootstrap (I tested on the Compass flavor).
Let me know if there's an easier way for me to do what I did in config/application.rb.

@dbalatero Hello David. Sorry I haven't gotten to this yet. I've just started a new job and I'm a little busy at the moment. I'll get to this in the next several days.

No problem.


Demo IconCaptcha seemingly not loading

Hi, I've tried on
https://www.fabianwennink.nl/projects/IconCaptcha/#!demonstration
to activate the light and dark captcha, but on Chrome and Firefox last versions on Windows 10 it gets stuck on the pulsing circle (the one expanded below "Select the image displayed the least amount of times"), I don't see any image, is it normal?
Am I the only one?

Hi @teddyfresco Thank you for the heads-up! I wasn't aware that the demo captchas are no longer working. After a quick check, it appears to be an issue with my hosting provider. I will discuss this issue with them.

Hi @teddyfresco Thank you for the heads-up! I wasn't aware that the demo captchas are no longer working. After a quick check, it appears to be an issue with my hosting provider. I will discuss this issue with them.
Edit: The demo captchas are now working again.

Hi,
Can you tell what is/was the issue with your hosting provider ?
It seems that I'm facing the same issue after installing IconCaptcha on my premise... and I can't find where is the problem. Maybe the same as yours ?
Thanks

Hi @SpotAiR, the reason why the demo captchas were not working is because of seemingly an issue with the GD imagerotate function, which I only encounter on my hosting provider and not on my local dev environment (with either XAMPP or a Docker container). When using the rotation option in the captcha config, the image would often crash and return a 503 service unavailable error. I was unable to solve the issue, so I just disabled the rotation option for now.
If you open your browser's dev console and notice you get a 503 error, please disable the rotate option and see if it works. I have added this 'bug' to my todo list and will investigate it more at a later time. If you encounter a different error, or receive no error at all, it's unrelated to this issue.

Hi @SpotAiR, the reason why the demo captchas were not working is because of seemingly an issue with the GD imagerotate function, which I only encounter on my hosting provider and not on my local dev environment (with either XAMPP or a Docker container). When using the rotation option in the captcha config, the image would often crash and return a 503 service unavailable error. I was unable to solve the issue, so I just disabled the rotation option for now.
If you open your browser's dev console and notice you get a 503 error, please disable the rotate option and see if it works. I have added this 'bug' to my todo list and will investigate it more at a later time. If you encounter a different error, or receive no error at all, it's unrelated to this issue.

Thanks for your answer.
OK, not the same problem, disabled every image manipulation option, it's the same problem : when I click on "Verify that you are human", on the dev console : the captcha-request.php is called twice (1 POST then 1 GET, as on your demo), twice responding HTTP/200, but the response contains no image (the 2nd response is empty). No error log nowhere.


How can I get the version in latest version of Flask-SqlAlchemy?

Hi all,
I am using Flask-SQLAlchemy==1.0 but it has bugs in init.py line 175:
@staticmethod
def session_signal_after_rollback(session):
    session._model_changes.clear() <--- bug, do not check if it's none or not

However, the latest code in github contains far better code. How can I get this development version through pip install?
Thanks,
chfw

hi, i installed flask-sqlalchemy completely.
but when i import into my app.py file i get error NoModuleFound error.
my  code goes like this..
from flask import Flask
from flask_sqlalchemy import SQLAlchemy
app = Flask(name)
app.secret_key = "my precious"
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///contact.db'
db = SQLAlchemy(app)
@app.route('/')
def index():
return "Ok"
if name == 'main':
app.run(debug=True)
anyone just help me with this


Direct Deploy to Salesforce failing for ToolingAPITest.cls

On direct deployment/installation to salesforce, receiving one of error.ToolingAPITest.cls deployment is failing, rest all components get succesfully deployed. Please refer below log.
Deployment Started
Status: Queued
Status: InProgress
....
Status: Completed
Deployment Complete
Failures:
classes/ToolingAPITest.cls(ToolingAPITest):Not in package.xml

You’ve been invited!
Your friend Chirag gave you ₹3,119 off your first trip on Airbnb, the best way to travel. Be sure to say thanks!
Minimum booking value ₹12,476.
Claim your ₹3,119 credit
http://www.airbnb.co.in/c/cmehta20?euid=aec019b0-704a-f2ba-cac5-1a1d1443974c&ri=13483889&s=1
Thanks,
The Airbnb Team
P.O. Box 410807, San Francisco, CA 94121
Unsubscribe
https://www.airbnb.com/email/unsubscribe?token=eyJlbWFpbF9hZGRyZXNzIjoicmVwbHkraS00MDQ0MDE2Ni00YzkyMTU2NTZhMTBhNmRiNzkyODg3ODkwNjdhZjFjNzE2Y2Q5ZDY0LTEwOTg5NzJAcmVwbHkuZ2l0aHViLmNvbSIsImNhdGVnb3J5IjoicmVmZXJyYWxzIiwidGVtcGxhdGUiOiJpbnZpdGF0aW9uIiwidXVpZCI6ImFlYzAxOWIwLTcwNGEtZjJiYS1jYWM1LTFhMWQxNDQzOTc0YyJ9&mac=wP35MRI7cMVMa8btJ5yXZfMXkT0=
Airbnb


io.cettia.HeartbeatFailedException: null

io.cettia.HeartbeatFailedException: null
	at io.cettia.DefaultServer$DefaultServerSocket$6.run(DefaultServer.java:261)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

Unsure what this means but it would appear that actionsMap.get("error") is null when it shouldn't be.  Either a check for null or it is being called in the incorrect state.

If actionsMap.get("error") were null, java.lang.NullPointerException would have been thrown instead of io.cettia.HeartbeatFailedException.
This exception is thrown when heartbeat operations fails. For the details of heartbeat, see http://cettia.io/projects/cettia-java-server/1.0.0-Beta1/reference/#heartbeat
FYI, to reproduce this situation, add an error event handler like socket.onerror((Throwable error) -> error.printStackTrace()); on server, open a socket on client and kill the client process. Then after a few seconds, you should see the above stack trace on server console.

Ugh, yup. Completely read the exception wrong.
Is the heartbeat failed exception actually exceptional? Seems like it would happen in the due course of operatiohn.

The heartbeat failed exception is exceptional because it can happen when network failure occurs or client application crashes for some reason.
If there were some errors on connection, error event is fired and then close event usually follows it. Here, error event usually gives you the reason why the connection closed.

Understood! Makes sense.  Sounds like the answer here is to log with the error exception handler. Thanks!


Firing snowballs does not remove items from inventory properly

While developing my spleef game, I discovered this bug:
By default, minestom removes snowballs from your inventory when right click them. However, it seems they are not properly being removed (is my assumption, I'm not familiar with how minestom actually works with items).
If I throw these snowballs, say I had 16, and throw 4, then I end up with 12. Except if I open my inventory, or when you cause the inventory to be updated (I think), all the snowballs just thrown reappear. So you end up with 16 again.

Minestom is not removing the snowballs, it's client prediction. You must implement this.

Okay, thanks


Why I got not allowed access?

I have defined a route like this:
$app->group(['middleware' => 'cors', 'namespace' => 'App\Http\Controllers'], function($app)  {
    $app->get('/territory/check_in', 'Territories@check_in');
});

Currently the page that calls the api is at: http://<IP_ADDRESS>:9900
And the end point api is: http://<IP_ADDRESS>:9907/territory/check_in
However, when I call it from javascript on another host, I got this error:
XMLHttpRequest cannot load http://<IP_ADDRESS>:9907/territory/check_in. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://<IP_ADDRESS>:9900' is therefore not allowed access. The response had HTTP status code 405.
Although its currently wide open for any origin.
I call it like this:
$('#check_in').click(function(){
                $.ajax({
                    url: 'http://<IP_ADDRESS>:9907/territory/check_in',
                    type: "get",
                    data: {},
                    success: function(data){
                        alert(data);
                    }
                });
            });

Can you please advice?

Did you figure out this issue? I was wondering if the Cors issue is resolved by this repo

I switched to https://github.com/neomerx/cors-illuminate and it worked fine


Local Host Credentials

01-prepare-data-with-power-query-in-power-bi-desktop.md
Module: 01
Lab/Demo/Instructions : 01
Exercise:01
Task: 03
Step: 03
Task 3: Get data from SQL Server
Description of issue: What type of credentials are to be used
Repro steps:

Localhost credentials to be used are missing.

Thank you, we will look into this.

Yes, there is a missing step in the instructions here. It should ask students to use appropriate credentials, if the authentication dialog appears.
The reason the authentication dialog does not appear on the ALH VM is that someone (either course creator during their run through the lab, or the ALHs themselves), have already used that connection before. Since the connection was already used the credentials are now cached in the base VM images and PBI Desktop skips the prompt.

What credentials are to be used at this particular step ?

Instructions added for clarity.


Results tab is shown first, then hidden, then shown again

Description
Unwanted blinking of the Results tab takes place (it is displayed for a half of second, then hidden, then shown again).
I suggest to avoid this unwanted effect.
Execute this code with "Show results in a single/multiple tabs" with true and then false.
It is a bit more noticeable with the single tab option.
select 1;

select 2;

https://github.com/user-attachments/assets/44eb32b1-e68f-4559-9dc9-5c3adc1a5e6a
https://github.com/user-attachments/assets/045442b3-33b4-40f8-b227-8261c61af350
DBeaver Version
Community Edition 24.1.5-202408122322
Operating System
Windows 10
Database and driver
PostgreSQL 16
PostgreSQL JDBC Driver 42.7.4
Steps to reproduce
No response
Additional context
No response

Thank you for bringing this to our attention. As well as #35417, it's how it always worked. However, I suppose we can improve it to avoid blinking.


camelCased attributes are not filterable

Hi,
first of all thanks for the great tool you're providing.
Description
After updating to v25 camelCased attributes do not get recognized as filterable anymore although they've been added in the settings.  Used to work with v20-v24. I haven't checked if this is an issue with capital letters in general.
Switching to lowercase and repopulating the database works for now.
Screenshots or Logs

Environment (please complete the following information):

OS: Debian 10 (Digitalocean Droplet: MeiliSearch 0.25.0 on Debian 10 (buster))
Browser: Chrome Version 97.0.4692.71
MeiliSearch version: v0.25.0
instant-meilisearch version: v0.6.0
instantsearch.js version: v4.3.1

Hello @perdosgit sorry the maintainer of the repo is not here this week, I will try to do my best to help you
Can you show me your filterable attributes list?
https://docs.meilisearch.com/reference/api/filterable_attributes.html#get-filterable-attributes

Hello again @perdosgit
this is an issue we just found on the core-engine side. We will release v0.25.2 soon fixing this bug
See the related issue on the MeiliSearch repo: https://github.com/meilisearch/MeiliSearch/issues/2082

Fixed in MeiliSearch v0.25.2! Sorry for this inconvenience!
I close this issue :)


Add DNS caching time parameter for multiple servers

I would like to suggest adding the ability to configure the caching time parameter when multiple DNS servers are available. For example, in my configuration, I have two DNS servers: <IP_ADDRESS> and <IP_ADDRESS>. The first DNS (<IP_ADDRESS>) is used via VPN, and if it does not respond, the request will be sent to the second DNS (<IP_ADDRESS>). Currently, all subsequent requests go to the second DNS. However, I would like the system to switch back to resolving requests from the first DNS after a specified time.
Perhaps these 20 seconds should be made a configurable parameter:
https://github.com/mageddo/dns-proxy-server/blob/17b0c0043d883cf9f902075739183c7938c808b2/src/main/java/com/mageddo/dnsproxyserver/server/dns/solver/SolverRemote.java#L174
This change would allow for more flexible management of DNS request caching and ensure more efficient operation with multiple DNS servers. I would appreciate your consideration of this proposal. Thank you!

Alright, so by some reason <IP_ADDRESS> is failing, circuit is opening for that server and you would want to customize the circuitbreaker parameters, right?
Just for curiosity do you know what is the <IP_ADDRESS> failing reason?

Yes, you are right.
<IP_ADDRESS> is the DNS for VPN network. For corporate network resources.
When i turn on computer, VPN is not yet connected. At this case DNS  will excluded.
That`s why i have to restart docker container after connection to the VPN.

Hey, I'm releasing 3.18 right now, can you check it solves your usecase after the release finish? Check the jSON config docs of how to use it.

@rayout

Hello! Thank you for your help!
I tried to check, but an error occurs during the launch (I tried both with my own config and by replacing the config with the one from the documentation).

Exception in thread "main" com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of com.mageddo.dnsproxyserver.config.dataprovider.vo.ConfigJsonV2$SolverRemote$CircuitBreaker: cannot deserialize from Object value (no delegate- or property-based Creator): this appears to be a native image, in which case you may need to configure reflection for the class that is to be deserialized at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: com.mageddo.dnsproxyserver.config.dataprovider.vo.ConfigJsonV2["solverRemote"]->com.mageddo.dnsproxyserver.config.dataprovider.vo.ConfigJsonV2$SolverRemote["circuitBreaker"])

Hello! Thank you for your help! I tried to check, but an error occurs during the launch (I tried both with my own config and by replacing the config with the one from the documentation).

Thanks for the feedback, fixing that on #454  and releasing 3.18.2-snapshot

I tested it. I specified two addresses as DNS - <IP_ADDRESS> and <IP_ADDRESS>. The <IP_ADDRESS> DNS is only accessible via VPN.
I connected to the VPN and used the dig command to query an address that has an IP within the <IP_ADDRESS> range. The command was: dig  @<IP_ADDRESS> (this is the IP of the Docker where the DNS is listening). There were no issues, and the response was the address <IP_ADDRESS>.
Next, I disconnected from the VPN and tried the dig command again multiple times. I still received the internal IP <IP_ADDRESS>, even though the site has an external IP address on <IP_ADDRESS>. I waited 10 minutes to check the cache, but I still received the internal address.
What could I have done wrong? If I run dig  @<IP_ADDRESS>, it results in an error because I am disconnected from the VPN. Therefore, it should have switched to <IP_ADDRESS> after some time, but it didn't work.

I still received the internal IP <IP_ADDRESS>, even though the site has an external IP address on <IP_ADDRESS>. I waited 10 minutes to check the cache

I suppose this scenario it's related to the response entries cache, so it's a second scenario, not related to the circuitbreaker. Once  query has a successful response then DPS will cache it for the time the remote server specifies, (<IP_ADDRESS> in your case).
In the bellow example, 107 is the TTL in seconds.
$ dig +noall +nocmd +answer google.com
google.com.		107	IN	A	<IP_ADDRESS>

You can make the same test and manage the cache with the APIs bellow:
See how's the cache
$ curl localhost:5385/v1/caches/

Clear a cache
$ curl -X DELETE localhost:5385/v1/caches?name=REMOTE

@rayout

I'm thinking about what can be done in this scenario.

Please confirm if it really is the scenario

Enable trace debug level and post the output when you test it the same scenario again joining the cache clear scenario will help me.

Yes, the problem is indeed with the cache. When looking at /v1/caches/ (thanks, very useful), I can see two entries for the domain I need:
global: ttl": "PT20S"
remote: "ttl": "PT1H"
With the VPN disconnected, I run dig +noall +nocmd +answer  @<IP_ADDRESS> and get "nothing" because <IP_ADDRESS> does not have a record for this domain. Then I connect to the VPN, run the same command, and no matter how long I wait (more than 20 seconds), I do not get an IP or a TTL.
Here is what I see in the console during debugging:

VPN disconnected:

VPN connected:

Cache cleared:

I’m not really sure I’m on the right path. In Ubuntu 14-16, if two DNS servers were specified in the settings, the system would query the second DNS if the first didn’t respond. Something similar is described here - systemd issue #5755. Maybe I’m mistaken, but that’s how it felt.
It’s also possible that connecting to the VPN used to clear the DNS cache, which no longer happens.
Here’s my current scenario:
I have containers to which I assign hostnames in the configuration, and thanks to this wonderful project, I can refer to them by name instead of IP. I also have a VPN to the corporate network with many internal addresses (I’ve counted about 10 domains so far). Previously, all requests would go through the corporate DNS when connected to the VPN. This somewhat worked, but some addresses with external IPs were cached to the external address used for acme https, and I had to manually add them to /etc/hosts or the service’s admin panel.
A week ago, I tried to solve this problem, and now I have two Docker containers. The first is with this project, and the second with dnsmasq, configured as follows:

I also had to set ipv4.dns-search: "~." in /etc/netplan/vpn.yaml and ip4.dns: "<IP_ADDRESS>" (dnsmasq address), so that this DNS is applied when connecting to the VPN.
This scheme works more or less well. Only requests for the domains I specified go to the corporate DNS. This is also a drawback, as I need to maintain the list of these domains. Another drawback is that I can only access the Docker containers when the VPN is on.
Is there a simpler or better solution?

The NXDOMAIN response (no answer) will be cached for one hour.

Yes, the problem is indeed with the cache. When looking at /v1/caches/ (thanks, very useful), I can see two entries for the domain I need:
global: ttl": "PT20S" remote: "ttl": "PT1H" With the VPN disconnected, I run dig +noall +nocmd +answer @<IP_ADDRESS> and get "nothing" because <IP_ADDRESS> does not have a record for this domain. Then I connect to the VPN, run the same command, and no matter how long I wait (more than 20 seconds), I do not get an IP or a TTL.
Here is what I see in the console during debugging:

I’m not really sure I’m on the right path. In Ubuntu 14-16, if two DNS servers were specified in the settings, the system would query the second DNS if the first didn’t respond. Something similar is described here - https://github.com/systemd/systemd/issues/5755. Maybe I’m mistaken, but that’s how it felt.

It looks like the same behavior, but the reason is another. I identified a new improvement to be done, I've done some definition for this new improvement at #455. It probably would fix your bad experience, what do you think?

and thanks to this wonderful project

Appreciate your thanks, you're welcome!

Is there a simpler or better solution?

Actually I consider we can fix that by #455  or/and by creating a toggle for the entire cache. Despite this, DPS on version 3.12.1 have not this cache feature, then you can test it and check if has the behavior you want (not sure this version is stable for use but maybe it can make the job for now), this way we can validate the wanted behavior before I implement these two solutions on the new version. The two solutions aren't too big though.
The cache was implemented at 3.13.1 see the release notes.
@rayout

Create a watch dog to keep testing the remote servers circuit, it will clear the cache whenever a remote server goes down or gets health again.

I think this is a great idea and it will really solve the problem.

Create a watch dog to keep testing the remote servers circuit, it will clear the cache whenever a remote server goes down or gets health again.

I think this is a great idea and it will really solve the problem.

@rayout  3.19.0 is out implementing the watchdog, can you check it solves your usecase? Also consider calibrate your circuit breaker params.

I'm closing this issue, feel free to reopen if the issue persists

Thank you! I have been testing for some time to wait for feedback, and then went on vacation.
Everything works fine now. When turning VPN on and off, everything works instantly.
But sometimes, if I have been without a VPN connection for a long time, when I turn on the VPN, any DNS requests stop working altogether until I completely restart the docker container with the DNS proxy.
I will continue testing and will create a task if I catch this issue.

Thank you! I have been testing for some time to wait for feedback, and then went on vacation.
Everything works fine now. When turning VPN on and off, everything works instantly.

Glad we had an advance!

But sometimes, if I have been without a VPN connection for a long time, when I turn on the VPN, any DNS requests stop working altogether until I completely restart the docker container with the DNS proxy.
I will continue testing and will create a task if I catch this issue.

Sure, thanks for your contribution @rayout


Problems after upgrading meteor

Hi @mitar,
ran into a problem after upgrading from Meteor 1.4 to the latest 1.7:
W20180808-11:42:36.974(2)? (STDERR) TypeError: Cannot read property 'setRoot' of undefined
W20180808-11:42:36.974(2)? (STDERR)     at packages/peerlibrary_blaze-layout-component.js:145:13
W20180808-11:42:36.974(2)? (STDERR)     at packages/peerlibrary_blaze-layout-component.js:149:4
W20180808-11:42:36.974(2)? (STDERR)     at packages/peerlibrary_blaze-layout-component.js:157:3

A meteor update --all-packages gives me this output:
This project is already at Meteor <IP_ADDRESS>, the latest release.
Your top-level dependencies are at their latest compatible versions.

The following top-level dependencies were not updated to the very latest version available:
 * aldeed:autoform 5.8.1 (6.3.0 is available)
 * aldeed:collection2 2.10.0 (3.0.0 is available)
 * aldeed:schema-index 1.1.1 (3.0.0 is available)
 * mdg:seo 1.1.0 (3.2.0_1 is available)
 * meteortoys:allthings 2.3.1 (7.0.1 is available)
 * peerlibrary:blaze-components 0.21.0 (0.22.0 is available)
 * peerlibrary:blaze-layout-component 0.1.2 (0.2.1 is available)
 * peerlibrary:reactive-publish 0.4.0 (0.7.0 is available)
 * percolate:migrations 0.9.8 (1.0.2 is available)

Newer versions of the following indirect dependencies are available:
 * aldeed:collection2-core 1.2.0 (2.1.2 is available)
 * aldeed:schema-deny 1.1.0 (3.0.0 is available)
 * coffeescript 1.0.17 (2.2.1_1 is available)
 * meteortoys:authenticate 2.1.0 (4.0.0 is available)
 * meteortoys:autopub 2.1.0 (4.0.0 is available)
 * meteortoys:blueprint 2.1.0 (4.0.0 is available)
 * meteortoys:email 2.1.0 (4.0.0 is available)
 * meteortoys:hotreload 2.1.0 (4.0.0 is available)
 * meteortoys:listen 2.1.0 (4.0.0 is available)
 * meteortoys:method 3.0.4 (4.0.0 is available)
 * meteortoys:pub 3.0.4 (4.0.0 is available)
 * meteortoys:result 2.1.0 (4.0.0 is available)
 * meteortoys:shell 2.1.0 (4.0.0 is available)
 * meteortoys:status 2.1.0 (4.0.0 is available)
 * meteortoys:sub 2.1.0 (4.0.0 is available)
 * meteortoys:throttle 2.1.0 (4.0.0 is available)
 * meteortoys:toykit 2.2.1 (4.0.2 is available)
 * msavin:jetsetter 1.5.2 (4.0.0 is available)
 * msavin:mongol 1.6.2 (7.0.1 is available)
 * peerlibrary:data-lookup 0.1.0 (0.2.1 is available)
 * peerlibrary:extend-publish 0.3.0 (0.5.0 is available)
 * peerlibrary:fiber-utils 0.6.0 (0.9.1 is available)
 * peerlibrary:reactive-mongo 0.1.1 (0.2.2 is available)
 * peerlibrary:server-autorun 0.5.2 (0.7.1 is available)
 * softwarerero:accounts-t9n 1.3.11 (2.3.1 is available)

Do you think you can upgrade the peerlibrary ecosystem to be compatible?

Try using<EMAIL_ADDRESS>


Test develop release

I can leave first few overall review points:

[] Create guide within documentation (README) about environment variable: which type of variables, how to set and why.
[] Write message within documentation, why you leave private tokens and urls (for example, it is an unsupported and unavailable data).


[Eloquent] catch package not found error

Backport #32 to eloquent

CI (eloquent repos, testing just resource_retriever)

Linux
Linux-aarch64
macOS
Windows


Change threshold input and amount input

The step input is completely broken right now: https://github.com/SAP/ui5-webcomponents/issues/5109

The slider input is completely broken as well: https://github.com/SAP/ui5-webcomponents/issues/5109

Consider using the lion range input for now: https://lion-web.netlify.app/components/input-range/overview/


Date format issue

Date with a precision of milliseconds, encoded as a string with the following format: yyyy-mm-ddTHH:MM:ss.sss+0000.
However, some date formats in the generated data do not meet the requirements.

It's probably an issue caused by the epoch_ms() function from DuckDB
https://github.com/ldbc/ldbc_finbench_datagen/blob/main/transformation/snapshot.sql#L23

Date with a precision of milliseconds, encoded as a string with the following format: yyyy-mm-ddTHH:MM:ss.sss+0000. However, some date formats in the generated data do not meet the requirements.

The data type of the penultimate column should also be DateTime，right?


[FEATURE REQUEST] Combine development efforts with tts-generation-webui

You might or might not be aware of rsxdalv/tts-generation-webui which has very similar goals. Maybe it would make sense to combine forces with rsxdalv?

That repo only has vocos (never tried) and tortoise (has MRQ ai voice cloning UI). Maybe it's worth it to implement vocos tho: https://charactr-platform.github.io/vocos/

Yeah, vocos is indeed something i have thought about implementing.
I will also make some contributions to the bark implementation in the 🐸 TTS library and you can expect to see those changes to also be made to the bark implementation in audio-webui.
Also expect some frankenstein Bark features which might be pretty cool too. They should speed up inference but with a twist. Mainly looking at the coarse model here though. The possibilities are endless.

I tried the PRs in the bark queue and got a speedup for at least the first step. Bark only seems to use 30% gpu so I wonder if there is a bottleneck.

I think this is what was meant by people mentioning bark V2: https://github.com/suno-ai/bark/compare/main...dev
Is it just bark with history prompt or something else done to the NPZ?

That make sense. They just left the dev branch.


prune+sort gets rid of super type sometimes

In something like (U Nat Int), I expect it to prune away Nat and keep Int, but that isn't always what happens. Sometimes it keeps both, and sometimes it keeps the Nat but drops the Int.
With the actual Nat and Int it's fine (since the sub-parts Zero, PosInt, and NegInt don't overlap with each other), but with more complicated subtyping relationships like Terms in Typed Rosette it's causing problems.

Relying on remove-duplicates probably isn't going to be the right thing for us. This simplified example fails on every case of pruning combining As and Bs:
#lang racket
(define (typecheck? x y)
  (match* {x y}
    [{'A 'A} #true]
    [{'A 'B} #true]
    [{'B 'A} #false]
    [{'B 'B} #true]))

(define (prune+sort tys)
  (remove-duplicates tys (lambda (x y) (typecheck? y x))))

This never gives the right answer. It should be '(B) whenever both As and Bs are there, but it's always either '(A) (unsound!) or '(B A) (sound but not pruning) depending on whether A or B appears first in the list.

We'll need to go through all n choose 2 combinations, I think.

Do you have a concrete failing example? The problem is when the types overlap? What are A and B above?

 y) (<? x y))
  (cond [(ormap greater? ys) ys]
        [else
         (define (lesser? y) (<? y x))
         (cons x (filter-not lesser? ys))]))

Is A a subtype of B? Is the problem that remove-dups expects a symmetric predicate?

Does this look reasonable?

Seems ok. Still not sure why we need to go through all the combos.
Do you have a failing example with actual types?

Yes. It's with (Term CNat) and (Term CInt).

I thought we were getting rid of Nat?

With the Term constructor we can leave it in. But even if we got rid of Nat there would be the same thing with (Term CInt) and (Term CNum).

Ok, that's true.

Fixed by https://github.com/stchang/macrotypes/commit/f9199f6e3710018c2162f0453ae10ef164534063


Uncaught error when dangerouslySetInnerHTML attribute is removed

in preact/src/dom/index.js
59	else if (name==='dangerouslySetInnerHTML') {
60		node.innerHTML = value.__html;
61	}

An uncaught error occurs there. When we have dangerouslySetInnerHTML attribute and we remove it, preact/src/vdom/diff.js calls setAccessor to reset the values. Because the value is undefined or null there, the error is thrown

Here is the full stack
TypeError: Cannot read property '__html' of null
    at setAccessor (/Users/steel/.atom/packages/linter-ui-default/node_modules/preact/dist/preact.js:437:27)
    at diffAttributes (/Users/steel/.atom/packages/linter-ui-default/node_modules/preact/dist/preact.js:797:6)
    at innerDiffNode (/Users/steel/.atom/packages/linter-ui-default/node_modules/preact/dist/preact.js:742:4)
    at diff (/Users/steel/.atom/packages/linter-ui-default/node_modules/preact/dist/preact.js:642:4)
    at innerDiffNode (/Users/steel/.atom/packages/linter-ui-default/node_modules/preact/dist/preact.js:712:14)
    at diff (/Users/steel/.atom/packages/linter-ui-default/node_modules/preact/dist/preact.js:642:4)
    at innerDiffNode (/Users/steel/.atom/packages/linter-ui-default/node_modules/preact/dist/preact.js:712:14)
    at diff (/Users/steel/.atom/packages/linter-ui-default/node_modules/preact/dist/preact.js:642:4)
    at renderComponent (/Users/steel/.atom/packages/linter-ui-default/node_modules/preact/dist/preact.js:965:14)
    at createComponentFromVNode (/Users/steel/.atom/packages/linter-ui-default/node_modules/preact/dist/preact.js:1045:4)
    at buildComponentFromVNode (/Users/steel/.atom/packages/linter-ui-default/node_modules/preact/dist/preact.js:1025:11)
    at diff (/Users/steel/.atom/packages/linter-ui-default/node_modules/preact/dist/preact.js:608:12)
    at innerDiffNode (/Users/steel/.atom/packages/linter-ui-default/node_modules/preact/dist/preact.js:712:14)
    at diff (/Users/steel/.atom/packages/linter-ui-default/node_modules/preact/dist/preact.js:642:4)
    at renderComponent (/Users/steel/.atom/packages/linter-ui-default/node_modules/preact/dist/preact.js:965:14)
    at MessagePort.rerender (/Users/steel/.atom/packages/linter-ui-default/node_modules/preact/dist/preact.js:361:19)%

@developit Can we have a quick release with the fix for this please?

Released in 4.3.2

Awesome, Thanks!


chore: removed deprecated PhaseException, fixed annotation labels

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.28%. Comparing base (7ed7dbf) to head (13c9925).
Report is 2 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #108      +/-   ##
============================================
+ Coverage     82.01%   82.28%   +0.27%
  Complexity      691      691
============================================
  Files           125      124       -1
  Lines          1779     1773       -6
  Branches        107      107
============================================
  Hits           1459     1459
+ Misses          253      247       -6
  Partials         67       67

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


Remove final modifier in ResourceSpecification#BASIC since all fields…

Simple PR to remove final modifier for field in an interface since all fields in an interface are implicitly public, static and final.

LGTM


Use negative lookbehind when tokenizing string literals

This can double the speed of tokenizing large RTF files that use \'hh escape sequences.
/cc @josh @vmg @github/linguist

Nice profiling @aroben. :+1:

Travis seems unable to install byebug. Not sure what that's about.

Travis seems unable to install byebug. Not sure what that's about.

It's only on Ruby 2.0.0 that we're getting this error. I've just merged a PR with the same issue, happy to do the same here.

@arfon If you're comfortable, feel free to merge this whenever. Thanks!

@aroben - I'll cut a new Linguist gem early next week (unless this is more urgent?)

Nope, there's no particular rush. Thanks!


on-stage -> onstage

https://www.merriam-webster.com/dictionary/onstage

this should work, not sure why it apparently didn't one time?


⚠ Bofrost.lu has degraded performance

In c2de221, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1322 ms

Resolved: Bofrost.lu performance has improved in d3dbaf3 after 18 minutes.


fix(deps): update terraform github.com/terraform-ibm-modules/terraform-ibm-watsonx-saas-da to v1.7.8

This PR contains the following updates:

Package
Type
Update
Change

github.com/terraform-ibm-modules/terraform-ibm-watsonx-saas-da
module
patch
v1.7.7 -> v1.7.8

Release Notes

terraform-ibm-modules/terraform-ibm-watsonx-saas-da (github.com/terraform-ibm-modules/terraform-ibm-watsonx-saas-da)
v1.7.8
Compare Source
Bug Fixes

deps: update terraform terraform-ibm-modules/cos/ibm to v8.14.3 (#212) (5863925)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

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

GitHub release
v2.5.23

Your semantic-release bot :package::rocket:


Prototype: Gandalf

Gandalf is an automated, AI-powered tool to help moderate the chat of a livestream. It filters incoming messages into 3 categories and decides whether they "shall pass" or not (hence the name "Gandalf").
Messages that are definitely against the community guidelines don’t get published at all. Messages that are definitely within the community guidelines get published immediately. Ambiguous messages appear in a moderation queue where human moderators can approve or delete them.

Looks good. Merging in. Thanks for this.p