Signin

Converted SignIn.component.js for redux, using redux hooks.  Also addes signInActions.js and signInReducer.js, and updated reducers/index.  Sign In function  is working.


Java Buildpack sample fails when deploying

Please provide us with the following information:

This issue is a: (mark with an x)

[x ] bug report -> please search issues before submitting

Issue description
Following the instructions here: https://learn.microsoft.com/en-us/azure/container-apps/quickstart-code-to-cloud?tabs=bash%2Cjava&pivots=without-dockerfile
Results in:
ERROR: failed to build: failed to write image to the following tags: [pack.local/builder/717471786c7870686765:latest: saving image "pack.local/builder/717471786c7870686765:latest": Error response from daemon: No such image: sha256:0e671222ca6fe5965ec5a37c92545434b3652ef09be0b4c390a4e5c49023bb46
Unable to run 'pack build' command to produce runnable application image: Non-zero exit code returned from 'pack build'; please check the above output for more details.
No supported builder could be used to build an image from the provided application source.
Steps to reproduce

Follow instructions here: https://learn.microsoft.com/en-us/azure/container-apps/quickstart-code-to-cloud?tabs=bash%2Cjava&pivots=without-dockerfile

Expected behavior [What you expected to happen.]
Application should deploy as expected
Actual behavior [What actually happened.]
Deployment fails with above error
Additional context
Occurred using Azure CLI

@graemefoster I successfully deployed the container app following the steps outlined in the URL "https://learn.microsoft.com/en-us/azure/container-apps/quickstart-code-to-cloud?tabs=bash%2Cjava&pivots=without-dockerfile" without encountering any errors.

Please ensure that you execute the "az containerapp" up command from the correct directory where the code is located. For example, I am running the command from the following path: PS C:\Users\v-vishnuu\Desktop\containerapps-albumapi-java-buildpack>.

Hi @v-vish,
Unsure what's going wrong on my side. I'm running from an Apple Silicon macbook-pro but that shouldn't make a difference in this case. I made sure it was a fresh unzip of the sample code.

Thanks,
Graeme

@v-vish I'm also getting errors when I try and upload a jar file using the --artifact switch:

Just to confirm my az cli setup:

@graemefoster Could you please open a support ticket with Microsoft regarding the issue outlined above? You can use the following URL for reference: https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request.
If you need any further assistance, feel free to reach out to me.


[BUG] ETH.LINK no value

Describe the bug
LINK on ETH does not have any dollar value
Screenshots

Version 1.0.4

Additional context
Add any other context about the problem here.

it has been fixed #539


Wolpertinger agents added to examples

Hey all!
Added an example about Wolpertinger agents to the repo. I wanted to grow out our fledgling RL example base. Wolpertinger agents seemed complex enough to demonstrate hierarchical RL while still being able to navigate reasonably. This runs as a standalone repo (I've got a copy in my own repo).
Getting great performance on CartPole-v1. It takes about 5 seeds, but usually it'll get to the maximum reward in about 500 steps. Pendulum and others also run reasonably.
I've got a few questions:

Where should I put the pyflann repo? There are custom fixes that needed to be landed in there, and pyflann (from what I can tell) isn't being maintained anymore.
Should these examples be as standalone as this? There isn't a good way of condensing this algorithm down to the bare essentials past this.
Is there any way to squeeze more performance out of this? I'm running the training step through @TinyJit.

Thanks all

This should be in its own repo, not the main tinygrad repo.
For kernel speed you can start by checking if all kernels are jitted/method cached and not recompiled in each step (DEBUG=2 shows that), then use kernel search by adding BEAM env var. I recommend start with BEAM=2

🫡 thanks @chenyuxyz ! I'll check it out.

(Also, while I've got you here @chenyuxyz , I was gonna go after porting world models and CW-VAEs next. Any recs for what should be its own repo and when that distinction happens?)


RxSwift example

I'm learning how to use RxSwift with Moya, and I would really appreciate it if someone was able to provide an example (best way to learn!), for the function mapJSON() within here:
provider.rx.request(.zen).subscribe { event in
    switch event {
    case .success(let response):
        // Within here
    case .error(let error):
    }
}

Thanks!

Hi @SD10
Using Moya 9.0.0 you can do like this
provider.rx.request(.zen).mapJSON().subscribe(onSuccess: { json in
    print(json) // json can be an [[String: AnyObject]] or [String: AnyObject]
}) { error in
    print(error)
}.disposed(by: disposeBag)

Moya adds methods like mapJSON, mapImage and mapString on Response class
In this example, I believe mapString is best, because zen endpoint returns just a string.


Error on composer update

Problem 1
- Conclusion: remove laravel/framework v5.2.45
- Conclusion: don't install laravel/framework v5.2.45
- Conclusion: don't install laravel/framework v5.2.44
- Conclusion: don't install laravel/framework v5.2.43
- Conclusion: don't install laravel/framework v5.2.42
- Conclusion: don't install laravel/framework 5.2.41
- Conclusion: don't install laravel/framework v5.2.40
- Conclusion: don't install laravel/framework v5.2.39
- Conclusion: don't install laravel/framework v5.2.38
- Conclusion: don't install laravel/framework v5.2.37
- Conclusion: don't install laravel/framework v5.2.36
- Conclusion: don't install laravel/framework v5.2.35
- Conclusion: don't install laravel/framework v5.2.34
- Conclusion: don't install laravel/framework v5.2.33
- Conclusion: don't install laravel/framework v5.2.32
- Conclusion: don't install laravel/framework v5.2.31
- Conclusion: don't install laravel/framework v5.2.30
- Conclusion: don't install laravel/framework v5.2.29
- Conclusion: don't install laravel/framework v5.2.28
- Conclusion: don't install laravel/framework v5.2.27
- Conclusion: don't install laravel/framework v5.2.26
- Conclusion: don't install laravel/framework v5.2.25
- Conclusion: don't install laravel/framework v5.2.24
- Conclusion: don't install laravel/framework v5.2.23
- Conclusion: don't install laravel/framework v5.2.22
- Conclusion: don't install laravel/framework v5.2.21
- Conclusion: don't install laravel/framework v5.2.20
- Conclusion: don't install laravel/framework v5.2.19
- Conclusion: don't install laravel/framework v5.2.18
- Conclusion: don't install laravel/framework v5.2.17
- Conclusion: don't install laravel/framework v5.2.16
- Conclusion: don't install laravel/framework v5.2.15
- Conclusion: don't install laravel/framework v5.2.14
- Conclusion: don't install laravel/framework v5.2.13
- Conclusion: don't install laravel/framework v5.2.12
- Conclusion: don't install laravel/framework v5.2.11
- Conclusion: don't install laravel/framework v5.2.10
- Conclusion: don't install laravel/framework v5.2.9
- Conclusion: don't install laravel/framework v5.2.8
- Conclusion: don't install laravel/framework v5.2.7
- Conclusion: don't install laravel/framework v5.2.6
- Conclusion: don't install laravel/framework v5.2.5
- Conclusion: don't install laravel/framework v5.2.4
- Conclusion: don't install laravel/framework v5.2.3
- Conclusion: don't install laravel/framework v5.2.2
- Conclusion: don't install laravel/framework v5.2.1
- barryvdh/laravel-cors dev-master requires illuminate/support 5.3.x|5.4.x -> satisfiable by illuminate/support[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.13, v5.4.9].
- barryvdh/laravel-cors dev-master requires illuminate/support 5.3.x|5.4.x -> satisfiable by illuminate/support[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.13, v5.4.9].
- don't install illuminate/support v5.3.0|don't install laravel/framework v5.2.0
- don't install illuminate/support v5.3.16|don't install laravel/framework v5.2.0
- don't install illuminate/support v5.3.23|don't install laravel/framework v5.2.0
- don't install illuminate/support v5.3.4|don't install laravel/framework v5.2.0
- don't install illuminate/support v5.4.0|don't install laravel/framework v5.2.0
- don't install illuminate/support v5.4.13|don't install laravel/framework v5.2.0
- don't install illuminate/support v5.4.9|don't install laravel/framework v5.2.0
- Installation request for laravel/framework 5.2.* -> satisfiable by laravel/framework[5.2.41, v5.2.0, v5.2.1, v5.2.10, v5.2.11, v5.2.12, v5.2.13, v5.2.14, v5.2.15, v5.2.16, v5.2.17, v5.2.18, v5.2.19, v5.2.2, v5.2.20, v5.2.21, v5.2.22, v5.2.23, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.29, v5.2.3, v5.2.30, v5.2.31, v5.2.32, v5.2.33, v5.2.34, v5.2.35, v5.2.36, v5.2.37, v5.2.38, v5.2.39, v5.2.4, v5.2.40, v5.2.42, v5.2.43, v5.2.44, v5.2.45, v5.2.5, v5.2.6, v5.2.7, v5.2.8, v5.2.9].
- Installation request for barryvdh/laravel-cors dev-master -> satisfiable by barryvdh/laravel-cors[dev-master].

I'm having the same issue, I was pointing to an specific commit but I got this too

Are you requiring dev-master? Never ever do that, require a stable version. 0.9.x is the latest for 5.2

Thanks! @barryvdh

Thanks!


Add a content license

The tutorial text itself (and code samples) currently doesn't seem to be under any license. Could you add one, please? See Choose a License for more information :slightly_smiling_face:
I would recommend CC BY 4.0 for text and CC0 1.0 for code samples.

Entire thing (code and text) is MIT and configured as such in github


Make all histogram bars of the same size and avoid overlap

Histograms bars overlap. This became visible with the
alternating coloring. This fixes this.
Their width might be rather different due to rounding errors.
That is, it's possible to have one bar of width 1 and the other
bar of width 4. The max difference in pixel-width of the bars
rendered should not exceed one 1.
To this end we generate width of each bin beforehand.
Tests: Manual, Unit tests
Bug: http://b/223566472

There's a lot of new stuff in this PR now. Is that a result of the merge?

@dpallotti I guess so. On top of the comments I have also renamed histogram_widget->histogram_widget_

@dpallotti I guess so. On top of the comments I have also renamed histogram_widget->histogram_widget_

I'm not sure what the final result of the merge would be, but it shouldn't be like that: HistogramWidget::mousePressEvent, DrawSelection and LocationToValue are all extra. Are they already on the main branch? If yes, why do they show up?

Yes, they're all in the main branch. Could introduction of the namespace cause the mess?

Yeah, because of the new namespace I has to move the functions a bit. Now diff shows that I've removed them in one place and added in another.


v 3+ (BUG) species menu in Add Data doesn't allow for user to select species

ToDO:
Since the latest merge into /develop/ (01/07/23) the species menu (*as seen in ios build) does not allow us to select a tree species (EVEN with TreeBot off).
Please fix so that a user can select any species.
ALSO IF there has ALREADY been a species ADDED to the menu and the user opens the menu and selects a different species then what is currently populated - have a popup alert menu that opens and says:
Confirmation
Do you want to change the species entry?
Have two buttons underneath the text that say: Cancel (which just returns them to the selection menu) AND Yes.

@bestw07
Whoops - I think this still needs to be done
"ALSO IF there has ALREADY been a species ADDED to the menu and the user opens the menu and selects a different species then what is currently populated - have a popup alert menu that opens and says:
Confirmation
Do you want to change the species entry?"

@bestw07 has implemented. Closing for now.


Local docker deployment

It would be really nice to have MyEtherWallet dockers for local deployment. So we could deploy MEW not only for EC2 but into our own servers or for some alternative hosting providers (e.g. Digital Ocean).

Run


TRANSFORMER_PHASE_DEPLOYED

Adds a transformer phase that runs every time a VM is deployed.

@squirrelsc Previous transformers are passed a node connection in the runbook. However, for transformers in this phase I want to access the node that was just deployed. Do you have thoughts on the best way to implement that?

@squirrelsc It looks like my changes changed the behavior of LisaRunner so that CI workflows are failing. Can you help me understand what is going wrong?

So the changed behavior is due to
transformer.run(
    self._runbook_builder, phase=constants.TRANSFORMER_PHASE_DEPLOYED
)

But I would assume that since there are no transformers in that phase, it should not affect behavior. I will have to investigate further how this is making the CI tests fail.

This was much needed. Thanks @kamalca for adding this feature.


Migrate from k8s.gcr.io to registry.k8s.io

This PR does the following changes:

modify all occurrences of k8s.gcr.io to registry.k8s.io.

This is a part of https://github.com/kubernetes/k8s.io/issues/4780.

@lstocchi @Tatsinnit can you PTAL?


Homepage refer to an old and deprecated mockito artefact

As of today, the javadoc.io give url example using an old and deprecated mockito artefact.

Link to a particular class
You can link to a particular class with url javadoc.io/page/{org}/{artifact}/{version}/{page}
For example: https://javadoc.io/page/org.mockito/mockito-all/1.10.8/org/mockito/stubbing/Answer.html

For latest version just put latest in your url javadoc.io/page/{org}/{artifact}/latest/{page}
For example: https://javadoc.io/page/org.mockito/mockito-all/latest/org/mockito/stubbing/Answer.html

For latest patch version for a specific major version javadoc.io/page/{org}/{artifact}/{major_version}/{page}
For example: https://javadoc.io/page/org.mockito/mockito-all/2.0/org/mockito/stubbing/Answer.html will be redirected to 2.0.2-beta (the current latest 2.0.x version)

Is it possible to replace those with mockito-core artefact, and using a modern version, respectively:

https://javadoc.io/page/org.mockito/mockito-core/3.0.0/org/mockito/stubbing/Answer.html
https://javadoc.io/page/org.mockito/mockito-core/latest/org/mockito/stubbing/Answer.html
https://javadoc.io/page/org.mockito/mockito-core/3.0/org/mockito/stubbing/Answer.html

sure, I can make the change. Although this is really just an example. :)

@maxcellent I'd rather have an example with an up-to-date lib than an old one.

this is no longer an issue with the new homepage

@maxcellent Cool, thanks for the feedback !
And nice new homepage !


[FEATURE] Default Calendars

Add to the calendar configuration the ability to pick from a list of common system calendars (D&D, Pathfinder, Warhammer, etc).
Selecting one of theses and applying it would overwrite the existing calendar configuration with one for the selected system/world.

This has been added in version 1.1.0


Dynamic class names

I am trying to add a class to the ReactSVG component once something happens. I am using the latest version of react, react-svg, classnames.
render() {
    const themeIcon = className( "qilin-icon", {
        "is-active" : this.props.isThemeToggled,
    } );

    return (
        <ReactSVG className={themeIcon} path="images/icons/menu/theme.svg" />
    );
}

themeIcon is a valid string:

CSS clases are not changing in the DOM once SVG is loaded:

Is there an easy way to dynamically change SVG classes or should I use refs and the callback function?

@Bartozzz that looks like expected behaviour to me?
In your example screenshot, I can see the icon class is showing up on the svg element. If you sent through icon is-active as the value for the className prop (say, when that render function was called again), then those two classes will show up on the svg element.

Yes, the .icon class shows on the svg element on the first render, but it's keeps showing on the consecutives ones - even if themeIcon has changed. Maybe it happens only on my machine as I am using NW.js and the Node.js/Window context is messed up a little. At this moment I am adding the .is-active class to the parent element.
Anyway, can you provide a working, tested example that's adds a class to the ReactSVG element?

I see what you mean now. This module delegates to SVGInjector, and I think that keeps an internal cache of the SVG's it loads, and if it determines an SVG has already been loaded, then it won't update it. I'd need to investigate further.
In the meantime it sounds like your workaround will be ok, I'm guessing (have yet to test this) you're doing something like wrapping ReactSVG in a div, and getting at the SVG element via a selector like .icon.is-active svg {}?

Yup, that's exactly what I am doing.

@Bartozzz this issue should be fixed if you want to try grabbing the latest version now.

Closing, assuming the thumbs up meant things were all good? Feel free to post a new issue or reopen this one if you feel the issue isn't resolved.


missing permission on files in cit/bin on Windows

We used the playbook to deploy the agent on Windows. It worked fine, but the scans are not able to be executed with an error 'access denied (error 5 or 0x5 for the scheduled task)'. To verify where the permission are invalid, we have performed all steps manually which will be executed by the scheduled task and the issue is related to permissions in the LMT scanner directory \cit\bin. All files in that folder have no permission assigned:
No groups or users have permission to access this object. However, the owner of this object can assign permissions.
The reason is simple. The folder CIT has the permission
Allow everyone - Read - This folder and subfolders
Allow Administrators - Full Control - This folder and subfolders
No user got permission on files, hence all files in the folder cit and and all subfolders got no permission assigned.
For a test I have now added a new command to provide permission in install_scanner_windows.yml:
- name: "Give FullControl rights to SYSTEM for \cit\bin directory on Windows endpoints"
  ansible.windows.win_acl:
    path: "{{ lmt_scanner_path_windows }}\\cit\\bin"
    user: "SYSTEM"
    type: allow
    rights: Read,Write,Modify,FullControl,Delete
    inherit: ContainerInherit, ObjectInherit
    state: present
    propagation: 'None'

and started the scheduled task which is running under the SYSTEM account. The scan was now successful. But it makes sense to correct the permissions, if you can confirm the bug.
We have tested it on several Windows system 2012-2019.

Very sad that there is no solution so far. With every update we have to modify the playbooks afterwards to get it working on Windows.

I apologize for the delay. The fix will be applied to the disconnected scanner and released with the next version.

New version of disconnected scanner has been released with IBM License Metric Tool <IP_ADDRESS>.


Attachment disappear after send in individual chats after delivered status

This happens after sharing to the app

I cannot replicate

FIxed, my branch


Added dockerfile for texmaker

NOTE: This is a clone of the texmaker dockerfile at https://github.com/orthros/dockerfiles
I also have an addition to your .dockerfunc that will mount and run the container properly, but it assumes you have image built locally (as I have yet to push it to any registry)

Update: I have added it to DockerHub here

I think there is a good chance that this won't be accepted into this repo. See https://github.com/jessfraz/dockerfiles/pull/252#issuecomment-292352480. I could be wrong though!

Makes perfect sense to me! I'll just preemptively close then 😁


[flutter] Fix for ScrollController async access exception in Scrollbar Widget.

Description
An exception is thrown when the Scrollbar tries to access the controllers positions after the controller has been detached from the scroll view for only 1 frame.
This is executed in a addPostFrameCallback but can happen after the controller has no positions.
https://github.com/flutter/flutter/blob/7d17c53992932fad100f03e24030fc5a53c03aaa/packages/flutter/lib/src/material/scrollbar.dart#L136
══╡ EXCEPTION CAUGHT BY SCHEDULER LIBRARY ╞═════════════════════════════════════════════════════════
The following assertion was thrown during a scheduler callback:
Assertion failed:
file:///C:/Android/flutter/packages/flutter/lib/src/widgets/scroll_controller.dart:110:12
_positions.isNotEmpty
"ScrollController not attached to any scroll views."

When the exception was thrown, this was the stack:
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 216:49  throw_
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 26:3    assertFailed
packages/flutter/src/widgets/scroll_controller.dart 110:23                                                                 get position
packages/flutter/src/material/scrollbar.dart 115:40                                                                        <fn>

Related Issues

Fixes #55432 - Failed assertion: line 110 pos 12: '_positions.isNotEmpty'

Tests
I added the following tests:
Updated: When isAlwaysShown is true, controller does not need to be attached to a scroll view
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: https://flutter.dev/go/breaking-changes-template Replace this with a link to a pull request that adds the migration guide to https://flutter.dev/docs/release/breaking-changes

This PR has not been updated in some time, so I am going to close it for now. If you would like to come back and work on this, feel free to re-open! Thanks!
Also, there is currently a large scrollbar effort underway, follow https://github.com/flutter/flutter/issues/70866 for updates if you'd like to return to this and coordinate. :)


Update helm chart for running as deployment

Builds off of https://github.com/kubernetes-sigs/descheduler/pull/572 to also add the deployment to helm.
helm template yields the following with kind: Deployment:
apiVersion: apps/v1
kind: Deployment
metadata:
  name: RELEASE-NAME-descheduler
  labels:
    app.kubernetes.io/name: descheduler
    helm.sh/chart: descheduler-0.20.0
    app.kubernetes.io/instance: RELEASE-NAME
    app.kubernetes.io/version: "0.20.0"
    app.kubernetes.io/managed-by: Tiller
spec:
  replicas: 1
  selector:
    matchLabels:
      app.kubernetes.io/name: descheduler
      app.kubernetes.io/instance: RELEASE-NAME
  template:
    metadata:
      labels:
        app.kubernetes.io/name: descheduler
        app.kubernetes.io/instance: RELEASE-NAME
      annotations:
        checksum/config: 9fe081cdd7d5c040105f0b817cfded705b3a18c3e4258d0afef86ec00f1cf9ee
    spec:
      priorityClassName: system-cluster-critical
      serviceAccountName: RELEASE-NAME-descheduler
      containers:
        - name: descheduler
          image: "k8s.gcr.io/descheduler/descheduler:v0.20.0"
          imagePullPolicy: IfNotPresent
          command:
            - "/bin/descheduler"
          args:
            - "--policy-config-file"
            - "/policy-dir/policy.yaml"
            - "--descheduling-interval"
            - 5m
            - "--v"
            - "3"
          ports:
            - containerPort: 10258
              protocol: TCP
          resources:
            requests:
              cpu: 500m
              memory: 256Mi

          securityContext:
            allowPrivilegeEscalation: false
            capabilities:
              drop:
                - ALL
            privileged: false
            readOnlyRootFilesystem: true
            runAsNonRoot: true
            # Required until 0.21.0 image is released
            # https://github.com/kubernetes-sigs/descheduler/issues/466
            runAsUser: 1000
          volumeMounts:
            - mountPath: /policy-dir
              name: policy-volume
      volumes:
        - name: policy-volume
          configMap:
            name: RELEASE-NAME-descheduler

I signed it

Sorry, this will need a rebase

@damemi should be ready for re-review now

/retest

/approve

/hold
@praxist could you squash to 1 commit please?

@damemi rebased + squashed


chore(main): release 3.9.0

:robot: I have created a release beep boop
3.9.0 (2024-03-02)
Features

Add a EdgeRateLimiter JavaScript Class which enables edge-rate-limiting by utilising a RateCounter and a PenaltyBox instance (#732) (4e81fc7)
Add a PenaltyBox JavaScript Class which can be used standalone for adding and checking if an entry is in the penalty-box (#731) (bfe1e15)
Add a RateCounter JavaScript Class which can be used standalone for counting and rate calculations (#730) (0f6036f)
implement and expose JavaScript classes for Fastly's Compute Core Cache feature set (#566) (94f4038)

Bug Fixes

disable the portable-baseline-tier for async functions for now (#733) (4928243)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/fastly/js-compute-runtime/releases/tag/v3.9.0 :sunflower:


TPV signalling adaptor activity

signalling adaptor activity
has the parents
GO:0009967    positive regulation of signal transduction
GO:0023056    positive regulation of signaling
and
The scaffold I am annotating are not  necessarily "regulators" of signal transduction.
(they are part_of the signalling pathway, required for signalling but not necessarily controlling the rate)

Right this should not be there, see also https://github.com/geneontology/go-ontology/issues/15509#issuecomment-471166184


Enable choosing between full dump or import dump for external transforms

#160

[x] class transform
[x] function transform
[x] torch-module transform
[x] compound transform
[x] tests
[x] toggle for transforms
[x] toggle for modules / packages
[x] documentation
[x] prevent name conflicts

It looks like all doctest-modules pass. I think it would be a good idea to add the option --doctest-modules to the pytest command in the .github/workflows/actions.yml file. What do you think? @wuhu

@sjrl doctests fail in 3.9 because some objects have different names, I suggest to fix that in a different PR (created an issue at #318).


Metric Names

Hi,  thanks for this, it looks really useful.
One issue/question is that it replaces the dots with underscores in the target for rendering.
i.e. my graphite server needs: http://graphite-server.local/render?&target=sysdev-icinga.prod.host.tcw_p18.rta
But this generates:
http://graphite-server.local/render?&target=sysdev-icinga.prod_host_tcw_p18.rta
which fails.
My Icinga graphite.conf is:
host_name_template = "sysdev-icinga.$host.vars.env$.host.$host.vars.shortname$"
service_name_template = "sysdev-icinga.$host.vars.env$.$host.vars.type$.$host.vars.shortname$.$service.name$"
So this is presumably why, i.e. I'm not using the default naming scheme.
Is there anyway this module can either read this config, or have the ability to define this in it's own config?  I'd love to use this, I just can't at the moment!

Alternatively - and probably easier - how about having something similar to "vars.graphite_keys" but where the value supplied is taken literally as the full name of the metric?  i.e. doesn't have anything pre/appended to it?

Hi @markvr, i have added macro resolution so you can now configure host_name_template = "sysdev-icinga.$host.vars.env$.host.$host.vars.shortname$" however the implementation is not the same as that used in the graphite writer so it could well fail for some expressions.

@philiphoy

This causes all snmp checks to fail in rendering data.

Hi thanks for adding this!
Unfortunately I'm having a problem:  On the "services" page I get the error:
"Can't access property 'graphite_1'. Property does not exist."
My config.ini for this is:
service_name_template = "$service.vars.graphite_1$.$service.vars.graphite_2$.$service.vars.graphite_3$.$service.vars.graphite_4$.$service.vars.graphite_5$.$service.hostshortname$"

And an example service is:
object Service "webfarm/webapp/accom" {
     check_command = "http"
...<snip>...
     vars.graphite_1 = "webfarm"
     vars.graphite_2 = "webapp"
     vars.graphite_3 = "accom"
     vars.graphite_4 = "_"
     vars.graphite_5 = "_"
}

Have I done something wrong?!

Investigating further, if I dump the object out from PHP in Macro.php, the only reference to my vars.graphite_1=".." is in $object->customvars, but they have had some weird altering, so "vars.graphite_1" has become "Graphite 1" which is somewhat unexpected.
The line if  ($object->{$translated} !== false) { seems to throw an error if $translated doesn't exist, rather than returning false like I imagine is expected.  This is the cause of the Can't access property error above.
Icinga  / Icingaweb is presumably silently rewriting the variable names to make them more "readable", which is entirely unhelpful when trying to reference them here!

@markvr ok now the code does teh same weird var name translation which should hopefully fix your issue.


updated allure plugin

There were too few functions in allure plugin

pre-push hint: execute this npm run lint-fix to solve the lint issues before pushing.

Merge please:)

Sorry for making this stay soo long. I was a bit lost in other PRs.
But the PR looks fine! Merging

Sorry for making this stay soo long. I was a bit lost in other PRs.
But the PR looks fine! Merging

But why don't you refered to me at a release page?( it upsets( https://codecept.io/changelog

Sorry for making this stay soo long. I was a bit lost in other PRs.
But the PR looks fine! Merging

But why don't you refered to me at a release page?( it upsets( https://codecept.io/changelog

create a PR for that 😺


Bundle whole set of icons

Can this plugin be used to bundle a whole icon set?
The use case is user-generated content: I want to be able to specify an icon set (or sets) from my build process or from my JS, then have the content author be able to select an icon from that set via my CMS backend. I can't know ahead of time which icon will be selected - it is simply specified in my backend template as the content of a field, i.e. {{ post.svgField }} where that template tag outputs a link to the processed svg file under dist.
Would this work?
// main.js

import * from '~icons/carbon

Or would I have to actually use the icon in my js for it to be bundled? And would I have to be using React or Vue?
Basically I just want a straightforward way to have vite dump a specified set of optimized svgs into dist/svg/setName.
If this is not possible, consider this a feature request!

related #190

you can use this simple icon for each library, just change the static import (this is an example using vue, port it to your fw):
note: you can also provide attributes overriding them (width, height...), keep in mind the full icon list will go to the sfc asset, you can use a vite virtual plugin to remove part of the icons, but you should do it.
<script setup lang="ts">
import { computed } from 'vue'
import { icons } from '@iconify-json/carbon'

const props = defineProps<{ icon: string }>()

const meta = computed(() => {
  const { left = 0, top = 0, width = '1em', height = '1em' } = icons ?? {}

  return { left, top, width, height }
})

const viewBox = computed(() => {
  return `${meta.value.left} ${meta.value.top} ${meta.value.width} ${meta.value.height}`
})

const svgIcon = computed(() => {
  return icons.icons[props.icon]
})
</script>

<template>
  <svg
    v-if="svgIcon"
    :width="meta.width"
    :height="meta.height"
    :viewBox="viewBox"
    xmlns="http://www.w3.org/2000/svg"
    v-html="svgIcon.body"
  />
</template>

Close as out-of-scope. I would suggest using Iconify's runtime solution if your usage is dynamic.


Exclusive deployment via Rancher Portal

Question
The official installation docs basically follow;

provision cloud zone
create kube HA cluster https://rancher.com/docs/rancher/v2.x/en/installation/ha/kubernetes-rke
install helm/tiller with its own certs https://rancher.com/docs/rancher/v2.x/en/installation/ha/helm-init
install cert-manage and deploy rancher with certs https://rancher.com/docs/rancher/v2.x/en/installation/ha/helm-rancher/#optional-install-cert-manager

helm install rancher-stable/rancher \
  --name rancher \
  --namespace cattle-system \
  --set hostname=rancher.example.com \
  --set ingress.tls.source=letsEncrypt \
  --set<EMAIL_ADDRESS>\
  --set letsEncrypt.environment=staging \
  --set replicas=1

This would deploy a single node HA "ready" cluster node, on bare metal.
Now Rancher has helm catalogues, from which you can install cert-manager. Ultimately I want certs and helm charts to only be installed via rancher. What next steps can I do?

These instructions are for setting up an HA cluster and then installing Rancher in HA mode. Generally you would then make this cluster (by default named local) off limits for use. Next you'd create additional clusters for use using Rancher.
From there so long as you don't install helm/tiller stuff. Then generally the only way to install is to use the Apps section of rancher unless you use kubectl to import yaml to request resources.


Is it possible to share branch.io deep link via own share function not branch.io function showShareSheet? (react native)

I checked example, and I see that deep links of branch.io are shared only via showShareSheet
Here is example which I found:
let shareOptions = { messageHeader: 'Check this out', messageBody: 'No really, check this out!' }
let linkProperties = { feature: 'share', channel: 'RNApp' }
let controlParams = { $desktop_url: 'http://example.com/home', $ios_url: 'http://example.com/ios' }
let {channel, completed, error} = await branchUniversalObject.showShareSheet(shareOptions, linkProperties, controlParams)

So my question can I share deep link via react-native-share, for example? Or I only can share it using branch.io function showShareSheet ?

Hey @Luckygirlllll, the showShareSheet method is not the only way to use the branchUniversalObject. There is the initial createBranchUniversalObject method (docs):
import branch from 'react-native-branch'

let branchUniversalObject = await branch.createBranchUniversalObject('canonicalIdentifier', {
  locallyIndex: true,
  title: 'Cool Content!',
  contentDescription: 'Cool Content Description'}),
  contentMetadata: {
    ratingAverage: 4.2,
    ratingCount: 100,
    ratingMax: 5.0,
    customMetadata: {
      prop1: 'test',
      prop2: 'abc'
    }
  }
})

And then you can call showShareSheet, or generateShortLink. I think generateShortLink is what you may be looking for (docs), but keep in mind that showShareSheet has some handy data in the callback:

completed: success/cancelled
channel: com.apple.UIKit.activity.Message, net.whatsapp.WhatsApp.ShareExtension, com.apple.UIKit.activity.CopyToPasteboard, or Copy (Android)

@Luckygirlllll - We will close this. if you still have issue  please feel free to reopen


fix: hide root level parameterized pages in sidebar

This addresses the bug described in #410.
It specifically addresses:

Expected Behaviour

Not show is sidebar

For manual testing I added [something].md at root, along with anotherthing.md and verified that [something] does not show in the sidebar, but anotherthing.md does.
This does not address:

possibly crawl links in pages to determine which parameterized pages should be show in sidebar.

If anyone could elaborate on what the "crawl" functionality looks like maybe the PR can be expanded.

Hey @quoid,
Thanks for this contribution!
We've been meaning to get around to this for a while and haven't managed yet.
Tested this, and works for me. Happy to merge as is
Re crawl functionality.
This is not something I have an idea on how to implement, just a rough idea:

When svelte kit builds parameterized pages for production, it crawls to find the links in the projects, and then builds those routes.
We could perhaps (and probably only for build, not dev) find all the links, and use those to generate links to parameterized pages in the sidebar.

@archiewood
Thanks for checking it out. I was thinking about this after the PR, and it might align with what you are suggesting with here:

We could perhaps (and probably only for build, not dev) find all the links, and use those to generate links to parameterized pages in the sidebar.

If there is possibly a scenario where users might want to see their param pages, it might make sense to approach this differently.
Since all *.md pages can get pushed to the [`menu](https://github.com/evidence-dev/evidence/blob/449a29056a2e1a4759a58a39e4eb7b3acbadd411/sites/example-project/src/pages/__layout.svelte#L10) array, instead of skipping pages where `path.includes("[")`, rather add a new `key` in the `menu` object.
In the case of a root level param page, it could look something like:
{
    filename: "[something].md"
    folder: undefined
    folderHref: undefined
    folderHrefUri: undefined
    folderLabel: undefined
    folderNameError: undefined
    href: "/[something]"
    hrefUri: "/%5Bsomething%5D"
    label: "[something]"
    nameError: false
    paramPage: true // new
}

And then in [Sidebar.svelte] (https://github.com/evidence-dev/evidence/blob/main/sites/example-project/src/components/ui/Sidebar.svelte) house the logic for whether or not to hide the param page based on a user setting. This could be something else to add to #416 if it aligns with your vision.
Either way, to address the bug in the interim, merging is good with me if for you.

Having had this discussion, I think this "show parameterized pages in sidebar" behaviour is a distinct new feature, and should probably be treated separately because:

Your point about users perhaps (or perhaps not) wanting this functionality is a good one, so we might want to expose it as an option.

This could live in a couple of different places. One natural place I can think of would be in markdown Frontmatter for the page, which we have yet to implement.

The implementation detail for obtaining the page names does not seem totally straightforward

I'm going to go ahead and merge this.
Thanks very much! 🙌

Closes #410

markdown Frontmatter for the page, which we have yet to implement.

Looking forward to this!


Highlight options for Ground Items missing

Hi,
I was trying to set up my highlight settings today and noticed that there is no longer a highlight > Value option. There is also no longer a highlight valuation calculator.
I'm not sure if these features were removed intentionally or not but they were listed on the runelite features section on the homepage.
Thank you!

The price highlight tiers cover the use that old option had, it was removed because of user confusion.  The website/wiki docs aren't updated much for little details like that, sorry they were misleading.

The price highlight tiers cover the use that old option had, it was removed because of user confusion. The website/wiki docs aren't updated much for little details like that, sorry they were misleading.

Ohhh okay.
So by setting say my Low Tier value to 3k, and then setting the notify for tier >= low, I can accomplish the same thing?
Thank you for your quick reply.

correct


Include subdivision terminology

I would like to add first-level subdivision terminology to the country data.  In other words, given a country we know which of the following terms it uses:

State
Region
Territory
Province
Prefecture
Governorate
Department
County
Canton
Parish
District
Municipality

I would base this information off of Wikipedia's Matrix of Country Subdivisions and the ISO 3166-2 primary codes which I could probably pull from oodavid's iso_3166_2.js.  Would a pull request be welcome?

I think this and #186 need to be thought about together.

Wondering if this was ever implemented?
I'm not sure how to use this gem to build an international address input form without that information.

#649 I created a pull request with what I thought could be an implementation of this feature. I drew the information from the Wikipedia article mentioned in @backus comment.
My intention was to add information to the country object which could be used as a label for address inputs. I settled on subdivision_name, and for some of the countries I ended up using a '/' if they used more than 1 name. For instance, in Canada the subdivision_name is 'Territory/Province'. Not sure if this is in line with the issue in #186 , but I believe it's a better solution than an array for the case of labeling inputs.

#758 has added the ISO subdivision types


stringifySet Method which respects custom set

Not required for now because of the newly introduced special Export classes.
Text property of Set in the Client is now always "long" or custom if that's enabled.


Handle transaction authorization

How TX are authorized is changing and will require password confirmation before the TX is sent. We'll need a mechanism to trigger the password modal when a transaction is sent to the wallet.

[ ] Trigger password modal
[ ] Show transaction payload
[ ] Show signature
[ ] Show marshalled transaction

You may also want to be able to show the transaction to the user, so they can review the body of the transaction (basically a json payload).

@ValentinTrinque is the app backend set up to handle the --automatic-consent flag? It has some implications on the UI as to where we ask the user to approve for automatic consent. I've created an issue for this here https://github.com/vegaprotocol/vegawallet-desktop/issues/227

@mattrussell36 we had a discussion about the automatic consent, and agreed to not enable it for the moment.


Resize Invenio-dev instance volume

Another bump, to accommodate both the compressed and uncompressed folder of the CORE repository items.

Bumped up to 250 GB.


Crash on macOS Sierra

MAC OS 10.12 open project will crash, what's the solution?

Can you paste the crash info?

This issue will be closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem 👍


Retrieved Content

Hi, can you also provide the retrieved content for Table 3, or the code retrieved by UniXCoder? Thanks!

We are truly sorry the generated content cannot be restored for now.  We would love to help you reproduce the results though.

Thanks for being willing to help! Just want to ask about the retrieval setting. When you do retrieval, do you filter out the file containing the code to complete?
If not, the model is possible to retrieve the target of code generation as the context, which does not make too much sense to me -- if you want to use a model to help you complete the code, by the time you call the model, the target code does not exist in the repo yet.
If you do, is there an efficient way to do that?

Of course, we need to filter out the target file to avoid leakage. However, we did not filter out all the content in the target file. We keep the content in the front of the target file that is not covered by the context provided to the LM. For example, file A has 100 lines, we have line 20~80 as the unfinished code, and line 81 as the completion hole. During retrieval, we also retrieve line 1~19 as useful supplementary Information for the completion.
The code related to this matter is https://github.com/microsoft/CodeT/blob/35f54d60b152cc31d134b788e702878ad613d9f7/RepoCoder/search_code.py#L44
The context_start_lineno is metadata we stored for each completion case.

Thanks. The setting makes sense to me!
I retrieved the GT context for the "function" split by adapting your code (window_size=50, slice_size=5). Then I filtered the unfinished part using your logic (line 44) and run code generation using ChatGPT (2k tokens for GT context, 2k for infile context). I only got<EMAIL_ADDRESS>and you reported 0.4263.
The full evaluation results are:
{
    "EM": 0.10723860589812333,
    "ES": 0.48067297674081083,
    "Pass@1": 0.289544235924933,
}

Here's the GT context I got:
repoeval-function-4k-gt-top5-filter.jsonl.txt
Can you run your code to produce the GT context file for RepoEval-function, so I can compare the difference? Thanks!!!

i am also try to run this project successfully, cheer up and thx for your guys‘ issue, it gives me hope to do it！thx！

i am also try to run this project successfully, cheer up and thx for your guys‘ issue, it gives me hope to do it！thx！

If you're interested, here's our implementation of gt retrieval (without filtering the unfinished part): https://github.com/code-rag-bench/code-rag-bench/tree/main?tab=readme-ov-file#retrieval.

wow！thx for your support！i will try it again！
获取 Outlook for iOShttps://aka.ms/o0ukef

发件人: Yiqing Xie @.>
发送时间: Sunday, July 14, 2024 8:03:35 AM
收件人: microsoft/CodeT @.>
抄送: SUN, Binwen [Alumni] @.>; Comment @.>
主题: Re: [microsoft/CodeT] Retrieved Content (Issue #33)
CAUTION: This email is not originated from PolyU. Do not click links or open attachments unless you recognize the sender and know the content is safe.
i am also try to run this project successfully, cheer up and thx for your guys‘ issue, it gives me hope to do it！thx！
If you're interested, here's our implementation of gt retrieval (without filtering the unfinished part): https://github.com/code-rag-bench/code-rag-bench/tree/main?tab=readme-ov-file#retrieval.
―
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/CodeT/issues/33#issuecomment-2227142427, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2SEINXCABAU7KMWYGS35VTZMG55PAVCNFSM6AAAAABIPPAYIOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRXGE2DENBSG4.
You are receiving this because you commented.Message ID: @.***>
[https://www.polyu.edu.hk/emaildisclaimer/PolyU_Email_Signature.jpg]
Disclaimer:
This message (including any attachments) contains confidential information intended for a specific individual and purpose. If you are not the intended recipient, you should delete this message and notify the sender and The Hong Kong Polytechnic University (the University) immediately. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited and may be unlawful.
The University specifically denies any responsibility for the accuracy or quality of information obtained through University E-mail Facilities. Any views and opinions expressed are only those of the author(s) and do not necessarily represent those of the University and the University accepts no liability whatsoever for any losses or damages incurred or caused to any party as a result of the use of such information.


[Android] Missing all notifications when building a release apk

Hello
I have just noticed that when building a release apk with flutter build apk --release --split-per-abi, my application doesn't display any notification (created with the package https://pub.dev/packages/flutter_local_notifications, but also when writing directly in native language kotlin using NotificationCompat.Builder). BUT when I deploy my application with flutter run --release, notifications come back and work great! Do you have any idea to solve the issue?
Notifications on my application worked before the Flutter version 1.14.6 (I think, not sure). The issue is on the dev and beta channels.
My flutter doctor:
[✓] Flutter (Channel dev, v1.15.3, on Linux, locale fr_FR.UTF-8)
    • Flutter version 1.15.3 at /home/patrick/DATA/Github/flutter
    • Framework revision 67826bdce5 (il y a 3 jours), 2020-02-10 14:59:32 -0800
    • Engine revision 6158f03ef5
    • Dart version 2.8.0 (build 2.8.0-dev.8.0 514a8d4c84)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /home/patrick/DATA/Applications/Android/Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 28.0.3
    • ANDROID_HOME = /home/patrick/DATA/Applications/Android/Sdk
    • Java binary at: /home/patrick/DATA/Applications/Android/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Android Studio (version 3.5)
    • Android Studio at /home/patrick/DATA/Applications/Android/android-studio
    • Flutter plugin version 43.0.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.41.1)
    • VS Code at /usr/share/code
    • Flutter extension version 3.8.1

[✓] Connected device (2 available)
    • SM A505FN                 • R58M43JWX9M   • android-arm64 • Android 9 (API 28)
    • Android SDK built for x86 • emulator-5554 • android-x86   • Android 10 (API 29) (emulator)

• No issues found!

I found the solution
To get notifications worked, we  need to add shrinkResources false in the build.gradle. This means there is a problem with removing unused code performe by gradle ?

Hello,
To provide you with more details, when build an apk for release, by default (if you don't specify anything in your gradle file), minifyEnabled and shrinkResources are set to true (https://developer.android.com/studio/build/shrink-code).
The issue is that the image files in the folder res/drawable are wrongly removed (with shrinkResource is true). And because my icons for notification messages are in this drawable folder, local notifications don't work anymore!!! So here is a fix : no need to modify the gradle file (I can still use minifyEnabled and shrinkResources with proguard), just add a keep.xml file in your res folder (for example res/raw) with this content :
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools"
    tools:keep="@drawable/*" />

If you're having issues with proguard you can always build with --no-shrink, though this is not recommended if you can instead configure your app correctly. Sounds like you found the fix to your issue, closing.

I am also having this problem
flutter doctor

[✓] Flutter (Channel stable, 1.22.4, on Mac OS X 10.15.7 19H2 darwin-x64, locale en-TR)
    • Flutter version 1.22.4 at /Users/adnanfahed/flutter
    • Framework revision 1aafb3a8b9 (12 days ago), 2020-11-13 09:59:28 -0800
    • Engine revision 2c956a31c0
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/adnanfahed/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.10.0

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin installed
    • Dart plugin version 201.9245
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.51.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (1 available)
    • iPhone (mobile) • 7c0edb93134cbbf0493eb34ada73e295cffa68cf • ios • iOS 14.2

I would like also to note that due to problems with the shared_preferences package, i build my release with the following command : "flutter build appbundle --no-shrink"


show git version & html link  / cannot detect other branch than master

show git version & html link  / cannot detect other branch than master
on html format, cannot link to branch other than master

fixed in version 1.2.8

fixed in version 1.2.8


AWS Serverless Template in Visual Studio 2019 Removes the IIS Express Debug Option

After I create a blogAPI using the AWS template the debug option to use IIS Expression is no longer available. Instead I only have the Mock Lambda Test Tool to debug.
I added this to the launchsettings.json file:
`{
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:60964/",
"sslPort": 44364
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
}
}to the initial code below:"Mock Lambda Test Tool": {
"commandName": "Executable",
"executablePath": "C:\Users\%USERNAME%\.dotnet\tools\dotnet-lambda-test-tool-3.1.exe",
"commandLineArgs": "--port 5050",
"workingDirectory": ".\bin\$(Configuration)\netcoreapp3.1"
}`
If I use the Web API AWS template I do get the IIS Express.  I want to use the dynamoDB template.

Any update on this issue?

The two sample Serverless Project blueprints in question are "ASP.NET Core Web API" and "Blog API using DynamoDB".
Both projects contain a CloudFormation template file (serverless.template) and one or more Lambda Function entrypoints. The Web API project leverages ASP.NET Core (see the PackageReference for "Amazon.Lambda.AspNetCoreServer"), and the Blog API project contains simple Lambda function handlers for APIGatewayProxyRequest events. API Gateway is used to route requests to both projects, however ASP.NET Core is not used in the Blog API project, so IIS Express is not an option there.


[bug] Basic example - NPM version issue

Hi,
I had a lot of issues setting up the librairy so I tested ou the basic example.
var LinvoDB = require("linvodb3");

// The following two lines are very important
// Initialize the default store to Medeadown - which is a JS-only store which will work without recompiling in NW.js / Electron
LinvoDB.defaults.store = { db: require("medeadown") }; // Comment out to use LevelDB instead of Medea
// Set dbPath - this should be done explicitly and will be the dir where each model's store is saved
LinvoDB.dbPath = process.cwd();

var Doc = new LinvoDB("doc", { /* schema, can be empty */ })

var d = new Doc();

d.name = "test";
d.saved = new Date();

d.save(function() {
	console.log("saved document with _id: " + d._id);
	Doc.count({},function(err, n) {
		console.log("document count "+n)
	});
});

with the following package.json
{
  "dependencies": {
    "linvodb3": "^3.25.2",
    "medeadown": "^1.1.9"
  }
}

And I have the following error:
.\node_modules\levelup\lib\levelup.js:53
    throw error
    ^
InitializationError: First argument must be an abstract-leveldown compliant store
    at new LevelUP (.\node_modules\levelup\lib\levelup.js:49:13)
    at LevelUP (.\node_modules\levelup\lib\levelup.js:33:12)
    at Function.Model.initStore (.\node_modules\linvodb3\lib\model.js:79:100)
    at new Model (.\node_modules\linvodb3\lib\model.js:52:35)
    at Object.<anonymous> (.\index.js:9:11)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)

What am I doing wrong ?

Apparently the version that I downloaded from NPM (the 3.25.2) does not have the same code as in the repo. It does not use encode-down for instance.
It works fine when I download for the git reposotory

The published version is currently broken, as you've already discovered
try this branch: https://github.com/Ivshti/linvodb3/pull/95
I will merge and publish shortly


Replacing all safekeepers may delete WAL without backups

Steps to reproduce

Write at least one full WAL segment of data
Replace all safekeepers one by one, e.g. (sk1, sk2, sk3) -> (sk4, sk5, sk6)
Write more data, another full WAL segment

Expected result
All safekeepers work without issues, all segments except the last one are fully backed up (uploaded to S3)
Actual result
Safekeepers don't have first half of the WAL in a segment, because every new safekeeper start in a middle of a WAL segment.
This makes backup to stop working at that point, and also may cause some other issues, including data loss.
Proposed fix
Currently we have peer_horizon_lsn which is calculated as min(flush_lsn in all_safekeepers) and we always start pushing WAL from this point.
Proposed solution is to create another value truncate_lsn and make it equal to min(peer_horizon_lsn, backup_lsn). This point will always be either at the timeline_start_lsn or on the border of the segment. This will enforce all safekeepers to have all WAL which is not yet backed up to S3 and prevent data loss after safekeeper replacement.
Test
We also should create an integration test, which makes a lot of safekeeper replacements in a single timeline. Something like this:
loop:
  write some data
  replace all safekeepers
  check timeline is healthy in all safekeepers

The safekeeper replacement from truncate_lsn was deprecated and removed in https://github.com/neondatabase/neon/pull/6244.
Closing this issue because it's no longer relevant.


rootfs volumes leaking

Looks like we don't clean up rootfs during container removal (volumes teardown only iterates on additional volumes).
I'll address this issue in #361, working on which we noticed that.

In reality rootfs volume is removed, when RemoveContainer is called for container in CREATED/RUNNING, but not for EXITED - this is mentioned in #352.


Issue with 3D visualization of images and vispy with MacOs M1 chips (with possible workaround/fix)

Hello again,
Still trying to make napari work as well as I can on MacOs M1 chips.
🐛 Bug
When installing napari the way described in #4917, napari runs but 3D visualisation of intensity and label images does not work.
To Reproduce
Steps to reproduce the behaviour:
$ conda create -n test
$ conda install numpy napari
$ python

then, in python I run:
import numpy as np
from napari import Viewer

im = (np.random.random((10, 10, 10)) * 10000).astype(np.uint16)
v = Viewer()
v.add_image(im)

which opens the napari viewer as intended. But when I click on the toggle ndisplay button I get the following error:
WARNING: Unsubstituted placeholders in code: ['$sample', '$sample', '$sample', '$sample', '$sample', '$sample', '$sample']
  replacements made: ['viewtransformf', 'raycasting_setup', 'before_loop', 'in_loop', 'after_loop', 'sampler_type', 'post', 'pre', 'clip_with_planes', 'cmap', 'get_data']
WARNING: Error drawing visual <Volume at 0x14c322cb0>
WARNING: Traceback (most recent call last):
  File "/Users/leo.guignard/miniforge3/envs/test/lib/python3.10/site-packages/vispy/app/backends/_qt.py", line 903, in paintGL
    self._vispy_canvas.events.draw(region=None)
  File "/Users/leo.guignard/miniforge3/envs/test/lib/python3.10/site-packages/vispy/util/event.py", line 453, in __call__
    self._invoke_callback(cb, event)
  File "/Users/leo.guignard/miniforge3/envs/test/lib/python3.10/site-packages/vispy/util/event.py", line 471, in _invoke_callback
    _handle_exception(self.ignore_callback_errors,
  File "/Users/leo.guignard/miniforge3/envs/test/lib/python3.10/site-packages/vispy/util/event.py", line 469, in _invoke_callback
    cb(event)
  File "/Users/leo.guignard/miniforge3/envs/test/lib/python3.10/site-packages/vispy/scene/canvas.py", line 218, in on_draw
    self._draw_scene()
  File "/Users/leo.guignard/miniforge3/envs/test/lib/python3.10/site-packages/vispy/scene/canvas.py", line 277, in _draw_scene
    self.draw_visual(self.scene)
  File "/Users/leo.guignard/miniforge3/envs/test/lib/python3.10/site-packages/vispy/scene/canvas.py", line 315, in draw_visual
    node.draw()
  File "/Users/leo.guignard/miniforge3/envs/test/lib/python3.10/site-packages/vispy/scene/visuals.py", line 103, in draw
    self._visual_superclass.draw(self)
  File "/Users/leo.guignard/miniforge3/envs/test/lib/python3.10/site-packages/vispy/visuals/visual.py", line 451, in draw
    self._program.draw(self._vshare.draw_mode,
  File "/Users/leo.guignard/miniforge3/envs/test/lib/python3.10/site-packages/vispy/visuals/shaders/program.py", line 102, in draw
    Program.draw(self, *args, **kwargs)
  File "/Users/leo.guignard/miniforge3/envs/test/lib/python3.10/site-packages/vispy/gloo/program.py", line 526, in draw
    canvas.context.flush_commands()
  File "/Users/leo.guignard/miniforge3/envs/test/lib/python3.10/site-packages/vispy/gloo/context.py", line 172, in flush_commands
    self.glir.flush(self.shared.parser)
  File "/Users/leo.guignard/miniforge3/envs/test/lib/python3.10/site-packages/vispy/gloo/glir.py", line 582, in flush
    self._shared.flush(parser)
  File "/Users/leo.guignard/miniforge3/envs/test/lib/python3.10/site-packages/vispy/gloo/glir.py", line 504, in flush
    parser.parse(self._filter(self.clear(), parser))
  File "/Users/leo.guignard/miniforge3/envs/test/lib/python3.10/site-packages/vispy/gloo/glir.py", line 822, in parse
    self._parse(command)
  File "/Users/leo.guignard/miniforge3/envs/test/lib/python3.10/site-packages/vispy/gloo/glir.py", line 792, in _parse
    ob.set_data(*args)
  File "/Users/leo.guignard/miniforge3/envs/test/lib/python3.10/site-packages/vispy/gloo/glir.py", line 931, in set_data
    raise RuntimeError("Shader compilation error in %s:\n%s" %
RuntimeError: Shader compilation error in GL_FRAGMENT_SHADER:
    on line 329: '<' : syntax error: syntax error
      vec4 color0 = $sample(u_volumetex, loc);
[1]    51812 abort      python

Expected behavior
Display the 3D view.
Environment
napari: 0.4.14
Platform: macOS-12.2.1-arm64-arm-64bit
System: MacOS 12.2.1
Python: 3.10.5 | packaged by conda-forge | (main, Jun 14 2022, 07:07:06) [Clang 13.0.1 ]
Qt: 5.15.4
PyQt5: 5.15.7
NumPy: 1.23.1
SciPy: 1.9.0
Dask: 2022.8.0
VisPy: 0.11.0

OpenGL:
- GL version: 2.1 Metal - 76.3
- MAX_TEXTURE_SIZE: 16384

Screens:
- screen 1: resolution 1512x982, scale 2.0

Plugins:
- console: 0.0.4
- scikit-image: 0.4.14
- svg: 0.1.6

Additional context
Now I can fix that specific issue by using a downgraded version of vispy:
$ conda create -n test
$ conda activate test
$ conda install numpy vispy=0.10.0 napari
$ python

then in python I run:
import numpy as np
from napari import Viewer

im = (np.random.random((10, 10, 10)) * 10000).astype(np.uint16)
v = Viewer()
v.add_image(im)

then click on the toggle ndisplay button and it works as intended.
That being said, it is specified in the napari config file that vispy should be of version 0.11.0 or higher which might mean that some other functionalities of napari will not be working.

The core problem here is that you installed napari 0.4.14. Since napari 0.4.16, we pin not only the lower version of napari but also the upper.
For napari 0.4.14, you need to install vispy in version 0.9.6.
You have installed version 0.4.14 because of some problem with conda described in #4891

Ok it seems to have solve the issue indeed, sorry for missing the other issue and thanks a lot for the quick answer!


Colliding rings when hurt don't collect them

I have been hurt by a motobug and fell on rings, while falling hurt the rings weren't collected, which feels odd to me, I may be misremembering but I think in the classics they would have been collected.

When sonic gets hit he can't collect rings for about a second, this is intentional and how it works in the original game.

Just to be clear, I'm not talking about the lost, moving rings but rings floating normally, is that the case for these too?

yep, i tested it in sonic 3 by getting the rhino to hit me and here it is

OK, thanks, let's close the issue then. :)


Hover zoom

Such as in this page https://www.williams-sonoma.com/products/global-classic-7-piece-wood-block-set/?pkey=cknife-sets&isx=0.0.0
Not relevant for mobile pages, but more for canonical amp on desktop
Can be done with css :hover + sibling selectors + css background-position

me and @juliantoledo  tried this in hover zoom but we don't know how to track the position of the mouse pointer to move the zoomed image.
@aghassemi do you know if that's possible on css or do we need amp-position-observer to support it?

@kul3r4 Can't think of anyway this can be possible in AMP with existing components.
Would make a nice feature request though.

@ericlindley-g is there anything similar to this in the roadmap already?

It's been discussed, but not on the roadmap yet as far as I know—would be great to add as feature request in the amphtml repo!

Done here


Separate databases for each mirrored peer

Potentially worth it. Would allow writing to several at a time, and would also make it much easier to transfer to other machines.

Added in the mirror branch, definitely a good idea.


LOOC has a prefix now

About the PR
resolves #8833, the LOOC prefix is |
Screenshots

https://user-images.githubusercontent.com/67359748/173511365-70fe0068-4047-4f3e-89de-3d9545b849bd.mp4
Changelog

:cl: eclips_e

add: Added a prefix for LOOC, the prefix is now |

This might conflict with hud refactor considering they refactored chat so gonna sit until that's merged.

I looked at the UI refactor a bit, this code isn't going to be compatible. It looks like LOOC will have a prefix of '(' when it's done.


iOS : Time Picker not able to pick time in Release build

Steps to Reproduce

I have app in which i am opening timepicker  for change time slot.
here is the code for it.
final TimeOfDay result =  await showTimePicker(
     context: context,
     initialTime: TimeOfDay(hour: 5, minute: 15),
     builder: (BuildContext context, _) {
       return MediaQuery(
         data: MediaQuery.of(context).copyWith(alwaysUse24HourFormat: false),
         child: _,
       );
     },
   );
   if (result != null) {
     print('Selected time: ${result.format(context)}');
   }

Expected results:
open time picker and select time and on okay button should return time selected by user.
Actual results:
open time picker and select time and on okay button , it closes the dialog. not able to get time in TimeOfDay.
Fails with some iOS version like 12.5.1 , 14.4

Logs

[✓] Flutter (Channel stable, 2.2.1, on macOS 11.0.1 20B29 darwin-x64, locale en-GB)
    • Flutter version 2.2.1 at /Users/meghdoot/Library/Android/flutter
    • Framework revision 02c026b03c (4 days ago), 2021-05-27 12:24:44 -0700
    • Engine revision 0fdb562ac8
    • Dart version 2.13.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/meghdoot/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] VS Code (version 1.55.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (2 available)
    • iPhone 8 Plus (mobile) • DD25071D-FF64-4C85-89CE-8879154A1E35 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 90.0.4430.212

Hi @mehtahardikr
Thanks for filing the issue
Using your code sample on the iPhone XR (iOS 14.6) and iPhone 5s (iOS 12.5.1), I can pick and get selected time in the logs when running in release mode flutter run --release
Logs
[        ] q Quit (terminate the application on the device).
[+27776 ms] flutter: Selected time: 5:48 AM

preview

minimal code sample
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      theme: ThemeData.dark(),
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Material App Bar'),
      ),
      body: Center(
        child: Container(
          child: Text('Hello World'),
        ),
      ),
      floatingActionButton: FloatingActionButton(
        child: Icon(Icons.add),
        onPressed: () async {
// showTimePicker(
//             initialTime: TimeOfDay(hour: 5, minute: 15),
//   context: context,
// );

          final TimeOfDay result = await showTimePicker(
            context: context,
            initialTime: TimeOfDay(hour: 5, minute: 15),

          );
          if (result != null) {
            print('Selected time: ${result.format(context)}');
          }
        },
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 2.2.1, on macOS 11.4 20F71 darwin-x64, locale en-GB)
    • Flutter version 2.2.1 at /Users/tahatesser/Code/flutter_stable
    • Framework revision 02c026b03c (5 days ago), 2021-05-27 12:24:44 -0700
    • Engine revision 0fdb562ac8
    • Dart version 2.13.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.5, Build version 12E262
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] VS Code (version 1.56.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.22.0

[✓] Connected device (3 available)
    • Taha’s iPhone (mobile) • e534bcc711c9a011aa892eb51cdb60f40b3acddb • ios            • iOS 12.5.2
    • macOS (desktop)        • macos                                    • darwin-x64     • macOS 11.4
      20F71 darwin-x64
    • Chrome (web)           • chrome                                   • web-javascript • Google Chrome
      91.0.4472.77

• No issues found!

Are you able to reproduce the issue using `flutter run --release or Issue reproduces when archiving the app and publish in the app store?  See https://github.com/flutter/flutter/issues/83096

@TahaTesser  : yes when archiving the app and publish in the app store.its not working as expected. But, that issue has no further response. can you check that ?

Hi @mehtahardikr
Just realized you filed a duplicate issue, as mentioned we don't have enterprise account, I will publish a regular app store, get back to you in the duplicate
Closing as duplicate


Review impacted accounts

As per the TODO in impacted.cpp we need to review get_impacted_account_visitor cases here which as of this writing has many no-op cases.
Particularly suspicious:

Transfers express "to" but not "from"
It seems like these operations shouldn't be no-ops:  limit_order_create_operation, call_order_update_operation, account_upgrade_operation, asset_create_operation, asset_fund_fee_pool_operation, asset_settle_operation, vesting_balance_withdraw_operation, worker_create_operation, balance_claim_operation

Also, it should be noted that I added the owner to impacted accounts for order cancellation in f0502ee2f15bdbcf81203f8859983817c23cd2cf since order cancellation ops can now be generated by the chain as virtual ops.

This issue was moved to bitshares/bitshares-core#89


Make wrapping lines with Alt-Q work

If I change the language mode to plain text or markdown, hard-wrapping lines with Alt-Q (which uses the rewrap extension) works but not in Quarto mode (also not in Rmarkdown mode). When I write in plain markdown or LaTeX I usually do this for readability.
I also tried to configure rewrap but without success. Is there a reason why this does not work out of the box?
System Info:

Quarto 1.2.242
VSCode Version: 1.72.2 (user setup)
Commit: d045a5eda657f4d7b676dedbfa7aab8207f8a075
Date: 2022-10-12T22:15:18.074Z
Electron: 19.0.17
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19044
Sandboxed: No

Don't know the particulars of that extension, but its likely because editor.wordWrap is enabled for the qmd file type: https://github.com/quarto-dev/quarto-vscode/blob/main/package.json#L719. Perhaps if you turn this off in your config for cmd and rmd then this will start working: https://code.visualstudio.com/docs/getstarted/settings#_language-specific-editor-settings

Thanks for the suggestion although that did not work, even if I enable wordwrap in the rewrap extension.  By the way, neither the keybinding nor the command palette does work. I just saw that a related issue is posted at https://github.com/stkb/Rewrap/issues/331


Length of fields Lot No. & Serial No. from 20 to 50 Characters

With upcoming serialisation in Pharma, 2019, these field lengths could/will be to short in the future.

This issue has been resolved a while ago. Should have shipped with the latest BC release. Closing issue.


Pass child nodeArgs explicitely

Problem
In my case child process execArgv differ from process.execArgv. So it would be nice to pass them explicitly.
Proposal

Instead of extending process.execArgv use it as fallback
extending process.execArgv is up to the caller e.g.

new RunScriptWebpackPlugin({ nodeArgs: [ ...process.execArgv, ...nodeArgs ] })

I think you are right, we can merge args in the config, so I'll do the change you need during the day

@GTSTogy
https://github.com/atassis/run-script-webpack-plugin/runs/2119281503?check_suite_focus=true#step:6:30


Use from command palette / keyboardshortcut

When I select the gitweblinks.copySelection or gitweblinks.copyFile actions in the command palette (shift+cmd+p) nothing happens. I bound gitweblinks.copySelection to a keyboard shortcut and that doesn't work either. I'm on MacOS Catalina.
In the meantime this extension works great via right click, thanks for sharing it.
VSCode version:
Version: 1.42.0
Commit: ae08d5460b5a45169385ff3fd44208f431992451
Date: 2020-02-06T10:51:33.119Z
Electron: 6.1.6
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Darwin x64 19.3.0

I actually use another extension (GitLens) that I realized has this functionality. I'll stick with that for now.

Thanks for reporting this! 😁
I initially designed the commands to be run from the context menus, but running from the command palette or via shortcut keys makes a lot of sense. The change was simple and I've published the changes in v1.5.0. That version should be available from the marketplace now.


Add support for HTML attributes beginning with x dash

Note, this is AlpineJS syntax, not directly related or supported by Blade.
To support AlpinJS in Blade templates, install AlpineJS package and create a corresponding HTML (Blade, AlpineJS) syntax as outlined in AlpineJS's README.


Consider renaming Stream::into_future -> Stream::next

Whenever I use Stream::into_future I'm really trying to get the next value. It seems like next may be a better name?

I'll chime in as liking this as well.

I generally wouldn't expect next to move self. That is to say, I'm used to the convention established in the Iterator trait of having next take &mut self.

Agree with @cramertj . next is a mutator method, and having Stream::next consume it is unexpected. I wouldn't be opposed to introducing next(&mut self) -> Future<T> but I'm not sure how much utility such a method would have.
If you want to rename into_future, I think slice::split_first is its closest analogue in the standard library, so calling it split_first seems natural.

It's a bit off-topic but I couldn't find an answer how to take one item out of a stream without consuming the stream. So I'm looking exactly for a method like next(&mut self) -> Future<T>!
How can I achieve that at the moment?
Here is my original question:
https://www.reddit.com/r/rust/comments/6v11os/hey_rustaceans_got_an_easy_question_ask_here/dm4c85h/

@flosse that's unfortunately not easily done right now, but you can always write your own combinator to achieve what you're thinking of

We should consider this now that we have poll_next -- it's a common thing to have poll_foo and foo variants, where the latter yields a future.
@cramertj thoughts?

@aturon Yup, I think next makes sense.


WAMR profiling support

I'm creating this issue to track the implementation of profiling support in WAMR.
The goal is to understand which high-level (e.g. C, Rust) functions take most of the CPU time. To do that, we would like to use the perf Linux tool, by making WAMR generate the required symbol translation information, as described in https://www.brendangregg.com/perf.html (4.3. JIT Symbols chapter).
I'll update the issue once the plan and timeline get more defined. Feedback is appreciated.

@eloparco Any updates on this idea?
There is another requirement that may involve perf supporting. It would be very helpful if we can share something.

Hey @lum1n0us, we did some research and were thinking to use perf-maps as it's done in Wasmtime. But then the project got deprioritized and currently we're not planning on investing time in it.

@lum1n0us would you be able to share the other usecase for the perf support?

Yeah. They intend to use flame graph to do workloads analysis.

Closing the issue since it's now implemented (https://github.com/bytecodealliance/wasm-micro-runtime/blob/main/doc/perf_tune.md?plain=1#L96)


Is it a bug in cluster mode?

I have an app running in cluster mode that every time I restart it, there would be two null messages as follows:

@abawchen Feel free to research this one, I don't think it should be happening.

Well, when I update the version to 1.1.0, it works well :p


Numerical Stability in Forward Mode for Simple ODE

Motivated by our last discussion, I wanted to create a simple example where is possible to see the instability of forward diff when the stepsize of the numerical solver are not adapted to control for both the errors in the solution and its derivative (implemented with dual numbers). Code can be found here.
The example @ChrisRackauckas suggested was the following ODE
\frac{du}{dt} = t^4

that I adapted to be
\frac{du}{dt} = (t - \theta)^4

to include parameter $\theta \geq 0$ to which we want to compute the gradient. Any RK method of order 5 will give exact solutions for this ODE, including the default Tsit(5). When we use an adaptive stepsize, we can see that the stepsize increases gradually, as expected since the solver should find the exact solution for any given timestep.
"""
    dyn!

This generates solutions u(t) = (t-θ)^5/5 that can be solved exactly with a 5th order integrator.
"""
function dyn!(du, u, p, t)
    θ = p[1]
    du .= (t .- θ).^4.0
end

p = [1.0]

prob = ODEProblem(dyn!, u0, tspan, p)
sol  = solve(prob, Tsit5(), reltol=reltol, abstol=abstol)

# We can see that the time steps increase with non-stop
@show diff(sol.t)

However, when using a sensitivity method on top of the solver, I don't see the timesteps being controlled and instead the timesteps of all methods increase and also give the right sensitivity at the end of the simulation
g1 = Zygote.gradient(p -> loss(p, ForwardDiffSensitivity()), p)
@show g1

g2 = Zygote.gradient(p -> loss(p, ForwardSensitivity()), p)
@show g2

g3 = Zygote.gradient(p -> loss(p, nothing), p)
@show g3

g4 = ForwardDiff.gradient(p -> loss(p, nothing), p)
@show g4

@show grad_true(p)

Is this the expected behavior? I was expected either to get wrong sensitivities or get the right sensitivity at the cost of controlling more for the stepsize. My understanding is that this last option was the fix introduced after this bug. Maybe this example is just too simple?
Do you have any thoughts on this @frankschae @ChrisRackauckas ? With Frank we were also talking that it will be nice to include the calculation of the tolerances with and without sensitivity method.

We have things outside of standard AD which are correcting for this. Try setting in solve the keyword argument internalnorm = (u,t) -> sum(abs2,u/length(u)) to turn it off.

xref https://github.com/ScientificComputingCWI/AutumnSchool2023/blob/main/presentations/uncorrected_ad.jl

@ChrisRackauckas  I added the internalnorm = (u,t) -> sum(abs2, u/length(u)) when using ForwardDiffSensitivity() and I am still getting the right gradients with
function dyn!(du, u, p, t)
    θ = p[1]
    du .= (t .- θ).^4.0
end

g1 = Zygote.gradient(p -> solve(ODEProblem(dyn!, u0, tspan, p),
                                Tsit5(),
                                u0 = u0,
                                p = p,
                                sensealg = ForwardDiffSensitivity(),
                                saveat = 0.1,
                                internalnorm = (u,t) -> sum(abs2, u/length(u)),
                                callback = cb,
                                reltol=1e-6,
                                abstol=1e-6).u[end][1], p)

The example from uncorrected_ad.jl gives a different gradient for this case, but I am not sure why this is not happening for this other example. Maybe the ODE we suggested is not the best example? Could this be related to this specification for ForwardDiffSensitivity()?
An implementation of discrete forward sensitivity analysis through ForwardDiff.jl.
When used within adjoint differentiation (i.e. via Zygote), this will cause forward differentiation
of the solve call within the reverse-mode automatic differentiation environment.

https://docs.sciml.ai/SciMLSensitivity/stable/manual/differential_equation_sensitivities/#SciMLSensitivity.ForwardDiffSensitivity

Yeah the ODE I suggested earlier isn't the best case. I'll simplify and construct one over the weekend.

@ChrisRackauckas did you have a chance to think about an example for this?

Yup here's a derivation: https://youtu.be/OyFP565kDUI?si=eBLhkE--tk3MXA3r&t=4891


CollisionShape3D duplicate size wrong

Tested versions

only tested 4.3 dev5

System information
Godot v4.3.dev5 - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1070 (NVIDIA; <IP_ADDRESS>17) - AMD Ryzen 5 3600 6-Core Processor (12 Threads)
Issue description
Duplicating a collision shape and changing its size affects the original shape in a weird way it should change to the same, correct? It fixes by just making the shape unique, but this is still not how it should work, I think they should be unique by default tough.
Steps to reproduce

add CollisionShape3D
make shape BoxShape3D
duplicate CollisionShape3D
Change any of the two and the other one will be affected wrong way

Minimal reproduction project (MRP)
https://github.com/godotengine/godot/assets/102230735/ca94cfe7-b33b-4103-9c83-011ce6449c11
https://github.com/godotengine/godot/assets/102230735/c53cb45e-e1d9-4f3f-bacc-b49632c896f8

Any node you duplicate does not duplicate resources within itself. Instead, a reference to the same resource is created. This is done to optimize and reduce the use of RAM.
That is, in your case, you are not duplicating the BoxShape3D.
If you need the unique resource, you can click here.

Imagine that instead of duplicating a body with a BoxShape3D, duplicate a body with a reasonably sized ConcavePolygonShape3D from a gltf file.
If the selected shape is made unique on duplication, then what you have is many copies of polygon data, perhaps megabytes of it, all unlinked from the source gltf!
Yes it's annoying to do an extra step - maybe there is a UI enhancement that could help. But these shapes are a Resource and need to follow the same convention, otherwise there will be worse problems than needing to click "make unique" occasionally.


Minor: add partial assertion for skip aggregation probe

Which issue does this PR close?

Closes #.
Rationale for this change
I found an partial assertion check may be needed in skip aggregation probe, this pr added it.
https://github.com/apache/datafusion/pull/12332#discussion_r1776203466

What changes are included in this PR?
Add an assertion to ensure and emphasize that skip aggregation probe will only be called in partial aggregation.

Are these changes tested?
Test by exist tests.

Are there any user-facing changes?
No.

Thanks @Rachelint @alamb


Fix broken link to docs.sonatype.org

@saper Thanks for the fix. Can you please sign the [CLA] (https://gradle.org/contributor-license-agreement/) ?

Oh, didn't notice that you have the CLA process. Will re-consider contributing to the project. For the meantime, I don't think anyone (including myself) can claim "copyright" to this change, so it should not influence legal status of the documentation.

@adrianbk in this case, the safest course is to close the PR and to change the link by hand.
That should completely avoid any legal issues.


Issue #589 doesn't resolve the dirty buffer warning with confirm for unnamed buffers

See #589 for previous issue and context.
The resolution to #589 appears to work as expected, but only for named buffers.
Recreation:

Install fzf-lua.
Turn on confirm and turn off hidden in init.lua or similar.
Open NeoVim. Type into the scratch buffer. Do not save it anywhere.
Use :FzfLua files to try to switch to another file.
See the warning "[Fzf-lua] buffer 1 has unsaved changes". At this stage I would expect to see the Vim-generated confirm warning/question instead.

If instead you open a named file, then type into that, then switch to another file with :FzfLua files, the Vim-generated confirm warning appears as expected (this is the change made by #589).
Essentially - my recommendation would be just to remove this warning from fzf-lua entirely. confirm already has the behavior I think is desired here, and is built into NeoVim. Essentially fzf-lua is just providing another way to switch files here - in my personal opinion, I'm not sure what the fzf-lua warning adds. Just my 2c.
Thanks again for all your hard work on this great plugin!

This is a by design, when I tested the solution for #597 I noriced the file can’t be saved with confirm so I deemed the warning appropriate, without the message the user is left with no action on the unnamed buffer and confirm can’t help here - why would you prefer this to be removed?

Sorry, my mistake, you are correct! I had always assumed that NeoVim would offer me the ability to save the file there but even if I type Y for yes I don't get a prompt for a filename, which renders the prompt useless.
I might consider opening a bug on NeoVim itself as I think this behaviour is confusing and unhelpful, but I agree with you, the warning in fzf-lua given the current behaviour is probably actually more helpful, and certainly not less.
I'm going to close this issue, sorry for not testing this more thoroughly first time.

For the record, NeoVim bug opened for this issue: https://github.com/neovim/neovim/issues/21682.

Ty for the update @andrewferrier


tracepoint_serializer.rb in `initialize': wrong number of arguments (given 1, expected 0; required keywords: files, delegate_classes)

Input
There is no sorbet.run this is problem in srb init. This installs Rails for reproduction steps, but it doesn't appear to be a rails-specific thing.
asdf install ruby 3.1.0
asdf local ruby 3.1.0
gem install rails -v7.0.1
gem install bundler -v2.3.6 # arm64 fix, probably not required
rails new project_name -T -c w
cd project_name
bundle add sorbet-static-and-runtime --version 0.5.9588
bundle exec srb init

Observed output
❔ Would you like to continue? [Y/n] Y
Generating: sorbet/config
Generating: sorbet/rbi/sorbet-typed/
Generating: sorbet/rbi/gems/
NameError: uninitialized constant ActionController::Middleware

        ActionController::Middleware,
                        ^^^^^^^^^^^^
Did you mean?  ActionController::MiddlewareStack
LoadError: Generating image variants require the image_processing gem. Please add `gem 'image_processing', '~> 1.2'` to your Gemfile.
LoadError: cannot load such file -- listen
LoadError: cannot load such file -- webrobots
LoadError: cannot load such file -- rack/session/dalli
LoadError: cannot load such file -- railties
NameError: uninitialized constant Selenium::WebDriver::Chrome::Bridge

        Selenium::WebDriver::Chrome::Bridge,
                                   ^^^^^^^^
LoadError: cannot load such file -- sorbet
LoadError: cannot load such file -- sorbet-static-and-runtime
LoadError: cannot load such file -- sprockets-rails
/Users/bbugh/.asdf/installs/ruby/3.1.0/lib/ruby/gems/3.1.0/gems/sorbet-0.5.9588/lib/gem-generator-tracepoint/tracepoint_serializer.rb:35:in `initialize': wrong number of arguments (given 1, expected 0; required keywords: files, delegate_classes) (ArgumentError)
	from /Users/bbugh/.asdf/installs/ruby/3.1.0/lib/ruby/gems/3.1.0/gems/sorbet-0.5.9588/lib/gem-generator-tracepoint/tracer.rb:40:in `new'
	from /Users/bbugh/.asdf/installs/ruby/3.1.0/lib/ruby/gems/3.1.0/gems/sorbet-0.5.9588/lib/gem-generator-tracepoint/tracer.rb:40:in `new'
	from /Users/bbugh/.asdf/installs/ruby/3.1.0/lib/ruby/gems/3.1.0/gems/sorbet-0.5.9588/lib/gem-generator-tracepoint.rb:43:in `main'
	from /Users/bbugh/.asdf/installs/ruby/3.1.0/lib/ruby/gems/3.1.0/gems/sorbet-0.5.9588/bin/srb-rbi:232:in `block in make_step'
	from /Users/bbugh/.asdf/installs/ruby/3.1.0/lib/ruby/gems/3.1.0/gems/sorbet-0.5.9588/bin/srb-rbi:118:in `init'
	from /Users/bbugh/.asdf/installs/ruby/3.1.0/lib/ruby/gems/3.1.0/gems/sorbet-0.5.9588/bin/srb-rbi:196:in `main'
	from /Users/bbugh/.asdf/installs/ruby/3.1.0/lib/ruby/gems/3.1.0/gems/sorbet-0.5.9588/bin/srb-rbi:237:in `<main>'

Expected behavior
No error is raised

I'm getting the exact same result with Ruby 3.1.0 and similar with 3.0.2 (fails on the same error, but slightly different log before that). Ruby 2.7.5 works, however.
I'm on an M1 MacBook Pro, which I suspect @bbugh is as well, because of the "arm64 fix" comment. However, I also tested this on x86 Linux and got the same result.

Going to close this in favor of Tapioca
https://sorbet.org/blog/2022/07/27/srb-tapioca


update aws-sdk-go version, v1.8.25 to v1.17.13

I think goofys would be better off updating aws-sdk-go revisions regularly to support new s3 feature. However, I'm not sure this change has a compatibility issue or not. What do you think?

No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.

Authorization: AWS4-HMAC-SHA256

After #404 merged, travis job was succeeded.


Adding non standard side input urn to flink

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.
Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Spark

Go

---
---
---
---
---

Java

Python

---

---
---
---

R: @robertwb @jkff @bsidhom

Please fix the checkstyle error.

Run Java PreCommit


Fix windows build

Compiler environment needs to be set to ensure compilation from python package built from source succeeds and is done with a compiler matching the one user for the extension.

This should be fixed by #22

Dashboard confirms  the package can be generated.
See http://slicer.cdash.org/index.php?project=Slicer4&date=2017-05-30&filtercount=1&showfilters=1&field1=buildname&compare1=63&value1=Radiomics


Windows commands/Netcfg: additions

Description:
As reported in issue ticket #3990 (/b option not documented), there is no explanation or listing of the option or parameter "/b" in this page.
Thanks to druske for reporting this missing detail.
Changes proposed:

Add a table row with description for the /b option
Highlighting in bold the words associated with the option letter
Grammar: replace "shows" with "display" in the example text for /b
Whitespace removal: "Trim Trailing Space" (blanks at end-of-line)

Use Hide whitespace changes to see the effective changes.
Additional note:
Just in case you disagree with the added formatting, I am open to modifying this PR if you want to keep only the added table row.
Ticket closure or reference:
Closes #3990

#sign-off

@illfated  Technically, we currently use show instead of display in our text. However, since this article was already using display from when the rules were different, this is all fine. I'll go ahead and merge.


Topic doesn't flow as expected

Trying to use this.user.setTopic()  to change the topic flow, but it works just once and cannot work well anymore
Expected Behavior

ss file
+ {ordered} *
- {^test(true)} hi ^toIsTrain()
- I don't know what you are saying

> topic isTrain {system}

	+ *
	- I'm in isTrain topic

< topic

javascript file
exports.test = async function test(bool, cb) {
    const content = this.message.original
    if (content === 'test') {
        cb(null, true)
    } else {
        cb(null, false)
    }
}

exports.toIsTrain = async function toIsTrain(cb) {
    await this.user.setTopic('isTrain')
    cb(null, '')
}

I expect the coversations should be:
user: test
bot:  hi
user: test
bot: I'm in isTrain topic
user: test
bot: hi
user: test
bot: I'm in isTrain topic
....

It should in the following loop ( from random topic to isTrain topic)
user: test
bot: hi
user: test
bot: I'm in isTrain topic

Current Behavior

The actual conversations as follows:
user: test
bot:  hi
user: test
bot: I'm in isTrain topic
user: test
bot: hi
user: test
bot: hi
user: test
bot: hi
...

The problem is user can never go into isTrain topic anymore.

Change isTrain's tag from
{system}
to
{system, keep}

Also, seeing that you want to bounce between the two topics, you can also add the nostay tag to make {system, keep, nostay}

It doesn't work as expected in the following 2 cases:
1. change isTrain's tag from {system} to {system, keep}
+ {ordered} *
- {^test(true)} hi ^toIsTrain()
- I don't know what you are saying

> topic isTrain {system, keep}
	+ *
	- I'm in isTrain topic
< topic

conver as follows:
user: test
bot:  hi
user: test
bot: I'm in isTrain topic
user: test
bot: I'm in isTrain topic
user: haha
bot: I'm in isTrain topic
user: hello?
bot: I'm in isTrain topic

It fall into isTrain topic and can never jump out.
2. change isTrain's tag from {system} to {system, keep, nostay}
+ {ordered} *
- {^test(true)} hi ^toIsTrain()
- I don't know what you are saying

> topic isTrain {system, keep, nostay}
	+ *
	- I'm in isTrain topic
< topic

Conversation as follows:
user: test
bot:  hi
user: test
bot: hi
user: test
bot: hi
user: test
bot: hi
user: test
bot: hi

It can never go into  isTrain topic.

So this looks right to me. We also have fairly extensive coverage for topic flags here: https://github.com/superscriptjs/superscript/blob/master/test/fixtures/topicflags/topics.ss
We keep track of the topic in both the current execution cycle, and the NEXT execution cycle. When we find a match (a reply) we well start the next execution cycle in that topic before searching for new matches. nostay is only going to effect the current cycle and has no effect on the next cycle. So when you match in a nostay topic, the expected behavior is to start looking for new topics in the next exchange.
So you might be wondering how to take advantage of nostay You want to redirect in during the current cycle with a topicRedirect(...) or respond(...)

So with nostay topics only being shown during the current cycle of a redirect, I would think that the easiest way to bounce back and forth between the topics would be to use the flags {system, keep} and then append a function ^toRandom() (that redirects to the random topic) to the - I'm in isTrain topic reply
I think that using topicRedirect(...) or respond(...) would have the reply be hi I'm in isTrain topic for each test input.


Update obsidian.md

Update with some small typos at the Obsidian docs page

Hello, I am a PR summary agent on flows.network.
It could take a few minutes for me to analyze this PR. Relax, grab a cup of coffee and check back later. Thanks!


enable helper pod configurable to meet more users requirements

inspired by #125 needs to support block device and #126 need to support quota for size limitation which should add some volumes to helper pods, So i make the whole helper pod configurable which is more flexible for users to meet their needs.
In local-path-provisioner, it parse the users' helper pod and add its necessary information to this helper pod such as command and some parameters.

This was resolved by #127. Closing.

This was resolved by #127. Closing.


The cascade job is getting successfully completed even when the parlour jobs are failing

The cascade job is getting successfully completed even when the parlour jobs are failing.
We are checking the status of job execution for proceeding to other tasks and it always returns 'true'.

Closing since we have now switched to the Execution API.