Need to implement gas fee distribution logic (incl. _distributeFee())

Related issue: https://github.com/ainblockchain/ain-blockchain/issues/309

Added in https://github.com/ainblockchain/ain-blockchain/pull/355


[1.36.0] Unable to click on a button in a card, if the button is the only clickable element in that card (Flutter)

Describe the bug
When I run my Flutter app on an Android device, Maestro does not recognize a button inside a card. It only sees the whole card.
That being said, if I add another clickable element inside that card, everything works as expected, Maestro is now able to see and interact with the button.
To Reproduce
Steps to reproduce the behavior, e.g.:

Create a Flutter app with the following content:

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: Card(
        child: Column(
          mainAxisSize: MainAxisSize.min,
          crossAxisAlignment: CrossAxisAlignment.center,
          children: [
            Text("Introduction text"),
            SizedBox(height: 24),
            Material(
              type: MaterialType.transparency,
              child: InkWell(
                onTap: () => print("PRESSED"),
                child: Text("PRESS"),
              ),
            )
          ],
        ),
      ),
    );
  }

Run maestro studio
Run the app
Maestro studio only sees the whole card, and not the PRESS button

Expected behavior
Maestro should be able to see and interact with the button inside the card, even though the button is the only clickable element in that card.
Environment information

Maestro version: 1.36.0
Platform: Android 12
Framework: Flutter
Device model and OS version: Samsung Galaxy M51 (One UI 4.1)
Physical device
Host: Macbook Air M1

Workspace
Android Studio Giraffe | 2022.3.1 Patch 1

For those of you who are interested, I found a workaround for this issue by using the Semantics widget as described below:
Semantics(
  container: true,
  child: Material(
    type: MaterialType.transparency,
    child: InkWell(
      onTap: () => print("PRESSED"),
      child: Text("PRESS"),
    ),
  ),
),

I still let the issue open, in case there is still a bug to fix.

Hi @mregnauld - this is Flutter's default behavior. Maestro only pulls semantics that Flutter creates. It would work the same way in Appium etc.
Your workaround with Semantics(container: true) is a good one.

OK thanks!


Fix issue with results icon being clipped (featured case study)

Link to Ticket
Description of Changes Made
Make the results icon on the featured case-study overflow:visible so the text doesn't get clipped
How to Test
Screenshots

Expand to see more
Before:

After:

MR Checklist

[x] Add a description of your pull request and instructions for the reviewer to verify your work.
[x] If your pull request is for a specific ticket, link to it in the description.
[x] Stay on point and keep it small so the merge request can be easily reviewed.
[x] Tests and linting passes.

Unit tests

[ ] Added
[x] Not required

Documentation

[ ] Updated build docs
[ ] Updated editor guidelines (See https://intranet.torchbox.com/torchbox-com-project-docs for the private link, for Torchbox employees only)
[ ] Updated field spec (See https://intranet.torchbox.com/torchbox-com-project-docs for the private link, for Torchbox employees only)
[x] Not required

Browser testing

[x] I have tested in the following browsers and environments (edit the list as required)

Latest version of Chrome on mac

[ ] Not required

Data protection

[x] Not relevant
[ ] This adds new sources of PII and documents it and modifies Birdbath processors accordingly

Accessibility

[ ] Automated WCAG 2.1 tests pass
[ ] HTML validation passes
[ ] Manual WCAG 2.1 tests completed
[ ] I have tested in a screen reader
[ ] I have tested in high-contrast mode
[ ] Any animations removed for prefers-reduced-motion
[x] Not required

Sustainability

[ ] Images are optimised and lazy-loading used where appropriate
[ ] SVGs have been optimised
[ ] Perfomance and transfer of data considered
[ ] If JavaScript is needed alternatives have been considered
[x] Not required

Pattern library

[ ] The pattern library component for this template displays correctly, and does not break parent templates
[ ] The styleguide is updated if relevant
[x] Changes are not relevant the pattern library

Marking as draft for now as this accidentally includes all the light mode stuff.

Marking as draft for now as this accidentally includes all the light mode stuff.

Now sorted out.

I wonder if the viewbox attr is incorrect as it's odd that the SVG sits in the top left corner and there's a lot of space underneath and to the right of it.

Anyways this MR fixes it : )

I wonder if the viewbox attr is incorrect as it's odd that the SVG sits in the top left corner and there's a lot of space underneath and to the right of it.

Anyways this MR fixes it : )

Yes I think the original SVG was a bit off - but going for the quick fix now :)


Use guessing rule to convert from ppm frag_tol to Comet's bin_tol

in case the (for Comet) incompatible ppm unit was used.

i dont know who put this. It is there forever.


Ensemble reduction and changes to Ensembles

Pull Request Checklist:

[x] pre-commit hooks are installed/active in my local clone ($ pre-commit install)
[x] This PR addresses an already opened issue (for bug fixes / features)

This PR fixes #4

[x] (If applicable) Documentation has been added / updated (for bug fixes / features)
[ ] If a merge request has been made in parallel to this PR in xscen-notebooks, it is merged and the submodules have been updated.
[ ] HISTORY.rst has been updated (with summary of main changes)

[ ] Link to issue (:issue:number) and pull request (:pull:number) has been added

What kind of change does this PR introduce?

New file reduction.py that contains a function to help build the criteria data and an xclim.ensembles._reduce wrapper.

Changes to ensemble_stats to:

Support xclim.ensembles._robustness functions.
Support looping through multiple functions without having to call ensemble_stats every time.
Support weights.

The code that performs common_attrs_only has been moved to clean_up.

Removed the default to_level in clean_up.

New function generate_weights that uses metadata in Datasets to guess GCMs and RCMs and create weights accordingly.

New function unstack_id to reverse-engineer IDs.

generate_id now also accepts Datasets

Does this PR introduce a breaking change?

statistics / stats_kwargs have been changed/eliminated in ensemble_stats, respectively.

Other information:

Question 1:
I feel that some of the info / weights stuff I implemented in ensemble_stats could be moved in its own function, to make the code cleaner. Thoughts?
Question 2:
kmeans_reduce_ensemble has 3 outputs (selected, clusters, fig_data), while kkz_reduce_ensemble only has 1. Is there a clean way to address that?

I added a couple checks before change_significance to make sure that the right data is sent to that function, since it assumes absolute deltas. @aulemahal , this is probably something that could improved in xclim, as well as supporting Datasets in a similar way to what is done in ensembles._base.py

Question 2:
kmeans_reduce_ensemble has 3 outputs (selected, clusters, fig_data), while kkz_reduce_ensemble only has 1. Is there a clean way to address that?

Je me rend compte qu'on n'a pas réglé cette question. Des idées ?

Je pense que toujours retourner 3 trucs c'est ok.
Pour properties_and_measures, on retourne toujours 2 choses, mais si ref_for_measures n'est pas donné, le 2e output est un dataset vide. Peut-être que les 2 outputs optionnels peuvent être dans le bon type mais vide (eg. clusters= {})


Offline messages disappear/not loaded after broker restart

Environment

VerneMQ Version: 1.2.2
OS: Docker on MacOS
Erlang/OTP version (if building from source):

Expected behavior

Please describe the expected behaviour.

docker run -e "DOCKER_VERNEMQ_ALLOW_ANONYMOUS=on" -p 1883:1883 -it  erlio/docker-vernemq:1.2.2 bash, this is just for keeping the container running
docker exec -it {container_id} bash

start_vernemq

subscribe
mosquitto_sub -h {docker_host_ip} -p 1883 -t "{a_topic}" -q 1 -i offline  -c
publish couple messages to verify the connection is working
mosquitto_pub -h {docker_host_ip} -p 1883 -t "{a_topic}" -q 2 -m "hello"
terminate the subscriber
publish more messages
check if there is offline messages in container
vmq-admin session show --client_id --offline_messages
if there are offline messages
vernemq stop and start_vernemq
do vmq-admin session show --client_id --offline_messages again, the offline messages should still show the same number

Actual behaviour

Please include minimal steps to reproduce the issue, if possible.

the offline messages number is back to 0

I tried the docker 1.2.1 version, it is working fine.

Also tested in a local built version, it is broken as well.
A binary search shows the unwanted behaviour may be introduced by: https://github.com/erlio/vernemq/commit/99b2372128119214d7ead7f0fbeee9f6e6769887

Thanks for spotting this @fevin86 !
So it's just the problem that the offline metrics gets reset to 0. I can't see why this would be intentional.
@larshesel bug or feature? :)

Not only about the metrics; the offline messages won’t be delivered as well.
On Fri, 29 Dec 2017 at 19:33, ioolkos<EMAIL_ADDRESS>wrote:

Thanks for spotting this @fevin86 https://github.com/fevin86 !
So it's just the problem that the offline metrics gets reset to 0. I can't
see why this would be intentional.
@larshesel https://github.com/larshesel bug or feature? :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/erlio/vernemq/issues/564#issuecomment-354415602, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAiSM3uwItXEJefTVI1FpfYetqRSdCBuks5tFKPEgaJpZM4RO6C9
.

This is a regression we've addressed in https://github.com/erlio/vernemq/pull/553
@larshesel I think we should merge the PR above.


Upstream OLM + API sync 12-14

It looks like we didn't pull in the OLM commits in the right order last time so there were some missing test/e2e commit(s) that newer commits reference which failed the e2e-aws-olm check. Updated to include all (:crossed_fingers:) of those missing commits.

/retest

/lgtm

/retest

/retest

/lgtm

/retest

/retest

/test e2e-upgrade

/retest

/retest

/retest

/test e2e-aws-olm

INFO[2021-12-16T02:39:44Z] Acquired 1 lease(s) for aws-quota-slice: [us-west-2--aws-quota-slice-03]
INFO[2021-12-16T02:39:44Z] Running multi-stage test e2e-aws-olm
INFO[2021-12-16T02:39:44Z] Running step e2e-aws-olm-ipi-conf.
INFO[2021-12-16T02:39:54Z] Step e2e-aws-olm-ipi-conf succeeded after 10s.
INFO[2021-12-16T02:39:54Z] Running step e2e-aws-olm-ipi-conf-aws.
INFO[2021-12-16T02:40:05Z] Logs for container test in pod e2e-aws-olm-ipi-conf-aws:
INFO[2021-12-16T02:40:05Z]   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   651  100   651    0     0   2827      0 --:--:-- --:--:-- --:--:--  2842

  0     0    0   367    0     0    838      0 --:--:-- --:--:-- --:--:--   838
/tmp/yq: line 1: syntax error near unexpected token `newline'
/tmp/yq: line 1: `<?xml version="1.0" encoding="UTF-8"?>'

Welp hopefully that's a transient error
/retest

/retest-required

We may need to pivot to non-AWS tomorrow if infra flakes continue.
/retest-required

/retest

/retest-required

/retest-required

looks like it's still failing to bring up an aws cluster
/retest

/retest

/retest-required

/retest

Looks like the OLMConfig controller isn't playing well with downstream as of now. #232 just passed all test that's a clone of this PR minus the OLMConfig commit. lgtm-ing that PR so that the rest of the commits can go in, and then we can dig into the OLMConfig commit.

/close in favor of #232 and #236


PGP storage shows public key with 32-bit key ID

Hi,
Your [1] shows your PGP public key with 32-bit key ID. This might be dangerous: see [2].
One of the scenarios, someone generates a PGP key, conflicting with your 32-bit key ID, and upload to the public SKS server. We can get your 32-bit key ID from [1] and retrieve your public key from the public SKS server, using an older version of gpg. Then we can retrieve the incorrect key.
For secure, I suggest you update [1] key ID more than 64-bit. I strongly recommend you show us your full key ID.
Thank you.
[1] http://dl.minnote.net/gpg.html
[2] https://evil32.com/

Thank you for your advice. This issue will be open until solve. :)

icaros7/icaros7.github.io@de49e70

icaros7/icaros7.github.io@de49e7025c71fb920a9cdbf9a822e5d34a4ddd40


Revert "Emojis are loaded from a spritesheet"

Reverts hackclub/monolith#13

This will remove the emoji size bugs that #13 introduced.


How did everyone get their ImageNet-21K?

"ImageNet-21K-P processed dataset, based on ImageNet-21K winter release, is now available for easy downloading via the offical ImageNet site."
No responses or permission granted since last year. Need help

make sure you provide them an academic email address. permission is usually given in a couple of minutes

Got it, thanks


npm run bundle / npm run bundle:prod fails with a file not found.

Looks like the npm script bundle and bundle:prod were dependent on the file removed in this commit: 96d4157ad031af0fdaf26b35840c8f58de0d921c .
Should the bundle.js point to the systemjs.config.js file in the src directory?

Thanks for the pull request!


Support raw idents

fn r#enum() -> Result<(), String> { Ok(()) }

Notes for anyone that may wish to implement support for this.
Implementation Guide
Background Reading
Read the adding-support-for-a-signature chapter in the swift-bridge book: https://github.com/chinedufn/swift-bridge/blob/75a1077f1661ad048398a850226472c3310abc47/book/src/contributing/adding-support-for-a-signature/README.md?plain=1#L1-L216
Integration Test
In crates/swift-bridge-integration-tests creates a mod raw_identifier: https://github.com/chinedufn/swift-bridge/blob/637c7b353539c1122dacc3a64e7d5dc052a4fec9/crates/swift-integration-tests/src/lib.rs#L1-L29
Add a bridge module that uses a raw identifier function name:
#[swift_bridge::bridge]
mod ffi {
    fn r#enum();
}

Add a RawIdentifierTests.swift to the Swift integration tests:
https://github.com/chinedufn/swift-bridge/tree/27246447b4ac741b8bf086d3dfca15b47558e44f/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests
Add an integration test that calls the r#enum function`.
Codegen Tests
Add a mod raw_identifier to the codegen tests: https://github.com/chinedufn/swift-bridge/blob/636fa2774870c052a18f06d98ca5f6966c09bdd6/crates/swift-bridge-ir/src/codegen/codegen_tests.rs#L30-L53
Add a test case that has a fn r#enum
#[swift_bridge::bridge]
mod ffi {
    fn r#enum();
}

Assert that the generated Swift code uses backticks to escape the name enum:
func `enum`() {
}

Passing Tests
When generating the Swift function check if the function name is a Swift keyword (i.e. enum is a Swift keyword).
If so, surround the name with backticks since Swift uses backticks to escape. https://github.com/chinedufn/swift-bridge/blob/1b547a5f0ca976d711e6671b8d70d06113e916c4/crates/swift-bridge-ir/src/codegen/generate_swift/generate_function_swift_calls_rust.rs#L75
Instead of inlining this name generation code in generate_function_swift_calls_rust can add a method to the ParsedExternFn that handles selecting the name and then replace this code with a call to the method: https://github.com/chinedufn/swift-bridge/blob/1b547a5f0ca976d711e6671b8d70d06113e916c4/crates/swift-bridge-ir/src/codegen/generate_swift/generate_function_swift_calls_rust.rs#L14
Here is where the ParsedExternFn is defined: https://github.com/chinedufn/swift-bridge/blob/1b547a5f0ca976d711e6671b8d70d06113e916c4/crates/swift-bridge-ir/src/parsed_extern_fn.rs#L39-L107


Vault SSL by default

Filter out patches to test/
Add patch to be able to use vault-ssl as a default
Switch to vault-ssl as a default
Fix up tests after ssl as default

Still need to test a few things


Bang Operator Non-Functional in ControlTemplate

Describe the bug
The negation "bang" operator ! appears to be broken or never worked in control themes. If used in a TemplateBinding with compiled bindings enabled the compiler with throw an error. If used with a Binding and RelatativeSource=TemplatedParent, will throw runtime exception.
To Reproduce
<Style Selector="ColorPreviewer">
    <Setter Property="Template">
      <ControlTemplate TargetType="{x:Type ColorPreviewer}">
        <Panel>
          <Border IsVisible="{TemplateBinding !IsAccentColorsVisible}">
          </Border>
        </Panel>
      </ControlTemplate>
    </Setter>
  </Style>

Expected behavior
TemplateBinding should compile and Binding not throw exception at runtime.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

Windows 10
Current master @34480fcae381beb8e2b745cace72978812fd3338

Additional context
Add any other context about the problem here.

TemplateBinding is a simple markup extension without a binding path that can be parsed and without compiler magic. So that's pretty expected limitation as for now.
Though I would love to see it working too.
You can use converters {TemplateBinding IsAccentColorsVisible, Converter={x:Static BoolConverters.Not}} (see https://github.com/AvaloniaUI/Avalonia/blob/master/src/Avalonia.Base/Data/Converters/BoolConverters.cs#L26 )

Ah, I see. Well, that is unexpected but yea this is a feature request then.
Yea, I already used the converter as a work-around.


Distorted play button appears on mobile player

Hmm ...  i see the play button flash by while loading on Android. But it's not distorted. Did you try to clear cache?

i still get it in Incognito mode, so i guess clearing the cache won't make much difference

Confirmed. There are other subtle issues with those icons and their colours, which I hope to address in one pass.

I get this on an iPad Pro or an iPhone, at times.

proof
@gmarinov do you still hope to address the subtle issues with icons + colours in one pass?

this has been fixed in an upcoming build.


[QUESTION][V3.0]The doc of 3.0 version

I tried 3.0 verison, but can't find the docs.
Any idea about that?
thank you.

3.0 is not released and thus not supported yet. Docs will be added once the release is stable. But we are nowhere near that. It also depends on the release of PhpSpreadsheet, which is also still in development.


[no-implicit-copy] Make sure to error on copies on borrowed structural sub-values.

Example: consume(x.field). This turned out to be a pretty simple extension of
the underlying model. The cases we are interested in are caused by a
non-reference nominal type having an extracted field being passed to a consuming
use. This always requires a copy.
The reason I missed this was I originally wrote the test cases around this for
classes which do not have this problem since the class is move only, not the
field due to class being a reference type. I then cargo culted this test case
for struct/other types and did not notice that we should have started to error
on these tests.
On an interesting note, I caught this on my branch where I am preparing the
optimizer to allow for values to have a move only bit. One of the constraints is
that once we are in guaranteed SIL, copy_value can not be used on any moveOnly
type (e.x.: $@moveOnly T). To ensure this doesn't happen, the move only checker:

Uses copy propagation to rewrite the copies of the base owned value.

Emit a diagnostic error upon any copies we found were needed due to the owned
value being consumed.

If a diagnostic was emitted, rewrite all copies of move only typed values to
be explicit_copy_value to ensure that in canonical SIL we do not violate the
invariant that copy_value can not be applied to move only type values. This
is ok to do since we are going to error and just want to avoid breaking the
invariant.

The end effect of this is that if we do not emit any diagnostic, any copy_value
on a move only typed value that is not eliminated by the checker hits an assert
in the verifier... allowing us to know that if a program successfully compiles
that all "move only" proofs successfully ran, guaranteeing safety!

NOTE: I also added on top of this a commit with some enum tests. I am just expanding code coverage.

@swift-ci smoke test


Remove unnecessary request copy

This patch removes an unnecessary take_request call from Service::process, reducing the stack usage by roughly 5 kB.

Merged upstream: https://github.com/trussed-dev/trussed/pull/135


Add Code Climate badges

Please add the required Code Climate badge near the top of your README

The Readme badge now displays test coverage of 56%. While config issues are still in question, it exceeds the 30% threshold.


PDS timestamps for started and ended not set

When job is done the fields

started
ended

are still not filled. See next output from DAUI (developer admin ui)
[EXECUTE] CheckPDSJobStatusAction-1595315465457
{
  "jobUUID" : "cce43b40-ce9d-4c8d-9f15-3d2e7331af2c",
  "owner" : "pds-inttest-admin",
  "created" : "2020-07-21T09:07:03.449",
  "started" : "",
  "ended" : "",
  "state" : "DONE"
}
[SUCCESS]

Must be fixed
Job state changes:
STATE = RUNNING --> started timestamp must be set
STATE = DONE,CANCELED,FAILED --> ended timestamp must be set

Albert Tregnaghi<EMAIL_ADDRESS>Daimler TSS GmbH, imprint

@Jeeppler : I took over the issue, because I now found the solution and will it fix inside/with #424:
PDSExecutionCallable.java
inside call() method there must be something like


doc: fix grammatical error in chapter 8.1

@enitrat can you look at this, I think there is a grammatical error here.

yes, you can fix to does it

OK


Missing basic accessibility features

Hi guys,
acessability should support atleast two main features,
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex
and
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-label_attribute
does this component support inputProps to control the native element?
its recommended to add this attr to accept an object and apply all native attrs like tabindex passed in this obj.
can you replace the rating symbol component with a interactive element instead of the elment?
this would make it possible to navigate on each symbol using the tab button
aria-label passed to inputprops will allow this component (the rating - not rating symbol) to read a message to the user.
Please consider adding these two first, especially the tabindex, as it would make this component work well on forms, and overall

does this component support inputProps to control the native element?

In #96 we propagated some properties to the wrapper element. Do you mean propagating tabindex and aria-label too?

can you replace the rating symbol component with a interactive element instead of the elment?

Uhm, not sure what you mean with interactive element. Do you mean input for example?

In #96 we propagated some properties to the wrapper element. Do you mean propagating tabindex and aria-label too?
Yes, exactly that

Uhm, not sure what you mean with interactive element. Do you mean input for example?

right now the rendered text is inside a  element
read more here:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element#Interactive_elements
its not as important as adding the tabindex.
the preferred behaviour would be such as the displayed here:
https://material-ui.com/demos/selection-controls/
https://codesandbox.io/s/pp99j7zq8q
play with the tabs and see for yourself, this code doesn't contain tabindex because the input element will be focused by tab key, depending on the render oreder, but for now i think adding aria+tabindex would be enough

Both attributes (tabIndex and aria-label) are propagated to the wrapper element.
Released in version 1.3.0.

While it is nice to have a tabIndex, and aria-label, there is still not a way to select one of the values using a keyboard.
Am I missing something?

You are right @dwoodwardgb. This issue was just to let tabIndex and aria-label properties be propagated to the top level element. It was just a workaround to allow at least these basic accessibility properties.
For a more general accessibility issue we have #61. When this component was created I didn't even think about accessibility so to add it now I guess it will need some kind of refactor. In that issue there are at least a couple of proposals, as input range and as radio buttons. Any thought and help is really welcome.


Allow zero in block widget

Fixes issue #1371

Hiya tuxudo im going to reimplement this fix on wip branch but the widget template is a bit different

Closing this old PR


Implement address balance routing per deck

Example:
host:port/api/v1/decks/<deckid>/balance/<address>

This would return the current balance of a given address per the specified deck.

Now supports POST requests.
host:port/api/v1/decks/<deckid>/balance?address=<address>


New package: LinearMapsAA v0.2.0

Registering package: LinearMapsAA
Repository: https://github.com/JeffFessler/LinearMapsAA.jl
Created by: @JeffFessler
Version: v0.2.0
Commit: 30416202b73735638efbe6184222be72d366ba89
Reviewed by: @JeffFessler
Reference: https://github.com/JeffFessler/LinearMapsAA.jl/issues/1

Needs a [compat] section in Project.toml with at least an entry for julia itself, e.g.:
[compat]
julia = "1"

would mean that the package is compatible with Julia versions [1.0.0, 2.0.0).

#2696


After login don´t load HA in Dahua (VTH5321GW) with Android 8.1.0

Describe the bug
After login in HA, don´t load, the screen still white
Screenshots

Smartphone (please complete the following information):

Device: Dahua (VTH5321GW)
OS: Android 8.1.0
Browser: stock browser

@ivanaragom
Hi I'm trying to install an app on that device ... have you successfully run android-mqtt-alarm-panel ?
it's possibile to set that app as starting app for the device instead of the Dauha's?
thanks

Don't post on a closed issue.


ISPN-16489 Change the index filters to pass along the metadata though

https://issues.redhat.com/browse/ISPN-16489

Restarted the CI, the following seems to be not related to this contribution:
09:01:40  Killed processes 3691762
09:01:41  03:01:40.665 [INFO]
09:01:41  03:01:40.665 [INFO] Results:
09:01:41  03:01:40.665 [INFO]
09:01:41  03:01:40.665 [ERROR] Errors:
09:01:41  03:01:40.665 [ERROR]   DistSyncNonTxStateTransferTest>BaseStateTransferTest.testCancelStateTransfer:141 » Test class org.infinispan.xsite.commands.remote.XSiteStatePushRequest
09:01:41  03:01:40.665 [INFO]
09:01:41  03:01:40.665 [ERROR] Tests run: 11490, Failures: 0, Errors: 1, Skipped: 62

Rebased to fix the CI

thanks @pruivo for the great review! I hope I have addressed all the comments here

Thanks @wburns and @pruivo for the reviews! I think I've applied the changes here, also aligning the new HR client module with those.

@fax4ever when are MetadataEntityLoader.loadBlocking and EntityLoader.loadBlocking invoke? I have a breakpoint in the first line of that method and the queries never invoke that code :confused:

@fax4ever when are MetadataEntityLoader.loadBlocking and EntityLoader.loadBlocking invoke? I have a breakpoint in the first line of that method and the queries never invoke that code 😕

Every time we need to fetch any metadata the MetadataEntityLoader.loadBlocking is called, otherwise EntityLoader.loadBlocking is used. Both are used for local (non-distributed) indexed queries.
Run RemoteMetaProjectionTest.java to activate the former (non the distributed one).

@pruivo run RemoteProjectionTest to trigger the standard (non-metadata) EntityLoading

So, if the cache is LOCAL, it uses the [Metadata]EntityLoader, and if it is clustered (DIST/REPL), the Distributed[Entry]Iterator. Is my reasoning correct?

So, if the cache is LOCAL, it uses the [Metadata]EntityLoader, and if it is clustered (DIST/REPL), the Distributed[Entry]Iterator. Is my reasoning correct?

Exactly. In case of distributed queries the loading in performed by the distributed iterator not using Hibernate Search for the loading, but only to retrieve the keys.

Merge thanks @fax4ever
I'll open a follow-up about the key/entries conversion.
@wburns if you have any follow up let me know.

Thank you Pedro!


'Predictor' could not be found

Hi!
I'm getting:
The type or namespace name 'Predictor' could not be found (are you missing a using directive or an assembly reference?)
using
"api.natsuite.natml": "1.0.10" and
"scopes": ["api.natsuite"]
or
because with "ai.natml.natml": "1.0.19", and
"scopes": ["ai.natml"]
with my model update in private way (MLModelData.FromHub) and locally (.onnx model).
Any idea?
I think that the question is:
how to properly use my own model?
Thanks!

Hey @rgm-22 can you share your code? There isn't an actual Predictor type in NatML (never has been). There's IMLPredictor<T> for defining predictor implementations for a specific ML model.

Closing due to lack of activity.


Simplified implementation of change working dir

Solves #23

@matt2xu Can you fix the merge conflicts?

Thanks!


crash/stuck if you need to enter username/password for a repo

Found that a user had commented this, need to verify / fix it.

This is how it looks like on 0.14.0. No crashes but very strange behavior: the prompt for password is not disappearing but the control works once every other time, you press jjjj but you move only 2 lines down.

So yeah, it feels like being stuck. What flow is expected in the case where password is needed?

Maybe there's a way to probe to see if a password is required?
Or a way to disable the CLI prompt, handle the error and prompt/provide a username & password with gitu's prompt.
Other ways are perhaps looking at integrating with Gitoxide or git2.
I tried implementing the entire push flow with git2 before, but it seemed messy.
I'm open for ideas!


Overview of regridding/resampling

In GitLab by @Huite on Sep 18, 2020, 12:56
@visr @DirkEilander
This is a short overview of resampling methods, related to projected and unprojected geospatial grids and meshes.
GDAL (and GDAL via rasterio) are probably the most commonly known. Supports a variety of methods, and is suitable for reprojecting from one coordinate system to another as well.
Limitations are primarily:

Exclusively 2D, no convenience for layers, time. Reprojecting becomes rather costly, since it recomputes weights for every slice.
Resampling methods are purely based on cell centers, no true evaluation of areal overlap
Alll C++ in a massive binary, so there’s no easy way to add different resampling methods.

Because I wanted a number of different methods for resampling (e.g. harmonic mean, conservative methods for conductance), I started looking around some time ago. First usable thing I stumbled upon is this library:
https://github.com/esa-esdl/gridtools
I added some methods, but it doesn’t take long to realize that almost many methods are a reduction over a collection of weights and values. This can be abstracted, which is what I did for the imod Regridder:
https://imod.xyz/api/prepare.html#imod.prepare.Regridder
As well as adding 1D and 3D methods. Since Numba supports JIT, it’s easy to add custom functions (provided they are a reduction over weights and values, linear interpolation doesn’t work this way, and requires a different implementation).
In terms of other numba based interpolation/resampling: https://github.com/EconForge/interpolation.py
(relies on string based code generation -> JIT, which is quirky, but no macros in Python...)
Just found this also while googling: https://github.com/dbstein/fast_interp
Pyresample is 2D, supports a number of methods, mostly focused on satellite imagery, so I think it can do reprojection: https://pyresample.readthedocs.io/en/latest/
Xemsf uses the python bindings to EMSF to do resampling (via regridding weighst netcdf): https://xesmf.readthedocs.io/en/latest/why.html
Currently, it only supports rectilinear and curvilinear grids (since that’s what xarray supports). EMSF can do a lot more, but is a very complicated fortran binary (1 million LOC apparently), which isn’t available on Windows.
A bunch of other utilities:

https://github.com/pysal/tobler: Tobler is a python package for areal interpolation, dasymetric mapping, and change of support.
https://github.com/corteva/geocube: Tool to convert geopandas vector data into rasterized xarray data.
https://github.com/corteva/rioxarray: “You can learn how to clip, merge, and reproject rasters in the Usage Examples section of the documentation. Need to export to a raster (GeoTiff)? There is an example for that as well.”
https://github.com/makepath/xarray-spatial: Xarray-Spatial implements common raster analysis functions using Numba and provides an easy-to-install, easy-to-extend codebase for raster analysis.
https://github.com/CNES/pangeo-pyinterp: Python library for optimized geo-referenced interpolation.

I’ve made a start with what a Regridder for unstructured 2D meshes looks like:
https://github.com/Huite/xugrid/blob/master/xugrid/regrid.py
In contrast to e.g. rectilinear regridding, computing weights is a lot more expensive, so taking the EMSF route and storing the weights seems like a good idea.
I think I’d like to refactor the regridding stuff into something separate, easy-installable, which deals with both structured and unstructured data (since one often wants to convert one to the other). For performance, you’d be able to specialize on structured input; for unstructured meshes, you need some kind of spatial indexing scheme.
See: https://github.com/ESM-VFC/xoak/issues/12 (I left a comment there as well).
In terms of unstructured data (2D unstructured, layer for z/depth), the UGRID convention is good and broadly applicable (it supports data on faces, edges, nodes). All mesh definitions I've encountered are very similar: coordinate arrays for the nodes, and index arrays mapping to those nodes.
The closest thing to an "in-memory" UGRID netCDF (like xarray is an "in-memory" netCDF) is the Gridded Dataset: https://github.com/NOAA-ORR-ERD/gridded
I'd like to integrate xarray with it (haven't started yet), but there's also some work coming where xarray will support more flexible indexing for unstructured meshes (see the discussion on the gridded issues).

In GitLab by @DirkEilander on Sep 21, 2020, 09:04
Thanks for this extensive overview @Huite! I like your idea of making a separate package out of the regridding utilities in imod-python. I'll also have a look at the other references in your description.

In GitLab by @DirkEilander on Sep 23, 2020, 17:48
In addition to the methods mentioned above:

CDO provides several regridding methods including the First-order Conservative Remapping (Jones, P.W. 1999, Monthly Weather Review, 127, 2204-2210) which is the standardized ISMIP6 method. I don't have experience using this package, but there are also python bindings for CDO

Iris has a regridding method, but requires your data to be presented in an Iris cube format. Xarray has to and from_iris methods to support this.

@Huite Is the CDO First-order Conservative Remapping similar to your conservative method for conductance?
@Huite Are you aware of any library that supports regridding from a geographical (e.g. WGS84) to a projected crs (e.g. UTM) like in gdal_translate/rasterio for 2D data?

In GitLab by @Huite on Oct 12, 2020, 15:39
@DirkEilander Hmm the CDO first-order might be comparable indeed, although I guess it works for triangular meshes as well?
The issue with the Iris functions is that they use the Scipy interpolation methods, which require a lot of memory and rather slow for large grids in my experience.
If you're talking about 2D data, I take it you mean arbitrary meshes of (convex) cells. If we're talking unstructured meshes, I'd argue reprojection becomes much simpler. Such a mesh typical consists of points (nodes), and the defined by a face-to-node connectivity array. So you simply reproject all the nodes. If you're looking to reproject to a specific mesh, I'd do it in two steps: first reproject the nodes, and then just do cartesian regridding to get to the final destination grid (mind, I still need to write that regridded for 2D meshes...).
For advanced methods, we ought to have a look at:
https://github.com/ClimateGlobalChange/tempestremap
(There's two papers mentioned in the readme)
And the EMSF people have multiple conservative schemes, also higher order (with publications) if I recall correctly.

In GitLab by @JoerivanEngelen on May 16, 2023, 18:04
Update: Unstructured regridding is implemented in the xugrid package. Overview unstructured regridding
When this PR for structured regridding is merged, the discussed functionality above is achieved: Regridding for structured and unstructured grids in a separate, more lightweight package. This can also be used in HydroMT.
The plan is to deprecate and eventually replace iMOD Python's regridder module with xugrids regridding:
https://gitlab.com/deltares/imod/imod-python/-/issues/328
I'm closing this issue, as the work for this is pretty much done and I'm cleaning up the issue board.
Thanks for the extensive writeup, we can always link colleagues to this issue to show the regridding functionality has been thoroughly investigated.


Reduce file padding

I don't know the history of why SIA had to implement 40Mb padding, but reducing it would open up a lot more possibilities for application developers.

I just found the Trello board and it appears that's being scheduled soon.  Thanks!

In case you're curious, here's the technical breakdown:
Sia operates on 4MB "sectors;" the minimum you can upload to a host is 4MB. The 40MB padding comes from the fact that we upload redundantly across many hosts. So even if you're uploading a 100KB file, it will be padded to 4MB and the padded version will be uploaded to many hosts. This also affects downloading: when you download the 100KB file, you have to download the full 4MB sector.
There's a few ways of fixing this. One is to "pack" files together during upload. For example, if you're uploading a whole folder of photos, they could all be packed into a single 4MB sector before being sent off to the host. The obvious downside of this approach is that you need to have all the files grouped for upload in advance, but it has the advantage of being possible today without any modifications to the host or the upload protocol.
Another approach is to allow the uploader to modify the 4MB sector by sending additional data. Then you could store multiple files in the same sector via a series of modifications. This is actually specified in our protocol, but it isn't currently used. The downside of this approach is that it's taxing for the host; since the Merkle root of the sector changes, they may have to shuffle things around in their database. If this is coded poorly, it could be a DoS vector. @DavidVorick can speak to this aspect better than I.
A final consideration here is that storing "partial sector" files will require adding checksums to the download code. Currently, since we always download a full sector, the Merkle root of the sector can double as a checksum. But if we start downloading less than one sector, we need another way to verify the integrity of the data. (Note that we can't simply use a single checksum for the entire file, because if the checksum failed, we wouldn't know which host was at fault.)

A final consideration here is that storing "partial sector" files will require adding checksums to the download code. Currently, since we always download a full sector, the Merkle root of the sector can double as a checksum. But if we start downloading less than one sector, we need another way to verify the integrity of the data. (Note that we can't simply use a single checksum for the entire file, because if the checksum failed, we wouldn't know which host was at fault.) So we need to store the checksums in the new .sia file format.

This is actually incorrect: we don't need to store extra checksums. We're using AEAD to encrypt the sector data, so we get authentication "for free" -- the checksum of the data is stored on the host, prepended to the data itself.

Recommendation to devs: "Feature Request"

What's the current status on this?


dlp/nox.py is using the old session names

https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/dlp/nox.py
Session names are unit_test, system_test etc, instead of unit, system.

Looks like it's been fixed here though: nox.py.snip

Looks like it's fixed here in the autogen, so I'm going to close this issue.
https://github.com/GoogleCloudPlatform/google-cloud-python/pull/5049/files/8fd05cf67ae92412aeba8dcc8129add2eafeb52d#diff-29df13b604302b1bdff4f81b6d6ac496R28


Jasmine pending() accepts string argument

According to the Jasmine 2.2 docs the pending() function should accept a string for a reason. I assume this is an optional parameter.
  it("can be declared by calling 'pending' in the spec body", function() {
    expect(true).toBe(false);
    pending('this is why it is pending');
  });

working on a PR

via #4109


Duplicate about page templates

We seem to have two in the repo at the moment.

@shacker closed this with commit 19fd2f which removed the about_page.html file in the template root, and left it in the base template folder.


Sqlite3 adding primary key on existing table

Environment
Knex version: 1.0.7
Database + version: sqlite3
OS: mac
Feature discussion / request
I would love to get the sqlite dialect to run a query to add a primary key to an existing table as it does with column renaming. (e.g creating a tmp table with the new schema and transferring data over).
We need to run a major scale change in our schema to add a primary key in join tables (across multiple dialects so we can run raw queries) Hi from @Strapi :D
And when doing this add it works fine with Postgres & Mysql but won't work with sqlite3. I think this should be doable with the same approach as rename in theory.
Would love to get your thoughts.

Yup, that should work. Would you be open to submit a PR for that? Can help with pointers around our codebase.

I won't be able to tackle this for now. If you don't mind keeping it alive I hope to come back to it eventually.

So after doing some research. It is not necessary per say as you can do the following with sqlite
table.interger('id').unsigned()
table.primary()

I think it would be nice to allow table.increments() in the alter that would in the background run the example above.
@kibertoad what do you think?

Closing for now let's see what the maintainers think :)


New <IP_ADDRESS> pip install errors out on CI

This is on python3.5 with travis:
https://travis-ci.org/github/astroML/astroML/jobs/666102493#L3490
While release 1.1.1 works as expected, so limiting the version number was a good enough workaround for my usecase for now, but you may want to fix the config files to avoid this issue.

Probably a duplicate of https://github.com/Unidata/cftime/issues/154

Should be fixed in version <IP_ADDRESS> release.

The pip install now seems to work, but there are other issues surfacing with numpy:
https://travis-ci.org/github/bsipocz/astroML/jobs/666185062#L4051
So either way, I think I just leave the workaround in there for our CI. Also feel free to close this issue, given that 3.5 is really close to its end of life.

Those issues are not cftime related - I think they are due to binary incompatibilities between packages on python 3.5 (due to the fact that the numpy wheels for 3.5 are now rather old).

yeah, I think tangentially it's related as everything works fine with the older cftime, but agree that it's not something worth time spending on.


Firebase Auth sendPasswordReset issue

Firebase Auth sendPasswordReset does not handle errors correctly when the email address does not exist. I receive this error:
W/BiChannelGoogleApi(15859): [FirebaseAuth: ] getGoogleApiForMethod() returned Gms: com.google.firebase.auth.api.internal.zzal@135ff7f
W/DynamiteModule(15859): Local module descriptor class for com.google.firebase.auth not found.
I/FirebaseAuth(15859): [FirebaseAuth:] Loading module via FirebaseOptions.
I/FirebaseAuth(15859): [FirebaseAuth:] Preparing to create service connection to gms implementation
E/flutter (15859): [ERROR:flutter/shell/common/shell.cc(182)] Dart Error: Unhandled exception:
E/flutter (15859): 'dart:async/future_impl.dart': Failed assertion: line 146: '<optimized out>': is not true.
E/flutter (15859): #0      _AssertionError._doThrowNew (dart:core/runtime/liberrors_patch.dart:40:39)
E/flutter (15859): #1      _AssertionError._throwNew (dart:core/runtime/liberrors_patch.dart:36:5)
E/flutter (15859): #2      _FutureListener.handleError (dart:async/future_impl.dart:146:14)
E/flutter (15859): #3      Future._propagateToListeners.handleError (dart:async/future_impl.dart:654:47)
E/flutter (15859): #4      Future._propagateToListeners (dart:async/future_impl.dart:675:24)
E/flutter (15859): #5      Future._completeError (dart:async/future_impl.dart:494:5)
E/flutter (15859): #6      _SyncCompleter._completeError (dart:async/future_impl.dart:55:12)
E/flutter (15859): #7      _Completer.completeError (dart:async/future_impl.dart:27:5)
E/flutter (15859): #8      _AsyncAwaitCompleter.completeError (dart:async/runtime/libasync_patch.dart:40:18)
E/flutter (15859): #9      FirebaseAuth.sendPasswordResetEmail (package:firebase_auth/firebase_auth.dart)
E/flutter (15859): <asynchronous suspension>
E/flutter (15859): #10     Auth.forgotPassword (file:///Volumes/drive/Flutter_Apps/flutter_crushn/lib/models/auth.dart:38:25)
E/flutter (15859): <asynchronous suspension>
E/flutter (15859): #11     _LoginState.forgotPasswordPressed (file:///Volumes/drive/Flutter_Apps/flutter_crushn/lib/pages/login.dart:382:42)
E/flutter (15859): <asynchronous suspension>
E/flutter (15859): #12     _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:507:14)
E/flutter (15859): #13     _InkResponseState.build.<anonymous closure> (package:flutter/src/material/ink_well.dart:562:30)
E/flutter (15859): #14     GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:102:24)
E/flutter (15859): #15     TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:242:9)
E/flutter (15859): #16     TapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:204:7)
E/flutter (15859): #17     GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27)
E/flutter (15859): #18     _WidgetsFlutterBinding&BindingBase&GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:147:20)
E/flutter (15859): #19     _WidgetsFlutterBinding&BindingBase&GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:121:22)
E/flutter (15859): #20     _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:101:7)
E/flutter (15859): #21     _WidgetsFlutterBinding&BindingBase&GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:64:7)
E/flutter (15859): #22     _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:48:7)
E/flutter (15859): #23     _invoke1 (dart:ui/hooks.dart:153:13)
E/flutter (15859): #24     _dispatchPointerDataPacket (dart:ui/hooks.dart:107:5)

I am receiving the same type of exception for FirebaseAuth.signInWithEmailAndPassword():

E/flutter (  852): [ERROR:flutter/shell/common/shell.cc(188)] Dart Error: Unhandled exception:
E/flutter (  852): 'dart:async/future_impl.dart': Failed assertion: line 146:  -optimized out- is not true.
E/flutter (  852): #0      _AssertionError._doThrowNew (dart:core/runtime/liberrors_patch.dart:40:39)
E/flutter (  852): #1      _AssertionError._throwNew (dart:core/runtime/liberrors_patch.dart:36:5)
E/flutter (  852): #2      _FutureListener.handleError (dart:async/future_impl.dart:146:14)
E/flutter (  852): #3      Future._propagateToListeners.handleError (dart:async/future_impl.dart:654:47)
E/flutter (  852): #4      Future._propagateToListeners (dart:async/future_impl.dart:675:24)
E/flutter (  852): #5      Future._completeError (dart:async/future_impl.dart:494:5)
E/flutter (  852): #6      _SyncCompleter._completeError (dart:async/future_impl.dart:55:12)
E/flutter (  852): #7      _Completer.completeError (dart:async/future_impl.dart:27:5)
E/flutter (  852): #8      _AsyncAwaitCompleter.completeError (dart:async/runtime/libasync_patch.dart:40:18)
E/flutter (  852): #9      FirebaseAuth.signInWithEmailAndPassword (package:firebase_auth/firebase_auth.dart)
E/flutter (  852):
E/flutter (  852): #10     Session.login. (package:mood_map/utilities/session.dart:35:30)
E/flutter (  852):
E/flutter (  852): #11     _RootZone.runUnary (dart:async/zone.dart:1379:54)
E/flutter (  852): #12     _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
E/flutter (  852): #13     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
E/flutter (  852): #14     Future._propagateToListeners (dart:async/future_impl.dart:671:32)
E/flutter (  852): #15     Future._complete (dart:async/future_impl.dart:476:7)
E/flutter (  852): #16     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
E/flutter (  852): #17     _AsyncAwaitCompleter.complete (dart:async/runtime/libasync_patch.dart:28:18)
E/flutter (  852): #18     _completeOnAsyncReturn (dart:async/runtime/libasync_patch.dart:295:13)
E/flutter (  852): #19     Session._checkUserAlreadyExists (package:mood_map/utilities/session.dart)
E/flutter (  852):
E/flutter (  852): #20     Session.login (package:mood_map/utilities/session.dart:31:11)
E/flutter (  852):
E/flutter (  852): #21     LoginScreenState._loginButtonBlock.
(package:mood_map/login/login_view.dart:312:27)
E/flutter (  852): #22     _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:507:14)
E/flutter (  852): #23     _InkResponseState.build. (package:flutter/src/material/ink_well.dart:562:30)
E/flutter (  852): #24     GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:102:24)
E/flutter (  852): #25     TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:242:9)

I think this is a general problem regarding error handling in firebase_auth.
As in #18312 and #20223 . So I believe it's a duplicate.
And if it is, there's a PR already for that. flutter/plugins#775 .

Its not @ffeu the issue is if an error has happened like no account exists it should give an error but its giving the above and sometimes crashing the app

@rlee1990 Are you still experiencing the issue?

@cyanglaz i have not tried in awhile so I'm not sure.

@rlee1990 Thank you for the quick response.  I would close the issue now since it seems to be being fixed https://github.com/flutter/plugins/pull/775. If you continue to experience the issue, please free feel to reopen or open another issue with details.

@rlee1990
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/596. Any further collaboration will be done there.


Fix provider warning in base Terraform sample

Using the base tf file sample, terraform init gives out the following warning:
Warning: Version constraints inside provider configuration blocks are deprecated

   2:     version = "~>2.0"

Terraform 0.13 and earlier allowed provider version constraints inside the
provider configuration block, but that is now deprecated and will be removed
in a future version of Terraform. To silence this warning, move the provider
version constraint into the required_providers block.

The proposed fix removes the warning.

Apologies, Natasa, for missing this PR for so long. I'll accept the PR now. Note that the build system is broken with Ignite content being prioritized. Hopefully, this will go through in the next few days.


dotnet aspnet-codegenerator - my brain throws NameTooLongException

Seriously.
I've looked to see if this has been mentioned before, but it hasn't, so here I am.
Why not dotnet asp?

If we change the name now it would be a breaking change. It is jut a dotnet cli global too now so if you want you can alias to a smaller name. Closing.


iOS obscureText input security features

Use case
It seems that since probably iOS 13+ the system actively protects users from showing obscured text like passwords and related stuff like keyboards in screenshots, recordings, screen sharing etc. I could not find some official paper with specifications, but from testing and sources like https://www.reddit.com/r/iphone/comments/eqox55/if_you_go_into_your_passwords_and_try_to/ (screenshot), https://discussions.apple.com/thread/251035283 (video), https://github.com/flutter/flutter/issues/116777, etc. I figured out:
for screenshots, recording, screen sharing on iOS the apps while obscureText=true:

hide keyboards
hide content of obscureText (passwords) inputs
immediately when the state of the input changes (aka user clicked on "eye" icon etc), it switches

This works for all native apps I tested including settings, Twitter, Instagram, ...
It seems that Flutter only supports the 1. thing, aka keyboard is hidden while.
Proposal
Explore more about these features, implement hiding of text field content on these occasions and propagate the changes of obscureText.

Thanks for pointing this out.  Can you clarify what exactly is happen in Flutter for points 2 and 3 versus what should be happening?  Also, are you saying that this is only during screenshot/recording/screensharing and not during normal app use?

https://user-images.githubusercontent.com/5287596/213691262-4fc03ef7-a3e7-4eb9-b970-5b3bf50ae36b.MOV

Hi, if you take a look at native apps, as I mentioned, they hide password content and length + keyboards while obscured text, and they show the content + keyboards while the input is not obscured.
In Flutter (while recording, screenshot, probably screen share, ...), once textfield is obscured, keyboard is always hidden (no matter if obscuredText changes). The password input content switching work in a way that if I switch obscuredText to false, the content is visible as plain text, if I change it to true, it shows replacement character for it while in native it doesn't show anything.
Take a look at a video comparing Twitter and Flutter (red color is color of Scaffold, yellow color is color of its content/Column).
Upload.from.GitHub.for.iOS.MOV
I still could not find any proper documentation of this feature by Apple, but some more sources:

https://discussions.apple.com/thread/253402530
https://discussions.apple.com/thread/251479386
https://discussions.apple.com/thread/251549153

Have your issue solved?


DOP-4592: Parse breadcrumb toc titles

Ticket
DOP-4592
Notes
slugToTitle uses the full title fields of pages. Breadcrumbs and back/forward buttons in Snooty should use the condensed TOC labels. This creates a field slugToBreadcrumbLabel on the metadata as well and parses the TOC labels to have on hand if possible, and if not, uses the title field.
README updates

[ ] This PR introduces changes that should be reflected in the README.md and/or HACKING.md, and I have made those updates.

[x] This PR does not introduce changes that should be reflected in the README.md and/or HACKING.md

Should we add a test for this in test_postprocess.py, e.g.
def test_breadcrumb_toc_titles() -> None:
    with make_test(
        {
            Path(
                "source/index.txt"
            ): """..."""
        }
    ) as result:
        assert result.metadata["slugToBreadcrumbLabel"] == <expectedValue>, "Description of this assertion"


Duplicate items in LinkList

I was following the tutorial and had issues with subscriptions.
Tracked down my issue to be this https://github.com/graphcool/prisma/issues/1734
Now it’s firing too many events.
So now I end up with duplicate items in the LinkList

Hey @incon, I updated the repo to use the latest dependencies of graphql-yoga and prisma-binding. This should have fixed the issue, please let me know if you're still running into any issues after testing the updated version  🙂

ERROR: Workspace nikolas does not exist

{
  "data": {
    "generateClusterToken": null
  },
  "errors": [
    {
      "message": "Workspace nikolas does not exist",
      "locations": [
        {
          "line": 3,
          "column": 9
        }
      ],
      "path": [
        "generateClusterToken"
      ]
    }
  ],
  "status": 200
}

PR to fix this issue https://github.com/howtographql/react-apollo/pull/29


uboot: Use the uboot support provided by meta-balena for cmdline

This removes the use of OS_KERNEL_CMDLINE directly by switching to the
uboot support provided by os_cmdline variable set by set_os_cmdline.
Signed-off-by: Andrei Gherzan<EMAIL_ADDRESS>Please don't merge until https://github.com/balena-os/meta-balena/pull/1506 gets merged and an update of the meta-balena version which includes these changes is added to this PR.

@balena-ci retest


Updates cdn download link.

Developer no longer has certificate for cdn.cakebrew.com. The following
URL should be used instead: https://cakebrew-377a.kxcdn.com/cakebrew-1.2.3.dmg
More detailed discussion.

Thank you for your contribution. Next time please fill out the pull request template, as it would have picked up the errors in your submission.


Dupe fix

Thanks a lot for bringing this mod as a workaround for crashes!
I'm trying to fix a dupe bug https://github.com/Creators-of-Create/Create/issues/4880
that also happens on the fabric fork
I haven't been able to figure out what class/code is at wrong here, must be a hard issue since its open since may 2023,
it would be cool to have this fix too!
you can contact me on discord (muriplz),
I undertand anyways that this is out of scope of this mod since it is not a crash and a very specific dupe

I think that I will include this. Thank you pointing it out.

They'd better use ItemStack#matches

No they'd better use ItemStack#isSameItemSameTags because it should work with different counts

https://pastes.io/rch9rjbdxv
I tested this on a prod server and got this crash!
I'm not sure as if this stacktrace is due to an issue with it or some other unrelated crash happened and made it throw an stacktrace.
It's cut because I could only see it in console with it happened, wasn't pasted to any log file or crash file

This is caused by this mod, however, the important part about what exactly caused the crash is missing, so I cannot fix this without more information.

When did it crash? On startup or while playing?

I'll try to replicate it to get the full log, its during the game, not startup

ava.lang.NullPointerException: Cannot invoke "com.simibubi.create.content.logistics.filter.ItemAttribute.serializeNBT(net.minecraft.class_2487)" because the return value of "com.simibubi.create.foundation.utility.Pair.getFirst()" is null
at com.simibubi.create.content.logistics.filter.AttributeFilterMenu.lambda$saveData$1(AttributeFilterMenu.java:152)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at com.simibubi.create.content.logistics.filter.AttributeFilterMenu.saveData(AttributeFilterMenu.java:147)
at com.simibubi.create.content.logistics.filter.AttributeFilterMenu.saveData(AttributeFilterMenu.java:25)
at com.simibubi.create.foundation.gui.menu.MenuBase.method_7595(MenuBase.java:59)
at net.minecraft.class_3222.method_14247(class_3222.java:1089)
at net.minecraft.class_1657.method_5650(class_1657.java:1412)
at net.minecraft.class_3218.method_18770(class_3218.java:929)
at net.minecraft.class_3324.method_14611(class_3324.java:413)
at net.minecraft.class_3244.method_10839(class_3244.java:1228)
at net.minecraft.class_2535.method_10768(class_2535.java:452)
at net.minecraft.class_3242.method_14357(class_3242.java:185)
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:908)
at net.minecraft.class_3176.method_3813(class_3176.java:283)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:824)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:671)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:265)
at java.base/java.lang.Thread.run(Thread.java:840)

That's a separate issue

My bad, it seems to work fine, the items are not longer duped, although:

Droppers on contraption now dont work, although they dont vanish items
When trying to dupe, it does vanish the toolbox

This array has the empty toolbox in the dropper and the toolbox with stuff inside in the barrel

No logs on console or anything
Sorry for the late response here

It is intended that it doesn't do anything if there is no item with exact same data in the barrel and just one item in the dropper.


EnumerateStereoisomers in multiprocessing

Configuration:

RDKit Version: 2019.09.1
Operating system: Ubuntu 18.04
Python version (if relevant): 3.6
Are you using conda? yes
If you are using conda, which channel did you install the rdkit from? rdkit
If you are not using conda: how did you install the RDKit?

Description:

If I pass SMILES to a function which generate stereoisomers in multiprocessing pool it works as expected. If I pass RDKit Mol objects the function returns one unsteric compound as output. In the single thread it works with Mol objects correctly.

from rdkit import Chem
from multiprocessing import Pool
from rdkit.Chem.EnumerateStereoisomers import EnumerateStereoisomers

smiles = ['CC(N)C(O)=O', 'CC(C)C(N)C(O)=O']
mols = [Chem.MolFromSmiles(s) for s in smiles]

for m in mols:
    print([Chem.MolToSmiles(q) for q in EnumerateStereoisomers(m)])

output - OK
['C[C@H](N)C(=O)O', 'C[C@@H](N)C(=O)O']
['CC(C)[C@H](N)C(=O)O', 'CC(C)[C@@H](N)C(=O)O']

Create two functions and a pool
def f1(smi):
    mol = Chem.MolFromSmiles(smi)
    return [Chem.MolToSmiles(q) for q in EnumerateStereoisomers(mol)]

def f2(mol):
    return [Chem.MolToSmiles(q) for q in EnumerateStereoisomers(mol)]

p = Pool(2)

from SMILES
for res in p.imap_unordered(f1, smiles):
    print(res)

Output - OK
['C[C@H](N)C(=O)O', 'C[C@@H](N)C(=O)O']
['CC(C)[C@H](N)C(=O)O', 'CC(C)[C@@H](N)C(=O)O']

from Mols
for res in p.imap_unordered(f2, mols):
    print(res)

Output - not OK
['CC(N)C(=O)O']
['CC(C)C(N)C(=O)O']

@DrrDom Hi Pavel, I can reproduce the problem also outside the Pool by roundtripping the molecule through pickle, which is what Pool will do to pass mol to the process it spawns:
for m in mols:
    m = pickle.loads(pickle.dumps(m))
    print([Chem.MolToSmiles(q) for q in EnumerateStereoisomers(m)])
['CC(N)C(=O)O']
['CC(C)C(N)C(=O)O']

This is happens because pickling clears atom properties, in this case the _ChiralityPossible property that EnumerateStereoisomers uses:
for m in mols:
    print("Before pickling")
    print ([(a.GetIdx(), a.GetProp("_ChiralityPossible"))
            for a in m.GetAtoms()
            if a.HasProp("_ChiralityPossible")])
    print("After pickling")
    m = pickle.loads(pickle.dumps(m))
    print ([(a.GetIdx(), a.GetProp("_ChiralityPossible"))
            for a in m.GetAtoms()
            if a.HasProp("_ChiralityPossible")])
    print([Chem.MolToSmiles(q) for q in EnumerateStereoisomers(m)])
Before pickling
[(1, '1')]
After pickling
[]
['CC(N)C(=O)O']
Before pickling
[(3, '1')]
After pickling
[]
['CC(C)C(N)C(=O)O']

To avoid the problem, modify f2() as follows:
def f2(mol):
    Chem.AssignStereochemistry(mol, flagPossibleStereoCenters=True)
    return [Chem.MolToSmiles(q) for q in EnumerateStereoisomers(mol)]

Thank you, Paolo!
I expected loss of some atom/molecular properties but did not guessed to re-assign stereoinformation.

Another solution is to call:
Chem.SetDefaultPickleProperties(Chem.PropertyPickleOptions.AllProps)

To enable pickling all properties.  See:
https://github.com/rdkit/rdkit/issues/2470

Thank you, Brian! Nice! I did not know about this feature.


hdf read error

I am trying to read an hdf5 file created with pytables into dask. I am calling
f = dd.read_hdf(output_fname, '/floats/trajectories')

And getting the error
ValueError                                Traceback (most recent call last)
<ipython-input-6-d59a8b2bb0a1> in <module>()
----> 1 f = dd.read_hdf(output_fname, '/floats/trajectories')

/home/rpa/dask/dask/dataframe/io.py in read_hdf(pattern, key, start, stop, columns, chunksize)
    697     return concat([_read_single_hdf(path, key, start=start, stop=stop,
    698                                     columns=columns, chunksize=chunksize)
--> 699                    for path in paths])
    700
    701

/home/rpa/dask/dask/dataframe/io.py in _read_single_hdf(path, key, start, stop, columns, chunksize)
    651     from .multi import concat
    652     return concat([one_path_one_key(path, k, start, s, columns, chunksize)
--> 653                    for k, s in zip(keys, stops)])
    654
    655

/home/rpa/dask/dask/dataframe/io.py in one_path_one_key(path, key, start, stop, columns, chunksize)
    631         """
    632         if columns is None:
--> 633             columns = list(pd.read_hdf(path, key, stop=0).columns)
    634
    635         token = tokenize((path, os.path.getmtime(path), key, start,

/usr/local/anaconda/lib/python2.7/site-packages/pandas/io/pytables.pyc in read_hdf(path_or_buf, key, **kwargs)
    330
    331     try:
--> 332         return store.select(key, auto_close=auto_close, **kwargs)
    333     except:
    334         # if there is an error, close the store

/usr/local/anaconda/lib/python2.7/site-packages/pandas/io/pytables.pyc in select(self, key, where, start, stop, columns, iterator, chunksize, auto_close, **kwargs)
    672                            auto_close=auto_close)
    673
--> 674         return it.get_result()
    675
    676     def select_as_coordinates(

/usr/local/anaconda/lib/python2.7/site-packages/pandas/io/pytables.pyc in get_result(self, coordinates)
   1366
   1367         # directly return the result
-> 1368         results = self.func(self.start, self.stop, where)
   1369         self.close()
   1370         return results

/usr/local/anaconda/lib/python2.7/site-packages/pandas/io/pytables.pyc in func(_start, _stop, _where)
    665             return s.read(start=_start, stop=_stop,
    666                           where=_where,
--> 667                           columns=columns, **kwargs)
    668
    669         # create the iterator

/usr/local/anaconda/lib/python2.7/site-packages/pandas/io/pytables.pyc in read(self, where, columns, **kwargs)
   4039
   4040             block = make_block(values, placement=np.arange(len(cols_)))
-> 4041             mgr = BlockManager([block], [cols_, index_])
   4042             frames.append(DataFrame(mgr))
   4043

/usr/local/anaconda/lib/python2.7/site-packages/pandas/core/internals.pyc in __init__(self, blocks, axes, do_integrity_check, fastpath)
   2176
   2177         if do_integrity_check:
-> 2178             self._verify_integrity()
   2179
   2180         self._consolidate_check()

/usr/local/anaconda/lib/python2.7/site-packages/pandas/core/internals.pyc in _verify_integrity(self)
   2387         for block in self.blocks:
   2388             if not block.is_sparse and block.shape[1:] != mgr_shape[1:]:
-> 2389                 construction_error(tot_items, block.shape[1:], self.axes)
   2390         if len(self.items) != tot_items:
   2391             raise AssertionError('Number of manager items must equal union of '

/usr/local/anaconda/lib/python2.7/site-packages/pandas/core/internals.pyc in construction_error(tot_items, block_shape, axes, e)
   3525         raise e
   3526     raise ValueError("Shape of passed values is {0}, indices imply {1}".format(
-> 3527         passed,implied))
   3528
   3529

ValueError: Shape of passed values is (1, 0), indices imply (1, 753664023)

If helpful, I can post the h5dump of the file header. (It's really long.)

I should also mention that I don't know whether pandas can read this or not--it is too big to fit into memory.

Try
pd.read_hdf(..., start=0, stop=10)
to get a few rows using pandas.
On Wed, Sep 23, 2015 at 1:43 AM, Ryan Abernathey<EMAIL_ADDRESS>wrote:

I should also mention that I don't know whether pandas can read this or
not--it is too big to fit into memory.
—
Reply to this email directly or view it on GitHub
https://github.com/blaze/dask/issues/747#issuecomment-142531128.

In my experience, pandas struggles to read HDF5 files that were created with anything other than pandas. It uses pretty specific conventions for storing metadata.

pd.read_hdf(output_fname, '/floats/trajectories', start=0, stop=10)

gives
ValueError: Shape of passed values is (1, 10), indices imply (1, 753664023)

Frustrating. I guess this is a more general pandas issue.
I have hundreds of GB of data in this format. I was hoping to be able to use dask on it. Too bad...

You could try loading it into dask.array.
http://dask.pydata.org/en/latest/array-creation.html

You might also be able to whip up a custom solution using dd.from_array.
Alternatively, I think there might be an easy way to construct a dask DataFrame out of dask arrays?

Thanks a lot for the feedback.
I was able to load the data as a dask array, following the example from @cowlicks. This is useful progress. But none of the column names were imported.
I would like to be able to use the dataframe api, specifically groupby, on this dataset. So constructing a DataFrame out of the dask array would be ideal. Can't see exactly how to do that however.

You may find the dask.dataframe.from_dask_array function to be of use.
On Wed, Sep 23, 2015 at 2:30 PM, Ryan Abernathey<EMAIL_ADDRESS>wrote:

Thanks a lot for the feedback.
I was able to load the data as a dask array, following the example from
@cowlicks https://github.com/cowlicks. This is useful progress. But
none of the column names were imported.
I would like to be able to use the dataframe api, specifically groupby, on
this dataset. So constructing a DataFrame out of the dask array would be
ideal. Can't see exactly how to do that however.
—
Reply to this email directly or view it on GitHub
https://github.com/blaze/dask/issues/747#issuecomment-142735640.

@rabernat did @mrocklin's suggestion work for you? If you have anymore questions we're happy to help.

@cowlicks @mrocklin, really appreciate your help here.
dask.dataframe.from_dask_array did work in the sense that it did not raise any errors. However, the resulting dataframe is unusable. This is my complete workflow
import h5py
import dask
f = h5py.File(output_fname)
d = f['/floats/trajectories']
x = dask.array.from_array(d, chunks=(10000,))
ddf = dask.dataframe.from_dask_array(x)

But if I try to actually access the dataframe, e.g. ddf.head(), I get the error

---------------------------------------------------------------------------
NotImplementedError                       Traceback (most recent call last)
<ipython-input-6-c69d295e43ff> in <module>()
----> 1 ddf.head()

/home/rpa/dask/dask/dataframe/core.pyc in head(self, n, compute)
    325
    326         if compute:
--> 327             result = result.compute()
    328         return result
    329

/home/rpa/dask/dask/base.pyc in compute(self, **kwargs)
     29
     30     def compute(self, **kwargs):
---> 31         return compute(self, **kwargs)[0]
     32
     33     @classmethod

/home/rpa/dask/dask/base.pyc in compute(*args, **kwargs)
     97                 for opt, val in groups.items()])
     98     keys = [arg._keys() for arg in args]
---> 99     results = get(dsk, keys, **kwargs)
    100     return tuple(a._finalize(a, r) for a, r in zip(args, results))
    101

/home/rpa/dask/dask/threaded.pyc in get(dsk, result, cache, num_workers, **kwargs)
     55     results = get_async(pool.apply_async, len(pool._pool), dsk, result,
     56                         cache=cache, queue=queue, get_id=_thread_get_id,
---> 57                         **kwargs)
     58
     59     return results

/home/rpa/dask/dask/async.pyc in get_async(apply_async, num_workers, dsk, result, cache, queue, get_id, raise_on_exception, rerun_exceptions_locally, callbacks, **kwargs)
    489                 _execute_task(task, data)  # Re-execute locally
    490             else:
--> 491                 raise(remote_exception(res, tb))
    492         state['cache'][key] = res
    493         finish_task(dsk, key, state, results, keyorder.get)

NotImplementedError: compound dtypes are not implementedin the Series constructor

Traceback
---------
  File "/home/rpa/dask/dask/async.py", line 266, in execute_task
    result = _execute_task(task, data)
  File "/home/rpa/dask/dask/async.py", line 249, in _execute_task
    return func(*args2)
  File "/usr/local/anaconda/lib/python2.7/site-packages/pandas/core/series.py", line 141, in __init__
    dtype = self._validate_dtype(dtype)
  File "/usr/local/anaconda/lib/python2.7/site-packages/pandas/core/generic.py", line 117, in _validate_dtype
    .format(self.__class__.__name__))

Since a compound dtype is the essence of tabular data, and the whole reason I wanted to use dataframe rather than array, this seems like a big limitation.

But none of the column names were imported.

Btw, in retrospect I was wrong about this. The column names were imported in the form of a numpy structured array.
I just want to be able to do groupby.

This may be resolved in https://github.com/blaze/dask/pull/759

@rabernat this should now work if you're on master branch.  Are you able to verify this?

Yes, it works! :+1:

Great!   I'm going to close this for now.


feat: cdk8s-plus-30

Following instructions: https://github.com/cdk8s-team/cdk8s-plus/blob/k8s-29/main/rotate.md#two-create-the-new-cdk8s-plus-branch

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4260

Questions ?
Please refer to the Backport tool documentation


Stuck at Lightning Filtering Blockchain V1.0

Issue #312 was closed, waiting for version 1.0.
Unfortunately I encountered this problem on V1.0.
Power went out a few times very briefly. When starting up again message:
Lightning Filtering Blockchain
Progress ?/563941
Please wait - this can take some time
Here is the error log:
*** RASPIBLITZ LOGS ***
blitzversion: 1.0
chainnetwork: bitcoin / main
05:43:05 up 15:50,  2 users,  load average: 0.56, 0.59, 0.45
*** CHAINNETWORK SYSTEMD STATUS ***
● bitcoind.service - Bitcoin daemon
Loaded: loaded (/etc/systemd/system/bitcoind.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2019-02-20 13:45:24 GMT; 15h ago
Process: 736 ExecStart=/usr/local/bin/bitcoind -daemon -conf=/home/bitcoin/.bitcoin/bitcoin.conf -pid=/home/bitcoin/.bitcoin/bitcoind.pid (code=exited, status=0/SUCCESS)
Main PID: 745 (bitcoind)
CGroup: /system.slice/bitcoind.service
└─745 /usr/local/bin/bitcoind -daemon -conf=/home/bitcoin/.bitcoin…id
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
*** LAST 20 CHAINNETWORK LOGS ***
2019-02-21T04:42:38Z socket recv error Connection reset by peer (104)
2019-02-21T04:48:41Z socket recv error Connection reset by peer (104)
2019-02-21T04:49:44Z socket recv error Connection reset by peer (104)
2019-02-21T04:57:31Z UpdateTip: new best=00000000000000000005977fcff865d181d1224bea83d2da14cade3db430e975 height=563979 version=0x20000000 log2_work=90.369299 tx=385084236 date='2019-02-21T04:57:04Z' progress=1.000000 cache=104.8MiB(914177txo) warning='34 of last 100 blocks have unexpected version'
2019-02-21T04:58:54Z UpdateTip: new best=00000000000000000022341d5f5c22ae466b0f2c9a84d33a1b08143023323c9e height=563980 version=0x3fff0000 log2_work=90.369323 tx=385086310 date='2019-02-21T04:59:01Z' progress=1.000000 cache=104.8MiB(914438txo) warning='34 of last 100 blocks have unexpected version'
2019-02-21T04:59:10Z socket recv error Connection reset by peer (104)
2019-02-21T05:00:21Z socket send error Broken pipe (32)
2019-02-21T05:02:23Z Pre-allocating up to position 0x600000 in rev01536.dat
2019-02-21T05:02:23Z UpdateTip: new best=00000000000000000002aab1d5719db2cc890581648974f6aa341598908ad91d height=563981 version=0x20800000 log2_work=90.369346 tx=385088719 date='2019-02-21T05:01:54Z' progress=1.000000 cache=104.8MiB(913708txo) warning='34 of last 100 blocks have unexpected version'
2019-02-21T05:02:47Z socket recv error Connection reset by peer (104)
2019-02-21T05:10:36Z socket recv error Connection reset by peer (104)
2019-02-21T05:12:17Z socket recv error Connection reset by peer (104)
2019-02-21T05:12:48Z socket recv error Connection reset by peer (104)
2019-02-21T05:20:08Z socket recv error Connection reset by peer (104)
2019-02-21T05:22:16Z socket recv error Connection reset by peer (104)
2019-02-21T05:25:38Z UpdateTip: new best=00000000000000000011b9cc8884ef6fbc7013582a55f3ce5740bfd5e8107fa8 height=563982 version=0x20000000 log2_work=90.36937 tx=385091672 date='2019-02-21T05:25:10Z' progress=1.000000 cache=105.1MiB(916648txo) warning='34 of last 100 blocks have unexpected version'
2019-02-21T05:31:29Z socket recv error Connection reset by peer (104)
2019-02-21T05:37:39Z UpdateTip: new best=0000000000000000001af7a8130aa43c1203709d797f21fa6f493a0f45e7a57a height=563983 version=0x20000000 log2_work=90.369393 tx=385094664 date='2019-02-21T05:37:19Z' progress=1.000000 cache=105.2MiB(917981txo) warning='33 of last 100 blocks have unexpected version'
2019-02-21T05:37:50Z socket recv error Connection reset by peer (104)
2019-02-21T05:39:30Z socket recv error Connection reset by peer (104)
*** LND SYSTEMD STATUS ***
● lnd.service - LND Lightning Daemon
Loaded: loaded (/etc/systemd/system/lnd.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2019-02-20 13:45:24 GMT; 15h ago
Main PID: 746 (lnd)
CGroup: /system.slice/lnd.service
└─746 /usr/local/bin/lnd --externalip=<IP_ADDRESS>
Feb 21 04:45:20 TheCapsNode lnd[746]: 2019/02/21 04:45:20 http: TLS handsha…hake
Feb 21 05:18:49 TheCapsNode lnd[746]: 2019/02/21 05:18:49 http: TLS handsha…hake
Hint: Some lines were ellipsized, use -l to show in full.
*** LAST 20 LND LOGS ***
-- Logs begin at Wed 2019-02-20 18:44:55 GMT, end at Thu 2019-02-21 05:43:05 GMT. --
Feb 21 01:49:19 TheCapsNode lnd[746]: 2019-02-21 01:49:19.090 [DBG] RPCS: [walletbalance] Total balance=0.00327511 BTC
Feb 21 01:49:19 TheCapsNode lnd[746]: 2019-02-21 01:49:19.143 [DBG] RPCS: [ListPayments]
Feb 21 01:49:19 TheCapsNode lnd[746]: 2019-02-21 01:49:19.197 [INF] RPCS: [listchannels] fetched 12 channels from DB
Feb 21 01:54:49 TheCapsNode lnd[746]: 2019/02/21 01:54:49 http: TLS handshake error from <IP_ADDRESS>:20222: tls: first record does not look like a TLS handshake
Feb 21 02:01:53 TheCapsNode lnd[746]: 2019/02/21 02:01:53 http: TLS handshake error from <IP_ADDRESS>:6008: tls: first record does not look like a TLS handshake
Feb 21 03:17:59 TheCapsNode lnd[746]: 2019/02/21 03:17:59 http: TLS handshake error from <IP_ADDRESS>:45410: tls: first record does not look like a TLS handshake
Feb 21 03:30:37 TheCapsNode lnd[746]: 2019/02/21 03:30:37 http: TLS handshake error from <IP_ADDRESS>:55646: tls: oversized record received with length 21536
Feb 21 03:30:37 TheCapsNode lnd[746]: 2019/02/21 03:30:37 http: TLS handshake error from <IP_ADDRESS>:55662: EOF
Feb 21 03:33:53 TheCapsNode lnd[746]: 2019/02/21 03:33:53 http: TLS handshake error from <IP_ADDRESS>:4720: EOF
Feb 21 03:33:53 TheCapsNode lnd[746]: 2019/02/21 03:33:53 http: TLS handshake error from <IP_ADDRESS>:4721: tls: first record does not look like a TLS handshake
Feb 21 03:48:33 TheCapsNode lnd[746]: 2019/02/21 03:48:33 http: TLS handshake error from <IP_ADDRESS>:46023: tls: first record does not look like a TLS handshake
Feb 21 04:17:19 TheCapsNode lnd[746]: 2019-02-21 04:17:19.050 [DBG] CRTR: New graph topology client subscription, client 3
Feb 21 04:17:19 TheCapsNode lnd[746]: 2019-02-21 04:17:19.391 [DBG] RPCS: [pendingchannels]
Feb 21 04:17:19 TheCapsNode lnd[746]: 2019-02-21 04:17:19.402 [DBG] RPCS: [walletbalance] Total balance=0.00327511 BTC
Feb 21 04:17:19 TheCapsNode lnd[746]: 2019-02-21 04:17:19.471 [DBG] RPCS: [ListPayments]
Feb 21 04:17:19 TheCapsNode lnd[746]: 2019-02-21 04:17:19.493 [INF] RPCS: [listchannels] fetched 12 channels from DB
Feb 21 04:22:15 TheCapsNode lnd[746]: 2019/02/21 04:22:15 http: TLS handshake error from <IP_ADDRESS>:37088: tls: first record does not look like a TLS handshake
Feb 21 04:32:05 TheCapsNode lnd[746]: 2019/02/21 04:32:05 http: TLS handshake error from <IP_ADDRESS>:49436: tls: first record does not look like a TLS handshake
Feb 21 04:45:20 TheCapsNode lnd[746]: 2019/02/21 04:45:20 http: TLS handshake error from <IP_ADDRESS>:45866: tls: first record does not look like a TLS handshake
Feb 21 05:18:49 TheCapsNode lnd[746]: 2019/02/21 05:18:49 http: TLS handshake error from <IP_ADDRESS>:20222: tls: first record does not look like a TLS handshake
*** LAST 20 RTL LOGS ***
-- No entries --

Not sure what I did, but it is working again.
I shut it down: sudo shutdown -r now
Gave the hdd extra power, peak protector on the main power supply. Power up...
Will put in a powerbank to prevent it from happening again.


Don't forget you're in the market.

Currently, if you need to stop blackbird for some reason, when you restart it, it will not remember that it is in the market. (at least this is what I observed).
Would it be helpful to have the program save the "result" object and then load it on startup if applicable?
(This would also be helpful because you could edit configuration in the middle of a trade.)

Is it fixed? Does Blackbird "remembers" it is in the market when stopped?

It did last time I looked at anything...but I know there's been a lot of
development since I last checked in. (It should)
On Wed, Aug 23, 2017 at 11:20 AM, bertrandfalguiere <
<EMAIL_ADDRESS>wrote:

Is it fixed? Does Blackbird "remembers" it is in the market when stopped?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/butor/blackbird/issues/126#issuecomment-324387641,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAfxbEPgYqdNshTDABK5jbJqBkG9HxVlks5sbFFCgaJpZM4MeZ5U
.


chore: update node version of favtory from 20.16.0 to 20.17.0

updates the default factory node version from 20.16.0 to 20.17.0

Please bump also to FACTORY_VERSION='4.1.1' in factory/.env (otherwise it won't publish properly).

Ah missed that. Thank you!


xmpp for trading alarms

Added optional account set-up and buy/sell alarms with XMPP. Needs simple-xmpp and 2 XMPP server accounts: one for sending the trader messages and one for receiving them.
Considering two way functionality to disable/reenable live trading while running

Wouldn't it be better to add a generic plugin interface to engine.js than hardwire the xmpp protocol into it. There are a lot of messaging apps out there, and everyone have thir own preferences

Completely right.
I will look into abstracting the messaging protocol and controlling the bot through (xmpp) messaging.
Those are my first steps with node.js and I was amazed on how easy it was to integrate xmpp. Any other coding challenge is beyond my capacity for the moment.

The topic is interesting, and I have some ideas around this to share. My nick on Discord is tuxador if you wan to discuss. https://discord.gg/HcPhKX

@piedrogenius
See if you can hook xmpp into this:
https://github.com/tuxitor/zenbot/blob/master/docs/Zentalk.md
You can take advantage of websocket by using this program as a base:
https://github.com/tuxitor/zenbot/blob/master/zenout.sh
Output is plain JSON with the trade data.

@tuxitor I fully agree with your comments here, but I'm also a firm believer in building blocks, the existence of this will make it easier for people to start using XMPP today and future contributors to easily extend this.
Merging. Thanks for the work and time @piedrogenius! :+1:

@DeviaVir
I agree with you to a certain extent, but still think this deserves a comment. It is obviously easier to get a head start by entering the credentials in the config file. But the concept of hardcoding xmpp functions into the engine code means functions scattered around the code, and extending this at the end means a lot of code pollution.
To the contrary, the zentalk concept has a lot more potential for extension without changing an additional single line if code in the engine program. This means a lot for maintainability of the code because all extended functionality is done outside the zenbot code.
As of today zentalk have both mail and xmpp reporting, and have had for quite a while.
Besides that zentalk has access to most of the zebot data in a form (JSON) which is ideal for use by other programs (still without the need for changing anyting zenbot)
From the interactive zentalk program a lot of data is already available in JSON form. These are options, balance, product, period, strat, quote, status and trades availabe through a get request. some options are even possible to change during a live run. The period object is ideal for extracting candles, to name one. Only imagination limits the use. And still without changing anything in the zenbot code. This is modular design, and the documentation is quite decent
https://github.com/tuxitor/zenbot/blob/zentalk/docs/Zentalk.md
I think it is worth looking into it again.

@tuxitor by no means am I saying that these overwrites any and all other efforts, I'm only saying I'm not principally against adding a change just because there is a better way (that hasn't been picked up by anyone so far). The ticket to implement something better is still open, for example.


FIX for issue 511

coverage on master

Summary of changes
Fix unallocated bounds & strides for singleton on reallocation.
Rationale for changes
Should fix https://github.com/sourceryinstitute/OpenCoarrays/issues/511.
Additional info and certifications
The test case shown in https://github.com/sourceryinstitute/OpenCoarrays/issues/511#issue-303693409 was clearly showing unallocated bounds on my machine. On realloc_required, for a singleton delta == 1, the extent_mismatch block was never reached.
The whole test suite was ran without any failure, with a regression test added.
Toolchain:
glibc 2.31
gcc  9.2.0
caf 2.8.0
mpich 3.3.2
This pull request (PR) is a:

[x] Bug fix
[ ] Feature addition
[ ] Other, Please describe:

I certify that

[x] I certify that:

I have reviewed and followed the contributing guidelines
I will wait at least 24 hours before self-approving the PR to give another
OpenCoarrays developer a chance to review my proposed code
I have not introduced errant white space (no trailing white space or white space errors may
be introduced)
I have added an explanation of what these changes do and why they should be included
I have checked to ensure there aren't other open Pull Requests for the same change
I have you written new tests for these changes
I have successfully tested these changes locally
I have commented any non-trivial, non-obvious code changes
The commits are logically atomic, self consistent and coherent
The commit messages follow best practices
Test coverage is maintained or increased after this is merged

Code coverage data

@neok-m4700 thank you for this contribution!  In addition to being very timely for my work, this fix will be of interest to others.  As you've probably seen from the latest comments in issue #511, it appears there's more needed to fix that issue so I've assigned review of this PR to @afanfa to ask his opinion on whether to merge it or wait for a more complete fix.

LGTM merging and closing based on discussion with @afanfa.


Improving parsing logic

Describe your changes
Issue number
Closes #610
Checklist before requesting a review

[x] Performed a self-review of my code
[x] Formatted my code with pkgmt format
[x] Added tests (when necessary).

:books: Documentation preview :books:: https://jupysql--619.org.readthedocs.build/en/619/

Seems CI is failing

please merge from master, the CI has been fixed

@anupam-tiwari any updates?

test_parse_connect_shovel_over_newlines() test is failing, so I am improving the logic


VS cant open Terminal.

VS

Open in terminal.

 Doesnt open WHERE I SELECTED.

This is really great... such a simple thing..

But why are you reporting this to the VS Code developers?

Because I cant find the VS one. Even when reporting from inside VS. And Im nog wasting more time googling searching where to report bugs.

Please create an issue for VS - this is VS Code, which has no control over VS.


disallow_prefix_unmatching not working consistently with jdtls language server

I am trying to enable fuzzy matching for sub-parts of a string when the prefix does not match, which means: If there is a method called getUsername() I want it to match if I enter just user. If I am not mistaken there is an option called disallow_prefix_unmatching which has to be set to false to enable exactly that behavior. Looking at the tests of this option I can confirm that I want to achieve exactly what is done in line 88:
https://github.com/hrsh7th/nvim-cmp/blob/a110e12d0b58eefcf5b771f533fc2cf3050680ac/lua/cmp/matcher_spec.lua#L86-L89
While this works fine on some language servers such as gopls, it doesnt on jdtls: When I have a go object with a method getUsername() and try to auto-complete this by entering user it correctly matches aforementioned method, but when I try to do the same in java it doesnt. Entering guser or just gu works with both language servers, gopls and jdtls. Therefore I suspect this is some kind of oddity with jdtls.
I use a minimal nvim-cmp config with all disallow_* variables set to false and based on my experience it can be reproduced with any java project, for example this one: jenkins-docs/simple-java-maven-app.
There is a discussion where this issue has been summed up quite nicely.

Hm...  What is your minimal cmp configuration?

With minimal configuration I meant the default configuration with nothing special added beside setting the disallow_* variables to false. For example the configuration posted in this discussion or the default cmp configuration of NvChad/NvChad.
But apparently I have spoken too soon. I have tested this further and it seems not to be the case that non prefix fuzzy matching does not work at all with jdtls. It simply doesnt work consistently. It is really strange. I have a set of completion candidates and some match and others dont with no reasonable pattern. I will try to further debug this.

I think jdtls is slow and nvim-cmp was delayed.

https://github.com/hrsh7th/nvim-cmp/discussions/1854#discussioncomment-10016066
require("lspconfig").jdtls.setup({
  java = {
    completion = { maxResults = 0 }
  }
})

This is not a problem of nvim-cmp.

I suspected some jdtls quirk being the root cause right from the beginning but just couldnt figure out what. Thank you very much for the solution to this issue and your detailed explanation in the related discussion.


Add a guideline for target-specific behavior.

This adds a vague guideline about target-specific behavior.
There is a potential intertwined relationship with implementation-specific (#29) and version-specific rules, and other intentionally unspecified behaviors (#28). I expect to follow up with those later.
Closes https://github.com/rust-lang/spec/issues/44

@JoelMarcey When approving, I think it is fine for you to also merge. If there was some hesitation, please let us know so that it is clear what is blocking. I'm going to go ahead and merge based on the approval above.


Goon Mutator Pill (April Fools)

About the PR

Adds a goon human mutator pill to maint lockers, it mutates you into a goonstation human
the clothes dont fit that well but what can you do
Why / Balance

would be quite funny to see a guy from a completely different codebase just walking around, would create a "kris where the fuck are we" type situation
Media

https://github.com/space-wizards/space-station-14/assets/79580518/b36ae591-f708-44a6-8504-024fd4ea8e9d

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

Welcome to the station, goon human!

does this turn any species into a goon human?

does this turn any species into a goon human?

anything that doesnt have an animal stomach

uhhh test fails unrelated?

make them able to fart and this will be the best PR this fools

make them able to fart and this will be the best PR this fools

https://github.com/space-wizards/space-station-14/assets/79580518/d274861b-d0ab-4b3b-9a38-a67fd4581f5c

shiiit i pred this to wrong branch


Feat song bug

When a song has someone else featured, the song is marked as wrong even if it is right.
maybe split the song before and after the feat, if it has feat in it and the part of the list with the index 0 is the song name (remember about the brackets)

I could have a go at removing any brackets and dashes from the songs. For brackets it would remove the brackets and contents. For a dash it would remove everything after the dash as well as the dash.
This could cause a few issues, but should work for the majority of songs?

I could have a go at removing any brackets and dashes from the songs. For brackets it would remove the brackets and contents. For a dash it would remove everything after the dash as well as the dash.
This could cause a few issues, but should work for the majority of songs?

Is it worth causing issue for some songs and it working for the rest of the songs?

Possibly not, but I think it would help more songs than it would break/stop working


fix stop.sh execute failed in macos (#3187)

fix stop.sh exxcute failed in macos(#3187)

Make sure that:

[x] You have read the contribution guidelines.
[x] You submit test cases (unit or integration tests) that back your changes.
[x] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #3188 (a4934b9) into master (35e9f98) will decrease coverage by 0.41%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #3188      +/-   ##
============================================
- Coverage     57.47%   57.05%   -0.42%
+ Complexity     4526     4486      -40
============================================
  Files           730      730
  Lines         20818    20814       -4
  Branches       1915     1914       -1
============================================
- Hits          11965    11876      -89
- Misses         7803     7885      +82
- Partials       1050     1053       +3

Impacted Files
Coverage Δ

...ache/shenyu/plugin/grpc/cache/GrpcClientCache.java
68.75% <0.00%> (-31.25%)
:arrow_down:

...admin/controller/ShenyuHttpRegistryController.java
77.77% <0.00%> (-22.23%)
:arrow_down:

...che/shenyu/sync/data/http/HttpSyncDataService.java
69.10% <0.00%> (-14.64%)
:arrow_down:

...yu/sync/data/http/refresh/AbstractDataRefresh.java
70.00% <0.00%> (-13.34%)
:arrow_down:

...in/disruptor/RegisterServerDisruptorPublisher.java
52.94% <0.00%> (-11.77%)
:arrow_down:

...henyu/admin/service/impl/UpstreamCheckService.java
51.42% <0.00%> (-11.43%)
:arrow_down:

...a/org/apache/shenyu/common/utils/VersionUtils.java
67.85% <0.00%> (-10.72%)
:arrow_down:

...henyu/plugin/grpc/resolver/ShenyuNameResolver.java
52.12% <0.00%> (-10.64%)
:arrow_down:

.../apache/shenyu/admin/model/dto/BatchCommonDTO.java
50.00% <0.00%> (-7.15%)
:arrow_down:

...apache/shenyu/admin/model/dto/AuthPathWarpDTO.java
57.14% <0.00%> (-7.15%)
:arrow_down:

... and 28 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 35e9f98...a4934b9. Read the comment docs.


 The following code demonstrates this:
(defn bar [lst]
  nil)

(defn foo []
  (bar (map #(hash-map :n %) [1 2])))

(fact "test"
  (foo) => [4 5]
  (provided (bar [1 2]) => [4 5]))

And the output is:
FAIL at (core.clj:10)
You never said #'bar would be called with these arguments:
    ["<an unrealized lazy sequence>"]

FAIL at (core.clj:10)
These calls were not made the right number of times:
    (bar [1 2]) [expected at least once, actually never called]

FAIL test at (core.clj:9)
Expected:
[4 5]
Actual:
"`bar` returned this string because it was called with an unexpected argument"

It would be very useful to see what the called parameters were instead of having the test output indicate that it was an unrealized lazy sequence. It would help when debugging since it allows you to see what the code was sending to the prerequisite.

Hi @dfbernal,
you mean you'd like to see
You never said #'bar would be called with these arguments:
    [({:n 1} {:n 2})]

instead of the following?
You never said #'bar would be called with these arguments:
    ["<an unrealized lazy sequence>"]

In theory we can do this, but it would mean evaluating the lazy-sequence. Since I didn't write the code that chose to print the "<an unrealized lazy sequence>" message, I don't know what trade-offs were weighed when deciding to avoid evaluating the lazy seq. @marick can you recall the details of this decision?

Yes, exactly. That's the feature I'd like to see.


Use Proskomma React Hooks 2.1.0

Wait until 2.1.0 is available as a Node module
The latest version of this library includes bug fixes and new features.
There are breaking changes in useCatalog which will require changes in Diegesis. The catalog state variable now contains filtered output which is intended to be easier to work with.
https://proskomma-react-hooks.netlify.app/#usecatalog

[ ] Refactor to use the new useCatalog output
[ ] Check that the other pages still work
[ ] Comment here on how convenient the new useCatalog output is to work with

@RevantCI v2.1.0 is now visible on NPM - not sure why I couldn't see it before...

@RevantCI I'm in the middle of a major refactoring of the app structure and navigation, so let's hold off on this for a day or two.

The new version didn't have much breaking changes on the reboot app.
Am not sure of the functionality of each returned json but by used Mark's code and the Netlify example to make it work.
The output json of useCatalog is quiet large may cause issues if multiple bibles are used.
The output json structure was easy to use.


Command line switch --scaling strong not working

Dear extrap team,
with extrap-gui from extrap 4.1.2 I tried to load from the command line as either of the following way:
extrap-gui --cube case_working+profile --scaling strong
extrap-gui  --scaling strong  --cube case_working+profile

Both load and display a model but do not adopt "strong" scaling. They stay with the default "weak".
Thank you for your efforts! Andreas

As explained in our docs, when using the --scaling strong  switch Extra-P converts your experiment into a weak scaling experiment. Your data will be displayed correctly but the model you see will look like a weak scaling model.