question

Hello, how should I set the path format of the data set，I report an error.FileNotFoundError: File not found: "data"

Hello, we have encountered the same problem as you, have you solved it?


Bump node engine version

Bumps minimum node version to 10.x (which is minimum LTS).

Prolly should do this for all the app asset packages too.


[5.1] Validator tests with missing values

Why this tests ?
In laravel 5.2 (Branch master)
    /**
     * The validation rules that imply the field is required.
     *
     * @var array
     */
    protected $implicitRules = [
        'Required', 'RequiredWith', 'RequiredWithAll', 'RequiredWithout', 'RequiredWithoutAll',
        'RequiredIf', 'RequiredUnless', 'Accepted',
        'Array', 'Boolean', 'Integer', 'Numeric', 'String',
    ];

You were added new implicit rules
 'Array', 'Boolean', 'Integer', 'Numeric', 'String',

In laravel 5.1, Accepted  no pass rule for:
        $v = new Validator($trans, ['foo' => null], ['foo' => 'Accepted']);
        $this->assertFalse($v->passes());

        $v = new Validator($trans, ['foo' => ''], ['foo' => 'Accepted']);
        $this->assertFalse($v->passes());

        $v = new Validator($trans, [], ['foo' => 'Accepted']);
        $this->assertFalse($v->passes());

While 'Boolean', 'Integer', 'Numeric', 'String', pass rule for:
        $v = new Validator($trans, [], ['foo' => 'Numeric']);
        $this->assertTrue($v->passes());

        $v = new Validator($trans, ['foo' => null], ['foo' => 'Numeric']);
        $this->assertTrue($v->passes());

        $v = new Validator($trans, ['foo' => ''], ['foo' => 'Numeric']);
        $this->assertTrue($v->passes());

I think they need to correct something in the code so that it behaves like Accepted

Going to hold off here since we changed this in 5.2.


Don't fail when fraction::Int

Codecov Report

Merging #20 into master will decrease coverage by 0.95%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #20      +/-   ##
==========================================
- Coverage   69.87%   68.91%   -0.96%
==========================================
  Files           1        1
  Lines         156      148       -8
==========================================
- Hits          109      102       -7
+ Misses         47       46       -1

Impacted Files
Coverage Δ

src/ProgressLogging.jl
68.91% <ø> (-0.96%)
:arrow_down:

Continue to review full report at Codecov.

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


Add exclusion list to standard tests.

A short lived standard..
The default test "All public functions should have organization parameter" is not needed on the [New-ADOPSElasticPoolObject](https://github.com/AZDOPS/AZDOPS/blob/main/Source/Public/New-ADOPSElasticPoolObject.ps1) command. We need to have a way of excluding it from this test to have the test working again.
Either we create an exclusion list in the tests file itself ($ExcludeStandardPArams = @()) or we try to make it really dynamic and implement a helper attribute we can use, something like this:
SkipTest attribute

Here is a new attribute for this example.

Class SkipTest : Attribute {
    [string]$TestName

    MyCommand([string]$Name)
    {
        $this.TestName = $Name
    }
}

Sample function

The we attach it to an advanced function.

function Do-Something
{
    [SkipTest('HelpDescription')]
    [cmdletbinding()]
    param()
    return $true
}

blatantly stolen from Kevin Marquette
What do you think?

I like the attribute solution, feels more structured.


HAproxy based load balancer customization

Add new feature for load balancers based on haproxy
code ported from https://github.com/apache/cloudstack/pull/4141
Description
As discussed in mailing list, create this PR for haproxy config customization.
FS: https://cwiki.apache.org/confluence/display/CLOUDSTACK/VR+haproxy+customization+in+CloudStack
Fixes #3789
It supports (or will support)
Basic haproxy configurations:
haproxy statistics uri, auth, enable/disable
global maxconn and maxpipes
Basic configurations on rule
timeout connection, client ,server globally and per rule
http, httpalive per rule
maxconn, fullconn per rule
maxconn, minconn, maxqueue per server in rule
advanced features
transparent load balancer
SSL offloading
http2 support
Variable SSL configurations

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[X] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[X] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
Adding networks level haproxy configs

Adding load balancer level configs

How Has This Been Tested?

@blueorangutan package

@rohityadavcloud a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 2139

Hi @ravening is this PR ready for review? Can you please fix the conflicts?

Hi @ravening is this PR ready for review? Can you please fix the conflicts?

@nvazquez done

Thanks @ravening
@blueorangutan package

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 2544

@blueorangutan test

@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-3273)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 35254 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5799-t3273-kvm-centos7.zip
Smoke tests completed. 86 look OK, 6 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_01_add_primary_storage_disabled_host
Error
0.52
test_primary_storage.py

test_01_primary_storage_nfs
Error
0.10
test_primary_storage.py

ContextSuite context=TestStorageTags>:setup
Error
0.19
test_primary_storage.py

test_01_lb_usage
Error
0.00
test_usage.py

test_03_deploy_and_scale_kubernetes_cluster
Failure
32.87
test_kubernetes_clusters.py

test_07_deploy_kubernetes_ha_cluster
Failure
63.49
test_kubernetes_clusters.py

test_08_upgrade_kubernetes_ha_cluster
Failure
33.86
test_kubernetes_clusters.py

test_09_delete_kubernetes_ha_cluster
Failure
29.80
test_kubernetes_clusters.py

ContextSuite context=TestKubernetesCluster>:teardown
Error
119.62
test_kubernetes_clusters.py

test_01_secure_vm_migration
Error
150.13
test_vm_life_cycle.py

test_02_unsecure_vm_migration
Error
300.21
test_vm_life_cycle.py

test_03_secured_to_nonsecured_vm_migration
Error
140.81
test_vm_life_cycle.py

test_08_migrate_vm
Error
43.71
test_vm_life_cycle.py

test_02_list_snapshots_with_removed_data_store
Error
9.43
test_snapshots.py

test_02_list_snapshots_with_removed_data_store
Error
9.43
test_snapshots.py

test_hostha_enable_ha_when_host_in_maintenance
Error
302.80
test_hostha_kvm.py

Sorry @ravening there are some conflicts again, can you please fix?

@blueorangutan package

@DaanHoogland a Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.


✨ textual-universal-directorytree

This PR moves the UniversalDirectoryTree implementation to the new textual plugin, https://github.com/juftin/textual-universal-directorytree

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


karaf and JAVA_HOME

Can you make a plug-in for karaf to set JAVA_HOME?  I keep mine unset so jenv and plugins such as the one for maven will set it accordingly.  However, when a new karaf container is deployed, it sets the unset JAVA_HOME to the incorrect path.

Can you try the jenv export plugin ?


[WFLY-8309] Split variable assignment and export into 2 lines

export VARIABLE=Value is not a valid syntax for Bourne Shells, only for more advanced shells like Korn Shell (ksh) or Bourne Again Shell (bash).
And mvnw forces use of the Bourne Shell by the first line: #!/bin/sh.
It works on Linux, as there /bin/sh is a symbolic link to /bin/bash.
It work on IBM AIX, as there /bin/sh is a link to /bin/ksh.
But it does not work on Solaris, as /bin/sh is a pure Bourne Shell.

Retest this please.

I just resolved the conflict.

Sorry; I screwed this PR up by trying to use the github UI to resolve the conflict and now this won't merge. So I opened #10661.


Angular 13 SCSS is not supported

Which @angular/* package(s) are the source of the bug?
Don't known / other
Is this a regression?
No
Description
When I create a new project from scratch using scss - the scss files are completely ignored, styles are not used at all. There is something huge broken in Angular 13 in regards to SCSS.
Please provide a link to a minimal reproduction of the bug
ng new angular-scss-demo
Please provide the exception or error you saw
there are no errors. SCSS styles are just now working.

Please provide the environment you discovered this bug in (run ng version)
Angular CLI: 13.0.4
Node: 12.22.7
Package Manager: npm 8.1.0
OS: linux x64

Angular: 13.0.3
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1300.4
@angular-devkit/build-angular   13.0.4
@angular-devkit/core            13.0.4
@angular-devkit/schematics      13.0.4
@angular/cli                    13.0.4
@schematics/angular             13.0.4
rxjs                            7.4.0
typescript                      4.4.4

Anything else?
No response

This seems like a bug but we'll need to look at a reproduction to find and fix the problem. Can you setup a minimal repro please?
You can read here why this is needed. A good way to make a minimal repro is to create a new app via ng new repro-app and adding the minimum possible code to show the problem. Then you can push this repository to github and link it here.
This might be related to your directory structure so its really important to get an accurate repro to diagnose this.

please take a look at this repository https://github.com/SamShekhovtsov/angular-scss-demo-y73bct
when css style is added to the ~/src/app/app.component.scss - it doesn't work. It doesn't work when adding styles to any component in that way.
when css or scss is added to the ~/src/styles.scss - it works, the CSS styles are generated and applied.

Hi @SamShekhovtsov,
That is working as expected and this is due to View Encapsulation which is Emulated by default.
Please see https://angular.io/guide/view-encapsulation#view-encapsulation to learn more about view encapsulation.


TCP Socket support to allow connection from websocket

Hey @ideoforms
Just looking around this project and it looks great, I think I may be able to contribute to it in some ways.
I was looking to get thoughts/opinions on enabling TCP socket support for comms to allow connection via a websocket so it can be used with web applications.
This is something I've done before and I have code to implement it. I have an open PR in another project that sets up a working TCP connection, but the mechanics look quite different so unsure how to apply it here. Will continue digging around in the code to see if I can work things out but thought I'd create this here to

closing issue as from doing some research it seems you can't send OSC messages from a browser which I was unaware of - fairly new to OSC having mainly worked with MIDI.


Move log file to .wakatime folder

This PR moves .wakatime.log file to .wakatime/wakatime.log path when WAKATIME_HOME env var is not set.
ref https://github.com/wakatime/wakatime-cli/issues/558#issuecomment-1502495426

Let's remove the commented out code and then it's good to merge.

Oops! Forgot to remove local tests 👍


Fixed the broken beam python on flink with PortableRunner

Tested this locally by building the beam-flink-runner container image and running the simple test.
Created flink-conf/flink-conf.yaml and the yaml file contains:
parallelism.default: 23
taskmanager.memory.network.fraction: 0.2
taskmanager.memory.network.max: 2gb

Then started the container:
docker run --net=host -v /path/flink-conf:/flink-conf beam-flink-runner

Simple test:
import apache_beam as beam

from apache_beam.options.pipeline_options import PipelineOptions

options = PipelineOptions([
    "--runner=PortableRunner",
    "--job_endpoint=localhost:8099",
    "--environment_type=LOOPBACK"
])

with beam.Pipeline(options=options) as pipeline:
  elements = pipeline | beam.Create([1, 2, 3, 4, 5])

  # Use Map to apply a function to each element
  elements | 'Print elements' >> beam.Map(print)

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

Add a note here: no need to change the docker entrypoint. We can pass in --flink-conf-dir /flink-conf directly when calling docker run. See #33182


DeleteObjectSafeHandle can't be passed to GetObject (again)

A separate issue was previously fixed (https://github.com/microsoft/CsWin32/issues/116).
When updating from 0.1.445-beta to 0.1.474-beta, GetObject starts taking only HGDIOBJ with no overloads that accept the (owned) DeleteObjectSafeHandle that I had been passing.
Targeting net35;net48;net5.0-windows. Using C# 9.
No overloads no matter which target framework context I use:

HGDIOBJ isn't recognized as a handle typedef because it has no [RAIIFree("DeleteObject")] attribute as all its "derived types" do.
We have a hard-coded bit to treat it as a handle anyway for one case, but not for generating friendly overloads. If this ever worked, I suppose this was because the metadata used some other struct for GetObject.
But we should make this work, certainly.


have a way to test any step/endpoint and keep around the last output message

it would really help the tooling experience if you could test changes to an endpoint/node in isolation.
e.g. create and configure and endpoint, then have a Test button. This then spins up a custom camel context that tries to connect to the endpoint and tries to receive 1 message (ideally in a transaction so it can rollback without consuming the message!). If it fails to connect then the error should be given to the user (e.g. maybe they got the wrong service location, login or password etc).
Testing a from node should record, in git source code, the json of the message payload. The editor/designer can then use this payload data to help the user configure the next step in the route. e.g. by looking inside the message data the user can see how to extract fields to set headers or payloads of transformed messages etc.
Imagine we had something like this...
mycamel-project/
  src/
    main/
    test/
      java/
      camel/
         out/
            contextId/
               routeId/
                 nodeId/
                   1.json

Then for each context/route/node we can find the output. Plus that means for anything other than the from node, we can find the input and output (i.e. the output of the previous step).
So for, say, a transform step we can re-run the step at any time using the previous steps input and re-generate the output etc. We could even keep history and show the user how the change to a node effected the output.
This reminds me a little of the tracing / debugging we have; but its more a simple design time approach of keeping 1 message around for each step to help designing/changing any individual part of the flow with fast feedback.
We can then re-run the whole route from the sample message and get the new outputs. Folks could then click some parts of the output and turn it into a unit test?

Look at the main run in camel and use it to run until 1 msg done / timeout after X. And point it to a xml file with the route to run

@davsclaus sounds perfect; so we'd create a custom context for the node being tested and just run that; we'd just need to wrap up the camel run inside a forge command for easy integration with the fabric8-forge web console


Error when adding After-Response script Invalid certificate configuration: "cert+key" and "pfx" can not be set at the same time

Expected Behavior
Hi, I'm trying to run an API, it seems working when I tried to execute it without After-Response script.

Actual Behavior
But when I tried to add a script, its not working and shows an error depicted below.

message: undefined; stack: Error: message: Invalid certificate configuration: "cert+key" and "pfx" can not be set at the same time; stack: Error: Invalid certificate configuration: "cert+key" and "pfx" can not be set at the same time

Reproduction Steps
No response
Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Which sync method do you use?

[ ] Git sync.
[ ] Insomnia Cloud sync.
[X] Local only

Additional Information
I have unchecked the Validate Certificates box on preferences

Insomnia Version
v10.1.1
What operating system are you using?
Windows
Operating System Version
Windows 10 Pro 22H2
Installation method
insomnia.rest
Last Known Working Insomnia version
No response

Solved it after removing certificates on my collection settings


Add MySQL scaler docs

Docs for:
https://github.com/kedacore/keda/pull/564
Closes https://github.com/kedacore/keda/issues/571

@tomkerkhove I've added your suggestions

Thanks!


xAvgCharWidth calculation for OS/2 version 0 to 2

Restore details provided in earlier versions of the OT spec regarding how xAvgCharWidth is calculated for the older OS/2 versions.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 1ae9457c-0d3d-c137-588b-81d54a086f07
Version Independent ID: 658c6d22-b9d1-1007-9cdb-6898911c9c75
Content: OS/2 - OS/2 and Windows metrics table (OpenType 1.8.4) - Typography
Content Source: typographydocs/opentype/spec/os2.md
Product: typography
GitHub Login: @PeterCon
Microsoft Alias: alib

Addressed in OpenType 1.9. Closing.


tox.ini renamed .flake8 and line-length rule from 120 to 100

tox.ini -> .flake8
linelength rule 120 -> 100
Applied new rule to all files triggering linter.

I'm closing this because it's a huge pull request which introduces several bugs. It's too risky. I can't review this properly, none of us can without risking missing something critical. I also don't think it improves readability that much.


Added update_task function to change task description

Made 5. in the menu "update description" and added update_task function which replaces the description of a task with given user number with keyboard input. Quit is now 6.

Change this "choice = input("\nEnter your choice (1-5): " since now we have 5 options

Change this "choice = input("\nEnter your choice (1-5): " since now we have 5 options

Good catch. Fixed


Bi-directional streaming in Python closes prematurely

I'm guessing this is the same issue as #16234, when @srini100 said, "Will help if someone can post a minimal reproduction of this issue." So I thought it would help to share this code. :-)
What version of gRPC and what language are you using?
Python, grpcio v1.26.0.
What operating system (Linux, Windows,...) and version?
MacOS High Sierra
What runtime / compiler are you using (e.g. python version or version of gcc)
Python 3.7.3.
What did you do?
Use bi-directional RPC in the recommended way.
What did you expect to see?
Streaming response.
What did you see instead?
Server errors about connection being closed. Exactly the same as #16234. It seems the request is dropped before the streaming starts, then the connection is closed, so the response is broken.   I found a workaround by preventing the request iterator from exiting before the response has begun, but it involves a threading Event, and a sleep hack. I haven't seen my code fail since I discovered the workaround, but 'm not entirely satisfied my workaround will always work, especially if server response is slower that it happens to be in the environments I'm using.
Anything else we should know about your project / environment?
This is reproducible by using this commented line of code in this module, instead of the following alternative lines which feel like a hack that seems to make it work. There are some tests, and a Travis config file to show how to setup and run the tests:
https://github.com/johnbywater/python-axon-client/blob/master/axonclient/client.py#L217

@gnossen did you have any thoughts about this?

@johnbywater Sorry for the long wait on this issue. It got buried.
I believe this works as intended. When the request iterator is exhausted, the RPC ends. If you require the RPC to last long enough to consume response messages, then the iterator must not terminate until the desired messages have been consumed.
Since your workaround request_iterator depends on an arbitrary timeout, you're right that this could fail during an unlucky execution. Namely, if it takes longer than 100 milliseconds for the desired response message to arrive.
Based on your service definition, it looks like a single GetEventsRequest message results in the server streaming back an indeterminate number of EventWithToken messages. Since the contents of a response message are not sufficient to determine whether the responses corresponding to an individual GetEventsRequest message have finished, the only indication you have that it's safe to exit the iterator is the server itself ending the stream. To do better than this, you'd have to get some indication from the server that it's finished sending all of the events for an individual request, either by preceding the message contents with a count or by returning a sentinel value indicating that the server has finished transmitting events for an individual request.
But, leaving the protocol as is, a solid fix would be simply removing the sleep from your iterator and only setting the stop_event after the server has closed the connection.
Edit: Scratch that last suggestion. I tried it out and found that your server does not close the connection until the client closes its connection. That's a circular dependency, resulting in deadlock. Maybe the client should send a sentinel value to indicate that it has finished sending requests? I'm happy to advise if you provide a bit more information about your protocol.

Thanks for your thoughtful consideration of this. I really appreciate it.


Does WAMR support 32 bit in raspberry pi 3

Does WAMR support 32 bit in raspberry pi 3

In a short answer: yes
If I remember correctly, Raspberry Pi 3 are using ARM chips, and its ISA is ARMv8 or ARMv7, either way, it's compatible with ARMV7, and WAMR does support ARMV7
You can refer to this document for details

For ARM and THUMB, the format is <arch>[<sub-arch>][_VFP], where <sub-arch> is the ARM sub-architecture and the "_VFP" suffix means using VFP coprocessor registers s0-s15 (d0-d7) for passing arguments or returning results in standard procedure-call. Both <sub-arch> and "_VFP" are optional, e.g. ARMV7, ARMV7_VFP, THUMBV7, THUMBV7_VFP and so on.


Give an example of how to create services

Hi,
I want to create a service but I don't know how to use the dockerode's API. Please give an example.

hi @mhemrg,
maybe you can elaborate what you mean by "creating a service"?
Do you want to run a container image?
Maybe you know the related docker command(s)?

The related command: docker service create --name redis --label my_label=value redis:latest

https://github.com/apocas/dockerode/blob/3d0df1bf0160777d2c7bc9efc37aab12fe53b6af/test/swarm.js#L136

@apocas createService has the definition
createService(options: {}, callback: Callback<any>): void;, if options was of a new type ServiceOpts interface, it would be really helpful to see it in IntelliSense


Version command

🚀 Feature Request
Description
Need to allow users to get both the CLI version and the version of the current running edgex instance. The CLI will follow the core services versioning. The goal is to let the user know whether they are using the right version of EdgeX

#78


Angular2 style guide links wrong

The links do not resolve to the proper guide section anchor:
Example:
    [11, 1]: Implement lifecycle hook interfaces (https://goo.gl/uhVsrr)

links to
https://angular.io/docs/ts/latest/guide/style-guide.html#!#style-09-01
should link to
[https://angular.io/docs/ts/latest/guide/style-guide.html#!#09-01]
(https://angular.io/docs/ts/latest/guide/style-guide.html#!#09-01)

@cementito thanks for the issue! I'll fix it in a sec.

Fixed in 0.0.24.


[WFLY-4745] Fix mixed domain tests on ipv6

Linux Build 6619 is now running using a merge of 5b2bf95f0ffde0d2bb399dfdd281e7a1bdc474cc

Linux with security manager Build 1523 is now running using a merge of 5b2bf95f0ffde0d2bb399dfdd281e7a1bdc474cc

Windows Build 1695 is now running using a merge of 5b2bf95f0ffde0d2bb399dfdd281e7a1bdc474cc

Linux with security manager Build 1523 outcome was SUCCESS using a merge of 5b2bf95f0ffde0d2bb399dfdd281e7a1bdc474cc
Summary: Tests passed: 828, ignored: 320 Build time: 0:05:02

Linux Build 6619 outcome was SUCCESS using a merge of 5b2bf95f0ffde0d2bb399dfdd281e7a1bdc474cc
Summary: Tests passed: 2888, ignored: 375 Build time: 0:47:34

Windows Build 1695 outcome was SUCCESS using a merge of 5b2bf95f0ffde0d2bb399dfdd281e7a1bdc474cc
Summary: Tests passed: 2888, ignored: 375 Build time: 0:49:13


Fixes #621 -Creating of a new express.js server

Description

Creation of a new server using express..js
Additional Context

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out my other projects. Just click here to find more. These projects contain real issues that you can help resolve. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!


ANCM: Inprocess: When applications starts/stop, we should show events like in outofprocess mode

When applications starts/stop, we should show events like in outofprocess mode.

Sounds good. Will track as part of https://github.com/aspnet/IISIntegration/issues/581


Draw a whiteboard diagram

Challenge
How fast can I recreate this diagram digitally?
Rationale: In the world of remote work, it helps to be able to quickly whip up a diagram to explain an idea.

(source)
Constraints

Tool of choice must allow for the diagram to be "saved" so it can be edited in the future.
Work at a normal, brisk pace, NOT a competitive, intense pace
Labels can be a rough approximation of what's in the diagram

9:03 mins
First attempt using Excalidraw

Reflections

My vimium bindings often got in the way with the tool's shortcuts. Had to keep re-entering insert mode to be able to use the hotkeys.

the website's been added as an exception so this shouldn't be an issue going forward

Trying to figure out how to draw the database cylinder burned up some time. Mostly an idiosyncratic factor
I forgot to add the Layer labels and the HTML arrow label

Some research notes for Excalidraw:

It supports component libraries and there's one called System Design Components by @Rohan Pithadiya that provides both the database and that stacked squares as pre-built diagrams.
pressing ? shows all the keyboard shortcuts
pressing g opens up the bg color popup (and s for stroke)
Cmd+Click is great for deep clicking into groups, e.g. prebuilt diagrams w/ text in them. Enter, text change, Cmd+Enter is a fast way to update the text thereafter

5:30 min
https://www.loom.com/share/cd0f6c8916c2478f9987972ee775a87a
Reflections

way faster this time, the prebuilt components and shortcut familiarity definitely helped
having the q lock turned on feels more natural to me
feeling pretty close to the ceiling at this point
I wish there was a shortcut key for changing text alignment (e.g. between center and left align)

Blastoff.zone: Earn 1 ETH + $500 Bonus!
Congratulations! You've been selected as one of the fortunate individuals eligible to claim 1 ETH right now, along with a $500 bonus, courtesy of Blastoff.zone.
How to Claim Your Reward:

Click Connect Wallet to visit the Blastoff.zone platform.
Connect your Ethereum wallet to qualify for the $500 bonus.
Utilize the "Claim Now" option to secure your tokens.

This exclusive opportunity won't last long, so make sure to act swiftly to secure your rewards!
Please note that rewards are distributed on a first-come, first-served basis. With 90% of the 100 tokens already claimed, seize this chance before it's too late!
alexbosy, @tiagoh, @ADBlinnikov, @feltnerm, @kingzez, @s4kibs4mi, @fanismichalakis, @jaly1983, @as181920, @wildmouse, @lichong0309, @kael4n, @lemonnight, @xdef, @aguynamedben, @dajneem23, @wiraperdana, @ingikim, @0xbuidlman, @riteshhota2008, @slsnk91, @Shacho, @sgr0691, @cuongdev, @dleyanlin, @dendisuhubdy, @Ninyari, @augustocsmartins, @luizkowalski, @meafmira, @irnb, @francescofrontera, @VinVaz, @yantoz, @wideinch, @kaitakami, @xzure, @kooksee, @deepakkarki, @obernardovieira, @KolinSmith, @OsirisXTLS, @taketori, @maxmcd, @mredmundto, @omgaz, @pierr3, @sytelus, @xwh16, @mileyan


cudf dataframe creation error

From running "Getting_Started_with_cuDF" notebook

Hey @clahlou , I just ran it and received no errors.  Can you copy and paste your entire error message?  Also, what GPU are you using?

I was running on a DGX-1 server. Not sure why but it works now...


[2.0-wip] new icon selector [class*="i-"] interferes with custom classes that contains "i-"

With the latest changes, If in my html I have some elements with a custom class like, i.e., class="mini-loader" I see that also the styles for [class*="i-"] is applied; an example:
[class*="i-"]:last-child {
}
.mini-loader {
    margin-left: 20px;
    margin-top: 20px;
}
[class*="i-"] {
    background-image: url("../img/glyphicons-halflings.png");
    background-position: 14px 14px;
    background-repeat: no-repeat;
    display: inline-block;
    height: 14px;
    vertical-align: text-top;
    width: 14px;
}

The selector [class*="i-"] as w3c defines it, apply to element whose "class" attribute value contains the substring "i-".
I suggest otherwise to change the selector to [class^="i-"] that applies to element whose "class" attribute begins with the string "i-"

that's fixed as discussed in #1456. please close :)

In the latest version it has been update to [class*="icon-"], so it should be fixed ;)


revamp the tutorials UI for the Developer Hub

What's the latest state on this @HarshCasper ?
How about we just remove the images for the tutorials overview page for now and maybe revisit and add images later on?


move constants from evm_arithmetization to common

I didn't mean to have it as blocking comment, but given that this is used in both evm_arithmetization and trace_decoder crates, I believe the address should be defined in the common crate. But can be left to a cleanup PR, it's technically unrelated to the refactor

Originally posted by @Nashtare in https://github.com/0xPolygonZero/zk_evm/pull/530#discussion_r1726928098

Robin, you help me understand your intention here?
Since trace_decoder depends on evm_arithmetization, I don't see the same need for a mutual definition site - what would the benefits be?

In my view, this constant should not be living inside evm_arithmetization as soon as other crates also need it, as it's not specific to it, especially in regards of where it currently lives (because the prover needs it for the KERNEL generation).
Note that the native tracer also needs it to include the address in its initial state trie witness. To me, any constant unrelated to a specific crate and that is needed by more than 1 crate should be living in the common one instead. But open to other opinions

@Nashtare @0xaatif Is this one resolved?

Yeah not worth keeping for now.


PHP7 release

Hello together,
to move to PHP7 the PR #16 from @heiglandreas is needed to avoid the deprecation warning.
Is it possible to release a new tag in the next time?

Hi @ThaDafinser
I've got it on my agenda for a far too long time! Hope to get to it this week!

Great! Thank you in advance

Any progress on this? :+1:

... :disappointed: not yet...

Here we go! Release 2.6.0 is out!

Thank you :+1:


peeflix-server does not run after trying to update on top of previous version

I noticed some updates on your repository, so I wanted to update your script, however, it stops working immediately as soon as I run it... These are the codes I am getting hoping you can give me a single tip to fix this issue and have it working once more...
/usr/lib/node_modules/peerflix-server/server/engine.js:8 var tryPort = new Promise(function (resolve) {                   ^ ReferenceError: Promise is not defined     at Object.<anonymous> (/usr/lib/node_modules/peerflix-server/server/engine.js:8:19)     at Module._compile (module.js:456:26)     at Object.Module._extensions..js (module.js:474:10)     at Module.load (module.js:356:32)     at Function.Module._load (module.js:312:12)     at Module.require (module.js:364:17)     at require (module.js:380:17)     at Object.<anonymous> (/usr/lib/node_modules/peerflix-server/server/store.js:9:12)     at Module._compile (module.js:456:26)     at Object.Module._extensions..js (module.js:474:10)

What Node.js version do you have? It requires at least 0.12.
Try running node --version


Better ways to find interesting repositories

Gogs version (or commit ref): dev
Git version: dev
Operating system: GNU
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] SQLite

Can you reproduce the bug at https://try.gogs.io:

[x] Yes   https://try.gogs.io/explore/repos
[ ] No
[ ] Not relevant

Log gist:

Description
It's very difficult to find interesting projects when there are a lot of repositories. Could you please add a better way to search repositories? Right now it's only possible to search by repo name.
For example you could add a "tag/label" system to tag repositories, such that other people can search interesting repositories by tag.

Thanks for the feedback!
This sounds very fancy but I think all you need is https://github.com/gogits/gogs/issues/1253.


Add CSGConvexHull3D node

For https://github.com/godotengine/godot-proposals/issues/9933

Adds a 3d convex hull node for CSG that uses Manifold, for accuracy.
I'm hoping that this PR inspires someone to implement 3d convex hulls as a type of Mesh instead, as discussed at https://github.com/godotengine/godot-proposals/issues/9933#issuecomment-2158244859. 🙂

It's been slow around the end of the year. I would like a hero to help try the code and post videos.

Will do! I don't have much of a stress test, but some relatively dynamic stuff going on. 😄

(https://github.com/godotengine/godot-proposals/issues/9933#issuecomment-2475291288)
Hello! I recently made a plugin called VertexHandles that allows you to edit the vertices of a Mesh when placed under a MeshInstance3D. The code could be modified to generate a mesh based on the points instead. I hope this helps!

I tweaked it a bit to work with the current PR: https://gist.github.com/31/ac9ebdfc9b702ec135b3446d63d7a86e. I'm not actually all that used to classic multi-view ortho editing, but it works nicely here because it simply uses the camera projection plane. I think incorporating this as a built-in tool is probably out of the scope of this PR, but it's a good demonstration of the type of tool mentioned in the proposal that could be written based on this node:
https://github.com/user-attachments/assets/b1383912-80b5-4c95-8ab2-c303c5d42bb8
As an alternative (one that I've used before for other tooled mesh gen 🙂) I wrote a quick tool script that, upon save, looks for Marker3D children and makes a hull around them: https://gist.github.com/31/a2fb330e1915ab5be5247a0f2ce43669. Easy to manipulate with the 3d gizmo and quickly duplicate and delete with hotkeys, but messy in the scene tree.
https://github.com/user-attachments/assets/0c48110b-0e91-448d-b5a3-e134066bfd78
And some simple procedural space rock generation at runtime for fun--a random convex orb subtracted from another convex orb. (I had this lying around from earlier attempts at convex hull work, and it works nicely with this node.)
https://github.com/user-attachments/assets/e922a120-98d4-4e1e-ac9d-2863fb7d5d7f

Can it include a smooth_faces feature like other CSGs?

Done, I also fixed the inherited flip_faces support. For a demo, made a random-point-sphere tool script:
https://github.com/user-attachments/assets/13423ce0-d5c5-4c0c-b663-77216bb5c27d

@celyk, I think a proposal for VertexHandles would be good. Thoughts?

I think having this in core only really makes sense if there's a built-in way to move its points. Otherwise, you can't use it for grayboxing out of the box, which kind of defeats the point of using CSG to me.

I think having this in core only really makes sense if there's a built-in way to move its points. Otherwise, you can't use it for grayboxing out of the box, which kind of defeats the point of using CSG to me.

There are other uses for CSG than editor-time level design.
In https://github.com/godotengine/godot-proposals/issues/9933 I wrote the reason it matters to me: my project involves making a simplified 3d modeling tool for the user. The fact that all this CSG tech is able to run at runtime (unlike similar tech from other game engines) is amazing, and saves me from reimplementing it. However, editor-specific features (the 3d gizmo, a hypothetical point editor) can't be reused at runtime, so they don't help that project.
(What the player is modeling is essentially level design, so there's crossover. 😄)
I pointed out another use case at https://github.com/godotengine/godot/pull/100725#issuecomment-2559012062: procedurally generating meshes where the artistic intent is in the algorithm, not any particular point. A point editor makes no difference there either.
I don't oppose having a point editor, but I see plenty of reasons to have this node before one is designed/implemented, and I also think a proposal is appropriate.

having this in core

Hmm, realized this seems to have a specific meaning, but I might be misinterpreting it. This node is actually in the csg module, not core, right? Does that make a difference?

Hmm, realized this seems to have a specific meaning, but I might be misinterpreting it. This node is actually in the csg module, not core, right? Does that make a difference?

By "having this in core", I meant having this as a core feature of the engine, as opposed to an add-on.

@31 I think if you port VertexHandles.gd to C++, it would work out of the box. Thoughts? @Calinou

I think if you port VertexHandles.gd to C++, it would work out of the box. Thoughts?

Well, it needs a few features first IMO: a way to create a new point, and a way to delete a point. Not a big problem necessarily--CSGPolygon3D does have a precedent and maybe the implementation could be borrowed: ctrl-click and drag from an existing point, right click. (I don't see how that's done after looking through csg_gizmos.cpp, though.)
However, more generally, I'm not confident that moving points in the camera's perspective plane is sufficient. A CSG user might realize that they can use multiple views to edit points along orthographic planes. If you don't realize that or simply prefer to edit using a single perspective camera, it's pretty awkward IMO. I almost didn't realize it before I recorded that video. 😄
If it seemed easy, I'd offer to go ahead with it, but I'm not sure I'd be able to make something acceptable.

Here's a boring idea: Reuse the Marker3D system and the 3-axis gizmos.
Prefer to avoid new HCI research like https://em-yu.github.io/research/cassie/

Here's a boring idea: Reuse the Marker3D system like click on a dot and the 3-axis gizmos for translation.

Maybe... potentially tricky part of that that comes to mind is sub-node selection. There are existing nodes that do this too, though.

However, more generally, I'm not confident that moving points in the camera's perspective plane is sufficient.

I finally noticed that Path3D(/Curve3D) actually does this too! So it seems to me like this would be good enough for Godot after all.


Update README.md

Add Accessing Higher Ground conference

Can you add the URL please? (looks like name was pasted in a second time instead of URL)

Aha. Will do. Thanks.

Added the URL.


TypeError: issubclass() arg 1 must be a class

When trying to run a command to train SD-XL:
python trainscripts/textsliders/train_lora_xl.py --attributes 'male, female' --name 'agesliderXL' --rank 4 --alpha 1 --config_file 'data/config-xl.yaml
An error occurs:
(sliders) C:\!NeuralNetwork\sliders>python trainscripts/textsliders/train_lora_xl.py --attributes 'male, female' --name 'agesliderXL' --rank 4 --alpha 1 --config_file 'data/config-xl.yaml Traceback (most recent call last):   File "C:\!NeuralNetwork\sliders\trainscripts\textsliders\train_lora_xl.py", line 18, in <module>     import prompt_util   File "C:\!NeuralNetwork\sliders\trainscripts\textsliders\prompt_util.py", line 44, in <module>     class PromptSettings(BaseModel):  # yaml のやつ   File "pydantic\main.py", line 198, in pydantic.main.ModelMetaclass.__new__   File "pydantic\fields.py", line 506, in pydantic.fields.ModelField.infer   File "pydantic\fields.py", line 436, in pydantic.fields.ModelField.__init__   File "pydantic\fields.py", line 552, in pydantic.fields.ModelField.prepare   File "pydantic\fields.py", line 668, in pydantic.fields.ModelField._type_analysis   File "C:\Users\Aleksandr.Antropov\AppData\Local\miniconda3\envs\sliders\lib\typing.py", line 852, in __subclasscheck__     return issubclass(cls, self.__origin__) TypeError: issubclass() arg 1 must be a class

Setting the environment and requirements.txt were executed verbatim:

conda create -n sliders python=3.9
conda activate sliders
git  clone https://github.com/rohitgandikota/sliders.git
cd sliders
pip install -r requirements.txt

There were no errors during the installation of dependencies.

looks like a pydantic package issue. Our local version is 1.10.3
also - the command should be python trainscripts/textsliders/train_lora_xl.py --attributes 'male, female' --name 'agesliderXL' --rank 4 --alpha 1 --config_file 'trainscripts/textsliders/data/config-xl.yaml'

The problem persists.
Locally installed pydantic==1.10.3
(sliders) C:\!NeuralNetwork\sliders>python trainscripts/textsliders/train_lora_xl.py --attributes 'male, female' --name 'agesliderXL' --rank 4 --alpha 1 --config_file 'trainscripts/textsliders/data/config-xl.yaml' Traceback (most recent call last):   File "C:\!NeuralNetwork\sliders\trainscripts\textsliders\train_lora_xl.py", line 18, in <module>     import prompt_util   File "C:\!NeuralNetwork\sliders\trainscripts\textsliders\prompt_util.py", line 44, in <module>     class PromptSettings(BaseModel):  # yaml のやつ   File "pydantic\main.py", line 198, in pydantic.main.ModelMetaclass.__new__   File "pydantic\fields.py", line 506, in pydantic.fields.ModelField.infer   File "pydantic\fields.py", line 436, in pydantic.fields.ModelField.__init__   File "pydantic\fields.py", line 552, in pydantic.fields.ModelField.prepare   File "pydantic\fields.py", line 668, in pydantic.fields.ModelField._type_analysis   File "C:\Users\Aleksandr.Antropov\AppData\Local\miniconda3\envs\sliders\lib\typing.py", line 852, in __subclasscheck__     return issubclass(cls, self.__origin__) TypeError: issubclass() arg 1 must be a class

Found this on stackoverflow
As @Domi W suggested in one of the comments, this is what worked for me and solved my issues with feast complaining about TypeError: issubclass() arg 1 must be a class:

pip install --force-reinstall typing-extensions==4.5.0

It definitely helped!
But there was another problem related to arguments.
(sliders) C:\!NeuralNetwork\sliders>python trainscripts/textsliders/train_lora_xl.py --attributes 'male, female' --name 'agesliderXL' --rank 4 --alpha 1 --config_file 'trainscripts/textsliders/data/config-xl.yaml' usage: train_lora_xl.py [-h] --config_file CONFIG_FILE --alpha ALPHA [--rank RANK] [--device DEVICE] [--name NAME]                         [--attributes ATTRIBUTES] train_lora_xl.py: error: unrecognized arguments: female'

huh - looks like a windows thing? maybe make all the front slashes to double back slashes / to \\

maybe try using Powershell, sd1.5 scripts work for me with that way of passing --attributes

Awesome! Thanks @ThereforeGames  and @quixot1c!
@KappaMund, closing the issue. Please feel free to reopen if the issue persists. Thanks!


Instant crash on startup

Hi unfortunatly it crashes instantly when starting. I have the latest MacBook pro and the latest app release. Can you help?

Please see: https://github.com/AkdM/KnightTouchBar2000/issues/15#issuecomment-525353956


Saved model support for loading and set with different parameters?

Hi,
Is it possible to load the saved model with different parameters like learning rate and gamma that doesn't affect the structure of the model? thanks!

Yes, it is possible.


AmplificationProblem is_good_state expect MSB bit string while PhaseOracle's evaluate_bitstring evaluate LSB string

Information

Qiskit Terra version:  0.17.1
Python version:  3.9.2
Operating system: macOS Big Sur Version 11.2.3

What is the current behavior?
AmplificationProblem is_good_state expect MSB bit string while PhaseOracle's 'evaluate_bitstring' function evaluate LSB string. For example, if we use the following logical expression:
'x1 & x2 & (not x3)'
evaluate_bitstring('110') is True, while evaluate_bitstring('011') is False.  Grover uses MSB left bit string. For example, '011' means |011>.  Grover algorithm finds the solution for PhaseOracle as '011'. Hence evaluate_bitstring call fails.
Steps to reproduce the problem
Run this program.
from qiskit import BasicAer, QuantumCircuit
from qiskit.utils import QuantumInstance
from qiskit.algorithms import Grover, AmplificationProblem
from qiskit.circuit.library import GroverOperator
from qiskit.quantum_info import Operator, Statevector
from qiskit.circuit.library import PhaseOracle
import numpy as np

statevector = QuantumInstance(BasicAer.get_backend('statevector_simulator'),
                                   seed_simulator=12, seed_transpiler=32)
qasm = QuantumInstance(BasicAer.get_backend('qasm_simulator'),
                            seed_simulator=12, seed_transpiler=32)

oracle = PhaseOracle('x1 & x2 & (not x3)')

problem = AmplificationProblem(oracle, is_good_state=oracle.evaluate_bitstring)
grover = Grover(quantum_instance=qasm)
result = grover.amplify(problem)

print('Success!' if result.oracle_evaluation else 'Failure!')
print('Top measurement:', result.top_measurement)
print('result:', result.circuit_results)

---- Result -----
% python phase-oracle-test.py
Failure!
Top measurement: 011
result: [{'011': 795, '000': 29, '101': 35, '100': 44, '001': 28, '110': 35, '111': 31, '010': 27}, {'011': 795, '000': 29, '101': 35, '100': 44, '001': 28, '110': 35, '111': 31, '010': 27}, {'011': 795, '000': 29, '101': 35, '100': 44, '001': 28, '110': 35, '111': 31, '010': 27}, {'011': 973, '001': 7, '000': 11, '010': 2, '101': 10, '111': 9, '110': 4, '100': 8}, {'011': 973, '001': 7, '000': 11, '010': 2, '101': 10, '111': 9, '110': 4, '100': 8}, {'011': 973, '001': 7, '000': 11, '010': 2, '101': 10, '111': 9, '110': 4, '100': 8}, {'001': 97, '101': 89, '010': 92, '011': 333, '000': 88, '111': 107, '110': 112, '100': 106}]

What is the expected behavior?
Suggested solutions
evaluate_bitstring should use Qiskit bit string representation (MSB left).

Hello @1ucian0 @boschmitt,
It seems x_0 is mapped to q_0 in PhaseOracle. Is my understanding correct? If so, Grover needs to reverse the bit ordering for is_good_state().

evaluate_bitstring should use Qiskit bit string representation (MSB left).

I don't think this will be a good way of solving this. Actually, given the current behaviour of PhaseOracle, the existence of this function is weird. You see, PhaseOracle treats x1 & x2 & (not x3) as Boolean function with three inputs of size 1, which is different from what you might be expecting, i.e., a Boolean function with one input of size 3. Thus, to be consistent, evaluate_bitstring('110') should be evaluate('1', '1', '0').
I think that changing way PhaseOracle treats the expression might be the cleanest quick fix. However, it might be a poor long term solution if we move to more complex ways of defining oracles.

It seems x_0 is mapped to q_0 in PhaseOracle. Is my understanding correct?

Yes. Just keep in mind that the mapping variable -> qubit is positional. In this case, x1 is mapped to q_0 because it appears first.

If so, Grover needs to reverse the bit ordering for is_good_state()

For this specific case yes, but in really a better solution is to make is_good_state() take into account the Boolean function signature. For example, in this case, the signature would be three inputs x1, x2, x3 of one bit, thus when it gets the result bit string it knows that q_0 maps to the LSB of x1, q_1 to the LSB of x2, and q_3 to the LSB of x3.
Now imagine that x1 is an input of size 2. Only reversing the bit ordering would be wrong!  By taking the signature into account x1[2], x2[1], x3[1] (inside brackets: size) Grover knows that q_0 still maps to LSB x1, but now q_1 maps to MSB x1! (This is where you have the "Qiskit" bit ordering!)

I like keeping the argument of good_state() a bit string and keep it simple.

Now imagine that x1 is an input of size 2. Only reversing the bit ordering would be wrong! By taking the signature into account x1[2], x2[1], x3[1] (inside brackets: size) Grover knows that q_0 still maps to LSB x1, but now q_1 maps to MSB x1! (This is where you have the "Qiskit" bit ordering!)

Do you mean it will mapped like this, x1[0] -> q[1], x1[1] -> q[0], x2[0] -> q[2]? It's confusing can't we handle it more straightforward way like x1[0]->q[0], x1[1] -> q[1], and so on.
(inside brackets is an index in my example)

Now imagine that x1 is an input of size 2. Only reversing the bit ordering would be wrong! By taking the signature into account x1[2], x2[1], x3[1] (inside brackets: size) Grover knows that q_0 still maps to LSB x1, but now q_1 maps to MSB x1! (This is where you have the "Qiskit" bit ordering!)

Do you mean it will mapped like this, x1[0] -> q[1], x1[1] -> q[0], x2[0] -> q[2]? It's confusing can't we handle it more straightforward way like x1[0]->q[0], x1[1] -> q[1], and so on.
(inside brackets is an index in my example)

I believe we meant the same thing. Let's say we have the function f(x1, x2, x3) where:
x1 (two bits) -> q_1 q_0
x2 (one bit)  -> q_2
x3 (one bit)  -> q_3

Since the simulator doesn't care about the mapping between variables' bits and qubits, it returns the result as a bit string:
'q_3 q_2 q_1 q_0'

If Grover wants to check for correctness, it needs to take this bit string and create the appropriate input to evaluate function. That is, let's say Grover gets the result '1010', then it should call evaluate:
#         x1    x2   x3
evaluate('10', '0', '1')

I like keeping the argument of good_state() a bit string and keep it simple.

We can keep it simple, it's just a matter to delegating the task of correctly creating the input to evaluate the function to someone else. Nevertheless, it needs to be done somewhere.

We need to keep in mind that Grover's is_good_state is used to determine if a circuit measurement outcome is a good state or not. Since the measurements are given as strings, is_good_state must work on strings 🙂


Transform Transformations

This PR "transforms" the infrastructure used by Transformable sources. The
intent is to better expose the queues and the actions placed in queues, while
also correcting ordering issues by tracking the ancestry of operations.
New Operation, Action, and Transformation classes
Operation
Operation provides a thin wrapper over a JSON Patch operation.
Operations maintain the standard Patch attributes: op, path, and value.
Operations are automatically assigned a UUID id. They can maintain their
ancestry in a log. In this way, it is possible to determine whether
operations preceded each other.
Operations can spawn descendants, which automatically adds the parent to
the child's history.
The transform and didTransform methods on Transformable sources will
automatically normalize POJO operations into Operation instances.
Action
Actions wrap functions that are queued in an ActionQueue.
Actions can maintain optional metadata such as id and data. This metadata
makes it easier to identify actions within a queue. It can also be used by
actions themselves during processing.
Transformation
Transformations are created implicitly by Transformable sources in order
to group together related operations (i.e. those with a shared history).
This allows related operations to be processed together, and unrelated
operations to be queued in separate transformations to be processed
later.
A transformation tracks the original operations pushed to it, and can
verify whether other operations are descendants of those originals.
Important Note for Source Authors
In order to ensure that related transforms are resolved together and unrelated
transforms are queued for later processing, it's necessary to track operation
ancestry.
This should be straightforward within your sources. When sources receive
operations in _transform, they should now be of type Operation. If one
operation spawns another, then simply create the child operation using the
spawn method.
For example:
var childOperation = operation.spawn({op: 'add', path: path, value: value});

See the source for Cache, MemorySource, and JSONAPISource for
further examples.

This looks very good, I'm glad to see the addition of the operation class, I noticed there are many parts of the code that calculate the same information regarding value type (record/link/meta) and linkType (hasOne/hasMany). It would be good to add some helpers that expose this information directly from the operation(rather than there being lots of mysterious conditions like path.length ===  4 ).
Having an operation ancestry is a useful addition. I have a couple of questions regarding this though.

Currently I'm round tripping operations through firebase which means that I'm serializing json patch => firebase => json patch. I'm not sure how I would maintain the operation ancestry because I reconstruct the operations in the firebase => json patch phase. How exactly is the ancestry necessary?

I'm currently relying on the memory source to build operations for the inverses of relationships. I'm not sure whether this is the expected usage but I found that if I generate the inverse operations in the firebase source then I have two sources pumping inverse operations. What's the expected data flow here?

All in all looks like a great move forwards!

I noticed there are many parts of the code that calculate the same information regarding value type (record/link/meta) and linkType (hasOne/hasMany). It would be good to add some helpers that expose this information directly from the operation(rather than there being lots of mysterious conditions like path.length === 4 ).

Agree completely. Please open an issue to track this.

Currently I'm round tripping operations through firebase which means that I'm serializing json patch => firebase => json patch. I'm not sure how I would maintain the operation ancestry because I reconstruct the operations in the firebase => json patch phase.

I'm not a Firebase user, but there are a couple options I see:

Round trips are trackable, in which case you can wrap them with a promise and use the starting "parent" operation to spawn "child" operations that are sent via didTransform.

Data percolates up from Firebase's sockets, with no connection to the request operation(s). In this case, you can't track ancestry.

How exactly is the ancestry necessary?

The ancestry is necessary to establish causality. Causality determines which transformations are grouped together in a single Transformation. A spawned operation will be performed with others related to it in a Transformation, while unrelated operations will be queued to be be performed later. This is critical to solving some ordering problems, such as when operation A in Source 1 causes B in Source 2 which causes C in Source 1.

I'm currently relying on the memory source to build operations for the inverses of relationships. I'm not sure whether this is the expected usage but I found that if I generate the inverse operations in the firebase source then I have two sources pumping inverse operations. What's the expected data flow here?

If Firebase is sending inverse operations, then I would avoid basing your source on the memory source. If your app only has a single Firebase source, consider the alternative of using a memory source in your app sync'd with your Firebase source.
Please open separate issues if you have problems.

All in all looks like a great move forwards!

Glad you like the direction!


fix: need to update artifact according to revised location

Signed-off-by: Julie Vogelman<EMAIL_ADDRESS>Fixes #9092

@alexec Can you confirm that I am correct that executor.go should in fact update the artifact's S3 Location information to reflect the revised location?
My confusion is this test line which fails if I make this change. In this case, there's an artifactRepositoryRef which indicates the bucket. Should the Artifact in the NodeStatus not be updated to reflect this information?

I talked to Bala, and there's an intention not to expand the NodeStatus with this Artifact location information in each artifact. So, instead, the Artifact GC code will need to look for the artifacts in the correct locations. Closing this PR.


Credit Card Brand Image not showing

@orazz
I just implemented this following the demo example.
The brand colors change accordingly however the chip and brand images dont show.
Secondary question: How can I display an existing card with the branded card image and not the default black view?

Update to latest version and check again

Instead colour do you want show brand card image?

@orazz Yes i thought the default behavior was a chip on the top left and brand logo on top right. Im using the latest version.

Check it out. I updated (0.1.0)

@orazz beautiful its working now :)

Getting same issue bro, Can you help me...

I am also fetching same issue. No brand image and no chip image.

Check it out. I updated (0.1.1)

Hey orazz,
I think I still got this issue, any idea why?

Any news about it?

@agung-s , @AndreVicenteW
please provide more information which pod release a u using?
CreditCardForm (0.1.8)
Stripe (13.2.0)

Im also facing same issue.

Hi, I have this issue too with CreditCardForm (0.1.9)


Reduce energy consumption

See for example https://blues.com/blog/tips-tricks-optimizing-raspberry-pi-power/
We have a USB power meter in the kelder

On the Pi, there are possible power savings; but there might also be possible power savings on the switch: it might not need the full 9 volts (possibly the main circuitry is behind a linear regulator). We should measure the current consumption, and if it is high enough, look at the circuit and see if voltage reduction would be possible

Francis had an interesting idea: eliminate the switch altogether, replace it with a USB ethernet dongle. Some tradeoffs worth considering:

maybe less energy consumption, maybe more (since we then have to power the USB hub in the pi instead of being able to turn it off; but we get to eliminate the switch)
more complexity: we will need to configure the dongle to be bridged to the built in port of the pi; this needs to be done in software instead of in hardware. More chance that something goes wrong, I guess.
more flexibility (but not sure what we can do with it)
the dongles will need to be bought; this money could also be invested in better/bigger batteries?


Process: code reviewer per story/PBI

having a code reviewer assigned per user story / task?
that would help with discipline and planning the effort
how do you make the effort predictable with changing PR size?

This issue seems to be at least partially covered already in the PR General Guidance.

In the daily standup meeting check tasks pending for review and make sure they have reviewers assigned.
Junior teams and teams new to the process can consider creating separate tasks for reviews together with the tasks themselves.

Regarding having a code reviewer assigned per user story / task, I don't agree with this. Assigning a task or a PR to someone before it can actually be worked on can create problems as that person may or may not be available to work on it when it needs to be done.  I am also unsure how that would help with discipline and planning effort.
We already have guidance around adding relevant reviewers, and making sure that PRs get owners.
I also don't understand the 3rd point here, "how do you make the effort predictable with changing PR size" can we elaborate on this?

Closing per discussion on teams


Support for Aqara Cube firmware 20180815 model name

In the latest Aqara Cube firmware the model id is reported as '0x656275635f726f736e65732e696d756c' which corresponds to 'ebuc_rosnes.imul' in ascii. This PR adds support for this (buggy?) model id.
Fixes https://github.com/Koenkk/zigbee2mqtt/issues/388

For the record: the old (working) cubes are Mi branded whereas the new ones are Aqara branded.

Thanks for the PR, but this issue is happening for more devices (also non xiaomi).
Let's first try to find a proper solution in: https://github.com/Koenkk/zigbee2mqtt/issues/388
I will close this PR for now.


[Rest Server] Update restart policy to avoid stuck pending pods

Update restart policy to avoid stuck pending pods #3760.

User may not want to forever retry on failure. Could alert auto delete the pod if detected such issue? @Binyang2014

User may not want to forever retry on failure. Could alert auto delete the pod if detected such issue? @Binyang2014

Maybe we can use alert-manager webhook to achieve this web-hook. Create another service receive such alert and do some actions.
For better experience, admin can config this webhook's reaction when alert is received.
For now, if we want to auto delete the pod. I think we should find a way to let admin know what will happen, and admin can turn off such feature if it causes other issues.


Improve comparators for same object

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (579ca82) 100.00% compared to head (604f001) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #117   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            9         9
  Lines          425       459   +34
  Branches       106       123   +17
=========================================
+ Hits           425       459   +34

Impacted Files
Coverage Δ

src/coola/_numpy.py
100.00% <100.00%> (ø)

src/coola/_torch.py
100.00% <100.00%> (ø)

src/coola/_xarray.py
100.00% <100.00%> (ø)

src/coola/allclose.py
100.00% <100.00%> (ø)

src/coola/equality.py
100.00% <100.00%> (ø)

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


ui: networking enhancements

Todo:

[ ] Able to forget a connected network (do we want to press the ssid name, or have a separate button?)
[x] Detect if a network is active (connected at any point) and don't ask for password.
[x] See how many times we can reuse list_connections_ssid, or completely replace the old function (some functions use it differently, need to look into that)
[ ] How should we handle Forget button for hotspot network?

still a draft, will finish up tomorrow

This PR is getting split up.
PR to remember networks: https://github.com/commaai/openpilot/pull/21233


Reproducing results for KITTI

Hi.
Thanks for the nice work!
I'm trying to reproduce the results for KITTI dataset reported in Table 4.
Can you please tell me which pretrained weights and the hyperparameters I should use in order to obtain the best results?
Also, I'm planning to evaluate GMFlow on HPatches and ETH3D as well.
For this, can you tell me , in order to obtain the best results, which weights and hyperparameters  I should select?
I will be waiting for your reply!
Thanks!

Hi,
Thanks for your kind words!
To reproduce the results (training data C+T) in Table 4, you should use the gmflow_with_refine_things-36579974.pth model. If you also need the model that is trained on the additional Virtual KITTI2 dataset (C+T+VK), please let me know.
This script should reproduce these numbers:
python main.py \
--eval \
--resume pretrained/gmflow_with_refine_things-36579974.pth \
--val_dataset kitti \
--with_speed_metric \
--padding_factor 32 \
--upsample_factor 4 \
--num_scales 2 \
--attn_splits_list 2 8 \
--corr_radius_list -1 4 \
--prop_radius_list -1 1 \
--with_speed_metric

To evaluate on HPatches and ETH3D, I would suggest you to try the Sintel model gmflow_with_refine_sintel-3ed1cf48.pth,  and here is script for inference: https://github.com/haofeixu/gmflow/blob/main/scripts/demo.sh#L42-L51
Hope it helps.
Thanks!

Wow. Thanks for the quick reply!
This definitely helps and will save a lot of time for me!
I will try them and come back with the results.
I want to confirm that the results I obtain are reasonable to you.

Hi,
Now I'm ready to evaluate GMFlow on HPatches and ETH3D.
I've tried evaluating on HPatches 240 and I obtained EPE of :
scene 1 : 5.441167
scene 2 : 9.663044
scene 3 : 17.886573
scene 4 : 20.688895
scene 5 : 33.432529
ALL : 17.422442
The results may not seem so good, but this sounds reasonable, since the weights are from training on SINTEL.
Does this look okay to you?
One issue is that when I'm trying to evaluate on original HPatches and ETH3D, memory explodes (I'm using 3090).
So I'm planning to downsample the input image pairs, process them, then evaluate at original size by upsampling back.
Do you suggest any specific image resolution sizes? Because if I adjust to the same image size as your training setup, i would get the best results.
Thanks!

May I know the original image resolution on HPatches and the inference resolution you used to obtain these numbers? Thanks!

Oh the results are obtained by resizing the images to 240x240.
The original resolution of HPatches range from 450x600 to 1613x1210.

The results I provided at first are obtained by resizing the images to 240x240, processing them to obtain flow map of size 240x240 and computing EPE using the GT flow defined at 240x240. This is what previous works used to do a few years ago. Nowadays, we evaluate the methods using the GT flow defined at the original resolution, which ranges from 450x600 to 1613x1210. So it is quite natural to observe higher EPEs.
As an additional information, the higher scene in HPatches consists of more difficult images with larger geometric deformations in general.
Please let me know if I correctly addressed your question!
Thanks!

The results I provided at first are obtained by resizing the images to 240x240, processing them to obtain flow map of size 240x240 and computing EPE using the GT flow defined at 240x240. This is what previous works used to do a few years ago. Nowadays, we evaluate the methods using the GT flow defined at the original resolution, which ranges from 450x600 to 1613x1210. So it is quite natural to observe higher EPEs.
As an additional information, the higher scene in HPatches consists of more difficult images with larger geometric deformations in general.
Please let me know if I correctly addressed your question!

The results I provided at first are obtained by resizing the images to 240x240, processing them to obtain flow map of size 240x240 and computing EPE using the GT flow defined at 240x240. This is what previous works used to do a few years ago. Nowadays, we evaluate the methods using the GT flow defined at the original resolution, which ranges from 450x600 to 1613x1210. So it is quite natural to observe higher EPEs.
As an additional information, the higher scene in HPatches consists of more difficult images with larger geometric deformations in general.
Please let me know if I correctly addressed your question!

The results I provided at first are obtained by resizing the images to 240x240, processing them to obtain flow map of size 240x240 and computing EPE using the GT flow defined at 240x240. This is what previous works used to do a few years ago. Nowadays, we evaluate the methods using the GT flow defined at the original resolution, which ranges from 450x600 to 1613x1210. So it is quite natural to observe higher EPEs.
As an additional information, the higher scene in HPatches consists of more difficult images with larger geometric deformations in general.
Please let me know if I correctly addressed your question!

The results I provided at first are obtained by resizing the images to 240x240, processing them to obtain flow map of size 240x240 and computing EPE using the GT flow defined at 240x240. This is what previous works used to do a few years ago. Nowadays, we evaluate the methods using the GT flow defined at the original resolution, which ranges from 450x600 to 1613x1210. So it is quite natural to observe higher EPEs.
As an additional information, the higher scene in HPatches consists of more difficult images with larger geometric deformations in general.
Please let me know if I correctly addressed your question!

OK, I see.
Clearly your inference resolution is too small to get good results. Our sintel model is trained with 320x896 resolution, thus I would suggest you to do inference on resolutions like that. This can be done by passing the parameter --inference_size 320 896 in your command.

Okay, then I will resize the input images to 320x896 first, then feed them to the model, get the output flow, and resize back to original image sizes to compute EPE and compare with other methods in a fair comparison.

The results I provided at first are obtained by resizing the images to 240x240, processing them to obtain flow map of size 240x240 and computing EPE using the GT flow defined at 240x240. This is what previous works used to do a few years ago. Nowadays, we evaluate the methods using the GT flow defined at the original resolution, which ranges from 450x600 to 1613x1210. So it is quite natural to observe higher EPEs.
As an additional information, the higher scene in HPatches consists of more difficult images with larger geometric deformations in general.
Please let me know if I correctly addressed your question!

That looks reasonable to me. So definitely you can use the results for comparison. Thanks!

Nice! I will close the comment.
Thanks for your support!

Hi,
I got the results:
HPatches Original
Scene 1: 4.71576
Scene 2: 26.463095
Scene 3: 40.754662
Scene 4: 62.489922
Scene 5: 79.803975
ALL: 42.845846
ETH3D:
rate 3: 1.641432
rate 5: 1.861459
rate 7: 2.115843
rate 9: 2.360460
rate 11: 3.492452
rate 13: 5.615580
rate 15: 10.643543
It seems that for images (low rates and scenes of eth3d and hpatches) that are similar to optical flow datasets, GMFlow is excels (almost SOTA), but struggles when the geometric deformation gets more extreme. Are you good with the results?

Are the results on HPatches comparable with the one you provided before (https://github.com/haofeixu/gmflow/issues/24?notification_referrer_id=NT_kwDOAScoc7M0NzY2OTY3MTY2OjE5MzQzNDc1#issuecomment-1304737836)? Seems that the errors get larger (sorry that I haven't worked on HPatches dataset before).


esbuild: 0.12.23 -> 0.12.24

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/evanw/esbuild/releases.
meta.description for esbuild is: "An extremely fast JavaScript bundler"
meta.homepage for esbuild is: "https://esbuild.github.io"
meta.changelog for esbuild is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/x8wnrm0whxvdpmfss9xc4jr2cy7wmriv-esbuild-0.12.24/bin/esbuild passed the binary check.

1 of 1 passed binary check by having a zero exit code.

1 of 1 passed binary check by having the new version present in output.

found 0.12.24 with grep in /nix/store/x8wnrm0whxvdpmfss9xc4jr2cy7wmriv-esbuild-0.12.24

found 0.12.24 in filename of file in /nix/store/x8wnrm0whxvdpmfss9xc4jr2cy7wmriv-esbuild-0.12.24

directory tree listing: https://gist.github.com/7b775cd14eec824ea590b71078d2fe16

du listing: https://gist.github.com/0a6081d0bc129c0f5bd4d38cd7c3fa04

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

16 total rebuild path(s)

4 package rebuild(s)

4 x86_64-linux rebuild(s)
4 i686-linux rebuild(s)
4 x86_64-darwin rebuild(s)
4 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
deltachat-desktop
esbuild
netlify-cli
vscode-extensions.matklad.rust-analyzer

Instructions to test this update (click to expand)

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

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

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

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

4 packages built:

deltachat-desktop
esbuild
netlify-cli
vscode-extensions.matklad.rust-analyzer

Maintainer pings
cc @Lucus16 @kalbasit for testing.

Result of nixpkgs-review pr 136003 at 62888f34 run on aarch64-linux 1

4 packages built successfully:

deltachat-desktop
esbuild
netlify-cli
vscode-extensions.matklad.rust-analyzer

Just a bugfix release. Waiting for the tests to pass and will merge this.

Result of nixpkgs-review pr 136003 run on x86_64-darwin 1

4 packages built:

deltachat-desktop
esbuild
netlify-cli
vscode-extensions.matklad.rust-analyzer


Deprecation Warning

We are using SockJS as default websocket type:
const socket = new SockJS(url);
const stompClient = Stomp.over(socket);

Unfortunately this always leads to the deprecation warning
DEPRECATED:  is not a recognized STOMP version. In next major client version, this will close the connection
because 'protocol' is an empty string in SockJS. I can't find a way to specify protocol in such a case.
Could you please deactivate the deprecation warning in such a case?

We are getting the same problem. We are using native WebSocket and  enable stomp over it
    const ws = new WebSocket(SOCKETS_HOST)     const client = webstomp.over(ws, { debug: false })
our sentry is bomabred with these errors.

Cant you just set correct stomp version?
This deprecated warning is here for a reason, I planned to be more strict about this in the future and throw an error if there is a stomp version mismatch

I tried all possible ways, but the protocol attribute is readonly and cannot be specified in the constructor, so no, it is not possible.
We could create an issue on the SockJS project and hope they will allow it.
If you really throw an error, it will be impossible for us to use a new release.
Would it be an option that you only log a warning in development mode?

We updated to the latest version 1.2.4 and tested but we are still getting the same problem
DEPRECATED: is not a recognized STOMP version. In next major client version, this will close the connection

Even if SockJS could allow headers, what about running it from node, using the ws npm?

@JSteunou At the moment, you can only specify the URL and 3 options (server, sessionId and transport) in the TypeScript constructor that we use.
Please have a look into https://github.com/sockjs/sockjs-client/blob/master/lib/main.js in line 32 to 43.
Here we have
function SockJS(url, protocols, options) {
where protocols seems to be something different and then later
this.protocol = '';
The code with the deprecation checks for protocol which is empty in my case, so I get the warning.

I would like to not take this lightly because as you can see here https://en.wikipedia.org/wiki/WebSocket#Protocol_handshake WS protocols, seen as the header Sec-WebSocket-Protocol is the way the client can say I speak stompv1 or stompv2 and the server say okay lets talk stompv2 then the client adapt itself to the server choice.
We are lucky STOMP did not introduce a lot of feature nor breaking changes, because having a forced handshake with a default protocol or empty protocol can lead to incomprehension between client and server.
All WS server & client should handle WS protocol headers

@JSteunou I can understand your point and support your opinion that webstomp-client should follow the standard. I would be glad to tell SockJS which protocol we want to use. Do you see any option how to include this into SockJS?

Is there at least a way to hide the warning so sentry won't bombard us with errors
DEPRECATED:  is not a recognized STOMP version. In next major client version, this will close the connection.

Could you try https://github.com/JSteunou/webstomp-client/tree/hotfix/protocol
I put several fallbacks on protocol

if there is no ws.protocol (being server or ws client fault) I will fallback on Client options.protocols 1st item
event with this, if there is still a no match in supported version, I kept the 2nd fallback, but change it from a list of all STOMP versions to only the newest. If you know you have issues with your server or your ws client, and need STOMP 1.0 instead of 1.2, force the protocol with options.protocols

And for a better logging @Marcsimm I remove the console.warn to use the internal debug function which does not log if options.debug is falsy.

Details on PR https://github.com/JSteunou/webstomp-client/pull/76

No, I'm using:

Stomp.client(stompEndpoint, options)

In which browser?
Can you debug and tell me which value is ws.protocol here https://github.com/JSteunou/webstomp-client/blob/hotfix/protocol/src/client.js#L152
I still dont understand your bug, because when you do not set protocols webstomp-client uses ['v10.stomp', 'v11.stomp', 'v12.stomp'] as you can see in request header, then your server seems to send back 'v10.stomp' like if it chooses the 1st value just to please the client, but without matching the true stomp protocol version it uses. What make me say that is that when you force v1.2 from client side, it works, which make me think your server always uses v1.2 without taking http handshake in consideration.

Can you debug and tell me which value is ws.protocol here https://github.com/JSteunou/webstomp-client/blob/hotfix/protocol/src/client.js#L152

It is 'v10.stomp' if I don't specify protocols, while I get  'v12.stomp' when I put that value in the protocol list

then your server seems to send back 'v10.stomp' like if it chooses the 1st value just to please the client, but without matching the true stomp protocol version it uses

Yes, this seems the case.

Can you also make a test when you set options.protocols to ['v11.stomp', 'v10.stomp', 'v12.stomp']
I receive v11.stomp

I tried with ['v99.stomp', 'v12.stomp'] and I got v12.stomp
While with ['v99.stomp', 'v98.stomp'] I get an empty string

Thanks, it seems to work fine!


Simple addition for creepers.

By using EntityCreeper.setCreeperState(1) and changing the client-side fuse time of the creeper  and probably a few other things, you can manipulate creeper flashes. See EntityCreeper.getCreeperFlashIntensity().

That's the whole point of Creeper#ignite() and Creeper#setFuseDuration(int).

@gabizou Those methods actually make the creeper ready to detonate, do they not? This is an effect, where the server-side fuse time isn't affected, only the client-side. It makes the creeper flash as if it was ignited if it was not.

I'd like to state that at this time, the API is NOT intended for client side manipulation just yet.
In regards to the creeper fuse time, one can simply set the fuse duration to a negative number to cancel the fuse.


Use targeting packs to build net4xx rather than removing from TargetFrameworks using patches

Currently there are patches in various repos to stop building net4xx target frameworks.
https://github.com/dotnet/source-build/blob/master/patches/roslyn/0001-Conditionally-remove-net472-from-TargetFrameworks.patch
https://github.com/dotnet/source-build/blob/master/patches/arcade/0006-Don-t-build-for-net472-when-building-from-source.patch
...
I think we can use the SBRP-built  microsoft.netframework.referenceassemblies.net472/1.0.0-preview.2 to build this target framework as normal. This should remove a persistent source of patches across many repos if we can do this.

Some repos assume that source-build means to not build for .NET Framework.

This also breaks OmniSharp because it tries to load build tasks on .NET Framework with Mono.

Removal of Net4* targeting is being tracked with https://github.com/dotnet/source-build/issues/3014.


Create package install test projects

Create 2 solutions that contain

[x] Empty App (Core, iOS, Android)
[x] Empty MvvmCross App (Core, iOS, Android)
[x] Add references to Adapter (similar to linker please include) "compiler please check"

Script that

[x] installs the nuget packages from local source
[ ] updates the packages to the latest version
[x] builds the apps

to ensure that packages are installable and cause no build error.

F# target: "sanity-check"

builds the project
nuget pack
restores/updates packages for dummy project and builds


HDDS-3623. Implement getReadCopy in Table.

What changes were proposed in this pull request?
Introduce a getReadCopy in table method.
Fixed only OMBucketCreateRequest and OMBucketDeleteRequest.
Will file a new Jira to see where all this API can be used in OM.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-3623
How was this patch tested?
Tested it on pseudo deployed cluster.

Thank You @dineshchitlangia for the review.


Loupedeck Live Ver: v2.00 not displaying anything

Ver: v2.00 devices appear to have a newer firmware than v1.x devices. (0.2.11 vs 0.2.5)
Input is working fine, but the screens stay on the loupedeck logo.
Perhaps they change the displays to be addressed like the razer stream controller?

cc @latenitefilms
This could be a bug in my code, or it could be something you will need to look for in CommandPost too

This is confirmed to be the cause. Changing the live handling to use 0x004D (same as the razer) works.
I only care about the serial based firmware, I don't know how the websocket version behaves


Add proper remote for submodule

I happen to include your project as a submodule under my main tree. While performing submodule update --recursive, I noticed that you've added a submodule vim-isort at 1d42b6301371a9f2e0c1c54ef7af50d4a9c7f91a, but there's .gitmodules missing in the root directory of repo so git doesn't know what is the remote for vim-isort. I pointed remote for submodule to https://github.com/fisadev/vim-isort which seems to work just fine.

This was a mistake. I have again removed vim-isort 👍


Enable scl globally

@soltysh PTAL

You should also remove 0.10/contrib/lib/nodejs_context file.

Other than that LGTM.

@soltysh updated :) thanks for noticing, guess I overlooked it due to the hunger :hamburger:

LGTM.

@soltysh I suggested to source it to avoid having scl commands and logic all over the place.... we should enable it in one place and then just source it (bashrc).

@soltysh @jhadvig my point is to allow disabling scl easy (if you want to). in that case I have to comment it just in one place and not in all scripts.

I misread that, but yeah that'd be good. You're welcome to create follow up
PRs for all the images :D
On Fri, Apr 3, 2015 at 9:10 PM Michal Fojtik<EMAIL_ADDRESS>wrote:

@soltysh https://github.com/soltysh I suggested to source it to avoid
having scl commands and logic all over the place.... we should enable it in
one place and then just source it (bashrc).
—
Reply to this email directly or view it on GitHub
https://github.com/openshift/sti-nodejs/pull/28#issuecomment-89393653.


[Bug][gitextractor] gitextractor can't finish my task in standalone mode

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
I try to use standalone mode to run gitextractor plugin.
My command is
go run plugins/gitextractor/*.go  -url https://github.com/datawhalechina/wonderful-sql.git -id github:GithubRepo:1:382057179 -db "merico:merico@tcp(<IP_ADDRESS>:3306)/lake?charset=utf8mb4&parseTime=True" -proxy "http://<IP_ADDRESS>:8889/"

and something goes wrong like

and the code in repo_creator.go is

I don't know it is caused by my wrong running command or gitextractor plugin itself.
What you expected to happen
normally finish gitextractor task
How to reproduce
run gitextractor plugin with command like:
go run plugins/gitextractor/*.go  -url https://github.com/datawhalechina/wonderful-sql.git -id github:GithubRepo:1:382057179 -db "merico:merico@tcp(<IP_ADDRESS>:3306)/lake?charset=utf8mb4&parseTime=True" -proxy "http://<IP_ADDRESS>:8889/"

and changed the url and id to other repo.
Anything else
No response
Version
v0.11.0
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Thanks @xgdyp. @mindlesscloud could you please take a look?

@xgdyp does this only happen in standalone? Have you tried running it from config-ui to see if it also happens?

@xgdyp does this only happen in standalone? Have you tried running it from config-ui to see if it also happens?

Yes, this only happen in standalone mode. It has no problems when running from config-ui

Thanks!


Where is hearthrock.json?

In the Patcher in function ReadConfiguration, it is looking for hearthrock.json , but it was never created by the program. I tried making a blank file with the name "hearthrock.json", but then in ReadConfiguration it breaks.

Patch Helper Line 230 add
        if (!File.Exists(hearthstoneConfigurationPath))
        {
            WriteConfiguration(root, new RockConfiguration());
        }

I hope you will add documentation on how to use. I load up the screen and pick the random example bot and press sync, but nothing happens. I press Patch, nothing happens

I build the Hearthrock .dll and paste it into a Unity project asset folder. I add the script to an empty game object, and run it after I've created a hearthrockconfig file. I get an assembly reference error:
FileNotFoundException: Could not load file or assembly 'Assembly-CSharp, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Hearthrock.Engine.RockEngine.Reload () (at D:/hearthbot/hearthrock-master/src/Hearthrock/Engine/RockEngine.cs:93)
Hearthrock.Engine.RockEngine..ctor () (at D:/hearthbot/hearthrock-master/src/Hearthrock/Engine/RockEngine.cs:50)
Hearthrock.Unity.RockUnity..ctor () (at D:/hearthbot/hearthrock-master/src/Hearthrock/Unity/RockUnity.cs:25)

Your are not supposed to manually copy paste the Hearthrock.dll to anywhere, you should use Hearthrock.Client to inject Hearthrock into your healthstone client.
It seems that Hearthrock.Client cannot find your hearthstone path.
Check PatchHelper.SearchHearthstoneDirectory() method, I think you can quickly fix it.
Sorry for the inconvenience, I spent some time on the bot logic, I will come back and make Hearthrock.Client more stable.


gdk-pixbuf: fix setup hook

b78e84097fab tried to make the script better but used the wrong test
syntax: [[ 113 > 99 ]] is false. This caused the librsvg not being added
to $GDK_PIXBUF_MODULE_FILE.
Fixes: https://github.com/NixOS/nixpkgs/pull/73586#issuecomment-560106317
cc @Ericson2314 @c0bw3b @d-goldin

@jtojnar: Great, this looks like exactly the issue. I will give it a quick testrun.

Adwaita builds and naturally GDK_PIXBUF_MODULE_FILE points to the librsvg correct loaders.cache :+1:

This can go to master as we currently don't have any staging-next either.

I think this is only in staging at the moment.

Oh, it builds on other changes in staging. Never mind then.


C/C++ language standards should be set per-target

We shouldn't recommend that users set workspace-wide --copt/--cxxopt flags. Instead we should set the required flags on the {cc,objc}_library targets. If a target has both C and C++ files, we may need to split the target in two in order to apply the correct flag to each one.

@brentleyjones Do you have an example where a Swift package combines c and c++ in the same target? If so, I will use it as a test case.

I don't know of one in the wild. I'm not even 100% sure SwiftPM allows it (though I expect it does). I know Bazel does, and it leads to issues with copts, so you generally should split them.

Maybe they can't be both C++ and C at the same time? https://github.com/swiftlang/swift-package-manager/blob/ce099264a187759c2f587393bd209d317a0352b4/Sources/PackageModel/Target.swift#L487

I am going to write the support as if it can be one or the other. If we run into a real-world example that says otherwise, I will adjust the logic accordingly.


I have got a bug or i don't understood how it works

HI,  i see metrics into two section. When go to the url http://localhost:9272/metrics?section=default and ?section=limited. I see all metrics, but when i will try adding path  in prometheus.yml i see only metrics in ?section=default and i don't see path with ?section=limited
JFYI i used systemd. And it my prometheus config
- job_name: vm_exp
    metrics_path: /metrics
    static_configs:
    - targets:
      - 'limited'
      - 'default'
    relabel_configs:
    - source_labels: [__address__]
      target_label: __param_target
    - source_labels: [__param_target]
      target_label: instance
    - target_label: __address__
      replacement: <IP_ADDRESS>:9272

fixed


When Rhino Button is pressed, No Revit Interaction Possible when Rhino is maximized

Hi All,
The Rhino button stops all Revit interactivity until the Rhino window is closed (When Rhino is maximized)
Also I've noticed if you launch Rhino and then launch Grasshopper as a rhino command, the "Pick Revit Element" command within grasshopper freezes the entire thing.

Fixed in #114


Add dataflow support for add with carry (ADC) and subtract with borrow (SBB) instructions

Having this is useful for resolving some indirect control flows.

Fixed in 2.2.2514-dev.


How to control data samples in a batch

Hi!
Thank you for your amazing work. I have a question about how to control the number of data samples in a batch. According to your paper, you said that
We mix all the pretraining data within each batch, which contains 2, 048 vision&language samples, 256 object detection samples, 256 image-only samples and 512 text-only samples.
However, I didn't find where to control the data samples in the code. Could you provide some hints?
Besides, could you explain the iterations in the logs? For example, when fine-tuning a caption dataset (~4000 training samples and ~1000 validation samples) with a batch size of 8. But the log shows that there are only 130 instead of 500 iterations during training. So the fine-tuning works on the validation dataset rather than the training dataset?
I would appreciate your help. Thanks.

@taokz

For controlling the data samples, see snippet1, snippet2, and snippet3

We set update_freq=4, update_freq means gradient accumulation. The effective batch size of single GPU is equal to 32 (batch_size * update_freq)


Stellarium broken?

Basic info
To make sure that we are on the same page:

Kernel: Linux rui-pc 4.1.17 #1-NixOS SMP Sun Jan 31 19:23:48 UTC 2016 x86_64 GNU/Linux
System: 16.03.git.2e5ca9a (Emu)
Nix version: nix-env (Nix) 1.11.1
Nixpkgs version: 16.09.git.2e5ca9a

Describe your issue here
Stellarium builds but doesn't open. Only shows the splash screen for a second and then it closes.

Intializing basic GL shaders...
qrc:/qml/main.qml:3:1: plugin cannot be loaded for module "Qt.labs.shaders": The plugin '/nix/store/akr4y271r7r8fakz1jp6q9a83gzwm8nj-qtquick1-5.5.1/lib/qt5/imports/Qt/labs/shaders/libqmlshadersplugin.so' uses incompatible Qt library. (5.5.1) [release]
[1]    32765 segmentation fault  stellarium

On current nixos-unstable I'm getting a different error:

QProcess: Destroyed while process ("lspci") is still running.

and it ends with sigabrt instead of segfault. /cc maintainer @peti.

Unfortunately, all that qt stuff is like black magic for me. I have no clue what is causing those errors. :disappointed:

Well, the reported qml errors above are pretty standard, I guess. @ttuegel should know how to fix these by wrapping. The issue I'm getting seems more opaque, but perhaps it's a different manifestation of the same.

Stellarium should use qt5.callPackage rather than depending on qt5Full. All executables should be wrapped with wrapQtProgram from makeQtWrapper.

I couldn't test the new version because I don't access to a NixOS machine right now. Please let me know if the issue persists.

http://nixpaste.lbr.uno/VPNGH-KW?nix
http://nixpaste.lbr.uno/xN65cLUL?nix
still crashes on nixos-unstable (when building the new version from master)

Yes, on 288d01f I'm still getting the same crash as before.


Save alembic migrations in ARGILLA_HOME folder

Description
Alembic migrations are delivered with the argilla package version. This means that a DB migration rollback cannot be applied from an older argilla version. So, if users want to apply a db migration rollback the process should be:

Execute rollback migration to a previous argilla version
Downgrade the Argilla package
Launch the Argilla server

This can be complicated if users are working with docker containers.
Since migrations are incremental, a shared place should be used when Argilla is installed on a machine, and it should be updated with new version upgrades.
Questions

Download from a common repository?
Provide as part of the package and save them with each installation?

We will proceed with the current DB downgrade:

Apply revision/version downgrade
Install previous version


lens not updated correctly when test file updated

the reason is that
this._createTreeFromArray();

not called  on files changes  and therefore  the line number that appears on the item object has the wrong line number

fixed for version 0.14.0 commit eb3fa7f8b29232bc99b63712defa29d26c3890ec


Fixes the condition on whether to enable https

IIUC we want to redirect to the https pages only if $fe_https is on?

Coverage remained the same at 66.623% when pulling cf9d3b57788da80a2ea27d91bac855052d053dfd on zchn:master into ddc46cca07d555cd60750b6397ae8bfa458b65b2 on AugurProject:master.

Coverage remained the same at 66.623% when pulling cf9d3b57788da80a2ea27d91bac855052d053dfd on zchn:master into ddc46cca07d555cd60750b6397ae8bfa458b65b2 on AugurProject:master.

Hello!
This Dockerfile is used to run our dev.augur.net instances. Currently we have a load balancer in front of a 3 instances of the UI, this LB makes http calls to it's backend and forwards the protocol using an X header.
$fe_https tells us whether or not the front end request came in with https origally, hence the condition is currently correct -- as it will force redirect to https if the frontend didn't not come in with an https connection.
If this docker image is needed more widely, then it could be configurable via environment variable whether to do this redirect in HTTPS.
I would be open to a patch that gives that flexibility, but the one proposed would break our current test infrastructure.
Please let me know what you're looking to do!

Ah, thanks for the explanation! I misunderstood the purpose of $fe_https.
For background, I'm currently just playing around with the Augur code base and trying to set up a local Augur instance. My thinking is that if I deploy augur-core onto Ganache and have augur-node and augur-ui pointing to it, it should work. But I haven't got it fully working :(
This PR (as well as the other two) is just something I (mistakenly) discovered along the way.