Improve expected failure tracking

testing/prow/entitle.sh: mark the failure of 'entitlement test_cluster' as expected

testing/prow/nfd-operator.sh: mark the failure of 'nfd has_labels' as expected

testing/prow/sro.sh: mark the failure of 'nfd has_labels' as expected

testing/prow/sro.sh: mark 'NFD missing from operatorhub' as a warning

testing/prow/gpu-operator.sh: remove mention that NFD is not available in 4.9 OperatorHub

See https://github.com/openshift-psap/ci-dashboard/pull/37 for the ci-dashboard part of it

/test ?

/test nfd-operator-e2e-master
/test sro-e2e-master

/test sro-e2e-master
/test nfd-operator-e2e-master
On Fri, Nov 19, 2021 at 1:56 PM openshift-ci[bot] @.***>
wrote:

@kpouget https://github.com/kpouget: The following tests failed, say
/retest to rerun all failed tests or /retest-required to rerun all
mandatory failed tests:
Test name Commit Details Required Rerun command
ci/prow/nfd-operator-e2e-master bf88e1c
https://github.com/openshift-psap/ci-artifacts/commit/bf88e1c21b36acf304b9c77109ad689869b14e9c
link
https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift-psap_ci-artifacts/284/pull-ci-openshift-psap-ci-artifacts-master-nfd-operator-e2e-master/1461676038042947584
true /test nfd-operator-e2e-master
ci/prow/sro-e2e-master bf88e1c
https://github.com/openshift-psap/ci-artifacts/commit/bf88e1c21b36acf304b9c77109ad689869b14e9c
link
https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift-psap_ci-artifacts/284/pull-ci-openshift-psap-ci-artifacts-master-sro-e2e-master/1461676038110056448
true /test sro-e2e-master
Full PR test history
https://prow.ci.openshift.org/pr-history?org=openshift-psap&repo=ci-artifacts&pr=284.
Your PR dashboard
https://prow.ci.openshift.org/pr?query=is:pr+state:open+author:kpouget.
Instructions for interacting with me using PR comments are available here
https://git.k8s.io/community/contributors/guide/pull-requests.md. If
you have questions or suggestions related to my behavior, please file an
issue against the kubernetes/test-infra
https://github.com/kubernetes/test-infra/issues/new?title=Prow issue:
repository. I understand the commands that are listed here
https://go.k8s.io/bot-commands.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openshift-psap/ci-artifacts/pull/284#issuecomment-974048076,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABZVQISF63DIHK3B2C6A3GTUMZCN3ANCNFSM5IMBUASA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

SRO failure is unrelated to this PR, 001__entitlement__test_cluster/EXPECTED_FAIL correctly tagged
/override ci/prow/sro-e2e-master
NFD 000__nfd__has_labels/EXPECTED_FAIL correctly tagged
/approve

@dagrayvid @ArangoGutierrez can we merge this?

/override ci/prow/gpu-operator-e2e


Set correct hostname in /meta endpoint

On the Weaviate /meta endpoint.  The hostname should be formatted as: weaviate+[SCHEMA]://[NAME]. For example: weaviate+http://weaviate-b.
This is needed to determine what the name of the host Weaviate is, for example during importing.

Closing as

This is needed to determine what the name of the host Weaviate is, for example during importing.

doesn't seem to be an issue in all our automated importing scripts.
Feel free to reopen if this becomes critical (again).


tvOS support

support for running UTM on tvOS

The AppleTV does not have more than 3GB of RAM, so I do not see how it would make sense.

Debian LXDE works fine with 768 MB of ram, as well as some other Linux distributions.

also note that a jailbreak is absolutely required as normal apps can only access 500 KB of persistent local storage on Apple TV.

But it's a pretty limited configuration in terms of memory and disk storage. The only things you can run are classic DOS, Windows 3.11, macOS 9, and that's it. An iPad with 3GB of RAM struggles to run a linux without desktop GUI for web development. I can imagine that the Apple TV will be worse.
Maybe tvOS support should only be considered if Apple updates the device with the M1 and more RAM. But I do not see them doing that because tvOS was never meant to be more than just a TV streaming and light gaming device.

I have an idea, if I can run UTM on tvOS, then I can run Home assistant, then I can control all non-Homekit devices through siri. This is really great! And the power consumption is extremely low!


Export all power toys settings for quick set-up on new pc.

Description of the new feature / enhancement
Hi, awesome utility you built guys.
It would be great to have a backup feature of the settings, where I can export my settings as a file and then import them on a new pc in order to have all my settings right in place.
I think this would be useful for everyone, thank's.
Scenario when this would be used?
I have a lot of keyboard hotkeys and keys reconfigured to keep consistency through all my systems, I think it would be a good thing to not worrying about having to re-configure everything on a new machine.
Supporting information
No response

/dup #586


Disable ID token authentication for CSR

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

Needs approval from an approver in each of these files:

security/OWNERS

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

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

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
8045d3f25fcb8a0631ae3b33ba251c542b52fcf1
link
/test istio-unit-tests

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


Fix vela init webservice failed

vela init to init a webservice app without parameter.name configured, cause marshalling the cue template to json failed.
Fix #549

It seems an old version of webservice WorkloadDefinition installed, using the wrong parameter.name instead of context.name.

Upgrad to 0.1.0 vela with cleaning up old vela fix the issue.


Dependency package @typescript-eslint/parser has a new version available

We have identified a dependency on version 4.19.0 of @typescript-eslint/parser. A new version (5.24.0) is available for upgrade.
Following are the steps to upgrade package dependency.

Understand the breaking changes between the version being used and the version you want to upgrade to.

Identify all packages that take a dependency on this package.

Go to the root folder for each such package (/sdk/service-name/package-name) and update package.json to have the new version.

Run rush update to ensure the new version is pulled in.

Make relevant changes to absorb the breaking changes.

Repeat steps 3 to 5 for each of the packages that have a dependency on this package.

Pre-requisite to updating this package is updating eslint to v8 i.e. #19219

upgrade to ~5.22.0 in PR #21733


Refreshing content and calling slick on content does not work

I have a usecase where I need to refresh the content of a carousel depending on user activity. When I try to empty the carousel using jQuery empty() and then add content and call slick it does not work. I am not sure if I am missing something trivial here.

====================================================================
http://jsfiddle.net/fmo50w7n/1198/
use this jsfiddle to reproduce your bug:
http://jsfiddle.net/simeydotme/fmo50w7n/
we will likely close your issue without it.
====================================================================
Steps to reproduce the problem

Open Jsfiddle, the carousel shows up correctly.
Click the Click Me button and you will see the carousel does not show up correctly

====================================================================
What is the expected behaviour?
I would expect the carousel to allow me update content manually and still see the expected slides in the carousel.
====================================================================
What is observed behaviour?
The carousel  loses styling.
====================================================================
More Details

Which browsers/versions does it happen on? Chrome 58
Which jQuery/Slick version are you using? Master
Did this work before? No

I think you need to use "destroy", then reInit a slider again with new content, or you can use "refresh" with append like here:
http://jsfiddle.net/fmo50w7n/1203/


Enable cohort filtering for "Predicted Y"

Description
This PR enables cohort filtering capability for "Predicted Y". It enables this by adding the predicted values to the dataframe before the cohort filtering logic using the pandas query function. This PR has the following changes:-

Add predicted y values in all cases in cohort_filter.py. If the predictions are available apriori then it adds those predictions.
Adds tests in test_cohort_filter.py to run tests from PredictionAnalyzer which takes predictions instead of the model.
Enables cohort filtering for Predicted Y case.
Other changes in erroranalysis package to handle scenario when predicted y is present on the filtered data.

Checklist

[ ] I have added screenshots above for all UI changes.
[ ] I have added e2e tests for all UI changes.
[ ] Documentation was updated if it was needed.

Codecov Report

Merging #1722 (4489db9) into main (85d8c60) will increase coverage by 7.86%.
The diff coverage is n/a.

:exclamation: Current head 4489db9 differs from pull request most recent head 307ee96. Consider uploading reports for the commit 307ee96 to get more accurate results

@@            Coverage Diff             @@
##             main    #1722      +/-   ##
==========================================
+ Coverage   89.00%   96.87%   +7.86%
==========================================
  Files         105       12      -93
  Lines        5577      160    -5417
==========================================
- Hits         4964      155    -4809
+ Misses        613        5     -608

Flag
Coverage Δ

unittests
96.87% <ø> (+7.86%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...ranalysis/erroranalysis/_internal/cohort_filter.py

...ranalysis/erroranalysis/_internal/matrix_filter.py

...is/erroranalysis/_internal/surrogate_error_tree.py

responsibleai/responsibleai/_config/__init__.py

...sponsibleai/responsibleai/managers/base_manager.py

...ponsibleai/databalanceanalysis/balance_measures.py

...ponsibleai/responsibleai/_tools/causal/__init__.py

raiwidgets/raiwidgets/model_analysis_dashboard.py

.../responsibleai/modelanalysis/constants/__init__.py

...ai/databalanceanalysis/feature_balance_measures.py

... and 83 more

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


added and and fixed test case

There is a bug in important the function "and" using that way hence I changed it.

[x] Running yarn lint does not trigger any linter warnings
[x] The test of the method you have fixed is passing
[] You have written a new skeleton method for someone else to work on!

Hey @qihaomah  ! Thanks for your contribution.- we are stoked to have you on board. Unfortunately your pull request does not meet all of the criteria of our Contributing Guide. We will be closing out the pull request for the time being. Please follow the guidelines set out in CONTRIBUTING.md and reopen the pull request! Thanks


Fully qualify types in generic synthetic method return types

Previously, when a synthetic method with a generic return type had a type parameter in the same package as the target method, it would not keep its fully qualified name in its synthetic definition, leading to compilation errors seen in na-791b.
For example, ImmutableSet.copyOf returned an ImmutableSet<Feature>, but in its synthetic definition, copyOf returned com.google.common.collect.ImmutableSet<Feature> instead of com.google.common.collect.ImmutableSet<com.github.benmanes.caffeine.cache.Feature>.

I added another test case, as you suggested. For the expected output I put the incorrect one, but I changed the check compilation scripts to ignore the compilation error for this case.

Thanks :) Just changed the comments.


[INFINITY-1794] Set principal on overlay example so that strict succeeds.

@benclarkwood: https://jira.mesosphere.com/browse/INFINITY-1794 is closed.  Is this still needed?

No, overlay is working fine.


Fixed uint32_t calculation overflow bug in ddb_list

The calculation of the size of the next increment of list->list is being calculated using uint32_t sized integers, yet it is possible that the calculation can exceed the maximum value of uint32_t. Encountering this case causes the array of list->list to shrink suddenly to the calculated size minus the max uint32_t value, yet list->size still increases to imply that there is more space available then there is. Later, when the next element is attempted to be added, the value of list->i goes beyond the allocated space of list->list and causes the program to segfault.

@tuulos @pmundkur Are you still maintaining discoDB?

@pombredanne I don't maintain discodb or disco.  @pooya, do you know what the current maintainership status is?


Operator(strings.endsWith)

In GitLab by @evanplaice on Jan 18, 2019, 23:07
strings.endsWith
Search a string to see if it ends with another string
Milestones

[x] implemented
[x] documented
[x] tested
[x] check style

References

string.prototype.endsWith

In GitLab by @evanplaice on Jan 18, 2019, 23:42
changed title from {-7-} to {+Operator(strings.endsWith)+}

In GitLab by @evanplaice on Jan 18, 2019, 23:42
changed the description

In GitLab by @evanplaice on Jan 18, 2019, 23:43
assigned to @evanplaice

In GitLab by @evanplaice on Jan 18, 2019, 23:43
Added in 0.6.0

In GitLab by @evanplaice on Jan 18, 2019, 23:43
closed


default classification

hello, this is great, is there a way to have a default classification, like: 'could not classify this' ?

sorry, just found the solution. use classifier.getClassifications('hi') and if the value  is under 0.9 just set as "no match"


Doesn't work (v. 22631.3085)

The application doesn't run on the very last Windows version
Edition	Windows 11 Home
Version	23H2
Installed on	23.01.2024
OS build	22631.3085
Experience	Windows Feature Experience Pack 1000.22684.1000.0

I can only get V1.4 to work on this version myself..

Can confirm that V4 no longer works either. Goddammit
Edition	Windows 11 Pro
Version	23H2
Installed on	17/01/2024
OS build	22631.3085
Experience	Windows Feature Experience Pack 1000.22684.1000.0

@widavies @PhilipNelson5

Working on a fix

Working on a fix - also I would recommend not immediately updating to Windows Preview builds. I often have to update WinJump for every Windows release and I don't have the time to continually test WinJump on preview releases.

Anyway thank you for your time and your free opensource application.
Unfortunatelly, I'm not a C-developer, that's why I have to pay freelancers to update FreeVD programm after some Windows updates.
https://github.com/hisbvdis/freevd-win-11
The only reason I prefer that program is that it allows not only move, but "copy" windows to different destops.
One of the freelancers told me that your repository helped him to update that program.

Do appreciate the effort it takes, and note the point about not installing preview updates - I should know better...

Do appreciate the effort it takes, and note the point about not installing preview updates - I should know better...

@Chris24main
Hahaha, I'm guilty of the same thing - I use ExplorerPatcher and every once I'll break it by installing a preview update.
I'll try to get updates out as fast as I can - I'm just slow sometimes.
See if this release works for you: https://github.com/widavies/WinJump/releases/tag/2.0.11


GetLocation and ListLocations RPCs not present in Dialogflow CX library

Steps to reproduce

Install the Dialogflow CX Python library: pip install google-cloud-dialogflow-cx
Attempt to use the document google.cloud.locations interface as documented on cloud.google.com: https://cloud.google.com/dialogflow/cx/docs/reference/rpc/google.cloud.location#google.cloud.location.Locations.ListLocations

Expected result
a google.cloud.location interface to be present in the Dialogflow library
Actual result
No google.cloud.location interface and no way to call GetLocation or ListLocation RPCs despite them being documented.
Code example
import google.cloud.location

Stack trace
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'google.cloud.location'

Hey Matt, have you tried list_location and get_location

Those methods work as described in the docs you link but the official documentation on cloud.google.com indicates that a google.cloud.location interface should exist: https://cloud.google.com/dialogflow/cx/docs/reference/rpc/google.cloud.location#google.cloud.location.Locations.ListLocations
Is there something we can do to make sure the documentation and library are consistent?

The documentation you linked is for the REST API, and i believe these functions are available in the rest API.


Support for LDAP

Customer feature request to support LDAP.

Hey,
Not just for ldap but support for other OIDC providers would be great also.

This is unlikely to get prioritized unless we get a paying customer who needs it. It's a lot of work both from a product standpoint and an engineering standpoint. Priorities could change but just warning you :-)

I would love to see this at some point in the future. Setting up SMTP is a bit of a pain especially if I already have an identity provider working for all my other services. I understand the engineering resources issue though.


Solves #1543 :- EV Battery Life Prediction

Description
It can be used in following cases:-
Predictive Maintenance:
Use Case: Fleet managers can use battery life predictions to schedule maintenance proactively, preventing unexpected failures and optimizing vehicle uptime.
Consumer Insights:
Use Case: Individual EV owners can receive insights about when to replace their battery or adjust their charging habits for optimal performance.
Battery Replacement Planning:
Use Case: Automakers can provide customers with accurate predictions for battery replacement timelines, enhancing customer satisfaction and loyalty.
Performance Optimization:
Use Case: EV manufacturers can use predictions to optimize battery management systems, improving overall vehicle performance based on user driving habits and environmental conditions.
Fixes #1543
Type of change

[ ] Added a new machine learning frameworks, libraries or software.
[ yes] Documentation update

Checklist:

[yes ] My code follows the style guidelines of this project
[yes ] I have performed a self-review of my own code
[ yes] I have commented my code, particularly in hard-to-understand areas
[yes ] I have made corresponding changes to the documentation
[yes ] My changes generate no new warnings

@sanjay-kv  Could you please assign me this issue and add gssoc and lvl labels on it.

@sanjay-kv  One last request, please attach a level label on it.

sorry bro ,missed it


[BUG] as_strategy on schema doubles url

The new as_strategy method on BaseSchema does not work as expected:

graphql_schema = ....from_asgi("/graphql/")

class Test(TestCase):
  def test(self, dcase):
    response = dcase.call_asgi()
    response.json()

I get tons of errors because the url becomes suddenly "/graphql/graphql/" which doesn't exist. There is somewhere a bug

Thanks for reporting! I saw this problem when worked on recent PRs, and fixed the case I had, but apparently, there are some more. I'll fix it soon

try using my PR, maybe it helps you catching the invalid answers.
Currently even broken or responses with errors are accepted

This is fixed in 3.24.3

thanks again, now it works without problems (call_asgi with custom checks)


fix: referenceNode memory leak in Manager (#312)

Fixes #312
Instead of storing referenceNode in state, store it in a class property. This is done to enable the component to cleanup referenceNode’s value during unmounting.
I also added unit tests to account for this change, but that resulted in me having to update some dependencies and snapshots to get unit tests to pass.

@FezVrasta please have a look on this when you got some time, thanks 👍

@FezVrasta I've resolved the merge conflicts on the PR. LMK if there's anything else I can do to help get this merged in!

Sorry guys, I'll review/merge it as soon I get a chance. Thank you for your help with this PR!

@FezVrasta any updates? ☺ 😅

For those following this PR, I was able to implement a workaround to this leak by utilizing the referenceElement API on the Popper component.
The one caveat with this is if you want the Popper to render as open at the same time as the referenceElement, you may encounter a bug where the popout is not positioned correctly. This occurs when referenceElement is a ref and current has not been set yet. To get around this, I created a callback ref to track when my referenceElement ref gets updated and force a re-render.
For example:
const targetRed = useRef();
const [shouldRenderPopout, setShouldRenderPopout] = useState(false);
const childrenRef = el => {
  targetRef.current = el;
  if (targetRef.current) {
    setShouldRenderPopout(true);
  }
};

return (
  <Fragement>

Foo

    <Popper referenceElement={targetRef.current} {...props}>
      {/* ...stuff... */}
    </Popper>
  </Fragment>
);

This is effectively what the Manager component is doing- the context API it uses triggers a re-render when its value is updated due to the Object.is check that occurs on context changes.

Great @linusthe3rd. Thanks for sharing. But I guess I could use your PR's fix with https://github.com/ds300/patch-package

The latest merge conflicts have been resolved


Address recovered from EIP712 struct signature differs between Ledger and Wallet implementation

Hi folks,
Working on using the ability to sign a struct with the new Eip712 trait and derive macro but it found a divergence between how the Ledger and the Wallet implementation signs the encoded struct hash, and the signee address that a smart contract returns using a ecrecover function
/// The encoded eip712 payload to be signed.
[141, 121, 46, 2, 93, 58, 190, 150, 20, 195, 88, 218, 130, 150, 197, 99, 184, 149, 178, 157, 188, 156, 138, 181, 49, 221, 19, 132, 203, 97, 135, 151]

/// The Signature that gets returned by signing the payload with a LocalWallet
{
  r:<PHONE_NUMBER>3275451639175808178507952192629851718732781884621688237624443345747,
  s:<PHONE_NUMBER>7199090845628331540487276759362293016997477521278730816100529639948,
  v: 27,
}

/// The address of a keystore file vs the recovered address from a solidity smart contract
0x589aa5f2e23da3cce0e13289c5d6fab2646c2aad = 0x589aa5f2e23da3cce0e13289c5d6fab2646c2aad

/// The Signature that gets returned by signing the payload with a Ledger HW
{
  r:<PHONE_NUMBER>4745245939411447948177125479178002747754055933896495342865066545614,
  s:<PHONE_NUMBER>0408705366957081261318383581626635578079553970907333265222038138021,
  v: 28,
}

///The address of the Ledger HW does not match the recovered address..
0x1CF47b2EE0BF03de1A22De223B2B94Cd9580d942 != 0xac79765881e2de8f54de06dd22a3db96a53b5daf

The smart contract function which I'm using to return the signee:
    function _recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public pure returns (address) {
        require(
            uint256(s) <=
                0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0,
            "ECDSA: invalid signature 's' value"
        );
        require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value");

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        require(signer != address(0), "ECDSA: invalid signature");

        return signer;
    }

I saw that in the LedgerEthereum implementation the sign_message function has some prepending.
https://github.com/gakonst/ethers-rs/blob/c3528b78db973b41b4033b9cfdb61734d59515df/ethers-signers/src/ledger/app.rs#L129
It seems it is necessary for the Ledger HW to be able to sign the message. Could it be possible that this diverges the final recovered address?
I'm trying to fix this, but since it works using the LocalWallet implementation it seems to be an issue with the Ledger implementation.
I add @Ryanmtate to this issue, so he is up to date.

Reading through the ledger app-ethereum I found some documentation on ledger's sign eth eip712 method.
Going to see if I can use this information to fix the sign_typed_data method.

@Ryanmtate please include a firmware check to prevent attempted signing on outdated devices

This command has been supported since firmware version 1.5.0

@Ryanmtate please include a firmware check to prevent attempted signing on outdated devices

This command has been supported since firmware version 1.5.0

I noticed a method to return the ethereum app, but don't immediately know how to check the ledger firmware version.
We could enforce that the ethereum app version must be greater than v1.6.0, which might suffice for preventing unsupported use in older devices.
Will add this check at the very least.


Options are hard to set

What is the expected feature or enhancement?
The Options object is a bit confusing, and the setting of certain parameters is more work than it should be.  The Options class currently has the form:

Options(optimization_level=1, resilience_level=0, log_level='WARNING', transpilation=Transpilation(skip_transpilation=False, initial_layout=None, layout_method=None, routing_method=None, translation_method=None, approximation_degree=None, timing_constraints=None, seed_transpiler=None), execution=Execution(shots=4000, qubit_lo_freq=None, meas_lo_freq=None, rep_delay=None, init_qubits=True), experimental=None)

Indicating that there are primitive wide options such as optimization_level, resilience_level etc, and specific sets of options related to transpilation and execution.  It is a bit confusing because optimization_level is a transpiler keyword argument but is not in the transpilation options.
However, more importantly it is difficult to set the options for execution and transpilation in a straightforward way.  Either one has to import the Transpilation and Execution classes, which are not top level imports and forces users to learn yet another class, or one must modify arguments via accessing attributes. E.g.

options = Options()
options.transpilation.skip_transpilation=True

What this means is that if I am not directly setting these options, eg wrapping some functionality into a call with a primitive, I need to loop over values of dict or place all the kwargs into a signature and then set all of those values for each attribute the object has.  Alternatively it would be nice to have something like
options.transpilation.set_options(trans_options_dict)

so that users can just use a plain dict to set options. Or just allow plain dicts in the call to Options in the first place rather than requiring the internal class types.

@nonhermitian What do you think about passing dictionaries into Options? Something like
options = Options(transpilation={"skip_transpilation": True"})

I had also entertain the thought of accepting kwargs. For example,
Options(skip_transpilation=True)

would be the same as setting transpilation.skip_transpilation=True.

optimization_level is at level 1 because it's considered a frequently used keyword. Moving it to be under transpilation makes it more difficult to set. Having it in both places seems more confusing.

Yeah, that would work.

Fixed by #533. You can now pass a dictionary to each option group, e.g.
options = Options(transpilation={"skip_transpilation": True"})


Feature: FlowRunArtifacts component

Pretty straightforward component that takes a flow run and renders a list of all the artifacts associated with it, split by flow run and task run
Related: https://github.com/PrefectHQ/nebula-ui/issues/2623
Related: https://github.com/PrefectHQ/prefect/issues/9087

Small demo:
https://user-images.githubusercontent.com/27291717/230131414-9198e243-8737-42c6-888b-da5580bdc076.mov

I recall some cards that were clickable to view expanded details within the same route? At some point we may want to consider what expectations we are setting for card clicks generally. Maybe a sort of external link icon or something would be helpful for these, especially since the resulting crumbs don't trail back to the flow run page.

Agreed @brandonreid - I've elected to keep the behavior consistent with the artifacts collection components but a revisit wouldn't be bad


Download logs - Script

Create a script to be able to download the logs of a certain node. For now, don't add admin restrictions.

Hey team! Please add your planning poker estimate with Zenhub @jamiehewitt15 @alexcos20


Publish new version and update GitHub

Hi @petercorke,
We are trying to get the RTB to work with emscripten-forge (which compiles into WebAssembly). @wolfv noticed that the geom2d.py file on pypi contains a weird import:
from ssl import ALERT_DESCRIPTION_HANDSHAKE_FAILURE

Which causes trouble on emscripten-forge. I then noticed that the GitHub repo is out-of-sync (still on version 1.0.0, whereas pypi is at 1.0.1). Is there any chance to remove this odd import, publish a new version 1.0.2, and update the repo?
Many thanks,
Tobi
/cc @jhavl @wolfv

Hi Tobi,
I’ll fix this over the weekend.  I have something weird in my VCS setup, occasionally adds random imports at top of files.
Peter

On 21 Oct 2022, at 1:46 pm, Tobias Fischer @.***> wrote:
Hi @petercorke https://github.com/petercorke,
We are trying to get the RTB to work with emscripten-forge (which compiles into WebAssembly). @wolfv https://github.com/wolfv noticed that the geom2d.py file on pypi contains a weird import:
from ssl import ALERT_DESCRIPTION_HANDSHAKE_FAILURE
Which causes trouble on emscripten-forge. I then noticed that the GitHub repo is out-of-sync (still on version 1.0.0, whereas pypi is at 1.0.1). Is there any chance to remove this odd import, publish a new version 1.0.2, and update the repo?
Many thanks,
Tobi
/cc @jhavl https://github.com/jhavl @wolfv https://github.com/wolfv
—
Reply to this email directly, view it on GitHub https://github.com/petercorke/spatialmath-python/issues/59, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC2BIUWJ7EDHBCC4LYK2YSLWEH7XVANCNFSM6AAAAAARKXKJXA.
You are receiving this because you were mentioned.

@Tobias-Fischer fixed now and on PyPI.  Internet crapped out on me, so only the wheel file got through. Let me know if you need the zip file.

I think the source dist would be preferred. We can also take it from GitHub if you make the tag.

@wolfv the source distro is there now as release 1.0.3.

awesome!

Thanks @petercorke!

It works -- here is a version that runs in the browser and also plots some nice diagrams from the docs :) Only downside is that it's a 70Mb download.
https://wolfv.github.io/try-spatialgeometry/lab?path=spatialmath_demo.ipynb
Btw. I saw that you looked at scikit-geometry for Polygon functions. Unfortunately I haven't found much time to maintain it recently, but would be happy to push a little bit on it to make it easy to install via pip as well.

Thanks Wolf.  I am super excited about WASM.  Is the 70Mb just for SMTB, or does that include dependencies like MPL and NumPy?
Sorry, I’d forgotten about scikit.  I think I ended up using Matplotlib functionality for this, to reduce the number of dependencies that I have.
Peter

On 23 Oct 2022, at 7:12 pm, Wolf Vollprecht @.***> wrote:
It works -- here is a version that runs in the browser and also plots some nice diagrams from the docs :) Only downside is that it's a 70Mb download.
https://wolfv.github.io/try-spatialgeometry/lab?path=spatialmath_demo.ipynb https://wolfv.github.io/try-spatialgeometry/lab?path=spatialmath_demo.ipynb
Btw. I saw that you looked at scikit-geometry for Polygon functions. Unfortunately I haven't found much time to maintain it recently, but would be happy to push a little bit on it to make it easy to install via pip as well.
—
Reply to this email directly, view it on GitHub https://github.com/petercorke/spatialmath-python/issues/59#issuecomment-1288047241, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC2BIUUXANZDPDDGAU2M6CDWETXNPANCNFSM6AAAAAARKXKJXA.
You are receiving this because you were mentioned.

Yes, the 70 mb contain everything including matplotlib and numpy.
No worries, happy that you found a solution with fewer dependencies.

Hi @wolfv , chatting with @jhavl it seems like 30Mb of that is scipy and I can remove those dependencies with a few simple tweaks.  Just need to test and push.


Segmentation fault when running query against virtuoso db.

When running a very simple query against a Virtuoso db I encounter a segmentation fault. When I run the same query in isql, it does return data. So the ODBC connection seems to work.
I'm running Python 3.5 on CentOS 6.7. The database I'm connecting to is: Virtuoso v07.20.3216
See the details below, let me know if you need more info.
Python Code: (py_odbc_virtuoso.py)
#!/usr/local/bin/python3.5
import sys
import pyodbc

def main(argv):
    conn = pyodbc.connect(r'dsn=VOS;uid=dba;pwd=letmein')
    cursor = conn.cursor()
    cursor.execute('SELECT c.id,c.levensnummer as lnr FROM SDF.ib.cows as c')
    rows = cursor.fetchall()
    for row in rows:
        print("id: "+str(row.id))
        print("lnr: "+row.lnr)

if __name__ == "__main__":
    main(sys.argv[1:])

gdb output:
(gdb) run py_odbc_virtuoso.py
Starting program: /usr/local/bin/python3.5 py_odbc_virtuoso.py
[Thread debugging using libthread_db enabled]
id: 1

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff0ef3064 in Row_getattro (o=<value optimized out>, name=0x7ffff7e85fb8) at /home/jacco/download/pyodbc-master/src/row.cpp:182
182             Py_INCREF(self->apValues[i]);

As you can see, it outputs the first column of the first row (id: 1), but not the second column.. there it runs into the segmentation fault.
ODBC trace:
[ODBC][24469][1460469251.800582][__handles.c][450]
        Exit:[SQL_SUCCESS]
            Environment = 0x9e63e0
[ODBC][24469][1460469251.800617][SQLSetEnvAttr.c][182]
        Entry:
            Environment = 0x9e63e0
            Attribute = SQL_ATTR_ODBC_VERSION
            Value = 0x3
            StrLen = 4
[ODBC][24469][1460469251.800631][SQLSetEnvAttr.c][349]
        Exit:[SQL_SUCCESS]
[ODBC][24469][1460469251.800646][SQLAllocHandle.c][364]
        Entry:
            Handle Type = 2
            Input Handle = 0x9e63e0
[ODBC][24469][1460469251.800660][SQLAllocHandle.c][482]
        Exit:[SQL_SUCCESS]
            Output Handle = 0xa1abb0
[ODBC][24469][1460469251.800683][SQLDriverConnectW.c][286]
        Entry:
            Connection = 0xa1abb0
            Window Hdl = (nil)
            Str In = [dsn=VOS;uid=dba;pwd=dba][length = 27]
            Str Out = (nil)
            Str Out Max = 0
            Str Out Ptr = (nil)
            Completion = 0
        UNICODE Using encoding ASCII 'ISO8859-1' and UNICODE 'UCS-2LE'

[ODBC][24469][1460469251.822784][SQLDriverConnectW.c][842]
        Exit:[SQL_SUCCESS]
            Connection Out [[NULL]]
[ODBC][24469][1460469251.822933][SQLSetConnectAttr.c][321]
        Entry:
            Connection = 0xa1abb0
            Attribute = SQL_ATTR_AUTOCOMMIT
            Value = (nil)
            StrLen = -5
[ODBC][24469][1460469251.822956][SQLSetConnectAttr.c][675]
        Exit:[SQL_SUCCESS]
[ODBC][24469][1460469251.823021][SQLGetInfo.c][546]
        Entry:
            Connection = 0xa1abb0
            Info Type = SQL_DRIVER_ODBC_VER (77)
            Info Value = 0x7fffffffdc50
            Buffer Length = 20
            StrLen = 0x7fffffffdc9e
[ODBC][24469][1460469251.823038][SQLGetInfo.c][608]
        Exit:[SQL_SUCCESS]
[ODBC][24469][1460469251.823056][SQLGetInfo.c][546]
        Entry:
            Connection = 0xa1abb0
            Info Type = SQL_DESCRIBE_PARAMETER (10002)
            Info Value = 0x7fffffffdc80
            Buffer Length = 2
            StrLen = 0x7fffffffdc9e
[ODBC][24469][1460469251.823072][SQLGetInfo.c][608]
        Exit:[SQL_SUCCESS]
[ODBC][24469][1460469251.823089][SQLGetInfo.c][546]
        Entry:
            Connection = 0xa1abb0
            Info Type = SQL_NEED_LONG_DATA_LEN (111)
            Info Value = 0x7fffffffdc80
            Buffer Length = 2
            StrLen = 0x7fffffffdc9e
[ODBC][24469][1460469251.823115][SQLGetInfo.c][608]
        Exit:[SQL_SUCCESS]
[ODBC][24469][1460469251.823132][SQLAllocHandle.c][529]
        Entry:
            Handle Type = 3
            Input Handle = 0xa1abb0
[ODBC][24469][1460469251.823159][SQLAllocHandle.c][1064]
        Exit:[SQL_SUCCESS]
            Output Handle = 0xa43340
[ODBC][24469][1460469251.823184][SQLGetTypeInfo.c][164]
        Entry:
            Statement = 0xa43340
            Data Type = SQL_TYPE_TIMESTAMP
[ODBC][24469][1460469251.823424][SQLGetTypeInfo.c][314]
        Exit:[SQL_SUCCESS]
[ODBC][24469][1460469251.823445][SQLFetch.c][158]
        Entry:
            Statement = 0xa43340
[ODBC][24469][1460469251.823463][SQLFetch.c][340]
        Exit:[SQL_SUCCESS]
[ODBC][24469][1460469251.823486][SQLGetData.c][233]
        Entry:
            Statement = 0xa43340
            Column Number = 3
            Target Type = 4 SQL_INTEGER
            Buffer Length = 4
            Target Value = 0x7fffffffdc98
            StrLen Or Ind = (nil)
[ODBC][24469][1460469251.823508][SQLGetData.c][497]
        Exit:[SQL_SUCCESS]
            Buffer = [19]
            Strlen Or Ind = NULLPTR
[ODBC][24469][1460469251.823524][SQLGetTypeInfo.c][164]
        Entry:
            Statement = 0xa43340
            Data Type = SQL_VARCHAR
[ODBC][24469][1460469251.823538][SQLGetTypeInfo.c][186]Error: 24000
[ODBC][24469][1460469251.823565][SQLGetTypeInfo.c][164]
        Entry:
            Statement = 0xa43340
            Data Type = Unknown(-9)
[ODBC][24469][1460469251.823579][SQLGetTypeInfo.c][186]Error: 24000
[ODBC][24469][1460469251.823598][SQLGetTypeInfo.c][164]
        Entry:
            Statement = 0xa43340
            Data Type = SQL_BINARY
[ODBC][24469][1460469251.823613][SQLGetTypeInfo.c][186]Error: 24000
[ODBC][24469][1460469251.823642][SQLFreeStmt.c][140]
        Entry:
            Statement = 0xa43340
            Option = 0
[ODBC][24469][1460469251.823717][SQLFreeStmt.c][246]
        Exit:[SQL_SUCCESS]
[ODBC][24469][1460469251.823740][SQLAllocHandle.c][529]
        Entry:
            Handle Type = 3
            Input Handle = 0xa1abb0
[ODBC][24469][1460469251.823763][SQLAllocHandle.c][1064]
        Exit:[SQL_SUCCESS]
            Output Handle = 0xa55e10
[ODBC][24469][1460469251.823788][SQLFreeStmt.c][140]
        Entry:
            Statement = 0xa55e10
            Option = 0
[ODBC][24469][1460469251.823856][SQLFreeStmt.c][246]
        Exit:[SQL_SUCCESS]
[ODBC][24469][1460469251.823879][SQLExecDirectW.c][173]
        Entry:
            Statement = 0xa55e10
            SQL = [SELECT c.id,c.levensnummer as lnr FROM SDF.ib.cows as c][length = 55 (SQL_NTS)]
[ODBC][24469][1460469251.824129][SQLExecDirectW.c][432]
        Exit:[SQL_SUCCESS]
[ODBC][24469][1460469251.824149][SQLRowCount.c][169]
        Entry:
            Statement = 0xa55e10
            Row Count = 0x7fffffffde18
[ODBC][24469][1460469251.824165][SQLRowCount.c][240]
        Exit:[SQL_SUCCESS]
            Row Count = 0x7fffffffde18 -> -1
[ODBC][24469][1460469251.824184][SQLNumResultCols.c][152]
        Entry:
            Statement = 0xa55e10
            Column Count = 0x7fffffffde2e
[ODBC][24469][1460469251.824204][SQLNumResultCols.c][244]
        Exit:[SQL_SUCCESS]
            Count = 0x7fffffffde2e -> 2
[ODBC][24469][1460469251.824224][SQLDescribeCol.c][243]
        Entry:
            Statement = 0xa55e10
            Column Number = 1
            Column Name = 0x7fffffffdca0
            Buffer Length = 200
            Name Length = 0x7fffffffdd7e
            Data Type = 0x7fffffffdd7c
            Column Size = 0x7fffffffdd70
            Decimal Digits = 0x7fffffffdd7a
            Nullable = 0x7fffffffdd78
[ODBC][24469][1460469251.824243][SQLDescribeCol.c][493]
        Exit:[SQL_SUCCESS]
            Column Name = [id]
            Data Type = 0x7fffffffdd7c -> 4
            Column Size = 0x7fffffffdd70 -> 10
            Decimal Digits = 0x7fffffffdd7a -> 0
            Nullable = 0x7fffffffdd78 -> 1
[ODBC][24469][1460469251.824262][SQLColAttribute.c][286]
        Entry:
            Statement = 0xa55e10
            Column Number = 1
            Field Identifier = SQL_DESC_UNSIGNED
            Character Attr = (nil)
            Buffer Length = 0
            String Length = (nil)
            Numeric Attribute = 0x7fffffffdd68
[ODBC][24469][1460469251.824280][SQLColAttribute.c][657]
        Exit:[SQL_SUCCESS]
[ODBC][24469][1460469251.824296][SQLDescribeCol.c][243]
        Entry:
            Statement = 0xa55e10
            Column Number = 2
            Column Name = 0x7fffffffdca0
            Buffer Length = 200
            Name Length = 0x7fffffffdd7e
            Data Type = 0x7fffffffdd7c
            Column Size = 0x7fffffffdd70
            Decimal Digits = 0x7fffffffdd7a
            Nullable = 0x7fffffffdd78
[ODBC][24469][1460469251.824315][SQLDescribeCol.c][493]
        Exit:[SQL_SUCCESS]
            Column Name = [lnr]
            Data Type = 0x7fffffffdd7c -> 12
            Column Size = 0x7fffffffdd70 -> 255
            Decimal Digits = 0x7fffffffdd7a -> 0
            Nullable = 0x7fffffffdd78 -> 1
[ODBC][24469][1460469251.824340][SQLDescribeCol.c][243]
        Entry:
            Statement = 0xa55e10
            Column Number = 1
            Column Name = 0x7fffffffdc60
            Buffer Length = 300
            Name Length = (nil)
            Data Type = 0x7fffffffdd9e
            Column Size = 0x7fffffffdd90
            Decimal Digits = 0x7fffffffdd9c
            Nullable = 0x7fffffffdd9a
[ODBC][24469][1460469251.824359][SQLDescribeCol.c][493]
        Exit:[SQL_SUCCESS]
            Column Name = [id]
            Data Type = 0x7fffffffdd9e -> 4
            Column Size = 0x7fffffffdd90 -> 10
            Decimal Digits = 0x7fffffffdd9c -> 0
            Nullable = 0x7fffffffdd9a -> 1
[ODBC][24469][1460469251.824385][SQLDescribeCol.c][243]
        Entry:
            Statement = 0xa55e10
            Column Number = 2
            Column Name = 0x7fffffffdc60
            Buffer Length = 300
            Name Length = (nil)
            Data Type = 0x7fffffffdd9e
            Column Size = 0x7fffffffdd90
            Decimal Digits = 0x7fffffffdd9c
            Nullable = 0x7fffffffdd9a
[ODBC][24469][1460469251.824404][SQLDescribeCol.c][493]
        Exit:[SQL_SUCCESS]
            Column Name = [lnr]
            Data Type = 0x7fffffffdd9e -> 12
            Column Size = 0x7fffffffdd90 -> 255
            Decimal Digits = 0x7fffffffdd9c -> 0
            Nullable = 0x7fffffffdd9a -> 1
[ODBC][24469][1460469251.824426][SQLFetch.c][158]
        Entry:
            Statement = 0xa55e10
[ODBC][24469][1460469251.824442][SQLFetch.c][340]
        Exit:[SQL_SUCCESS]
[ODBC][24469][1460469251.824458][SQLGetData.c][233]
        Entry:
            Statement = 0xa55e10
            Column Number = 1
            Target Type = 4 SQL_INTEGER
            Buffer Length = 4
            Target Value = 0x7fffffffde0c
            StrLen Or Ind = 0x7fffffffddf8
[ODBC][24469][1460469251.824475][SQLGetData.c][497]
        Exit:[SQL_SUCCESS]
            Buffer = [1]
            Strlen Or Ind = 0x7fffffffddf8 -> 8
[ODBC][24469][1460469251.824491][SQLFetch.c][158]
        Entry:
            Statement = 0xa55e10
[ODBC][24469][1460469251.824508][SQLFetch.c][340]
        Exit:[SQL_SUCCESS]
[ODBC][24469][1460469251.824524][SQLGetData.c][233]
        Entry:
            Statement = 0xa55e10
            Column Number = 1
            Target Type = 4 SQL_INTEGER
            Buffer Length = 4
            Target Value = 0x7fffffffde0c
            StrLen Or Ind = 0x7fffffffddf8
[ODBC][24469][1460469251.824540][SQLGetData.c][497]
        Exit:[SQL_SUCCESS]
            Buffer = [2]
            Strlen Or Ind = 0x7fffffffddf8 -> 8
[ODBC][24469][1460469251.824556][SQLFetch.c][158]
        Entry:
            Statement = 0xa55e10
[ODBC][24469][1460469251.824573][SQLFetch.c][340]
        Exit:[SQL_NO_DATA]

I've encountered this same issue for about the last two years, except for the fact that the pyodbc.so built around 2013 still do not segfault while newer ones after do (from around 2015 onwards; in my case it may be due to changes made in Ubuntu 14.04).  All versions rebuilt against whatever system level changes (probably with virtuoso and/or other packages) resulted in this broken shared object. A workaround is to clone the virtuoso-opensource repository and build that manually, and modify the Driver key in the VOS section in the odbc.ini file to the locally compiled virtodbc.so file.  Example:
[VOS]
Driver = /home/build/virtuoso-opensource/binsrc/driver/.libs/virtodbc.so
...

Doing this eliminated the segmentation fault issue, even though the compiled version was the stable/7 branch talking to a server running Virtuoso 6.1.6; this was done due to compilation error while trying to build using that tag.  Might be why this ultimately segfaulted, maybe.

Wow.  There is clearly a problem but I am not seeing what it could be at this point.
Can you add a couple of printf statements?
if (index)
{
    printf("index ptr=%p\n", index);
    Py_ssize_t i = PyNumber_AsSsize_t(index, 0);
    printf("i=%ld c=%ld\n", (long)i, (long)self->cValues);
    Py_INCREF(self->apValues[i]);
    return self->apValues[i];
}

Sorry, as it turns out the issue is not quite the same.  I was sure I had a configuration that resulted in the same failure point, but now the segmentation fault happened at connection time in my case (more similar to #97 in that case).  In any case, this is a bit more information in the form of a stacktrace.
Starting program: /home/build/work/git/pyodbc/.env/bin/python
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Python 2.7.6 (default, Oct 26 2016, 20:30:19)
[GCC 4.8.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyodbc
>>> conn = pyodbc.connect(r'dsn=VOS;uid=dba;pwd=dba')

Program received signal SIGSEGV, Segmentation fault.
0x0000000000564812 in PyDict_SetItem ()
(gdb) bt
#0  0x0000000000564812 in PyDict_SetItem ()
#1  0x00007ffff637c19c in GetConnectionInfo (
    pConnectionString=pConnectionString@entry=0x7ffff7ec2d20,
    cnxn=cnxn@entry=0x7ffff5157af8) at src/cnxninfo.cpp:174
#2  0x00007ffff6383e1f in Connection_New (pConnectString=0x7ffff7ec2d20,
    fAutoCommit=<optimized out>, fAnsi=<optimized out>,
    fUnicodeResults=<optimized out>, timeout=timeout@entry=0,
    fReadOnly=<optimized out>, attrs_before=0x0) at src/connection.cpp:291
#3  0x00007ffff63848da in mod_connect (self=<optimized out>,
    args=<optimized out>, kwargs=<optimized out>) at src/pyodbcmodule.cpp:416
#4  0x0000000000523f6d in PyEval_EvalFrameEx ()
#5  0x0000000000567d14 in ?? ()
#6  0x0000000000465a2d in PyRun_InteractiveOneFlags ()
#7  0x0000000000465b49 in PyRun_InteractiveLoopFlags ()
#8  0x00000000004661fe in PyRun_AnyFileExFlags ()
#9  0x0000000000466d92 in Py_Main ()
#10 0x00007ffff7818f45 in __libc_start_main (main=0x466e50 <main>, argc=1,
    argv=0x7fffffffe068, init=<optimized out>, fini=<optimized out>,
    rtld_fini=<optimized out>, stack_end=0x7fffffffe058) at libc-start.c:287
#11 0x0000000000577c2e in _start ()
(gdb)

This is using the standard Ubuntu 14.04 virtuoso libraries, running against pyodbc master (153ca0e365).

@JaccoSpek Hi, maybe I meet the same question with you. Can you provide your odbc.ini in /etc/ I got error
pyodbc.Error: ('IM002', '[IM002] [unixODBC][Driver Manager]Data source name not found, and no default driver specified (0) (SQLDriverConnect)')
when I run
conn = pyodbc.connect(r'dsn=VOS;uid=dba;pwd=dba')
my /etc/odbc.ini is as follow:
[VOS]     Description = Open Virtuoso     Driver      = /usr/local/KnowledgeBase/VirtuosoKG/lib/virtodbcu_r.so     Address     = localhost:1111     Locale      = en.UTF-8
Thanks everyone can help me.

Closed due to inactivity. Feel free to re-open with current information if necessary.


rxjs is library dependency

move rxjs to dependencies, because it used in source code 🙌🏻

You are damn right! Thanks!


Replaces reference to workspace1_SynapseAdmins

Replaces reference to workspace1_SynapseAdmins with workspace1_SynapseAdministrators.
Guide instructs reader to create workspace1_SynapseAdministrators security group but later references workspace1_SynapseAdmins. One occurrence.

@justinjbird : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

#sign-off
@justinjbird thank you for the fix, we will merge this PR soon.

#sign-off

@SnehaGunda: I'm sorry - only the author of this article, @meenalsri, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


add format param to toArray

this allows exporting headers in raw or encoded form

is zend-mail no longer maintained? or why such trivial PR is not responded?

@glensc
We are currently working on other components.
In the meantime you can add unit tests.

and so are other my tickets just quiet:

#69
#64 - this is actually blocker why i can't use this library in my project

Closed due lack of tests

test is included

I have concerns about the new argument.
I think is best to declare a new method like toArrayRaw, toArrayEncoded and deprecate old method toArray

Additionally I have doubts about why this feature is required. Could you elaborate why we should merge this?

it's needed when attempting to reconstruct mail object because Message() constructor needs input in raw format not to throw exception.

i added as parameter as other methods seemed to have similar interface: public function getFieldValue($format = HeaderInterface::FORMAT_RAW), seemed more consistent.

@Maks3w the PR proposed by @glensc makes sense to me. I'm going to merge it.

@glensc Thanks for the PR and sorry for the delay!

@ezimuel thanks and any pointers how to get this to 2.4 branch?

This is not a critical bug fix. It won't be backported to 2.4.

Yet it the change does not break anything. i need php5.3 support

@glensc The release process for 2.4 requires a release of the entire framework, which is why we only do so for critical or security fixes.
If you require the functionality in that version, you can also extend the class to add it, and consume your extending class within your own code.

@weierophinney extending is not possible usually as hardcoded class names in the framework.
for example i can not override getFieldValue because all classes extend from GenericHeader, not the class i wrote to extend GenericHeader. note this is just example why extending is always not possible to patch functionality.

@weierophinney i'd be happy if the change just lands in 2.4 tree, whenever next 2.4 release is actually happening. then the fork i maintain (for composer use) would not diverge from upstream code.


dns-prefetch-check failing www.google-analytics.com

I did not make any changes to the links in the site, but started seeing this error.
✖ FAIL dns-prefetch-check www.google-analytics.com
expected: DNS exists www.google-analytics.com
actual: self signed certificate
at: public/404.html:1:6092 <link rel="preconnect dns-prefetch" href="https://www.google-analytics.com">

I have exactly the same errors:
✖ FAIL dns-prefetch-check www.google-analytics.com
5:00:53 PM:   | operator: dns-prefetch-check
5:00:53 PM:   | expected: DNS exists www.google-analytics.com
5:00:53 PM:   |   actual: self signed certificate
5:00:53 PM:   |       at: public/404.html:1:22575 <link rel="preconnect dns-prefetch" href="https://www.google-analytics.com">

Anyone knows how to fix this?

me too

I get the some error for Google Fonts:
11:39:36 PM:   ✖ FAIL preconnect-check https://fonts.gstatic.com
11:39:36 PM:   | operator: preconnect-check
11:39:36 PM:   | expected: connection accepted https://fonts.gstatic.com
11:39:36 PM:   |   actual: self signed certificate
11:39:36 PM:   |       at: build/index.html:1:589 <link rel="preconnect" href="https://fonts.gstatic.com">

I get the some error for Google Fonts:
11:39:36 PM:   ✖ FAIL preconnect-check https://fonts.gstatic.com
11:39:36 PM:   | operator: preconnect-check
11:39:36 PM:   | expected: connection accepted https://fonts.gstatic.com
11:39:36 PM:   |   actual: self signed certificate
11:39:36 PM:   |       at: build/index.html:1:589 <link rel="preconnect" href="https://fonts.gstatic.com">

Did you find a solution for this?

Did you find a solution for this?

I haven't looked into a fix for this, but I used this workaround for the moment (in the netlify.toml File):
[[plugins]]
  package = "netlify-plugin-checklinks"

  [plugins.inputs]
    skipPatterns = ['https://fonts.gstatic.com']

You can probably use the same workaround for www.google-analytics.com

I haven't looked into a fix for this, but I used this workaround for the moment (in the netlify.toml File):
[[plugins]]
  package = "netlify-plugin-checklinks"

  [plugins.inputs]
    skipPatterns = ['https://fonts.gstatic.com']

You can probably use the same workaround for www.google-analytics.com

Oh this worked for now, thank you!
Ben Colwell
Creative Director
Rubberduck
0867377087
www.rubberduck.ie

From: Sybil Ehrensberger<EMAIL_ADDRESS>Sent: Thursday, January 14, 2021 12:07:12 PM
To: Munter/netlify-plugin-checklinks<EMAIL_ADDRESS>Cc: bcolwell<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [Munter/netlify-plugin-checklinks] dns-prefetch-check failing www.google-analytics.com (#133)
I haven't looked into a fix for this, but I used this workaround for the moment (in the netlify.toml File):
[[plugins]]
package = "netlify-plugin-checklinks"
[plugins.inputs]
skipPatterns = ['https://fonts.gstatic.com']
You can probably use the same workaround for www.google-analytics.com
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/Munter/netlify-plugin-checklinks/issues/133#issuecomment-760155734, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGICD47YNQZBLLIG4NB63PLSZ3M7BANCNFSM4N364X4Q.

Oh this worked for now, thank you!
Ben Colwell
Creative Director
Rubberduck
0867377087
www.rubberduck.ie

From: Sybil Ehrensberger<EMAIL_ADDRESS>Sent: Thursday, January 14, 2021 12:07:12 PM
To: Munter/netlify-plugin-checklinks<EMAIL_ADDRESS>Cc: bcolwell<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [Munter/netlify-plugin-checklinks] dns-prefetch-check failing www.google-analytics.com (#133)
I haven't looked into a fix for this, but I used this workaround for the moment (in the netlify.toml File):
[[plugins]]
package = "netlify-plugin-checklinks"
[plugins.inputs]
skipPatterns = ['https://fonts.gstatic.com']
You can probably use the same workaround for www.google-analytics.com
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/Munter/netlify-plugin-checklinks/issues/133#issuecomment-760155734, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGICD47YNQZBLLIG4NB63PLSZ3M7BANCNFSM4N364X4Q.

Oh this worked for now, thank you!
Ben Colwell
Creative Director
Rubberduck
0867377087
www.rubberduck.ie

From: Sybil Ehrensberger<EMAIL_ADDRESS>Sent: Thursday, January 14, 2021 12:07:12 PM
To: Munter/netlify-plugin-checklinks<EMAIL_ADDRESS>Cc: bcolwell<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [Munter/netlify-plugin-checklinks] dns-prefetch-check failing www.google-analytics.com (#133)
I haven't looked into a fix for this, but I used this workaround for the moment (in the netlify.toml File):
[[plugins]]
package = "netlify-plugin-checklinks"
[plugins.inputs]
skipPatterns = ['https://fonts.gstatic.com']
You can probably use the same workaround for www.google-analytics.com
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/Munter/netlify-plugin-checklinks/issues/133#issuecomment-760155734, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGICD47YNQZBLLIG4NB63PLSZ3M7BANCNFSM4N364X4Q.

Oh this worked for now, thank you!
Ben Colwell
Creative Director
Rubberduck
0867377087
www.rubberduck.ie

From: Sybil Ehrensberger<EMAIL_ADDRESS>Sent: Thursday, January 14, 2021 12:07:12 PM
To: Munter/netlify-plugin-checklinks<EMAIL_ADDRESS>Cc: bcolwell<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [Munter/netlify-plugin-checklinks] dns-prefetch-check failing www.google-analytics.com (#133)
I haven't looked into a fix for this, but I used this workaround for the moment (in the netlify.toml File):
[[plugins]]
package = "netlify-plugin-checklinks"
[plugins.inputs]
skipPatterns = ['https://fonts.gstatic.com']
You can probably use the same workaround for www.google-analytics.com
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/Munter/netlify-plugin-checklinks/issues/133#issuecomment-760155734, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGICD47YNQZBLLIG4NB63PLSZ3M7BANCNFSM4N364X4Q.

I haven't looked into a fix for this, but I used this workaround for the moment (in the netlify.toml File):
[[plugins]]
  package = "netlify-plugin-checklinks"

  [plugins.inputs]
    skipPatterns = ['https://fonts.gstatic.com']

You can probably use the same workaround for www.google-analytics.com

I just tried this fix, replacing it with google analytics and it worked like a charm! Thanks!

I haven't looked into a fix for this, but I used this workaround for the moment (in the netlify.toml File):
[[plugins]]
  package = "netlify-plugin-checklinks"

  [plugins.inputs]
    skipPatterns = ['https://fonts.gstatic.com']

You can probably use the same workaround for www.google-analytics.com

I just tried this fix, replacing it with google analytics and it worked like a charm! Thanks!

@mfanuzzi I doubt that Google is using a self-signed certificate. I would say it's more likely that some random network error or intercept is occurring, or that the netlify runner is a container with outdated root-level certificates. None of those are issues I can really do anything about.


Closing this because there's too many people talking about too many different issues. Please open new separate issues if you need help.

I still have the issue of Error generating code !! and both backend and frontend run correctly

Closing due to inactivity


~aec variant needed for int2lm

https://github.com/C2SM/spack-c2sm/commit/c285910fd6ad13e9871d814c529f7fc422760386
removed aec as variant from cosmo-eccodes-definitions, but int2lm still needs that option.

@PanicSheep Could you fix this?

this also confirms that for the new testing it is important that we thoroughly tests all the dependent packages, since we thought it would impact cosmo, but didnt realize also int2lm had the ~aec.
I think we should also remove ~aec from int2lm
https://github.com/C2SM/spack-c2sm/blob/308dceb6fbc7eb2100bfc262cf3dea714150524b/packages/int2lm/package.py#L51
but we need to find a solution first created by
https://github.com/C2SM/spack-c2sm/pull/300

since I reverted #300, I removed the bug label

No more "aec" in int2lm.


dive discord takes to general channel

Steps to Reproduce
Steps to reproduce the behavior:

run dive discord command
It takes to general channel

Expected Behavior
Expected to take to dive channel

@hemz10 https://discord.gg/GyRQSBN3Cu

Closing this issue as fixed


LP-Tokens are lost after sending to own wallet-address

What happened:
This issue is also reportet at https://github.com/DeFiCh/ain/issues/949 as it is not clear on which side exists the bug.
And because i need to put awareness onto a big problem, what could even result in an unwanted liquidation of my vault as seriously i have no control over two of my LP-Token's.
I transfered all my LP-Token's to my own android-wallet-address today in the morning.
Two of them (dSLV-dUSD and dTLT-dUSD) are not shown in my light-wallet anymore since this moment.
It is also not shown at defichain-income.com they, thats why i report my bug here and not at the wallet-repository.
I checked my transactions (everything since Block 1426883 .. as this seems to be my first transaction - and also the one of the LP-Token was is missing now - dSLV-dUSD). But the transactions show all my correct wallet-address (in the IN-transaction).
What is interisting: defiscan.live still shows the correct LP-Tokens balances, here everything looks correct, so the tokens are there but not shown anywhere else.
But serously i wonder if i get rewards for that Pools now, when the light-wallet and even defichain-income.com already don't "recongize" them as existing.
I also wonder if there is a way to see from where the rewards are coming that i get, in other words if the rewards from that pools are inlcuded or if they are sadly lost.
What you expected to happen:
The LP-Tokens schould be visible.
How to reproduce it (as minimally and precisely as possible):
I have no idea .. just do the same like me with much LP-Tokens.
Anything else we need to know?:
My wallet-address is: df1q73d6tqdxyq4crccwh0nklmgzjprv25e3nvzgc2
(you can check by yourself what happened)

One more important note .. i tried to fix the visiblity-problem with adding some more token to the dSLV-dUSD-Pool, but with no luck .. the wallet still don't show the pool(s), same on defichain-income.com .. but the amount of token increased on defiscan.live .. to the blockchain at least is aware of my tokens.

So actualy there is no way for me to remove my token from those both pools (dSLV-dUSD and dTLT-dUSD).

As in the https://github.com/DeFiCh/ain/issues/949 exposed the blockchain seems does correctly everthing, even rewards are distributed to my wallet as the "listaccounthistory" shows.
The fault seems to lie on the wallet-side or in the interface between wallet and blockchain and should be followed up here.

I checked now manually (in google-playstore) again if there is an update for the wallet and yes there is (in the night this didn't show up on my phone) .. the updated solved the problem how it seems. I see the missing pools now and can remove token from them.
So the ticket can be closed.

Thank you @baerpunkt! Might be a caching issue and got resolved on app restart


List multiple matched commands.

When multiple commands match, list them all.
Change example to an existing command.

Super - thanks :-)

I've merged that - thank you very much!
I had to gofmt it!


boards: tlsr9518adk80d: Disable testing due to invalid linker script

This commit disables testing for the tlsr9518adk80d platform because
it contains an invalid linker script (overlapping memory region) and
cannot be compiled using the current version of the Zephyr SDK (0.15.0
at the time of making this change).
Revert this commit to re-enable testing for this platform once the
GitHub issue #49036 is fixed.
Signed-off-by: Stephanos Ioannidis<EMAIL_ADDRESS>NOTE: This is to be merged after the Zephyr SDK 0.15.0 is mainlined and the minimum required Zephyr SDK version is updated to 0.15.0.
NOTE2: This PR should be closed if #49036 is fixed before the Zephyr SDK 0.15.0 is mainlined.

To be merged as part of https://github.com/zephyrproject-rtos/zephyr/pull/49496

Merged as part of #49496


docs: Weyland-Yutani parser tutorial

Long-overdue tutorial for Weyland-Yutani parser example.

ping @mdlu

@mdlu thanks for the feedback - I think this one is ready to merge


No correlation-id in log when 504 error occurred

Summary
No correlation-id when kong receive timeout from upstream server (504 error)

Steps To Reproduce

Configure kong with correlation-id plugin
Shutdown backend service behind loadbalancer
Send request to backend through kong
Receive timeout(504) and log without correlation-id (if that matters we use format uuid#counter)

Additional Details

Kong version 1.2.0
Operating system - Docker

Already fixed in #6085 .
But thanks for the report anyway 👍


Add simple Python Programs

Each python program must be in a separate file
Keep it at a beginner's level
Please add in documentation as and when necessary

Please tell me what to add :)
with example :)
i can add sezar encoder and decoder. its good ?

@mr-tafreshi, yup, sounds good! The simple calculator code can be taken as an example

Can I contribute to this repository? I can add URL Shortener or Music Player. @Akshu-on-github

@prathimacode-hub, go ahead! 😄

Thank you for providing me with this opportunity to collaborate.

what I will do on this?

Hey there, @tausiq2003 - you can make an (original, non-plagiarized) addition to the collection of beginner level python scripts!
This repo is something that I use for workshops and the like where I encourage newcomers to make their first contributions, so have at it 😁

Yeah can I add new password generated code

Sure thing!

Thanks

ok i am now add passwordgenerator code

Ok now I am adding password generated code please merge it


[feat] Does Tauri support static resources(html/css/images/fonts) hot update？

Describe the problem
I want to use static resource hot update to make better user experience when there is a need for update.
Describe the solution you'd like
Look forward to your reply.
Alternatives considered
No response
Additional context
No response

Currently this is not supported, but we've recently worked on some building blocks for it like https://github.com/tauri-apps/tauri/pull/9141
Also, potentially related to https://github.com/tauri-apps/tauri/issues/5302

Currently this is not supported, but we've recently worked on some building blocks for it like #9141
Also, potentially related to #5302

Get it. Thanks!


Added header support for multiple values for same key

In this pr I hope I have a solution to the issue 342
close #343

This looks good to me. What is wrong with the travis though? Let me rerun.

Oh sorry! I didn't get notifications for the last requests @kittinunf and @markGilchrist :
I'm looking at what was merged and it looks good! No brackets and the delimiter is a semi-colon. Seems to me that this is as it should be 💯

@SleeplessByte Glad it is ok I am keen to look other issues now


Custom TLS1.3 Certificate Message Extension not working on client side

We are currently using openssl-1.1.1l and try to have custom tls1.3 extensions in the certificate messages send from the server as well as the client.
According to the specification:
Extensions in the Certificate message from the server MUST
correspond to ones from the ClientHello message. Extensions in
the Certificate message from the client MUST correspond to
extensions in the CertificateRequest message from the server.

So we tried registering the custom extensions on the client as well as the server side like this:
SSL_CTX_add_custom_ext(
   ctx,
   456,
   SSL_EXT_TLS1_3_CERTIFICATE | SSL_EXT_CLIENT_HELLO | SSL_EXT_TLS1_3_CERTIFICATE_REQUEST,
   callbackAddExtension,
   callbackFreeExtension,
   nullptr,
   callbackParseExtension,
   nullptr
);

That way we can have our custom extension in the client hello so that the server can respond to that extension in its certificate message. Furthermore the server can add the extension to its certificate request so that the client can respond to the extension in its certificate message.
In the servers addExtensionCallback we add our extension data to the certificate message and append a placeholder extension to the certificate request like this:
if (extType == 456) {
	// if we are sending our certificate add our extension data
	if (context == SSL_EXT_TLS1_3_CERTIFICATE) {
		const char* customData = "Test Extension Data";

		*out = new unsigned char[strlen(customData)];
		memcpy((void*)*out, &customData, strlen(customData));
		*outlen = strlen(customData);
	}

	// if we are in the certificate request context, add our extension placeholder
	if (context == SSL_EXT_TLS1_3_CERTIFICATE_REQUEST) {
		*out = new unsigned char[1];
		*outlen = 1;
	}
}

On the clients side in the addExtensionCallback we do basically the same. However this time we add a placeholder extension to the client hello like this.
if (extType == 456) {
	if (context == SSL_EXT_TLS1_3_CERTIFICATE) {
		const char* customData = "Test Extension Data";

		*out = new unsigned char[strlen(customData)];
		memcpy((void*)*out, &customData, strlen(customData));
		*outlen = strlen(customData);
	}

	if (context == SSL_EXT_CLIENT_HELLO) {
		*out = new unsigned char[1];
		*outlen = 1;
	}
}

The server is correctly setting the extension data in the certificate message. The client however doesnt. The clients addExtensionCallback is never called for the SSL_EXT_TLS1_3_CERTIFICATE context although we saw that the placeholder extension was indeed correctly set in the servers SSL_EXT_TLS1_3_CERTIFICATE_REQUEST.
We also force client authentication SSL_CTX_set_verify(ctx, SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT, nullptr); and we also checked that the certificate sent from the client was the expected one.
From our opinion this should be the correct way to do it but maybe there is still a logical problem. If needed we can also provide a minimal runnable example of the server and the clients code.
Maybe someone got an idea whats going wrong here.
Thanks in advance.

This appears to be a bug in OpenSSL. Looking at it...

Fix for this in #16634

Thank you very much!


python311Packages.dask-awkward: adjust inputs

Description of changes
Fix build (https://hydra.nixos.org/build/251062636)

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

4 packages built:

python311Packages.coffea
python311Packages.coffea.dist
python311Packages.dask-awkward
python311Packages.dask-awkward.dist


Add pnp "fail-open" monitoring to combiner

Ensure we have monitoring in the combiner for fail-open logic since we don't have visibility into prometheus metrics for partner signers. The combiner monitoring should be based intelligently off of the warning messages returned by signers
https://github.com/celo-org/celo-monorepo/blob/f53dae76000d8d86f31149805e341d93a248c64d/packages/phone-number-privacy/signer/src/pnp/endpoints/sign/action.ts#L66

Sprint planning:

Got a PR up (responded to Eela's comments), hasn't added unit tests yet.


fix tooltip display in table

Please makes sure these boxes are checked before submitting your PR, thank you!

[ ] Make sure you follow Element's Contributing Guide.
[ ] Rebase before creating a PR to keep commit history clear.
[ ] Add some descriptions and refer relative issues for you PR.

#344 #394


Change kyma upgrade from main to 2.0.2 in periodic-main-kyma-incubator-reconciler-kyma1-kyma2-upgrade

Description
The pipeline periodic-main-kyma-incubator-reconciler-kyma1-kyma2-upgrade currently upgrades kyma1 to main, but we want it to upgrade it to a released kyma2 version, which is currently 2.0.2
Changes proposed in this pull request:

curl request want to upgrade to kyma 2.0.2
...
...

Related issue(s)

 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.


ALP-80: add github workflow for doxygen

add github workflow config for generating doxygen website

Bypassing approval request: CI pipeline testing


Veency bug : no "left click" -> Touch screen

Here is the latest veency problem we have on iOS 11.
I'm sure one good dev / hacker can help :)
How to install veency on iOS 11

find a clean idevice with iOS 11.x
install unc0ver 3.0.0 b48 (bundled with mobilesubstrate 0.9.7032)
jailbreak
launch cydia and install "OpenSSH" + "MouseSupport 1.0" + "libstatusbar <IP_ADDRESS>-1" + "SpringBoardAccess 0.3-5"
connect to ssh (alpine) and upload http://apt.saurik.com/cydia/debs/veency_0.9.3500_iphoneos-arm.deb to the device (with WinSCP for example)
install veency manually with: dpkg -i veency_0.9.3500_iphoneos-arm.deb
restart device & jailbreak
device > General > veency > Set one password + [uncheck] "Show Cursor"
note1: if you try to display the cursor, it will crash SpringBoard into safe mode on VNC client connexion.
note2: with iOS 12.1.1, loading veency tweak crash system every time, I suspect a coretrust problem, so let's focus on iOS 11.

From here:

you can connect to veency tcp port 5900 and login with your password
you can display the idevice screen :)
you can use "right click" -> Home button
you can use "middle click" -> Power button
you can use "keyboard" -> Type text
but, you CAN NOT use "left click" -> Touch screen

I have confirmed the veency "left click" problem with:

iOS 11.1.2 (iPhone 5s) + unc0ver 3.0.0 b48
iOS 11.3.1 (iPhone 5s) + unc0ver 3.0.0 b48
iOS 11.3.1 (iPhone 6s) + unc0ver 3.0.0 b48

Did anyone have one idea why the "touch screen" basic function is broken with iOS 11 ?
What is the faulty lib here ? jailbreak ? mobilesubstrate ? mousesupport ?
For information, veency "left click" is working well with:

iOS 10.3.3 (iPhone 5s) + doubleH3lix rc8 + mobilesubstrate 0.9.6301 + jp.ashikase.mousesupport 1.0 + libstatusbar <IP_ADDRESS>-1 + ch.ringwald.springboardaccess 0.3-5
iOS 10.3.3 (iPhone 5s) + doubleH3lix rc8 + mobilesubstrate 0.9.7020 + jp.ashikase.mousesupport 1.0 + libstatusbar <IP_ADDRESS>-1 + ch.ringwald.springboardaccess 0.3-5

Thanks for any suggestion :)
sources:
https://git.saurik.com/veency.git
https://github.com/mringwal/mouse-support
https://github.com/phoenix3200/libstatusbar
https://github.com/bluekitchen/btstack/tree/master/port/ios/SpringBoardAccess

Confirmed on IOS 11.4.1 iPad Pro  10.5" MQEY2LL/A
unc0ver 3.0.0 b48, you can port 5900 and login with your password,
you can display the idevice screen :)
you can use "right click" -> Home button
you can use "middle click" -> Power button
you can use "keyboard" -> Type text
but, you CAN NOT use "left click" -> Touch screen

confirmed on IOS 10.3.2 iPhone 6 plus
can only display screen and use keyboard
none of three mouse button work

confirmed on IOS 10.3.2 iPhone 6 plus
can only display screen and use keyboard
none of three mouse button work

It's Undecimus repo here, so Jailbreak of iOS 11 - 12 :)
Please don't report problem on iOS 10.
Which jailbreak are you using ? because I don't have any problem with the following config:
iOS 10.3.3 (iPhone 5s) + doubleH3lix rc8 + mobilesubstrate 0.9.6301 + jp.ashikase.mousesupport 1.0 + libstatusbar <IP_ADDRESS>-1 + ch.ringwald.springboardaccess 0.3-5

AFAIK veency was never updated to support iOS 11.0+... but I really hope I'm wrong about this.

Either way this is not an issue with unc0ver, so I'm closing, but if it has in fact been updated, please reply and lmk?

There is a developer who has re-compiled a veency binary for ios 11 that works on my device. https://github.com/cosmosgenius/screendump/releases
In order for it to work on my 11.4.1 I had to install the three dependencies you listed above "MouseSupport 1.0" + "libstatusbar <IP_ADDRESS>-1" + "SpringBoardAccess 0.3-5", but have no issues clicking left or right mouse. Those three dependencies, the standard PreferenceLoader, and dpkg -i of the debfile that I linked and I was good to go.
So glad to finally have this up and running! I just wish I had a way to incorporate TLS.

It's one awesome news !
Original thread of this release is here https://www.reddit.com/r/jailbreakdevelopers/comments/blt9y7/release_vnc_ios_11/
Cosmosgenius also want to make it work under iOS12, but he have problem about sandbox and backboardd, can anyone help ?

I tried to make it work for iOS 12 but for some reason the VNC server doesn't start. The hook, keyboard and mouse are working, just the rfbinitserver doens't start the server. This only happens when injecting into backboardd. If hooked into SpringBoard or any other service the server starts, but then you don't have access to IOMobileFrameBuffer events so no screen.

Is there Any Update on ios 12 and Backoboardd?

This is still not an unc0ver issue, and this thread has apparently become a place for the eta kiddies to ask wen eta. Locked.


Get rid of dictionary | to allow Python 3.8.

See https://github.com/catrionamurray/chromatic_fitting/issues/12.

Closed by #155 .


Split pinned and unpinned base image pipelines.

Change Description
Breakdown the base-images pipeline in pinned and unpinned to improve image registry structures and isolation.
Change Type
Select ONE:

[ ] Documentation

[ ] Stability bug fix

[X] Other

[ ] Other - special case

Testing Changes
Select ANY that apply:

[ ] New Tests

[ ] Existing Tests

[ ] Test Framework

[X] CI System

[ ] Other

Consensus Changes

[ ] Consensus Changes

API Changes

[ ] API Changes

Documentation Additions

[ ] Documentation Additions

Can any of these images be removed (IE. not supported)?

I think at least centos can be removed. Keep Ubuntu 18.04, 20.04, one Amazon Linux, and at least one MacOS.


Add call for machine Pin and Signal

Issue #92 comments had the call for Pin, but it is not in the current release. It should be just a copy/rename of the value() method. Adding this for Pin and Signal will allow using pin(1) and signal(0) calls without warnings/errors.
Thanks for this project! I use it frequently with Emacs and the pyvenv and lsp-mode packages for developing my MicroPython projects.

Can you detail which port and versions of the package you saw this in?
There are quite a few to track through otherwise
Jos

I am using micropython-esp32 and I believe it is latest (1.19.1). I am willing to work on this if you could provide some guidance. I do not understand how the various "stubs" repos work, and hence, where to make the changes.

Thanks for the info,
I  can confirm your report 👍🏻

Micropython documentation lists Pin __call__

The docstubs have the method def __call__(self, x: Optional[Any] = None) -> Any:

The esp32 boardstubs (aka firmware stubs ) do not list the __call__ method

But the resulting esp32 package](https://github.com/Josverl/micropython-stubs/blob/c9faf3ac2c495524fb4d491f6c45326ff565cf2c/publish/micropython-v1_19_1-esp32-stubs/machine.pyi#L750) does not have the __call__ method.

As the process to generate the stubs is mostly automated - a manual change would get overwritten as soon as the next generation cycle runs.
( I just found that I never put the below diagram into the documentation , so thanks for helping me remember that )
I think there are two options to resolve this

Change createstubs.py so that is does include / not skip reporting the __call__ method. Currently it skips/ignores all _underscored methods.
Add an override option in the docstub/boardstub merge process to (forcefully) insert some classes/methods from the documentation that do not exist in the board stubs.

interestingly at runtime the Pin object does not report that it is callable on esp32 ( but indeed it is)
So unfortunately Option 1) will not help solve this (would have been an easy 2-line fix)
('OPEN_DRAIN', '7', "<class 'int'>", 7, 1)
('IRQ_FALLING', '2', "<class 'int'>", 2, 1)
('IRQ_RISING', '1', "<class 'int'>", 1, 1)
('PULL_UP', '2', "<class 'int'>", 2, 1)
('OUT', '3', "<class 'int'>", 3, 1)
('PULL_DOWN', '1', "<class 'int'>", 1, 1)
('WAKE_HIGH', '5', "<class 'int'>", 5, 1)
('DRIVE_0', '0', "<class 'int'>", 0, 1)
('IN', '1', "<class 'int'>", 1, 1)
('WAKE_LOW', '4', "<class 'int'>", 4, 1)
('DRIVE_3', '3', "<class 'int'>", 3, 1)
('DRIVE_1', '1', "<class 'int'>", 1, 1)
('DRIVE_2', '2', "<class 'int'>", 2, 1)
('irq', '<function>', "<class 'function'>", <function>, 2)
('off', '<function>', "<class 'function'>", <function>, 2)
('on', '<function>', "<class 'function'>", <function>, 2)
('init', '<function>', "<class 'function'>", <function>, 2)
('value', '<function>', "<class 'function'>", <function>, 2)
>>> dir(machine.Pin)
['__class__', '__name__', 'value', '__bases__', '__dict__', 'DRIVE_0', 'DRIVE_1', 'DRIVE_2', 'DRIVE_3', 'IN', 'IRQ_FALLING', 'IRQ_RISING', 'OPEN_DRAIN', 'OUT', 'PULL_DOWN', 'PULL_UP', 'WAKE_HIGH', 'WAKE_LOW', 'init', 'irq', 'off', 'on']
>>> p5 = machine.Pin(5, machine.Pin.OUT)
>>> p5.value(1)
>>> p5(0)

@mgsb
I have automated the addition  of the call method
and I have added Pin as the baseclass for Signal , so that should inherit that automatically Similar as Switch (although calling Switch makes no sense)
Can you please test to see if this works for you ?
you can install the updated stubs from git :
pip install -U "git+https://github.com/Josverl/micropython-stubs/@add_callable#egg=micropython-esp32-stubs&subdirectory=publish/micropython-v1_19_1-esp32-stubs" --no-user --target typings

I installed and see the Pin call now in the .pyi and LSP sessions, but it does not show up for Signal. I do not see Signal as a subclass of Pin the .pyi.

I found that I/the code did not yet merge the baseclass from the documentation,
I fixed that and added some tests.
there are a few other class/baseclass pairs that need some more work , but for Signal it now should work.

That should be fixed now, can you give it another try ?

Thanks - both Pin and Signal __call__ work now in LSP.


bug with pod delete- pod delete is trying to delete statefulset

BUG REPORT
i tried to run the pod-delete experiment  and i can see this issue
i had 2 kind of pods 1 is deployment and the other is statefulset and i want to test the delete pods test just on the deployment one but the test is failing because its checking the statefulset pods, both have same label that i need to use for the test, so im using the annotationcheck true to just run the test on the deployment
im seeing this error time=“2022-07-06T12:13:19Z” level=error msg=“Application status check failed, err: no deployment found for nginx2-0 pod”
What happened:
when the pod delete run it went to delete the statefulset pods, and as u can see this is the chaosengine
apiVersion: litmuschaos.io/v1alpha1
kind: ChaosEngine
metadata:
name: engine-nginx
namespace: default
spec:
engineState: "active"
annotationCheck: "true"
chaosServiceAccount: litmus
appinfo:
appns: "default"
applabel: "test=foo"
appkind: "deployment"
experiments:

name: pod-delete

app kind is deployment so why it checking the statefulset?
this is the error
error time=“2022-07-06T12:13:19Z” level=error msg=“Application status check failed, err: no deployment found for nginx2-0 pod”
What you expected to happen:
i expected from the test to delete just the deployment one
How to reproduce it (as minimally and precisely as possible):
this is my script for repreduce
kind create cluster
kubectl apply -f https://litmuschaos.github.io/litmus/litmus-operator-v2.9.0.yaml
kubectl apply -f "https://hub.litmuschaos.io/api/chaos/2.9.0?file=charts/generic/experiments.yaml"
apply -f https://gist.github.com/aabughosh/91ebbd1c0bda2df59603571c21d453e0#file-pod-test-yaml
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: nginx2
namespace: default
labels:
app: nginx
test: foo
spec:
replicas: 1
serviceName: nginx
selector:
matchLabels:
app: nginx2
template:
metadata:
labels:
app: nginx2
test: foo
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx1
namespace: default
labels:
app: nginx
test: foo
annotations:
litmuschaos.io/chaos: "true"
spec:
replicas: 1
selector:
matchLabels:
app: nginx1
template:
metadata:
annotations:
litmuschaos.io/chaos: "true"
labels:
app: nginx1
test: foo
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80
here we are creating 2 kind of nginx pods that had the same label that i used for the test but  just the deployment i put the annotationcheck

This issue is already resolved as now we check both the labels and the parent resource of the target workload. Thanks for opening the issue.


Write logging to stdout

Checklist

[x] Implementation
[ ] Tests
[x] Docs

By linking the stdout to the log file we provide a useful log output to the docker logging stream.

Not really sure about how to test this.
Docs are not needed.


Question : Host name with StorageFactory.Blobs.FromConnectionString

I am using Azure Blob in production and trying to set up my docker-compose for dev/test environments.
I am running my emulator as a docker container using an image : https://github.com/azure/azurite
I can't find in docs how to specify the hostname/port while creating a connection string.
I am trying for something like :
StorageFactory.Blobs.FromConnectionString("azure.blobs://emulator:10000/development=true")
Here is a sample docker-compose:
version: '3'

services:
  service:
    build:
      context: .
    ports:
      - "5000:5000"
    depends_on:
      - emulator

 emulator:
    image: "mcr.microsoft.com/azure-storage/azurite"
    ports:
      - "10000:10000"
    command:
      - azurite-blob
      - --blobHost
      - <IP_ADDRESS>

Looking at the source, I am currently doing this for non prod :
IAzureBlobStorage i = StorageFactory.Blobs.AzureBlobStorageWithSharedKey(
    "devstoreaccount1",
    "Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==",
    new Uri("http://<IP_ADDRESS>:10000/devstoreaccount1"));

I've never tried to make it work with Azurite, but you're welcome to try and raise a PR.


Mysql replication failure during the delete operation

Mysql Master and 2 full Slave:
When delete some entity on Master associated by foreign key with many tables, on Slave all records for all this tables delete, but on the master not delete.  Errors  on master there are no.
The next update or delete this entity on master slave broken, because on slave have already been deleted.
Mysql Distrib 5.7.21
...
gtid-mode               = on
binlog_format           = row
enforce-gtid-consistency= true
slave_compressed_protocol       = 1
slave_preserve_commit_order     = 1
slave-parallel-type             = LOGICAL_CLOCK
...
Why this can happen?

This is an issue tracker for a Node.js MySQL driver.


Column_names not accepting proc with hash

The documentation states that: You can specify a scope instead of a where condition string for column_names. We recommend providing a Proc that returns a hash instead of directly providing a hash: If you were to directly provide a scope this would load your schema cache on startup which will break things like rake db:migrate.
This is how I'm trying to define the count
counter_culture :promotion,
    column_name: proc { |l| l.active? ? 'active_customers_count' : nil },
    column_names: -> { {
      Lead.active => :active_customers_count,
      Lead.all => :customers_count
    } }

The error: /Users/Admin/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/counter_culture-1.7.0/lib/counter_culture/extensions.rb:33:in `counter_culture': :column_names must be a Hash of conditions and column names (RuntimeError)
If defining it like this
counter_culture :promotion,
    column_name: proc { |l| l.active? ? 'active_customers_count' : nil },
    column_names: {
      Lead.active => :active_customers_count,
      Lead.all => :customers_count
    }

the above error does not occur anymore, but when trying to fix counts manually using
Lead.counter_culture_fix_counts only: :promotion, where: { promotions: { id: 4162640 } }

the query is not generated properly
irb(main):041:0> Lead.counter_culture_fix_counts only: :promotion, where: { promotions: { id: 4162640 } }
  Lead Load (0.3ms)  SELECT "leads".* FROM "leads" WHERE "leads"."state" = $1  [["state", 2]]
  Promotion Load (1.1ms)  SELECT promotions.id, promotions.id, COUNT(leads.id)*1 AS count,
promotions.active_customers_count FROM "promotions" LEFT JOIN leads AS leads ON promotions.id =
leads.promotion_id AND (#<Lead::ActiveRecord_Relation:0x0000000113d7e740>) GROUP BY "promotions"."id" ORDER
BY "promotions"."id" ASC LIMIT $1  [["LIMIT", 1000]]
/Users/Admin/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/rack-mini-profiler-2.3.1/lib/patches/db/pg.rb:69:in `exec_params': PG::SyntaxError: ERROR:  syntax error at or near ":" (ActiveRecord::StatementInvalid)
LINE 1: ...ds.promotion_id AND (#<Lead::ActiveRecord_Relation:0x0000000...

Looking in the specs, this behavior is covered in the City model and then in the specs here.
At a first glance, your call to counter_culture looks correct, but it's hard to tell because I don't have the full code. Could you take a look at the specs and then open a PR with a failing spec that reproduces the error you're seeing? Otherwise this is unfortunately impossible for me to debug.


sope: 5.3.0 -> 5.4.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/sope/versions.
meta.description for sope is: "An extensive set of frameworks which form a complete Web application server environment"
meta.homepage for sope is: "https://github.com/inverse-inc/sope"
meta.changelog for sope is: ""
Updates performed

Version update

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
/nix/store/gcb6874844pnqlml8d2mjfm6s2aziywd-sope-5.4.0/bin/load-EOAdaptor passed the binary check.
/nix/store/gcb6874844pnqlml8d2mjfm6s2aziywd-sope-5.4.0/bin/connect-EOAdaptor passed the binary check.
/nix/store/gcb6874844pnqlml8d2mjfm6s2aziywd-sope-5.4.0/bin/wod passed the binary check.
1 of 3 passed binary check by having a zero exit code.
2 of 3 passed binary check by having the new version present in output.
found 5.4.0 with grep in /nix/store/gcb6874844pnqlml8d2mjfm6s2aziywd-sope-5.4.0
found 5.4.0 in filename of file in /nix/store/gcb6874844pnqlml8d2mjfm6s2aziywd-sope-5.4.0

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

4 total rebuild path(s)

3 package rebuild(s)

3 x86_64-linux rebuild(s)
1 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
docbookrx
sogo
sope

Instructions to test this update (click to expand)

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

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

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

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

2 packages built:

sogo
sope

Maintainer pings
cc @ajs124 @dasJ for testing.

this should be bumped together with sogo


Mitigate the Lens disappearing with "Show Unit Path on Hover" setting

This isn't a perfect solution, but I think it is reasonable and mitigates the issue of losing the lens entirely (you can see the gif below drawing the path up and to the left for the knight unit).

As mentioned / shown in the issue thread #94 -- the "unit path" is its own lens, and there appears to be a limited toolset to work with:

Using Layers with the "Movement" lens and whatever other lens happened to be showing did not function like I think we would hope it would
There does not appear to be a way to get the actual hash of the currently applied lens, only a push/pop mechanism of saving and restoring whatever lens happens to be applied (UILens.SaveActiveLens() does not return a value)
There is "something" there with the Religion lens that makes it appear to sort of work, but that may be just more hacky than any of us would want to implement.  It appears to just leave the hexes colored but does not actually have the lens in place anymore; so it may be the religion lens that broken, not me.

I tested with vanilla, XP1, and XP2.  If when hovering on a unit with a path (destination), whether that be valid, invalid, or in unexplored territory, it will do like what is illustrated in the gif above.  I did verify that no matter the lens picked, the interfacemode was VIEW_MODAL_LENS

Lenses are super wonky and difficult to work with, I agree.

* There does not appear to be a way to get the actual hash of the currently applied lens, only a push/pop mechanism of saving and restoring whatever lens happens to be applied (_UILens.SaveActiveLens()_ does not return a value)

Yup, there is not. Had the same issue in the past. This simple function (i.e. what lens is currently on) would make life much easier.

* There is "something" there with the Religion lens that makes it appear to sort of work, but that may be just more hacky than any of us would want to implement.  It appears to just leave the hexes colored but does not actually have the lens in place anymore; so it may be the religion lens that broken, not me.

There are some lenses (Religion is a good example) that are implemented by the game engine. I suppose they use then a separate "layer" and probably that is why you can still utilize "custom" layer and lenses.

@Infixo is there something you're wanting me to do here, or?  It's not clear.

Nothing particular. I don’t know what to do with the PR. It doesn’t solve the issue, only makes things even more obscure. I think I would leave the issue as it is until we find a proper way to solve it. What do the others think?

We could just disable the show unit path on hover if a lens is currently showing... that or what is in this PR are the only reasonable ways I have seen as of yet.

I’d rather go for disabling one while other is active.
But to be clear what I mean.

In the world view, when City Mgmt is not open, then both of them should work as both ace activated on hover. One over banner, the other over a unit.
When City Mgmt is open, then one is permanent and then Unit Path should be disabled. Which makes sense because when I open city view, it is to manage city not units. And this will eliminate the blinking which is pretty annoying.

I think this fix doesn't have anything to do with whether or not city management is open. The hover over path display is already disabled when city management mode is turned on and also when the district/city ranged attack is being executed (Line 391 in the file).
I've seen the thing happen when say I'm using the city overlap lens and planning to place districts. Then I happen to mouse over a unit which has a queued move order. Then I just lose the lens I'm operating in.
Just listing the issue reproduction steps below to explain what I mean:

Tell a unit to move very far, so it takes multiple turns to move.
Deselect the unit
Mouse over the unit's icon (It should show the queued path only while the mouse is placed over the icon)
Turn on any lens
Mouse over the unit's icon again
Move the mouse so it's not on the unit's icon
At this point without the fix it does not go back to the lens used in step 4. With the fix the lens is temporarily disabled while the unit path is shown and then when the mouse moves away the display shows the lens used in step 4.

The push/pop fix seems to work nicely. I think it's a matter of personal preference between the choice of push/pop vs disable. @Infixo Did you notice any issues with the push/pop fix?

I am objecting it. It is like I said - it doesn't fully the issue, kind of partial fix. So let it be.


requires git>=1.8.0

(I updated this constraint in opam-repo as well, already merged https://github.com/ocaml/opam-repository/pull/6471)