Validate SDMX-ML v2.1 messages

Add support for validating SDMX-ML messages via sdmx.validate_xml() (Closes https://github.com/khaeru/sdmx/issues/51).
This replaces #153.
PR checklist

[ ] Checks all ✅
[x] Update documentation
[x] Update doc/whatsnew.rst

@khaeru I could use your help with generating XML for an unsupported message type. I have a test for an invalid message - I need to generate something that is not a message and I'm actually not sure how to do that. I tried just creating a DataSet and sending it through to_xml(), but that throws an exception and I'm not entirely sure why. I tried to copy/reuse code from test_dataset_bare.py.
Just for reference here is what I tried (inside a test function):
msg_path = tmp_path / "invalid.xml"

ds = v21.DataSet()
key = v21.Key(
        FREQ="D",
        CURRENCY="NZD",
        CURRENCY_DENOM="EUR",
        EXR_TYPE="SP00",
        EXR_SUFFIX="A",
        TIME_PERIOD="2013-01-18",
)
obs_status = v21.DataAttribute(id="OBS_STATUS")
attr = {"OBS_STATUS": v21.AttributeValue(value_for=obs_status, value="A")}
ds.obs.append(v21.Observation(dimension=key, value=1.5931, attached_attribute=attr))
key = key.copy(TIME_PERIOD="2013-01-21")
ds.obs.append(v21.Observation(dimension=key, value=1.5925, attached_attribute=attr))

msg_path.write_bytes(sdmx.to_xml(ds))

It raises this exception:
sdmx/writer/xml.py:50: in to_xml
    return etree.tostring(writer.recurse(obj), **kwargs)
sdmx/writer/base.py:53: in recurse
    return dispatcher(obj, *args, **kwargs)
/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/functools.py:889: in wrapper
    return dispatch(args[0].__class__)(*args, **kw)
sdmx/writer/xml.py:717: in _ds
    elem.append(writer.recurse(obs, struct_spec=struct_spec))
sdmx/writer/base.py:53: in recurse
    return dispatcher(obj, *args, **kwargs)
/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/functools.py:889: in wrapper
    return dispatch(args[0].__class__)(*args, **kw)
sdmx/writer/xml.py:667: in _obs
    elem.append(_kv("gen:ObsKey", obj.dimension))

There are multiple ways to approach that:

One way is to take any existing XML specimen from https://github.com/khaeru/sdmx-test-data, for instance the file TEST/gh-142.xml related to #142, copy it, and manually edit the XML.
Another way is something like this:import re

import sdmx

# Minimal/empty message
msg = sdmx.message.StructureMessage()

# - Write a valid message to XML.
# - Use regex to change the name of the outermost tag to something invalid.
re.sub(b"mes:Structure([ >])", br"mes:FooBar\1", sdmx.to_xml(msg))

This gives output like:<?xml version='1.0' encoding='utf-8'?>
<mes:FooBar
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:com="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common"
  xmlns:md="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/metadata/generic"
  xmlns:data="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/data/structurespecific"
  xmlns:str="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/structure"
  xmlns:mes="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message"
  xmlns:gen="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/data/generic"
  xmlns:footer="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message/footer">
  <mes:Header>
    <mes:Test>false</mes:Test>
  </mes:Header>
  <mes:Structures/>
</mes:FooBar>

You can then put this into an io.BytesIO or write it to a file to use in your test.

I see here that the first run of the "pytest" workflow fails on main with:
requests.exceptions.MissingSchema: Invalid URL 'None': No scheme supplied. Perhaps you meant https://None?

This only occurs for one of the jobs. I think I also saw this at one point during work on the PR, and the job succeeded when re-run. So this means these tests can be "flaky" in the sense that they rely on a certain expected response from the GitHub API—if that isn't given for any reason (e.g. momentary network interruption), then this line tries to use zipball_url=None:
https://github.com/khaeru/sdmx/blob/e76b5201e917e5c9e46f58a56d3472c7d2a546a5/sdmx/format/xml/common.py#L207-L208
I will mitigate this by applying a pytest mark to re-run these tests as necessary until a correct response is received.


Updating Tensile document

Thank @benjaminulmer for your detailed comments and for catching the errors. I implemented all your comments/suggestions and fixed some other typos.


Add creation functions for BatchedArray

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

Comparison is base (14dda97) 100.00% compared to head (6603cd7) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #514   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           22        23    +1
  Lines         1779      1796   +17
  Branches       265       265
=========================================
+ Hits          1779      1796   +17

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


HoloLens Commander: Update to Windows Device Portal Wrapper 0.9.2

There is an issue in Windows Device Portal Wrapper 0.9.1 that prevents getting the Mixed Reality Capture data streams.
When the version 0.9.2 (or later) NuGet package of Windows Device Portal Wrapper is available, update the project.json file to get the fix.

resolved in the updated pull request


Add module map to project

This will allow adding files to project and treat them as framework in swift projects, without bridging header by adding .modulemap file to Swift Compiler -Search Path -> Import Paths.
You can also consider for UnrarKit.

As always, thanks for the input!
Isn't the module map meant for bringing C libraries into Swift, though? Do you have examples of other Objective-C libraries offering modulemap files for this purpose?

Maybe you are right. I didn't test for objc.


Notification won't go away

I finish the trade and i want notification box to go away. I click the x on it and it still stays. The other buttons work fine. Restart fixes it.

will fix it in next update

i used exe as admin and now its working fine. that problem was with jar


Unable to create catalog item from following instructions

What happened?
Installed crossplane, and then rancher providers, following the /examples yaml, adding the api_url
tried to deploy the catalog object, and got an error:
Warning   CannotObserveExternalResource   catalog/hello-crossplane                                            cannot run refresh: refresh failed: [ERROR] Id nor scope can't be nil: : File name: main.tf.json
How can we reproduce it?
clean install in local kubernetes, follow the /examples yaml files
What environment did it happen in?
Crossplane version:

Chart Name: crossplane
Chart Description: Crossplane is an open source Kubernetes add-on that enables platform teams to assemble infrastructure from multiple vendors, and expose higher level self-service APIs for application teams to consume.
Chart Version: 1.6.3
Chart Application Version: 1.6.3

Provider version: crossplane/provider-jet-rancher:v0.1.0

I can confirm this bug. Creating a catalog item doesn't work.

The scope attribute has a default value in terraform-provider-rancher2 (see docs), crossplane/terrajet has no support for default values atm, so you have to set it explicitly:
spec:
  forProvider:
    url: https://www.k8gb.io
    scope: global


Export preseed structs

From the discussions with @tomponline in #11036,  this PR adds some new api structs:

Preseed -- A representation of the lxd init preseed.yaml file.
LocalPreseed -- Local node-specific initialization configuration from the preseed.yaml.
ClusterPreseed -- Cluster-specific initialization configuration from the preseed.yaml.
NetworksProjectPost -- effectively api.NetworksPost but with a project associated.

Documentation preview available at: https://linuxcontainers.org/lxd/docs/pr.11037/

@masnax looks good, just a couple of naming nits.
Also there is a conflict to resolve now, and I'm going to hold off merging this until @monstermunchkin has put up a separate PR to fix that API token expiry documentation change, then you can rebase this.
Thanks

@masnax looks like you missed adding the api extension to the docs for this one btw.


CP-SAT assumes model unfeasible when minimizing objective with many similar coefficients / solving symmetrical problem

What version of OR-Tools and what language are you using?
Version: ortools==9.5.2237
Language: Python 3.8.13
Which solver are you using
CP-SAT
What operating system (Linux, Windows, ...) and version?
CentOS Linux release 7.9.2009
Hello,
I'm trying to translate to CP-SAT an integer program I've originally written with pywraplp. The problem has many symmetries.
It seems I'm getting a case where CP-SAT says a problem is unfeasible (when it's not). Adding +1 to a single coefficient of the objective function makes model feasible. If no objective is added, it also finds a feasible solution. See below a simplified example
from ortools.sat.python import cp_model

def print_output(info, solver, status, variables):
    print("\n==========================================")
    if status == cp_model.OPTIMAL or status == cp_model.FEASIBLE:
        print(info + " ==> Solution found.")
        print("Objective value : " + str(solver.ObjectiveValue()) )
        for x in variables:
            print( x.Name() + " == " + str(solver.Value(x)) )
    else:
        print(info + " ==> No solution found.")

def simple_model():
    model = cp_model.CpModel()
    x = []
    # Some boolean variables
    for i in range(2):
        x.append( model.NewBoolVar("x" + str(i)) )

    # Some integral variables
    maxV = 10
    for i in range(2, 8):
        x.append( model.NewIntVar(0, maxV , "x" + str(i)) )

    print("Variables :")
    print(x)

    # Constraints
    # (x0, x4, x2, x3) and (x1, x5, x6, x7) play "symmetrical" roles
    model.Add( x[0] + x[1] <= 1 )

    model.Add( x[2] + x[3] + x[4] <= maxV * x[0] )
    model.Add( x[0] <= x[2] + x[3] + x[4] )

    model.Add( x[5] + x[6] + x[7] <= maxV * x[1] )
    model.Add( x[1] <= x[5] + x[6] + x[7] )

    model.Add(x[4] + x[5] == 1)

    # At least 4, at most 6
    model.Add(x[2] + x[3] + x[6] + x[7] <= 6)
    model.Add(4 <= x[2] + x[3] + x[6] + x[7])

    #######################################################################################################
    # Without any objective, it passes :
    solver = cp_model.CpSolver()
    status = solver.Solve(model)
    print_output("Without objective", solver, status, x)

    #######################################################################################################
    # Adding an objective
    c_x0_x1 = 43 # coeff for x0, x1
    c_x4_x5 = 32 # coeff for x4, x5
    c_x2_3_6_7 = 48 # coeff for x2, x3, x6, x7
    # (The values of these coeffs do not really matter)
    Jx = [ c_x0_x1, c_x0_x1, c_x2_3_6_7, c_x2_3_6_7, c_x4_x5, c_x4_x5, c_x2_3_6_7, c_x2_3_6_7 ]

    l = []
    for i in range(len(x)):
        l.append( Jx[i] * x[i] )
    model.Minimize( cp_model.LinearExpr.Sum(l) )

    solver = cp_model.CpSolver()
    status = solver.Solve(model)
    # It fails, why ?
    assert status == cp_model.INFEASIBLE
    print_output("First objective", solver, status, x)

    #######################################################################################################
    # Little change in cost
    Jx[5] += 1
    l = []
    for i in range(len(x)):
        l.append( Jx[i] * x[i] )

    model.Minimize( cp_model.LinearExpr.Sum(l) )

    solver = cp_model.CpSolver()
    status = solver.Solve(model)
    # Here, it passes
    assert status == cp_model.OPTIMAL
    print_output("Second objective", solver, status, x)

simple_model()

solver.parameters.cp_model_presolve = False

Turning off presolve seems to fix the issue!.

Thanks, investigating.


Currently published version isn't compatible with the latest chai

I can't install this package from npm when using Chai v3. Is there any special reason? Is it incompatible? I can see the source code already permits Chai v4, but it's probably not published as a package to npm yet.

Yes, it is already in master, I'll see if we can do a publish soon. @keithamus Is everything in place for us to push to npm?
For now you could use the latest ref in master in your package.json.

Not yet. I'll get some time tonight to make sure you can publish by making git tags.

Any updates on publishing to npm?

Sorry I didn't get round to this yet. Thanks for reminding me @evansiroky. I'll try to get some done on this tonight if I can.

Any update on this?

Bump. David DM punishes me with red badge for having chai pinned on an ancient version 😞

@keithamus?

Yeah sorry, this keeps falling off the bottom of my todo list. I will make sure to do something very soon.

If there's still some work needed before release and it's not exclusively maintainer's work, write down what needs to be done and let us contribute it :)

I just need to find the time to sit down and generate a token, sadly not something someone else can do. It's in my todo list, but gets pushed aside for other things including personal life, sadly.

Any updates at this point?

Interested in this as well.

Okay, sorry everyone for taking forever with this. I have opened #33 which fixes it 😅

Thanks!

This still isn't fixed. Merging #33 didn't publish a new version, because the package.json contains the old version number - there's no bump.

Working on it. Will publish v 1.3.0 soon

It looks as though - in the move to the chaijs org - this repo lost travis integration. I'm working on it to get it published right now.

Aaand 1.3.0 is out! https://www.npmjs.com/package/chai-json-schema


Fix neutrino parameter declaration in ccl_sample_angpow.cc; fixes #388

Pull Request Test Coverage Report for Build 1517

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

Totals

Change from base Build 1504:
0.0%

Covered Lines:
515

Relevant Lines:
545

💛  - Coveralls


"Lone" points after triangulation

Hello, I am running delaunator on set of points to determine set of adjacent points for each point. Here is code sample:
static void triangulate(std::vector<MapNode>* nodes)
{
	//Run Delauney triangulation to figure out adjacent elements for traversing
	std::vector<double> coords;
	for (auto p : *nodes)
	{
		coords.push_back(p.pos.x);
		coords.push_back(p.pos.y);
	}

	delaunator::Delaunator del = delaunator::Delaunator(coords);
	//clear previous adjacency data
	for (MapNode node : *nodes)
	{
		node.adjacent.clear();
	}

	for (int i = 0; i < del.triangles.size(); i++)
	{
		int pointId = del.triangles[i];
		size_t heId = del.halfedges[nextHalfedge(i)];
		if (heId != std::numeric_limits<std::size_t>::max())
		{
			nodes->at(pointId).adjacent.push_back(&nodes->at(del.triangles[heId]));
		}
	}
}

After this procedure I end up with some of points without any connections to adjacent points. I read something about delaunator ignoring some close positioned points during triangulation. Could that be explanation for my problem?
In that case it would be possible to discard said points without any connections, to solve my problem.
Thanks

I have no idea what nextHalfedge is. There should be three halfedges for each triangle. Edges that are on the convex hull of the triangulation have no adjacent triangle so have the value INVALID_INDEX.

I added to the basic example here.

Hello, I have solved my problem so maybe someone will find it useful:
Problem was that some points from input seemed not included in triangulation. Note that input for triangulation is not some predetermined set of points but I am randomly generating those on fly. After some debugging I found out that I had some point overlapping, and those were skipped and did not make it into triangulation. So make sure that your points don't overlap...


Chaining new expressions without parentheses causes syntax error analysis

Using the new PHP 8.4 syntax for chaining new expressions without parentheses causes syntax error analysis.
For example this code:
final class MyScheduler implements ScheduleProviderInterface
{
    private ?Schedule $schedule = null;

    public function getSchedule(): Schedule
    {
        return $this->schedule ??= new Schedule()
            ->with(RecurringMessage::cron('*/5 * * * *', new MyMessage()));
    }
}

Generate this error: Syntax error, unexpected T_OBJECT_OPERATOR, expecting ';'.

https://github.com/qossmic/deptrac/issues/1426


Service Token support

Closes #13

Test cases result
php test/all.php all.php OK Test cases run: 2/2, Passes: 38, Failures: 0, Exceptions: 0

Might be good to create CHANGELOG.md to document those breaking changes so people can check before upgrading.

Can you push this as a branch of this repo? Then travis would just run the tests. It does not propagate environment to forks.

Thanks @mikz for your suggestions. I'll submit new PR on this branch and we can discuss on that.

Closing in favour of #15.


JuMP.direct_model does not work with GAMS.Optimizer()

Using direct_model with GAMS.Optimizer as shown in the README throws an error:
using JuMP
using GAMS
model = direct_model(GAMS.Optimizer())

Error showing value of type Model:
ERROR: ArgumentError: GAMS.Optimizer does not support getting the attribute MathOptInterface.Name().

I am running the latest versions of both JuMP and GAMS:
GAMS v0.3.2
JuMP v0.22.3

This is because it's trying to print the model, try ending the line with a semicolon:
using JuMP
using GAMS
model = direct_model(GAMS.Optimizer());

Thanks! That works.

I added the Name attribute along with ListOfConstraintTypesPresent. This will be available with v0.3.3 and fixes this issue. Thanks for reporting!


How to remove SteamVR entirely

I have a game that's near completion and I wanted to add a VR mode so I imported everything into my project and tried playing but  I get these errors (The crossed out messages are of my game not VR)

I made a new HDRP project and added steamvr to it and it works properly there, so I don't know why it won't work on mine. The only think I can think of is I messed up the setup. If anyone knows how to fix those erros or alternatively, how to completely remove steamvr and adding it again it would be really helpful. I tried just deleting the steamvr folders but when importing again I don't get the prompts I got the first time to set up default settings.

To get the defaults back copy the folder in \Assets\SteamVR\Input\ExampleJSON to \Assets\StreamingAssets\SteamVR. Then open the SteamVR Input window (in the Window toolbar) and click Save & Generate.
You'll also want to make sure you have the OpenVR package added in your package manager. If you're running Unity 2020+ add the tgz package in \Assets\SteamVR\OpenVRUnityXRPackage\Editor. If you're running a unity version before that (not using Unity XR) then add the OpenVR Desktop package from unity.
If using Unity XR make sure you have OpenVR selected in the XR Manager section of your project settings.

Thank you! I don't know what I did wrong the first time but now I managed to make it work properly for my game. https://www.youtube.com/watch?v=ISVXOAiyB94

To get the defaults back copy the folder in \Assets\SteamVR\Input\ExampleJSON to \Assets\StreamingAssets\SteamVR. Then open the SteamVR Input window (in the Window toolbar) and click Save & Generate.
You'll also want to make sure you have the OpenVR package added in your package manager. If you're running Unity 2020+ add the tgz package in \Assets\SteamVR\OpenVRUnityXRPackage\Editor. If you're running a unity version before that (not using Unity XR) then add the OpenVR Desktop package from unity.
If using Unity XR make sure you have OpenVR selected in the XR Manager section of your project settings.

Thank you! I don't know what I did wrong the first time but now I managed to make it work properly for my game. https://www.youtube.com/watch?v=ISVXOAiyB94


incorrect description of suggested_confirmations_threshold in wallet RPC documentation

suggested_confirmations_threshold has a description in 2 places on this page that says:

Estimation of the confirmations needed for the transaction to be included in a block.

At minimum, that description is horribly confusing given that a transaction must be included in a block to have a confirmation. I'm not sure what it should say.  Maybe something like this?

A suggested number of confirmations to wait for before considering the transaction to be irreversible.

Here's how the value is getting set:
https://github.com/monero-project/monero/blob/v<IP_ADDRESS>/src/wallet/wallet_rpc_server.cpp#L102-L117

Thanks, it is confusing and seems wrong, i'll have to ask around for a more informed opinion than my own because im thinking  ' 10 conf's are when funds are confirmed ' but looking at that function, it's taking into account the block reward (entry.amount + block_reward - 1) / block_reward; and then it provides a different threshold for outputs that are locked, so there may be some kind of attack this is attempting to account for / broader explanation needed


Fix cluster override not handling ownerref properly

Fix cluster override not handling ownerref properly for namespaces that are different from appsub namespace
for https://github.com/open-cluster-management-io/multicloud-operators-subscription/issues/118
Signed-off-by: Mike Ng<EMAIL_ADDRESS>

/lgtm


Add a utility function to execute hooks serially

[x] I have read the contribution documentation for this project.
[x] I agree to follow the code of conduct that this project follows, as appropriate.
[x] The changes are appropriately documented (if applicable).
[x] The changes have sufficient test coverage (if applicable).
[x] The testsuite passes successfully on my local machine (if applicable).

Summarize your changes:
Adds serialHooks(hooks) (ported from Electron Forge), which allows a user to run hooks serially instead of in parallel (which was added in v10.0.0 due to Promise.all).
Closes #812.

This is great 👍


Move querier to separate package

Started working on recording rules, wanted to:

put it in a separate package to cortex
use querier

Thus, split it to querier package.

This change is

LGTM


Error when running on real android device

Moved from https://github.com/NativeScript/nativescript-cli/issues/2140
related to #404
Hey,
I don't know if i'm doing something wrong, but when i try to run a very basic app on a device with :

tns livesync android --watch

Then app install and run well, but the console spam (a lot) this error, making debug very difficult :
https://gist.github.com/DavidBabel/b595ef8d3b9f5e064ae804dbf9aff5eb
My device is a serrano LTE (samsung galaxy S4 mini) running a 6.0 CyanogenMod, and here are my Nativescript components versions :
https://gist.github.com/DavidBabel/fb9283040ca891f1873f503cb6d7cd3a
Am i doing something wrong ?
Thanks.

Here is more info. Thanks to @thiagoa1 who provided framework.jar from Redmi 2 Pro device I found that they provided both Bundle and BaseBundle as follows:
public class BaseBundle { ... }

public final class Bundle implements Parcelable, Cloneable { ... }

This is all fine, however up to API level 20 (including) android.jar provides android.os.Bundle class only as follows:
// up to API level 20 (including)
public final class Bundle implements Parcelable, Cloneable { ... }

Starting from API level 21 android.jar provides both Bundle and BaseBundle classes as follows:
// starting from API level 21
public class BaseBundle { ... }

public final class Bundle extends BaseBundle implements Cloneable, Parcelable { ... }

So, when we generate matadata from android.jar we consider that Bundle inherits from BaseBundle which is not the case on Redmi 2 Pro (and other Xiaomi) devices. This is unusual case but I would try to handle it, cosidering the popularity of Xiaomi devices. The suggested workaround is to check if the class inheritance chain from the metadata is the same as in runtime and attach the members of the missinng class to the current availble leaf (or indirect descendant) . This heuristics will handle such breaking changes in the class inheritance chain and is a relatively easy to implement without performance hit.
/cc @calebeaires @Alphmega @thiagoa1 @danieloprado


chore: update SupportedWalletInfo to support mobile app

Description
Add a configuration option to specify if the wallet should be shown in the mobile app and/or mobile browser
Change mobileEnabled wallet configuration flag to supportsMobile with 4 possible values (including undefined)
This flag will be leveraged in the future to show a different set available wallets in the mobile app vs. mobile browser. Since the "ShapeShift" wallet actually works in the app, but without the security of the phone's secure storage, the plan is to show a different "ShapeShift Mobile" wallet type instead where the seed phrase is stored in secure storage.
Notice

[X] Have you followed the guidelines in our Contributing guide?
[X] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[X] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)
Related to https://github.com/shapeshift/mobile-app/issues/11
Risk
Very low.
Testing

Load the app
Click Connect Wallet and verify that all wallets are there
In Dev Tools / Elements, click the Mobile button to switch to mobile view
RELOAD the app
Click Connect Wallet and verify that the same list of mobile wallets is there

Screenshots (if applicable)

confirmed working with required refresh


ci: Fix NightlyEpsMeasurement

This change is

test-nightly NightlyEpsMeasurement Test long live connections

Coverage increased (+0.03%) to 45.626% when pulling 05c7bfe2e11b52e6dad3057cd2ce582eb72e7c47 on pr/fix-nightly-coming-soon into a0fcbd73529f456fd49c85419474a580a9a7fa11 on master.

test-nightly NightlyEpsMeasurement Test long live connections

test-nightly NightlyEpsMeasurement Test long live connections

I fixed the test, but it seems that it found a real issue. Creating a GH issue to track this, in the meantime I think this should be merged.

test-nightly NightlyEpsMeasurement Test long live connections

test-nightly NightlyEpsMeasurement Test long live connections


Add database layer in role permissions

System information:

DBeaver version 21.3.0

Steps to reproduce, if exist:

Open a role from database navigator
Open permissions tab

Expected: Databases can be seen
Actual: Only schemas and lower layer objects are shown

We ran into this bug when upgrading DBeaver. Before the Postgres UI reorganization it was possible to change multiple permissions of a role


Question:  How to serialize with several segments with the same name and different qualifiers

(Thank you very much for this helpful library).  I am new to EDI tech.  Trying to understand the serialization path usage of identical segments with different qualifiers (generating 850 based on X12)
I am following sample from https://github.com/indice-co/EDI.Net/blob/master/test/indice.Edi.Tests/Models/X12_850.cs
As I understand, the REF segment can occur more then once in the EDI structure.  Below is simplified problem description :
My goal is to serialize three segments to something like this (each segment has unique qualifier):
REF*A*1~
REF*B*2~
REF*C*3~
Here are examples of corresponding properties (I tried various combinations of Path syntax to better understand them, but still failing)
   	[EdiMessage]
        public class Order
        {
              [EdiValue(Path = "REF/0", Description = "Should result with REF*A")]
              public string VarIdA { get; set; }

              [EdiValue(Path = "REF/1", Description = "Should result with REF*A*1~")]
              public string ValueA { get; set; }

              [EdiValue(Path = "REF/0", Description = "Should result with REF*B")]
              public string VarIdB { get; set; }

              [EdiValue(Path = "REF/1", Description = "Should result with REF*B*2~")]
              public string ValueB { get; set; }

              [EdiValue(Path = "REF/0", Description = "Should result with REF*C")]
              public string VarIdC { get; set; }

              [EdiValue(Path = "REF/1", Description = "Should result with REF*C*3~")]
              public string ValueC { get; set; }
       }

Where assigned values are
VarIdA = "A";
ValueA = "1";
VarIdB = "B";
ValueB = "2";
VarIdC = "C";
ValueC = "3";
The resulting EDI is not what I wanted:
…
REF*A~
REF*B~
REF*C*1~
REF**2~
REF**3~
…
With my approach I see that all REF0 are parsed first.  Then all REF1 are parsed and the first value from REF1  complements the last REF/0.
So, I understand that paths are relational across all properties with identical segments. No matter how I experimented with paths syntax, I was not successful.
Please, help to understand how paths are constructed and evaluated in scenarios with multiple instances of the same segment.

You need a container class in order to achieve something like this.
Try with a representing the REF segment like this
The order of the properties is taken into account. Also If you need to support de-serialization you will have to decorate the properties with the EdiCondition attribute.
    [EdiMessage]
    public class Order
    {
          [EdiCondition("A", Path = "REF /0/0")]
          public REF RefA { get; set; }
          [EdiCondition("B", Path = "REF /0/0")]
          public REF RefB { get; set; }
          [EdiCondition("C", Path = "REF /0/0")]
          public REF RefC { get; set; }
    }

    [EdiSegment, EdiPath("REF")]
    public class REF
    {
          [EdiValue(Path = "*/0", Description = "Id part")]
          public string VarId { get; set; }

          [EdiValue(Path = "*/1", Description = "Value part")]
          public string Value { get; set; }
    }

Alternatively you can use a collection of refs inside your message.
    [EdiMessage]
    public class Order
    {
          public List<REF> Refs { get; set; } = new List<REF>();
    }

    [EdiSegment, EdiPath("REF")]
    public class REF
    {
          [EdiValue(Path = "*/0", Description = "Id part")]
          public string VarId { get; set; }

          [EdiValue(Path = "*/1", Description = "Value part")]
          public string Value { get; set; }
    }

Thank you.  The explanation helped with the current issue and with some others.  Thank you for your library.


Frame gap

Hello,
Thank you for your contribution :) As a follow up to issue #407 here are some hints/remarks on the next steps for your PR:

build_geometry, for further work, in some FEA software we may also need to return the air surfaces (in particular FEMM will need it).
build_geometry_bar & comp_surface_bar, I don't know if it was intended but the bar looks polar instead of rectangular. Can you update the csv definition to specify if the bars are polar or rectangular ?
build_geoemtry_bar, for now there is no symmetry in this function (but it can be tricky if the cutting line is on a bar). So we can leave it and wait for issue #24
comp_surface: to be consistent with the other method, can you update it to return the full surface (frame + bar) ? Then no more need for the comp_volume method.

Regarding the tests:

For each method to test you need to define a function like in Tests/Methods/Machine/test_desc_dict.py. Pytest will understand that each function is a different test and if one fails it will run the others. To test your code, you can then add a "if name == "main" and call directly the functions.
The test for the three methods looks fine (for simple function a single call can be enough if there is no particular case). Can you add a test on comp_surface which is the generic methods that is used to compute the mass of the frame ?
To test the build_geometry functions, you can create a machine plot test like Tests/Plot/test_LSPM.py

Hope these few hints will help, feel free to ask otherwise :)
Best regards,
Pierre

Hey,
Thanks for your comments. I implemented them and will update the PR shortly.
Regarding the questions/comments:

I left this for now, but it should be straight forward to implement if required.
Yes, they are intended to be polar. I updated the csv defintion. In reality, they are generally rectangular and fit into a slot in the frame and stator, but I decided against implementing this for simplicity (and because the impact on modelling results will be negligible).
I wasn't sure how to implement the symmetry, so I left it out. Will revisit it when #24 is completed.
4/5/6) Implemented all of these changes.

Kind regards
Kevin

Hello,
Sorry I just realized that this PR is still open. With all the modifications from your latest commit for me it is ready to merge. Is there anything else you wanted to add ? (For the model related method, we can use another PR)
Best regards,
Pierre

Hi Pierre,
No it's ready to go from my point of view. If you're happy to merge it as it is, please go ahead.
Regarding the model related method: Are you referring to the comp_height_gap_frame() method?
Kind regards
Kevin

Hello,
By model related method I was referring to what you mentioned in the issue (CAD coupling and thermal computation). Basically, if we consider that this Pull Request "only" adds the geometry methods for the frame then we can consider it "merge-able". But indeed we can't do much with it for now so we can wait to have a proper application before merging it.
I was just worried that you were waiting for the PR to be merged. If you prefer to wait, that's good for me, I will wait your next commits and green light to review/merge ;)
Best regards,
Pierre

Hi,
Would be nice to get it included as it is now, as I won't be able to get any further work done on this for the next few weeks as I'll be on holiday.
Cheers
Kevin

Thank you for your contribution :)


Update readme

FIXED ISSUE #599
Closes #599
Remove SEO and Semantics under Learning HTML
Screenshots

Note to reviewers

Duplicate of #602

I  am very begginer in open source can you please tell me is my contribution added ? @siddhant-khisty


Bad command line arguments causes program to stall (infinite loop somewhere?)

Summary:
Command line program doesn't terminate. It doesn't produce output.
Description:
The command line program hangs. This shouldn't happen. It should kick out with some sort of message. See below for reproducible example.
Reproducible Steps:
From CmdStan
make examples/bernoulli/bernoulli
cd examples/bernoulli
./bernoulli sample adapt=0

Current Output:
> ./bernoulli sample adapt=0

It stalls here forever. It does take up CPU cycles.
Expected Output:
Perhaps something to mirror what happens with diagnose
> ./bernoulli sample adapt=0
adapt=0 is either mistyped or misplaced.
Perhaps you meant one of the following valid configurations?
  [not sure what should be put here]
Failed to parse arguments, terminating Stan

Current Version:
v2.10.0

Moved to stan-dev/stan#1949 as the fix requires changing the arguments code in stan-dev/stan/services/arguments.

Thanks.

On Jul 4, 2016, at 9:31 AM, Michael Betancourt<EMAIL_ADDRESS>wrote:
Moved to stan-dev/stan#1949 as the fix requires changing the arguments code in stan-dev/stan/services/arguments.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Improve operator role

The operator role is used to provide the account used as deployment user. This should be improved.

The rights of the deployment user should be restricted. Only what is needed should be enabled via sudoers.
Besides the deployment user there should be a real operator user

dragon -> deployment user
some cool name -> operator user

other ideas

snake
suosism (su -osism)


What would it take to integrate this into a Maui app on WinUI-3, and then extend it for ios and android?

Two parts to this question:

Maui on Windows App SDK (WinUI-3).
You mention C++ binding and WPF; adapting to Maui (but WIndows only at first) should be similar to what was done for WPF, AFAIK.

Any suggestions for getting the C++ bindings working on iOS/Android. .Net Core code should "just work" on those platforms, once it works in Maui on Windows. But I don't know what would need to be done re C++ bindings.

Working with Maui should definitely be do-able - it should be pretty similar to the WPF implementation.
As for iOS/Android, that's more of a problem. The link with C++ is through C++/CLI, which is Windows-only. Right now, the C++ stuff is really just there for integrating with VST3 - and that isn't really a thing on mobile.
That said, it might be possible to support the mobile-specific audio plugin environments (like Audio Unit on iOS) via Xamarin or Maui.


Negative/infinite income for Century Egg

I opened Cookie Clicker today after a long time, ascended right away and then got the Century Egg pretty soon on the new run. It showed to give a negative bonus income though. I'm playing live.
I wanted to test if it's probably because of the Garden or Pantheon. When I reloaded the page it showed "Infinity" as bonus income instead. Yes, bonus income and as PP as well. Freezing my Garden and unslotting spirits had no effect, unfortunately.
Everything else seems to be calculated correctly, it's hard to tell though without manually calculating values to compare. Cookie upgrades are correct at least as they all show a neat, whole number.

Can you post your save?  Does it also correct itself after a while?

Attaching my save failed repeatedly so I'll just post it here:
Mi4wMTZ8fDE1NDkzNzUzNDYyMzU7MTQ1NTIwODM4NzAxNTsxNTQ5NDY3NDIwNjEyO1BpbmtpZSBQaWU7ZXhqaXJ8MDExMTAwMDAwMDAwMDAxMTAxMDF8Ny43OTU4NDk2OTkzMDU1OTVlKzI5OzIuMjMxNjI2NDU3NjM4NzQxZSszMDs5MTA7NTI1NDs2LjczOTAxODgxMDU0ODEwNGUrMjk7Nzg4OzA7MDs0LjIyMTQ5MDgzODA2MTM0N2UrMjg7MTswOzA7MDstMTs0OzExOTs1LjY0OTcwMzc5OTg5MzUzOWUrMjg7MzI7MTQ7MDsyNTk3MTg7NDtoYWxsb3dlZW47Mi40NzY0NTM3MzMzOTUxMTdlKzI4Ozc7MzQ4MTk0OzMxNjk3OzMxNjQ5NzswOzA7MTg5OzMyMTs0MjE7LTE7LTE7MjI7MTQ7MDswOzUwOzA7MDs5NzszNDc7MTU0OTQ2MzU1ODk1NTswOzA7O3w0MTEsNTYxLDQuNjAyOTg5MTYyMzE0MDMwNmUrMjYsMCwsMDs0MjgsNTc4LDguMDczNzE2NTg2NzcxMTk1ZSsyNSwwLCwxOzM2MSw1MTEsNi45NzgyNjQ5MTI4MjI4ODllKzIyLDEwLDE1NDk0Njc1OTI1Njk6MToxNTQ5MzgwODA3NzYxOjA6NTQ6NTQ6MTowOjE1NDkzNzUzNDYyNDc6IDExMDAwMDAwMDAwMDAxMDAwMDAwMDAwMDAwMDAwMDAwMDAgMDowOjE6MTU6MDowOjI6NDU6MDowOjA6MDowOjA6MDowOjE6ODI6MTo4NzoyOjM1OjE6NjM6MDowOjE6MTY6MTo0MDowOjA6Mjo2NjoyOjk0OjA6MDo5OjYxOjE6MDoxOjg1OjE6MjU6MDowOjM6MTQ6Mjo0NjoyOjk5OjI6NjU6MTo4NzowOjA6MDowOjI6MjI6MDowOjE6MTQ6Mjo0MjowOjA6LDA7Mzc0LDUyNCw2LjcyMTc3MDE0MjU1MDkxNGUrMjUsMCwsMTszMzcsNDg3LDUuMDU3NTE3NjAyMDM1NjAzZSsyMiwwLCwxOzMyMCw0NzAsMi40NjM2MzMwNzAwNDkwNDllKzI0LDAsLDE7Mjg2LDQzNiw1LjcyNjg3NTk4NjcyNDg2OGUrMjMsMSwyLzYvLTEgMiAxNTQ5NDY3NDEyNTcyIDEsMDszMDksNDU5LDguMjkxNjI2NDE1Mzc5NzY1ZSsyNSwxLDgxIDEgMiAxLDA7MjU3LDQwNywxLjE2NTI2MDk0MTc4MzkwMTVlKzI1LDAsLDE7MjQwLDM5MCw2LjMzOTkzMTU2NDUxMjY2M2UrMjQsMCwsMTsyMTUsMzY1LDMuNTE5ODc3NjQ0NDU5NzU4ZSsyNSwwLCwxOzIwNSwzNTUsMS4wOTA5Nzk3NzI0ODUxMTc5ZSsyNiwwLCwxOzIwMCwzNTAsOC4wNjcxMzE3NTgzNjExMzZlKzI2LDcsLDE7MjEyLDM2Miw1LjQ0NDQyODE5MjA4NTMyM2UrMjgsMTAsLDE7MTg1LDMzNSwyLjQzMzc1NzMwNTA5OTY2NjZlKzI4LDEwLCwxOzE4MiwzMzMsMS40MDk0MDEwMDcyNjM5MjQ5ZSsyOSwxMCwsMTt8MTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEwMDAwMDAwMTExMTExMTEwMDExMTExMTAwMDAwMDExMDAxMTExMTEwMDExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEwMDExMTExMTExMTExMTExMTExMTExMTExMTExMDAxMTExMTEwMDAwMDAwMDAwMDAwMDAwMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTAwMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEwMTExMDEwMDAxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEwMDEwMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMDEwMTAxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMDAwMDAwMDAwMDAwMDAxMTExMTExMTExMTEwMDExMTExMTExMDAwMDAwMTExMTExMTExMTAwMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMDAwMDAwMDAwMDExMTExMTExMTEwMDExMTEwMDAwMTExMDAwMDAxMTExMDAwMDExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEwMDAwMDAwMDAwMTEwMDAwMTExMTAwMTEwMDExMDAxMTAwMTEwMDExMDAxMTAwMTEwMDExMDAxMTAwMTEwMDExMDAxMTAwMTEwMDExMDAwMDAwMDAwMDExMTExMTExMTExMTExMDAwMDAwMDAwMDAwMDAxMTExMTExMTExMTExMTAwMDAxMTEwMTExMTExMTExMTExMTEwMDExMDAwMDAwMDAwMDAwMDAxMDAwMTExMTExMTExMDAwMDAwMDAwMTAxMDEwMTAwMDAwMDAxMTExMTAxMTAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMTExMTExMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAxMTExMTEwMDExMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAxMTExMTExMTExMTExMTExMDAwMDAwMDAwMDExMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDB8MTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTAxMTExMTExMTExMTExMTAxMTExMTExMDAwMDAwMDExMTExMTEwMDExMTExMTExMTExMTExMTExMTExMDExMTExMTExMTExMTExMTExMTExMTExMTExMTExMDExMTExMDExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTAwMDAxMTAwMDExMTExMTExMTAwMDAwMDExMTEwMDAwMTExMTExMTExMTEwMTExMDExMDExMTEwMTAwMDAwMDAxMTAxMTAxMDAwMDExMDAwMDAxMTAwMDAwMDAwMDAwMDExMTEwMDAwMDAwMDAwMTAwMDAwMDAwMDAxMDAwMDExMTEwMDAwMTAwMTExMDAxMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDEwMDAwMDAwMDExMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAxMTExMDAwMDAwMDEwMDEwMDAxfA%3D%3D%21END%21
I also loaded it in a private window (Firefox) and on Chromium, both showed the same issue. It also doesn't correct itself, I had it run for several hours now.

Okay, I'll try to look at it soon.

Thanks! I appreciate that. It's not a game-breaking issue, so no pressure.

Well I just looked at it and I don't see the issue so far unfortunately.  I'll try a bit more but let me know if you see it in the new version I will release soon.  I doubt the changes I did to update to the newer version of Cookie Clicker would magically fix this.

Fixed in Version 2.018.1


Is there a way to make some sort of schema validation?

So basically I have 2 programs accessing the exact same DB.
I have the main one that makes the call to client.Schema.Create but the 2nd one doesn't.
I have made an external (private) library with the schema and queries which is being imported in both programs.
I would like to be able to have something like client.Schema.Validate which would check whether the schema in the DB to which it is connected matches the one used by ent.
This would allow me to make sure it has the right version of the library.
So is there a way to do that?
If not, is it planned?

Hey, @Breigner01 👋
You can use migration "diff hooks" to hook into the migration process and return an error if there are changes. For example,
err := client.Schema.Create(
	ctx,
	// Hook into Atlas Diff process.
	schema.WithDiffHook(func(next schema.Differ) schema.Differ {
		return schema.DiffFunc(func(current, desired *atlas.Schema) ([]atlas.Change, error) {
			changes, err := next.Diff(current, desired)
			switch changes, err := next.Diff(current, desired); {
			case err != nil:
				return nil, err
			case len(changes) > 0:
				return nil, fmt.Errorf("unexpected changes: %v", changes)
			default:
				return nil, nil
			}
		})
	}),
)

That being said, I think a proper solution for this problem is to use versioned migration: https://entgo.io/docs/versioned-migrations
Closing, but please feel free to reopen or join our Discord community in case you need more help with this 😎

Hey,
Thanks for the solution.
I see the point of versioned migrations, I just don't think it would allow me to use the same functions on both programs without rewriting them.
This external library contains both the schema and queries.
Anyway, do you plan on making an easier way of checking whether the schemas matches or is it out of scope?


Update to Cesium 1.43

Update to Cesium 1.43
Use Sentinel-2 imagery from ion instead of Bing imagery
Set neighborhood polygons to ClassificationType.TERRAIN

@ggetz I think we wanted to do it this way because installing node isn't a requirement for this.  If you look at README.md it also has an option for running a python server

I'm going to merge this so I can send out an email and link to this


Create Sample App try it out slice

Try It Out Slice- hold the first screen state and provide it to the other slices.
Implement this slice based on #116 definition


Extracting image overlay

Hi all,
I am currently working with DICOM images and want to isolate the images from any external information on it. I am aware of the BurnedInAnnotation tag, and I believe that this is associated with some sort of image overlay being appended to the image. My end goal is to extract the overlay information as an object.
Has anyone had any experience with this type of task? Any help would be greatly appreciated.
Thanks,
Dean

Hello @DeanKezurer! Thank you for your question! Are you receiving datasets containing the BurnedInAnnotation tag using an SCP? If that's the case, once you have received your dataset inside the cStoreRequest handler, you can access all tags (including the BurnedInAnnotation) using the 'getElement' accessor (e.g. dataset.getElement('BurnedInAnnotation')). Hope I helped!

Hi @PantelisGeorgiadis. Thank you for the speedy response! I was able to successfully obtain the value of that tag, but I was wondering if there was a way to extract the actual information that was burned into the existing picture. From my understanding the BurnedInAnnotation tag is simply an indicator of whether or not there is additional information within the DICOM image. Once again, thank you for your help!

Hello @DeanKezurer! You are right, BurnedInAnnotation is a YES/NO flag that "indicates whether or not image contains sufficient burned in annotation to identify the patient and date the image was acquired". However, I don't think that dcmjs-dimse would help you extract that information from the image pixels.

Hello @DeanKezurer! Did you manage to extract the information you needed from the image pixels?

@DeanKezurer, I'm closing this issue now. If you still have issues extracting the information you need from your datasets, please open a new issue.


Proposal: Append keyboard shortcut to UIElement tooltip

Proposal:Append keyboard shortcut to UIElement tooltip
Summary
I'd like to have my keyboard shortcut appended to my element tooltip.
Rationale
Currently it's exclusive - either one or the other. My shortcut is either the default tooltip, or my explicit tooltip is the tooltip, but not a concatenation. If I specify a tooltip, my shortcut is not displayed. Makes the tooltip difficult if not impossible to discover.

Functional Requirements
If I specify a keyboard shortcut for a UIElement, the shortcut is presented in the tooltip.
If I specify a keyboard shortcut and a tooltip, only the tooltip is presented.
I'd like to have the option of both when I specify both, similar to "Save (Ctrl + S)".
In the following example, I'd like to see "Click to move item right (Ctrl + +)
Important Notes
Example:

<Button.KeyboardAccelerators>

</Button.KeyboardAccelerators>

Move item right

Looks like my example was truncated.

<Button.KeyboardAccelerators>

</Button.KeyboardAccelerators>

Move item right

Example truncated in OP.

<Button.KeyboardAccelerators>

</Button.KeyboardAccelerators>

Move item right

<Button Name="MoveItemRightButton" ToolTipService.ToolTip="Click to move item right" KeyboardAcceleratorPlacementMode="Auto" 		Margin="0,10,0,10" Width="120" HorizontalAlignment="Center" 		Command="{x:Bind Path=ViewModel.MoveRightCommand}"> 	<Button.KeyboardAccelerators> 		<KeyboardAccelerator  			Modifiers="Control"  			Key="Add" /> 	</Button.KeyboardAccelerators> 	<StackPanel> 		<SymbolIcon Symbol="Next"/> 		<TextBlock>Move item right</TextBlock> 	</StackPanel> </Button>

I edited the description of the issue to have the text render correctly. I think the tags were being treated as HTML by the markdown renderer. :)

@Karl-Bridge-Microsoft, thank you for the feature request. This feels like a great change that we will look into after WinUI ships.


Attempt to not include empty structs into the generated file.

HI! I am trying to alter the generation of the structs so that the generated R file wouldn't include the empty ones. Strangely enough, when I reference this commit in the Podfile, so that I would have this version instead of the 4.0.0 tag, after pod install I am not able to build anymore. The original project after my changes compiles just fine, it is only through Cocoapods - rswift file is simply not there.
Could you help me out please? Maybe I have missed something. Really struggling here. Thanks!

resolves #394

Unfortunately, you can't test a custom build using CocoaPods.
Because R.swift is an executable, not a library, we ship it as a zip file that is downloaded through CocoaPods, but this only works for released versions.
The best way to test your changes to rswift is to manually create a build, and change the build step in your test app to point to the new rswift executable.

I've tested this, and it works great!
Thanks for your contributing to R.swift!


Update package.json to include the repository

NOTE: This is not a bot. This change was made by and comments will be reviewed by humans. We are using this service account to be able to track the overall progress.
With the rise in supply chain attacks and OSS dependencies being used as a attack vector, Microsoft is working with our ecosystem partners, such as the Linux Foundation's OpenSSF, to enable OSS consumers to track packages back to their public sources.
We've identified that the following packages published to NPM do not report where sources can be found, typically accomplished by including a link to your GitHub repository in your package.json REPOSITORY field. This PR was created to add this value, ensuring future releases will include this provenance information.
If you do not want us to create such PRs against your GitHub repositories, or wish to provide any other feedback, please comment on this PR.
Published NPM packages with repository information:
• react-resize-panel

Is there anything that is needed to land this pull request ?

ls there anything else I can do to land this pull request ?

Is there anything that is needed to land this pull request?


A question about installing the panel on a VPS with Ubuntu OS

Is there any list of necessary programs that must be installed for the panel to run normally on a vps? I tried to install the panel when xampp, lamp was installed on the server, but it did not give results. After installing sqlite3 and enabling pdo, the authentication page began to appear. But when I tried, it always gave me an error, which I haven't figured out how to solve yet.

In my experience I needed to install the following packages for the WebPanel to work:
sudo apt install apache2 php php-sqlite3
Explained:
apache2 is the web server.
php is required to run php code on the web server.
php-sqlite3 is required to use sqlite databases on the web server.
After this you naviage to /var/www/html. Here there should be a index.html file, which is just the default apache2 file. You can delete this file and replace it with the UnamWebPanel files.
If all is well it should work, however if it does not you might have to set the permissions properly. Navigate to /var/www and run chmod -R 755 html. This sets permissions for html and all files and folders inside it. Now you should be able to use the WebPanel, however if you still are unable, you might have to set the permissions to 777 instead, and then after logging in and checking that the WebPanel is working, then you can change back to 755, since having the permissions set to 777 means everybody can read, write and execute any file or folder. If you are only hosting it for yourself then it does not matter, but if you host it for other people to use, be careful.
I created a issue about chmod acting up here: https://github.com/UnamSanctam/UnamWebPanel/issues/330
UnamSanctam also talked about chmod here: https://github.com/UnamSanctam/UnamWebPanel/issues/198#issuecomment-1287889741 (htdocslocation is the html folder I am pretty sure)

It's as @Alcinzal said. You need a web server with PHP, sqlite3 and PDO (which it sounds like you have), and then make sure that both the db folder and unamwebpanel.db file inside that are writable (permissions and owner must be correct).

Thanks for the help, the problem really turned out to be access rights. After using chmod, everything started working fine.


Mockup create from stackscript

StackScript view/search page:

This view is coming from a new iteration on a few of the create sections:

Or with labels:

Or we could just hide older versions by default to clean things up:

I don't love this.

its hard to tell when you've completed the StackScript section
not completely clear where you came from

We can deal with the first by adding a single checkmark to each section in the top-right corner that "glows" when you complete the section - we talked about something along these lines before.
No thoughts on dealing with the second issue presently.


Sort an array of 0’s, 1’s, and 2’s (Dutch National Flag Problem)

Hi, I want to solve this issue using C++
Please assign this issue to me under HCSSoC (Hack Club SRM Summer of Code) .
Looking forward to contribute !!
Question : Given an array of 0s, 1s and 2s sort it in linear time and using constant space.
Input : { 0, 1, 2, 2, 1, 0, 0, 2, 0, 1, 1, 0 }
Output : { 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2 }
@Ayush7614
Programming language

[ ] C
[x] C++
[ ] Java
[ ] Python

Already in the repo


Add package to Stackage LTS 16

This library has been missing from stackage since LTS 13. There's a couple of things we'll need to do to add it back to stackage:

[ ] Get our dependency HaskellNet back on stackage
[x] Merge #24 to allow newer versions of the network library

This should help resolve #22 and #25

Making HaskellNet back on stackage is in progress https://github.com/commercialhaskell/stackage/pull/5792, I'll try to make it there soonish.

@Hazelfire  @qnikst
Amazing that this important package is being maintained again. Thanks!

Could you please push <IP_ADDRESS> to hackage?
Looks like we're kicked out of stackage again. But once you push to hackage, we should be able to just add it back in. Together with HaskellNet of course.
Thanks!

I'm onto it, I just got added to the uploaders this week and am going to see if I can find some time to get this up very soon!

I'll be able to re-push HaskellNet to Stackage as well. Btw what is the way to promptly learn that the package is out of nightly? Previously I remember there were an issue mentions, but not this time, so removal was a surprise for me


tweaks the definition of some traits

Coverage increased (+0.3%) to 67.531% when pulling 7eb4d0bf057c83429596a6c6b78c45a143c9f537 on reform-traits into 0d045e757d9b2374872a16e165748b7060d61705 on master.


Feature/data/23

In this pull request:

The database of the system has been created. It contains:

Different tables which integrate with the website, web application, and the robots in the warehouse
Columns of each table and their constraints
Some triggers to facilitate the writing and updating processes

Main information of the database has been documented

@mennamamdouh can you take a copy of the<EMAIL_ADDRESS>file and put it as a readme file to the issue folder?
also we don't need the Graduation Project Documentation anymore.

@eslamdyab21 ok done, I've added the readme file and deleted the Graduation Project Documentation too.


Configuration of AnyType

Is your feature request related to a problem? Please describe.
Currently AnyType accepts any JSON value, for some cases I need to restrict AnyType to accept only specific shape of the JSON. For example, GeoJSON specification says that a geo point is a JSON object with 2 properties type and coordinates
This is atomic thing, so I don't want to define it as a separate GraphQL type and instead I see it as a ScalarType (I can't display information on map having only coordinates or only type it just doesn't make sense for me).
Describe the solution you'd like
I see 2 ways to achieve this.

Allow to extend AnyType and restrict it but then it breaks Liskov substitution principle and it's not good
Allow to conifgure AnyType. In this case, it'd be good to have a factory function for AnyType:

class GeoJSONPoint {
   public string Type;
   public double[] Coordinates;
}

AnyType.Create<GeoJSONPoint>()

// or
AnyType.create(json => isValidGeoJSONPoint(json))

There is one important aspect here. Any is not JSON. It is a GraphQL literal. So you do not get the json string. You have a GraphQL literal which is internally represented by an IValueNode or a ReadOnlySpan<byte>.
If we would allow Any to be configured than any would behave the configured way throughout the schema. It would not be possible to have different Any behaviors on different fields.
If you want to have this than this is a field validation not a type requirement. Each type has to have one defined behavior throughout the schema.
You can however with all types register them under a different name making them a different type.
I do not yet see why we would need a factory for that.
The new Uuid can have a different serialization behavior depending on the schema and we pass that as a constructor argument.
SchemaBuilder.New()
    .AddType(new UuidType(name: "MySpecialType", format: 'D')
    ....
    .Create()

While this all are technicalities I also have may doubts about the value of this.
The downside to your approach with the any type is that the any type is not anything anymore.
It now has a fixed shape but does not give the GraphQL compilers, generators and tools any hint about its structure.
From a usage standpoint this might not be ideal and takes away the advantages of GraphQL being predictable and strongly typed.
Moreover, if you want to go down the route of a scalar in this case, wouldn't it be better to have a very specific scalar implementation for that. You do not need all the handling of all the possible type cases of any and the scalar would have a fixed representation in .NET which would save a lot of type conversions.
Also for you to consider is that with GraphQL 2020 there will be a new @specifiedBy(url:) directive which allows to reference to a scalar specification documents. This would essentially allow for GEO scalars that have full validation and typing support.

https://github.com/graphql/graphql-spec/pull/649

The purpose of AnyType.Create is not to change the behavior of AnyType but instead to create a custom type which works the same way as AnyType but with some restriction.
So that, I don't need to duplicate the same logic in my custom scalar implementation but instead want  to pass just a validation logic.
However I understand your position as well. So, it's up to you to decide whether to implement it or close.
You do amazing work man, I like this project! :)

I've recently run into this myself, also working with GeoJSON (I'm using the GeoJSON.NET library).
The best way I've come up with to solve this was by implementing my own scalar type, which unfortunately resulted in a bunch of code duplication (including a couple types that are internal to HC). I would have preferred to have simply inherited and overridden AnyType or another base class
since I want essentially all of what it does with regards to object types.
What I ended up doing was creating a new generic abstract class on top of scalar that borrows all the relevant bits from AnyType and provides a simple interface for implementing whatever type you want on top of it:
    public abstract class ObjectScalarType<T> : ScalarType where T : class
    {
        private ObjectToDictionaryConverter _objectToDictConverter;
        private ITypeConversion _converter;

        protected ObjectScalarType(NameString name) : base(name)
        {
        }

        protected override void OnCompleteType(
            ICompletionContext context,
            IDictionary<string, object> contextData)
        {
            _converter = context.Services.GetTypeConversion();
            _objectToDictConverter = new ObjectToDictionaryConverter(_converter);
            base.OnCompleteType(context, contextData);
        }

        public override bool IsInstanceOfType(IValueNode literal)
        {
            if (literal == null)
            {
                throw new ArgumentNullException(nameof(literal));
            }

            return false;
        }

        public override object ParseLiteral(IValueNode literal)
        {
            if (literal is NullValueNode _)
                return null;
            throw new ScalarSerializationException($"{Name} : {literal.GetType().Name}");
        }

        public override IValueNode ParseValue(object value) =>
            value is null ? NullValueNode.Default : ParseValue(value, new HashSet<object>());

        private IValueNode ParseValue(object value, ISet<object> set)
        {
            if (value is null)
            {
                return NullValueNode.Default;
            }

            Type type = value.GetType();

            if (set.Add(value))
            {
                if (value is IReadOnlyDictionary<string, object> dict)
                {
                    var fields = new List<ObjectFieldNode>();
                    foreach (KeyValuePair<string, object> field in dict)
                    {
                        fields.Add(new ObjectFieldNode(
                            field.Key,
                            ParseValue(field.Value, set)));
                    }
                    return new ObjectValueNode(fields);
                }

                if (value is IReadOnlyList<object> list)
                {
                    var valueList = new List<IValueNode>();
                    foreach (object element in list)
                    {
                        valueList.Add(ParseValue(element, set));
                    }
                    return new ListValueNode(valueList);
                }

                return ParseValue(_objectToDictConverter.Convert(value), set);
            }

            // TODO : resources
            throw new ScalarSerializationException(
                "Cycle in object graph detected.");
        }

        public sealed override object Serialize(object value) =>
            value is null
            ? null
            : _objectToDictConverter.Convert(BuildObjectToSerialize(value as T));

        protected abstract object BuildObjectToSerialize(T value);

        public override bool TryDeserialize(object serialized, out object value)
        {
            value = serialized;
            return true;
        }

        public sealed override Type ClrType => typeof(T);
    }

So the implementation becomes really slim, like this:
    public sealed class PointType : ObjectScalarType<Point>
    {
        public PointType() : base("Point") { }

        protected override object BuildObjectToSerialize(Point value) =>
            value == null
                ? null
                : new
                {
                    Type = value.Type.ToString(),
                    Coordinates = new[]
                    {
                        value.Coordinates.Longitude,
                        value.Coordinates.Latitude,
                        value.Coordinates.Altitude
                    }.Where(c => c.HasValue).ToArray()
                };
    }

This solution is primarily concerned with output at this time, so I've essentially skipped over the deserialization bits for now.
Anyhow, hope this helps someone.

@Confusingboat just as an info, we have started work on integrating GeoJSON into Hot Chocolate ... on our slack channel is a channel called spatial in which the discussion are also we have an issues tracking the progress:
https://github.com/ChilliCream/hotchocolate/issues/1747
It would be great if you chime into the discussion.


Update notification support for macOS 15 Sequoia and dynamic lists.

Look for alert/banner subroles rather than numeric identifiers.
Generate dynamic lists for notifications, actions and apps; clear them
after the phrase is over.
Sort actions in the imgui window — better than nothing.
Remove user.notifications_update as it's not needed any more.

Think I was a bit premature here as there seem to be some issues where the actions popup works just fine but trying to say that action doesn't work.

Nevermind, if there's a bug here it doesn't seem to be mine. Things are working again.

Accessibility support in Notification Center seems to have been completely broken in 15.1 among other issues, such as notifications taking many seconds to deliver. Marking as draft until Apple gets their act together.


Why using d layer prediction to choose best model?

https://github.com/XuJiacong/PIDNet/blob/803851b7f825ce511f73ed55065e3061cbea0e4e/utils/function.py#L114-L128

Can you specify your question?
I think you are asking why I generate the boundary loss in validate function? The answer is that I just want to know the total loss and only mIOU is used to choose best model.

Please check the entire code step by step. the outputs for the model in validate function is generated by https://github.com/XuJiacong/PIDNet/blob/803851b7f825ce511f73ed55065e3061cbea0e4e/utils/utils.py#L21
Thanks for your kind remind. If you think there is no question, please close this issue.

for i in range(nums):
  pos = confusion_matrix[..., i].sum(1)
  res = confusion_matrix[..., i].sum(0)
  tp = np.diag(confusion_matrix[..., i])
  IoU_array = (tp / np.maximum(1.0, pos + res - tp))
  mean_IoU = IoU_array.mean()
  logging.info('{} {} {}'.format(i, IoU_array, mean_IoU))
  if config.TEST.OUTPUT_INDEX == i:
      IoU_array_ = IoU_array
      mean_IoU_ = mean_IoU

  writer = writer_dict['writer']
  global_steps = writer_dict['valid_global_steps']
  writer.add_scalar('valid_loss', ave_loss.average(), global_steps)
  writer.add_scalar('valid_mIoU', mean_IoU_, global_steps)
  writer_dict['valid_global_steps'] = global_steps + 1
  return ave_loss.average(), mean_IoU_, IoU_array_

I think the final logged mIOU is logged in this way. Your code just uses the last as the final logged mIOU.

You are correct, but the FullModel class just forwards the first two outputs, that is [x_extra_p, x_]. Please check it step by step.

I got it.


Allow plugins to instrument bootstrap classes without modifying agent core

Is your feature request related to a problem? Please describe.
By default, classes in java.*, com.sun.*  and sun.* are excluded from being instrumented.
There is a hard-coded list of classes that are allowed for instrumentation, for example in ElasticApmAgent#getAgentBuilder(...) :

*URLConnection for jdk http client instrumentation
all classes in java.util.concurrent

Thus, for all plugins that instrument those classes, we need to modify this hard-coded list to allow class instrumentation. Failure to do so results in classes being ignored and lots of time spent debugging plugin and trying to figure out why.
Describe the solution you'd like
For the classes in those packages, each plugin should provide a list of classes that should not be filtered out for instrumentation.
There might be multiple ways to implement this:

using an explicit list with fully qualified names (strict, but definitely doable for classes in JDK)
reusing bytebuddy matchers with an expression that will enable those classes for instrumentation (allows to avoid using fully-qualified names).
reusing existing class matcher and dynamically adding exclusion to the existing white-listing: transparent from plugins, but any plugin matcher should not be too broad.

In https://github.com/elastic/apm-agent-java/pull/1230/commits/6abbf01aa4b5e1c68dec3679822679b6b54676c3 I've removed the default java.*, com.sun.*, and sun.* from the default excludes. I've just added them specifically to the trace_methods instrumentation.


Prebuilt bindings for GDAL 3.5

Hey 👋
Here is my attempt to provide the prebuilt bindings for GDAL 3.5. I had a look at the previous PR for GDAL 3.4 and I hope I did everything in a similar way 😅
Please let me know if any changes need to be made.

This looks great @MrMuetze .
Could you also adjust the CI yml file to use the ubuntu-full-3.5.0 image ( .github/workflows/ci.yml ).  We should essentially copy the 3.4 recipe and replace the image and names appropriately.  We could remove the CI for the least recent version 3.1.0 instead.

I will have a look at this 👍

Would it be an option to move away from semver and just parse the version bits on our own? Something like this possibly (I just threw this together, I'm not sure if u8 is ideal for version numbers.
use std::str::FromStr;

fn main() {
    let version_string = "<IP_ADDRESS>";
    let version_parts: Vec<u8> = version_string
        .split(".")
        .map(u8::from_str)
        .collect::<Result<Vec<_>, _>>()
        .expect("we convert numbers");
    dbg!(version_parts);

    // check for major version
    // version_parts[0] < 2
}

https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=a1d8d8b50021881cc4a1704c665144b6

My approach would not be able to support this kind of prerelease string (for betas or release candidates), but I don't think the semver crate did that either. 🤔 I did a quick check right now and semver would expect something like this: 3.5.0-RC0. It fails with 3.5.0RC0. (Error("unexpected character 'R' after patch version number"))
Do you think we need to be able to parse beta or release candidate versions? If not, my approach would be sufficient and I could incorporate the changes. If not, we have to figure out something else.

Makes sense @MrMuetze ;  I'm just seeing we can ensure better robustness.  I looked into the osgeo gdal source code.  Most apps in the repo seem to use GDAL_VERSION_NUM which is a numeric format of the version.  It is computed as follows:
/* GDAL_COMPUTE_VERSION macro introduced in GDAL 1.10 */
/* Must be used ONLY to compare with version numbers for GDAL >= 1.10 */
#ifndef GDAL_COMPUTE_VERSION
#define GDAL_COMPUTE_VERSION(maj,min,rev) ((maj)*1000000+(min)*10000+(rev)*100)
#endif

/* Note: the formula to compute GDAL_VERSION_NUM has changed in GDAL 1.10 */
#ifndef GDAL_VERSION_NUM
#  define GDAL_VERSION_NUM      (GDAL_COMPUTE_VERSION(GDAL_VERSION_MAJOR,GDAL_VERSION_MINOR,GDAL_VERSION_REV)+GDAL_VERSION_BUILD)
#endif

The formula seems to be the same since at least 2.0.0, and the value is available as a string from the API by calling gdal_version_info("VERSION_NUM") in build.rs. I think this would be a better approach.  Any thoughts @michaelkirk @lnicola @jdroenner ?


release a version that avoids Ruby 2.4.0 deprecation warnings

With Ruby 2.4.0 released yesterday, it'd be great to have a release of Nokogiri that avoids deprecation warnings.
The fix was added a while ago.
https://github.com/sparklemotion/nokogiri/pull/1545
And primed ready for a 1.7.0 release
https://github.com/sparklemotion/nokogiri/commit/7f8b7b2bf55829e02cd11c2eb25814c3ed458676
Warnings look like:

@flavorjones thanks for the quick response, and appropriate title change.

@matthewrudy No sweat, running valgrind now, will cut a release tonight unless I hit a blocker.

1.7.0 has shipped.


Demo data

Is there a place where I can find the demo data to get my site to look the same as a starting point? I couldn't find in the documentation or README file

@AnasGamal Not at the moment, but I can definitely add some screenshots on the demo site. You can expect to see that in the coming day or two

Screenshots have been uploaded here:
https://sanitypress.vercel.app/studio-screenshots


openshift provider

Fixes #283

Codecov Report
Base: 6.95% // Head: 6.95% // No change to project coverage :thumbsup:

Coverage data is based on head (ec2bc6a) compared to base (8c277a7).
 Consider uploading reports for the commit 6aea1fd to get more accurate results

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #496   +/-   ##
=====================================
  Coverage   6.95%   6.95%
=====================================
  Files          8       8
  Lines       1251    1251
=====================================
  Hits          87      87
  Misses      1159    1159
  Partials       5       5

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

closing as not solving the root issue


Update README.md

@hadiidbouk this looks great 👍

Thank you! however it's not that great because there is a typo, will fix it


K8SPG-519: add .spec.extensions.storage.endpoint

https://perconadev.atlassian.net/browse/K8SPG-519
DESCRIPTION
Problem:
When installing custom extensions it is not possible to point to a custom s3 object storage endpoint.
Cause:
The s3 SDK within the extension installer is only minimally configured, currently using default values.
Solution:
Add an optional flag to the extension installer named endpoint and configure the s3 SDK appropriately.
It's an improved version of the https://github.com/percona/percona-postgresql-operator/pull/672 PR. Since the branch https://github.com/timorusky/percona-postgresql-operator/tree/extensions-endpoint was archived, it was decided to continue development of the feature in a separate PR.
CHECKLIST
Jira

[x] Is the Jira ticket created and referenced properly?
[x] Does the Jira ticket have the proper statuses for documentation (Needs Doc) and QA (Needs QA)?
[x] Does the Jira ticket link to the proper milestone (Fix Version field)?

Tests

[ ] Is an E2E test/test case added for the new feature/change?
[ ] Are unit tests added where appropriate?

Config/Logging/Testability

[x] Are all needed new/changed options added to default YAML files?
[x] Are the manifests (crd/bundle) regenerated if needed?
[x] Did we add proper logging messages for operator actions?
[x] Did we ensure compatibility with the previous version or cluster upgrade process?
[x] Does the change support oldest and newest supported PG version?
[x] Does the change support oldest and newest supported Kubernetes version?

Test name
Status

custom-extensions
passed

demand-backup
passed

init-deploy
passed

monitoring
passed

operator-self-healing
passed

scaling
passed

scheduled-backup
passed

self-healing
passed

start-from-backup
passed

tablespaces
passed

telemetry-transfer
passed

upgrade-minor
passed

users
passed

We run 13 out of 13

commit: https://github.com/percona/percona-postgresql-operator/pull/787/commits/4bac4c128fcf20e26508fcda342a28e74101c85b
image: perconalab/percona-postgresql-operator:PR-787-4bac4c128

Test name
Status

custom-extensions
passed

demand-backup
passed

init-deploy
passed

monitoring
passed

operator-self-healing
passed

scaling
passed

scheduled-backup
passed

self-healing
passed

start-from-backup
passed

tablespaces
passed

telemetry-transfer
passed

upgrade-minor
passed

users
passed

pitr
passed

We run 14 out of 14

commit: https://github.com/percona/percona-postgresql-operator/pull/787/commits/6acfd441c6f656f38668a9ed33a989f3ce82a1f9
image: perconalab/percona-postgresql-operator:PR-787-6acfd441c

Test name
Status

custom-extensions
passed

demand-backup
passed

init-deploy
passed

monitoring
passed

one-pod
passed

operator-self-healing
passed

pitr
passed

scaling
passed

scheduled-backup
passed

self-healing
passed

start-from-backup
passed

tablespaces
failure

telemetry-transfer
passed

upgrade-consistency
passed

upgrade-minor
passed

users
passed

We run 16 out of 16

commit: https://github.com/percona/percona-postgresql-operator/pull/787/commits/7cabf7ff536a7d57a357c6dc7b319b3393a160b7
image: perconalab/percona-postgresql-operator:PR-787-7cabf7ff5

Test name
Status

custom-extensions
passed

demand-backup
passed

init-deploy
passed

monitoring
passed

one-pod
passed

operator-self-healing
passed

pitr
passed

scaling
passed

scheduled-backup
passed

self-healing
passed

start-from-backup
passed

tablespaces
passed

telemetry-transfer
passed

upgrade-consistency
passed

upgrade-minor
passed

users
passed

We run 16 out of 16

commit: https://github.com/percona/percona-postgresql-operator/pull/787/commits/7cabf7ff536a7d57a357c6dc7b319b3393a160b7
image: perconalab/percona-postgresql-operator:PR-787-7cabf7ff5

Test name
Status

custom-extensions
passed

demand-backup
passed

init-deploy
passed

monitoring
passed

one-pod
passed

operator-self-healing
passed

pitr
passed

scaling
passed

scheduled-backup
passed

self-healing
passed

start-from-backup
passed

tablespaces
passed

telemetry-transfer
passed

upgrade-consistency
passed

upgrade-minor
passed

users
passed

We run 16 out of 16

commit: https://github.com/percona/percona-postgresql-operator/pull/787/commits/616dcd2e7995be078b904d42355a8546fc9629b8
image: perconalab/percona-postgresql-operator:PR-787-616dcd2e7


README.md, Improved documentation for Tag Ownership

Documentation for adding and removing Owned tags with example.
There have been many issues for the case when Tags are added with owner, it deletes previous tags.
Updated documentation to handle them(with example).

Thank you 👍


[TA] Enable AAD tests

Fixes: https://github.com/Azure/azure-sdk-for-net/issues/28447

API change check for Azure.AI.TextAnalytics
API changes are not detected in this pull request for Azure.AI.TextAnalytics

/check-enforcer reset


PVGeo + python, ErrorObserver not muting vtk

Bug description
I'm running in Python outside of Paraview.
When a vtk error occurs, a python exception is successfully raised by the ErrorObserver but the original vtk raw error is still printed.
To Reproduce
I used a slighty modified version of the code snippet provided in PVGeo._helpers.errors
#!/usr/bin/env python3
import PVGeo

def main():
	f = PVGeo.AlgorithmBase()
	f.Update()
	if f.error_occurred():
		print("PVGeo Error message ==>", f.get_error_message())

if __name__ == "__main__":
    main()

The output:

First error is the raw vtk error
Next is the error printed by the helper
Third is the error manually printed by the code snippet

The part that is bothering me is the raw vtk error. From what I understand adding an error observer was supposed to catch the vtk error and make it "transparent".
Also the vtk raw error is not outputting in stdout.
Consequently if the error management is working (exceptions still fired) the terminal output is messy.
Concerned installation

MacOS
Python 3.7.4
Packages :

appdirs==1.4.4
espatools==0.1.0
imageio==2.9.0
importlib-metadata==1.7.0
meshio==4.0.16
numpy==1.19.0
pandas==1.0.5
Pillow==7.2.0
properties==0.6.1
PVGeo==2.1.0
python-dateutil==2.8.1
pytz==2020.1
pyvista==0.25.3
scipy==1.5.1
scooby==0.5.6
six==1.15.0
vectormath==0.2.2
vtk==9.0.1
xmltodict==0.12.0
zipp==3.1.0

(only PVGeo was installed through pip)

The part that is bothering me is the raw vtk error. From what I understand adding an error observer was supposed to catch the vtk error and make it "transparent".

This is correct. This appears to be an issue with VTK 9

Thanks for the confirmation of the expected behavior !
For information, if this issue is bothering someone else, I tried to fiddle around within the source of PVGeo searching for a magical vtk option with no luck.
I tried a lot of things with vtkOutputWindow but non of them worked.
I only managed to completely shut down all form of error management by calling the '''[vtkObject].GlobalWarningDisplayOff()''' function (for a specific object or globally).
But this function prevent the triggering of the ErrorObserver and thus break the exception handling, which actually makes sense. It can be used but must be used knowingly.
Since the exception handling is working perfectly well as is, I chose to ignore these unwanted outputs and wait for a fix from vtk.
From what I understand this is a known issue ?

From what I understand this is a known issue ?

Known to you and me now! I don't think this is documented elsewhere. This is probably worth reporting upstream in VTK

I added an issue to VTK > https://gitlab.kitware.com/vtk/vtk/-/issues/17958

Thanks for posting there, @FlorianFSA. I am going to close this issue and follow that one


proposal: nameresolution add report API

We need to enhance the capabilities of nameresolution. When nameresolution's ResolveID  method obtains the address of the Runtime service, if access to this address fails or times out, it should actively report to the nameresolution that the service address is unhealthy or unavailable.
+ // ReportRequest report unhealthy runtime server
+ type ReportRequest struct {
+         ID        string
+         Namespace string
+         Address   string
+         Port      int
+         Metadata  map[string]string
+ }
+

// Resolver is the interface of name resolver.
type Resolver interface {
        // Init initializes name resolver.
        Init(metadata Metadata) error
        // ResolveID resolves name to address.
        ResolveID(req ResolveRequest) (string, error)
+      // Report report unhealthy runtime server
+      Report(req ReportRequest) error
}

At the same time, we should support multiple name service instances, because all component instances of component-contribs have addressing features, so they can be provided to them, such as binding.http...

How users use Report API? If any error, it would return an error from ResolveID.

How users use Report API? If any error, it would return an error from ResolveID.

Yes.  The Dapr Runtime took the initiative to inform namesolution of the call result, and let nameresolution process the failed request IP according to its own strategy

So Report API is used by Namesolution? Is it a common function for Namesolution?

Yes. Nameresolution can start the fuse mechanism according to the reporting situation of  micrologic server, and Dapr Runtime can actively report, which can enhance the health status of micrologic server.

If so, sound like a good feature.
/cc @yaron2 @artursouza I accept it, WDYT?
@1046102779 are you interested in adding it?

hah, of course. I'am a Dapr member.


Proposed tweak to def of 'alternative term'

From<EMAIL_ADDRESS>on May 05, 2011 11:53:54
'alternative term',IAO_0000118 has definition: "An alternative name for a class or property which means the same thing as the preferred name (semantically equivalent)".
I don't think one can ever say that a term is semantically equivalent without first specifying a context.  So, this would be clearer if the def were changed to:
"An alternative name for a class or property which, within the context of this ontology, means the same thing as the preferred name (semantically equivalent)"
See also: https://code.google.com/p/information-artifact-ontology/issues/detail?id=106#c1
Original issue: http://code.google.com/p/information-artifact-ontology/issues/detail?id=110

This issue was moved to information-artifact-ontology/ontology-metadata#17


Unauthenticated Twitter handle is not safe

hello! i'm filing this here as we use it for rust-lang. (https://herald.community.rs)
the twitter handle is a string, so anything can be put there. this could be used to suggest that someone is the author of a post that they didn't author, which is a way to harass someone. (e.g. write an inappropriate post, or just any post, or number of posts to ping that person on twitter.)
i would recommend that the twitter handle be added via a authentication step only, so that only people with access to an account can have that account mentioned via the automated tweeting process.
for example, i authed with my GitHub account but put my partner's twitter handle:
https://twitter.com/RustHerald/status/885590557082439680
since GitHub accounts are free, having to authenticate with GitHub doesn't significantly reduce the harassment vector here :/

I understand the trade-off this feature means, but it has not been a problem for ElixirStatus.
However: If you want to contribute this as a PR, I would accept it.

I find that approach (also showing in the renaming of the title) dangerous. The feature is not a trade-off, it can currently be abused. Just because it currently isn't, doesn't mean it won't.
The hole even gets a bit wider by the fact that if you delete posts on elixirstatus, the attached tweet isn't deleted, making cleanup hard.
I can understand that development is time-consuming and it cannot be fixed in a second, but this is not an "enhancement", this is serious bug.
Nevertheless, I'll see if I can invest some work into this (possibly next weekend), as I stopped promoting the Rust Herald because of this.

I started working on this here https://github.com/Hanspagh/elixirstatus-web/tree/fix-twitter-handle-auth
What I did
I created a auth to twitter to the user handle and saved in the current logged in user.
What still needs to be done

UI
Remove the old user update route to avoid setting the handle manually

@Hanspagh \o/

I wont have much more time to work on this before next week, so fell free to continue if you have the time

@skade I will gladly accept contributions to this project! Thx :+1:


GenerateReleaseNotes always pulls commits regardless of whether they are new

VSTS Extension you are using
GenerateReleaseNotes
Where are you running it?
TFS 2017 Update 1
Version of Extension/Task
latest
Expected behavior and actual behavior
If you have a build which has not progressed between releases, the same commits will be pulled from it every time.
Example: You have a release with two build artifacts.  The latest release only contains a build from one of the artifacts.  The release notes will contain the commits from the build artifact that isn't new, which would have been included in the previous one.
I don't think i've explained it very well!
Steps to reproduce the problem

By design I think!
The way the Poweshell version works is it gets a list of builds/artifacts used in the Release. If a build has not progressed then each release that uses that version of the build will find the same changesets/commits associated with that build.
This is an issue with this way of working, hence building the XPlatGenerate Release notes which tries to use the same mechanism as VSTS UX.

@gregpakes  Closing this issue a don't think there is much we can do with the Powershell version and I know you have activally helping mode the xplat version


Support Uploading multiple files

For Open OnDemand, it's likely the artifact in use (the one being cited) is an .rpm package and not the source code.
So in my case, I'd like to upload many files. Namely, The source tar and packages like rpm and deb. Ruby's really good with fileglobs, so I tend to use them a lot and think most folks would want to ** directories.
with:
  files:
    # specific files
    - 'packaging/rpm/cool-package-{{ version }}.rpm'

    # with globs
    - 'packaging/deb/cool_package*'

yeah great idea! We can just shove this into glob :)

Also, I've never seen a "with" or an envar as a list - I think people usually have to do:
with:
  files: |
     one
     two
     three

And then it's parsed as a blob with newlines in it, if that makes sense.

That makes sense, GH can't pass an array to a shell command? I didn't think it through. But in any case, cool!


Calibration tests are failing after latest hypy release

The calibration tests are failing after this was introduced into hypy.

https://github.com/NOAA-OWP/ngen-cal/pull/141 fixed this


WIP: circleci: minimize machine executor usage

 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.


[Coverity CID: 179976] Error handling issues in /subsys/bluetooth/host/mesh/cfg_srv.c

Static code scan issues seen in File: /subsys/bluetooth/host/mesh/cfg_srv.c
Category: Error handling issues
Function: send_mod_pub_status
Component: Bluetooth
CID: 179976
Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996

Already fixed in the master branch


Perhaps remove the twitter link?

Issue description:
On the main page where it says "Get Involved," it links to the twitter account, which got hacked (see posts on the redot blog).
Should the twitter link be removed?
URL to the web page (if already existing):
https://www.redotengine.org/

We may change link. But we may get that account back so just waiting for now.

Merged PR #168. Will be in the next round of prod release


Poetry error No module named 'toml' after installing poetry-types 0.3.1

I have installed Poetry v1.2.1 using the new standalone installer. Before I add poetry-types, I see that poetry runs successfully:
$ poetry --version
Poetry (version 1.2.1)

I then add the poetry-types plugin:
$ poetry self add poetry-types

I see the install happen with version 0.3.1 for poetry-types. Then I run poetry again and it fails:
$ poetry --version
No module named 'toml'

Thanks for the update. I can now get poetry-types to install. But now I get this error:
$ poetry types update

module 'toml' has no attribute 'table'

Weird thing... I used the tomlkit API with the toml module and I did not notice ??? How did that ever work? Anyway, I fixed the issue and improved CI to hopefully catch a mistake like this in the future. Let me know if you run into any other issues.

I assume that it's fixed.


train my own datasets

Thank you very much for your code!
Can I train two objects in a model? like in NBA video ,person an hoop?

I must honestly admit that I do not understand the question. Are you actually trying to re-identify hoops?
In that case, it might be possible, but it will likely be significantly worse than having two separate models. Also to be clear, we do not do detection.


bbs_2023 not fully public

Hi,
I am unable to construct a HashData::Base(BaseHashData {....}) as BaseHashData is not exposed. I am following the test in crates/claims/crates/data-integrity/suites/src/suites/w3c/bbs_2023/signature/mod.rs line 201.
Line 23 of crates/claims/crates/data-integrity/suites/src/suites/w3c/bbs_2023/mod.rs
pub use hashing::{Bbs2023Hashing, HashData};
I would have expected to be more like,
line 18 of crates/claims/crates/data-integrity/suites/src/suites/w3c/ecdsa_sd_2023/mod.rs
pub use hashing::*;
Thanks

Hi, I wasn't expecting someone needing to create a HashData by hand, but why not. I don't want to expose too many types in the bbs_2023 module, but we could make the bbs_2023::hashing module public instead.


Increase frequency of staleness runs

Run hourly and increase operations per run
This will allow a single pass through all the existing issues to complete, and react to removing the stale label with less latency
https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api?apiVersion=2022-11-28#primary-rate-limit-for-github_token-in-github-actions

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

Project coverage is 66.24%. Comparing base (e0f8777) to head (c9147b9).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1148      +/-   ##
==========================================
+ Coverage   65.71%   66.24%   +0.52%
==========================================
  Files         164      164
  Lines       13650    10587    -3063
==========================================
- Hits         8970     7013    -1957
+ Misses       4196     3088    -1108
- Partials      484      486       +2

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


add MEMCG_SWAP_ENABLED to check-config.sh

Signed-off-by: Lei Jitang<EMAIL_ADDRESS>In my machine, docker info show
WARNING: No swap limit support
so I use check-config.sh to check if my kernel config is right, it shows
Optional Features:
- CONFIG_MEMCG_SWAP: enabled
- CONFIG_RESOURCE_COUNTERS: enabled
- CONFIG_CGROUP_PERF: enabled
It's a bit of misleading, there is no any config missing.
To use swap memory limit in cgroup, we have  to turn on
both  MEMCG_SWAP and MEMCG_SWAP_ENABLED ,
if not turn on MEMCG_SWAP_ENABLED, there is no memory.memsw.xxx
in cgroup/memory/ unless the user enable it in bootopt on machine boot.
So I think it's better to check MEMCG_SWAP_ENABLED, it can tell the user
what is missing and what they can do if  docker info show
WARNING: No swap limit support and they want use swap limit.

LGTM

ping @tianon

I think the rationale was that this can (and sometimes has to) be enabled in ways other than just the kernel config (see https://docs.docker.com/installation/ubuntulinux/#adjust-memory-and-swap-accounting for how to enable it on Debian and Ubuntu, for example, where this test will just say "missing").
I'm OK with this if we add a note to it when it doesn't exist (like we do for CONFIG_AUFS_FS) mentioning the other ways this could/might have to be enabled.

add a note to mention the user there are other ways to enable cgroup swap accouting, it will be like this:
Optional Features:
- CONFIG_MEMCG_SWAP: enabled
- CONFIG_MEMCG_SWAP_ENABLED: missing
    (note that your kernel config not enable cgroup swap accounting, you can enable it by setting boot option with "swapaccount=1")
- CONFIG_RESOURCE_COUNTERS: enabled
- CONFIG_CGROUP_PERF: enabled
ping @tianon

LGTM :+1:

Correction on the proposed message (in my best English);
cgroup swap accounting is not enabled in your kernel config, you can enable it by setting boot option "swapaccount=1"

correct the proposed messages ad @thaJeztah  messages.
I don't know why Jenkins failed, I think the failure is unrelated
ping @LK4D4  @tianon

Thanks!

ping

LGTM


Are there plans to separate VisUI from VisEditor?

Right now it is pretty hard to contribute to the project as it is inside VisEditor so doing tests locally (or even a submodule) is far from ideal.
Are there plans to separate the two projects?
If not, would it be ok for me to do it?

See https://github.com/kotcrab/vis-editor/issues/261
After opening this project in IDE you will only get ui and usl modules loaded. VisEditor modules are not loaded and recognized by the IDE. VisEditor is set to use fixed version of VisUI so even breaking changes to ui module won't affect VisEditor. If you are working on VisUI you can pretty much ignore the rest of the code.
Splitting repository is problematic, I'm not seeing good way to do it. I guess if that ever happened then this repository would have to become vis-ui to keep stars and follows. Editor code would be moved to new repository.

If not, would it be ok for me to do it?

No, PR of this size would not be accepted and doesn't even seem feasible because it would require to create separate repository.

Thanks for the explanation but if the only thing that is stopping this to be separated is because is problematic then there should be no problem.
Basically what I see right now is two products in the same repository (and one of them with two modules) so for me this is pretty confusing. This is even clearer when you say that VisEditor uses a fixed version of VisUI, that, for me, is a clear separation (even more if iirc, VisEditor is not maintained anymore) hence having them in the same repository will be confusing for future contributors (me included).
I think that the best approach, as you said, is for this repository to become VisUI and a separate one to become VisEditor.
As for the Would it be ok for me to do it? I mostly meant to have a fork with just the VisUI project which is the one I am mostly interested on

I agree, it is pretty confusing. Maybe I'm the one being stubborn here... Okay, I've decided to split it. Though it probably won't happen until next week. See #300 for tracking. I think we can close this.

As for the Would it be ok for me to do it? I mostly meant to have a fork with just the VisUI project which is the one I am mostly interested on

Well, there is nothing in the license that can stop you from doing this.

Waiting some time is definitely not a problem!

@jdiazcano done, let me know if you spot some issues with wrong links or invalid information etc.


chef-client doesn't make /etc/chef if it needs to

Running chef-client without an existing /etc/chef directory does not create the directory in order to store the new private key for the node. Seems like it should.
tmp:rcf-test-rh6-64# chef-client
{:config_missing=>true}
[2014-11-04T15:14:19-05:00] WARN: *****************************************
[2014-11-04T15:14:19-05:00] WARN: Did not find config file: /etc/chef/client.rb, using command line options.
[2014-11-04T15:14:19-05:00] WARN: *****************************************
Starting Chef Client, version 12.0.0.rc.0
Creating a new client identity for rcf-test-rh6-64.our.org using the validator key.

================================================================================
Chef encountered an error attempting to create the client "rcf-test-rh6-64.our.org"
================================================================================

[2014-11-04T15:14:22-05:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
Chef Client failed. 0 resources updated in 2.298306041 seconds
[2014-11-04T15:14:22-05:00] ERROR: I cannot write your private key to /etc/chef/client.pem - check permissions?
[2014-11-04T15:14:22-05:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

hey @jseely do you fancy making a PR from your branch?

@thommay  https://github.com/chef/chef/pull/6429 Let me know if there's anything else you need for this


Extend maven artifact mappings repository

The mapping repo https://github.com/pyrsia/pyrsia-mappings only contains a few demo artifacts.
This issue is to define a way to extend this repo with more mappings, or at least documentation so external developers can easily request the addition of a mapping for their open source library.

for reference: https://github.com/jvm-repo-rebuild/reproducible-central


I believe the parameters changed

I believe the parameters changed?

are you using latest  github.com/Rhymen/go-whatsapp ?

Yes

if i'am not wrong you should override the whatsapp version in order to request login
this should happend if the update response come up