Need more noise functions

Currently have the following (all value-noise):

Random Noise
Smoothed Random Noise (imagine the noise-map with a one-pass bidirectional gaussian blur applied)
Cosine-interpolated smoothed random noise (cosine interpolation between texels on the noise map as opposed to linear. This gives more terrain-like curved geometry when used as a DisplacementMap).

These value noises are diagonal in nature and do NOT produce natural looking terrain. Look into and implement better noise functions to use for procedural terrain generation.

Irrelevant as of TZ2


Added missed pathPrefix to Status sub-menus

When running prometheus with -web.external-url=http://localhost:9090/prometheus/ the Status sub-menus on web UI does not honor the path prefix provided, thus referencing the main root, e.g. http://localhost:9090/targets which is not found instead of http://localhost:9090/prometheus/targets

:+1: yeah, we forget that.

sigh What appeared to be a really simple change...
:+1:

Wait. we have to run make assets, right?

And make format...

Should it generate some changes to web/ui/bindata.go, right?

AFAIK, all the templates are combiled into bindata.go, so you need to run make assets and make format and include the changes in this PR.

Fixed.

:+1: Let's mait for the CI to be greed before merging.

All green, merging…
Thank you.


chore: bump to 0.4.0

Bumps to Alloy 0.4.0, no breaking changes
Temporarily disable new clippy::needless_return rule see: https://github.com/tokio-rs/tokio/issues/6869#issuecomment-2375942611

Closing as https://github.com/alloy-rs/examples/pull/145 includes the update


Add forgotten CHANGELOG and prepare 0.3.1 release

Signed-off-by: Daniel Egger<EMAIL_ADDRESS>

r? @reitermarkus
(rust_highfive has picked a reviewer for you, use r? to override)

@jonas-schievink Thanks for the correction.

Oh, right

bors hello?


M3-2737 TDT Country/State Selection Improvements

Description
Some improvements to country/state selection, mostly how we were handling region selection. This makes it a little more streamlined and manages fields.state in component state.
Type of Change

Non breaking change ('update')

Note to Reviewers
This should work exactly as it is now in prod, where region changes upon selection, region displays placeholder upon new country selection, and reset action puts it back to current account values.

feel free to rebase now - that PR is merged


What does spread DOIs do?

@bgruening @OlegZharkov
Excuse my ignorance, but I get emails from github-actions bot about spread dois. I know @OlegZharkov worked on this at the Freiburg hackathon, but I see it looks at bioconda yaml files, debian files and also bio.tools json files. What does it do with the bio.tools json files? Does it add DOIs where they are not available or what exactly?
Thanks

I am also asking because I randomly look at:
https://github.com/bio-tools/content/pull/208
at the file: data/acde/acde.json
and I see that change in that file was that, in addition to the existing publication object:
{
"doi": "10.1007/978-0-387-49317-6_9",
"type": "Other"
}
it also added another publication object:
{
"doi": "10.1007/978-0-387-49317-6_9",
"type": "Primary"
}
with the same DOI as the existing one except it changed the type to Primary.
This is actually wrong because it adds the same publication as type Primary which is this case is not correct because that publication has a type "Other" and not Primary for a reason, because it's not the primary publication.
I also see that in the case of the file data/affy/affy.json
it adds a new publication which is actually nice.

@hansioan yeah, that's probably a bug, because doi collector considers only dois of type primary. Should I make it consider every type (apart of primary) or just check, if it exist in other types?

@OlegZharkov
I am not sure exactly what the code does, I haven't look at it too much to be honest, but I assume it tries to populate DOIs around all the bio.tools (you call it json), bioconda and debian files, if a DOI is present in the bioconda file and not in the bio.tools file then it adds that doi to the bio.tools file as well.
If what I assume is correct then I would say it like this, and this is just for bio.tools, I can't speak for the others.
In bio.tools you should not add type Primary to the publication if it's missing or if the type is some other type unless you actually know it's primary.
The only way (in my opinion) to know if it's primary is if it exists in the bioconda and debian as well. Then you can kinda safely assume it's primary.
I would look at the following scenarios:

If the bio.tools json doesn't have a publication or has a publication with a different DOI, but the bioconda and/or debian files have a different DOI, then you can take that different doi from the other files and create a publication object with the different DOI and type = Primary.
If the bio.tools json has a DOI for publication of type other than Primary, but that same DOI also is present in bioconda and/or debian then I would say you could change the type of the publication in bio.tools to Primary (if initially it wasn't Primary).
If a DOI in a publication in bio.tools does NOT appear in bioconda or debian, then I think you cannot assume anything and you cannot update that publication type in any way.

The other way around (this is my opinion and maybe @bgruening doesn't agree):

If bio.tools has DOI for a publication of type Primary and the bioconda and/or debian do not have that DOI then I would say it's safe to add that DOI to bioconda and/or debian.

This last one is hard as it would require looking things up online, but bio.tools also supports publication IDs other than DOI, such as PubMed id or PubMed Central (PMC) id. If there is some sort of service that provides the DOI given a PubMed id or PMC id then you can infer the DOI and apply the same logic above based on the type of the publication.


now dns add should return error feedback in case of an error

Running:
$ now dns add <DOMAIN> TXT <VALUE>

on v7.4.0 it returns me > Error! Invalid number of arguments. See: now dns --help for usage. but on v8.0.1 it does not return anything.
cc @sergiodxa

Hi @bukinoshita - sorry for the delay here.
We fixed a number of these a while back, and I haven't seen any more reports of them since. I'm going to optimistically close this issue - please respond here if you are still seeing this issue!
Thanks for the issue :)


KOGITO-4350 Add sibling DMN sample to BPMN2 in Archetypes

Ref: https://issues.redhat.com/browse/KOGITO-4350
Please make sure that your PR meets the following requirements:

[x] You have read the contributors guide
[x] Pull Request title is properly formatted: KOGITO-XYZ Subject
[x] Pull Request title contains the target branch if not targeting master: [0.9.x] KOGITO-XYZ Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains link to any dependent or related Pull Request
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary for Kogito Runtimes 2.0.0-SNAPSHOT:

[INFO]

[INFO] Kogito Runtimes .................................... SUCCESS [  0.257 s]

[INFO] Kogito Runtimes Build BOM .......................... FAILURE [  2.751 s]

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time:  4.223 s

[INFO] Finished at: 2021-02-03T12:31:59-05:00

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (default) on project kogito-build-parent: An Ant BuildException has occured: Error while creating report

[ERROR] around Ant part ...<report>... @ 8:11 in /home/jenkins/workspace/KIE/kogito/ghprb-webhooks/kogito-runtimes/kogito-runtimes/kogito-build-parent/target/antrun/build-main.xml: Error while analyzing kogito-quarkus-extension/integration-test-hot-reload/target/classes/org/kie/kogito/app/DecisionModels.class. Can't add different class with same name: org/kie/kogito/app/DecisionModels

[ERROR] -> [Help 1]

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (default) on project kogito-build-parent: An Ant BuildException has occured: Error while creating report

around Ant part ...<report>... @ 8:11 in /home/jenkins/workspace/KIE/kogito/ghprb-webhooks/kogito-runtimes/kogito-runtimes/kogito-build-parent/target/antrun/build-main.xml

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)

Jenkins retest this

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:integration-test (default-integration-test) on project kogito-springboot-archetype:
[ERROR] Archetype IT 'it-basic' failed: Execution failure: exit code = 1
[ERROR] -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project process-management-springboot-addon: Compilation failure: Compilation failure:
[ERROR] /home/jenkins/workspace/KIE/kogito/ghprb-webhooks/kogito-runtimes/kogito-runtimes/addons/process-management/process-management-springboot-addon/src/main/java/org/kie/kogito/process/management/exceptions/ExceptionsHandler.java:[28,32] package org.springframework.http does not exist
[ERROR] /home/jenkins/workspace/KIE/kogito/ghprb-webhooks/kogito-runtimes/kogito-runtimes/addons/process-management/process-management-springboot-addon/src/main/java/org/kie/kogito/process/management/exceptions/ExceptionsHandler.java:[29,32] package org.springframework.http does not exist
[ERROR] /home/jenkins/workspace/KIE/kogito/ghprb-webhooks/kogito-runtimes/kogito-runtimes/addons/process-management/process-management-springboot-addon/src/main/java/org/kie/kogito/process/management/exceptions/ExceptionsHandler.java:[30,32] package org.springframework.http does not exist
[ERROR] /home/jenkins/workspace/KIE/kogito/ghprb-webhooks/kogito-runtimes/kogito-runtimes/addons/process-management/process-management-springboot-addon/src/main/java/org/kie/kogito/process/management/exceptions/ExceptionsHandler.java:[31,47] package org.springframework.web.bind.annotation does not exist
[ERROR] /home/jenkins/workspace/KIE/kogito/ghprb-webhooks/kogito-runtimes/kogito-runtimes/addons/process-management/process-management-springboot-addon/src/main/java/org/kie/kogito/process/management/exceptions/ExceptionsHandler.java:[32,47] package org.springframework.web.bind.annotation does not exist
[ERROR] /home/jenkins/workspace/KIE/kogito/ghprb-webhooks/kogito-runtimes/kogito-runtimes/addons/process-management/process-management-springboot-addon/src/main/java/org/kie/kogito/process/management/exceptions/ExceptionsHandler.java:[34,2] cannot find symbol
[ERROR]   symbol: class ControllerAdvice
[ERROR] /home/jenkins/workspace/KIE/kogito/ghprb-webhooks/kogito-runtimes/kogito-runtimes/addons/process-management/process-management-springboot-addon/src/main/java/org/kie/kogito/process/management/exceptions/ExceptionsHandler.java:[35,61] cannot find symbol
[ERROR]   symbol: class ResponseEntity

🎱 🤷♂
Jenkins retest this

[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ mongodb-persistence-addon ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 12 source files to /home/jenkins/workspace/KIE/kogito/ghprb-webhooks/kogito-runtimes/kogito-runtimes/addons/persistence/mongodb-persistence-addon/target/test-classes
[WARNING] /home/jenkins/workspace/KIE/kogito/ghprb-webhooks/kogito-runtimes/kogito-runtimes/addons/persistence/mongodb-persistence-addon/src/test/java/org/kie/kogito/mongodb/MongoDBProcessInstancesIT.java:[44,40] org.kie.kogito.services.identity.StaticIdentityProvider in org.kie.kogito.services.identity has been deprecated
[WARNING] /home/jenkins/workspace/KIE/kogito/ghprb-webhooks/kogito-runtimes/kogito-runtimes/addons/persistence/mongodb-persistence-addon/src/test/java/org/kie/kogito/mongodb/MongoDBProcessInstancesIT.java:[60,67] org.kie.kogito.services.identity.StaticIdentityProvider in org.kie.kogito.services.identity has been deprecated
[WARNING] /home/jenkins/workspace/KIE/kogito/ghprb-webhooks/kogito-runtimes/kogito-runtimes/addons/persistence/mongodb-persistence-addon/src/test/java/org/kie/kogito/mongodb/DocumentProcessInstanceMarshallerTest.java:[108,85] non-varargs call of varargs method with inexact argument type for last parameter;
  cast to org.kie.api.marshalling.ObjectMarshallingStrategy for a varargs call
  cast to org.kie.api.marshalling.ObjectMarshallingStrategy[] for a non-varargs call and to suppress this warning
[INFO]
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ mongodb-persistence-addon ---
[INFO]
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.kie.kogito.mongodb.MongoDBProcessInstancesTest
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

It is stuck at here
Jenkins retest this

I guess it worked --> https://github.com/kiegroup/kogito-runtimes/pull/1035#issuecomment-773217301
now we need to hope as I see all other PRs failing in a later pipeline stage.. we will see

[INFO] Kogito :: JIT Executor DMN ......................... FAILURE [  0.345 s]
[INFO] Kogito :: JIT Executor Runner ...................... SKIPPED
[INFO] Kogito Apps :: Integration Tests ................... SUCCESS [  0.016 s]
[INFO] Kogito Apps :: Integration Tests :: Jobs Service ... SUCCESS [  0.030 s]
[INFO] Kogito Apps :: Integration Tests :: Jobs Service :: Common SUCCESS [  0.290 s]
[INFO] Kogito Apps :: Integration Tests :: Jobs Service :: Quarkus SUCCESS [ 43.636 s]
[INFO] Kogito Apps :: Integration Tests :: Jobs Service :: Spring Boot SUCCESS [ 28.725 s]
[INFO] Kogito Apps :: Integration Tests :: Trusty Service . SUCCESS [  0.023 s]
[INFO] Kogito Apps :: Integration Tests :: Trusty Service :: Common SUCCESS [  0.337 s]
[INFO] Kogito Apps :: Integration Tests :: Trusty Service :: Quarkus SUCCESS [02:12 min]
[INFO] Kogito Apps :: Integration Tests :: Trusty Service :: Spring Boot SUCCESS [01:52 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  37:53 min
[INFO] Finished at: 2021-02-04T07:01:51-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project jitexecutor-dmn: Compilation failure: Compilation failure:
[ERROR] /home/jenkins/workspace/KIE/kogito/ghprb-webhooks/kogito-runtimes/kogito-apps/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/JITDMNServiceImpl.java:[32,31] cannot find symbol
[ERROR]   symbol:   class DMNResult
[ERROR]   location: package org.kie.kogito.dmn.rest

The SonarCloud analysis seems solved.
The new failure is due to the fact that, allegedly, repos are not checked out at-once by Jenkins, so it passes minutes between a clone of the repo and the other, leading to this kind of problems if a PR is merged in the meantime.
Jenkins retest this

Jenkins retest this

2 hr 56 min ago

and counting.
Jenkins retest this

Run 2986 is GREEN
https://rhba-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/KIE/job/kogito/job/ghprb-webhooks/job/kogito-runtimes/2986
which is the latest, is green, but on GitHub it shows RED 🤦♂ 🤷♂ 🎱
I believe this red is caused by ELDER runs which have timed-out (like 2981 and so they REGARDLESS update the status even if more RECENT job runs have completed successfully.
Jenkins retest this

after chasing around for things which are not very related to the scope of this PR, this is finally green 🙆♂
I would like to proceed swiftly to merge,
so kindly @jomarko @danielezonca if you can approve accordingly please.


Get rid of --video_dir and --tex_dir

Forked from #65.
These flags are confusing, seldom used, and can be replaced by .cfg options.

#98 closed this.


give the interface time to settle before rejoining mdns

While using nerves_init_gadget with wlan0 I have found that the multicast group memberships were not being established once the ip changes.
What I was experiencing
Once the device was fully booted and has connected to the network and the IP address is up mdns would not properly restart. I would no longer see mdns logger outpus in the console of the device, and I was no longer able to send queries to it from other devices on the network.
Here is the output of ``
Idx     Device    : Count Querier       Group    Users Timer    Reporter
1       lo        :     1      V3
                                010000E0     1 0:00000000               0
4       wlan0     :     1      V3
                                010000E0     1 0:00000000               0

What should happen
After adding in a sleep of 100 ms I was able to get consistent registration results. Here is the output of `` after
cmd("cat /proc/net/igmp")
Idx     Device    : Count Querier       Group    Users Timer    Reporter
1       lo        :     1      V3
                                010000E0     1 0:00000000               0
4       wlan0     :     3      V3
                                FB0000E0     1 0:00000000               0
                                010000E0     1 0:00000000               0

There is a deeper problem that is at play here and we need to revisit this to find a better solution. We need to come up with a way that we can monitor multicast group registrations

Merged. Sigh.


Getting more done in GitHub with ZenHub

Hola! @dtt101 has created a ZenHub account for the hammerjs organization. ZenHub is the leading team collaboration and project management solution built for GitHub.

How do I use ZenHub?
To get set up with ZenHub, all you have to do is download the browser extension and log in with your GitHub account. Once you do, you’ll get access to ZenHub’s complete feature-set immediately.
What can ZenHub do?
ZenHub adds a series of enhancements directly inside the GitHub UI:

Real-time, customizable task boards for GitHub issues;
Burndown charts, estimates, and velocity tracking based on GitHub Milestones;
Personal to-do lists and task prioritization;
“+1” button for GitHub issues and comments;
Drag-and-drop file sharing;
Time-saving shortcuts like a quick repo switcher.

Add ZenHub to GitHub
Still curious? See more ZenHub features or read user reviews. This issue was written by your friendly ZenHub bot, posted by request from @dtt101.

@dtt101 Looking at your profile, I don't think this was a ZenHub spam instance?

No this is spam! I definitely didn't post this, I will contact zenhub immediately. Very sorry for the issue.


Request for rationale

Hi! It seems interesting, but the documentation is so sparse that I can't tell!
Can you write a "rationale", i.e. extend "A Python-like systems programming language" with use-cases, advantages, etc.  Something in the style of http://clojure.org/rationale
I've been working on my own lang also, compiling to js and C. It is called "LiteScript" and is like having the javascript core (dynamic+prototypal inh.+higher order fns) but with python-like "indentation is significant" and proper classes. Check it at: https://github.com/luciotato/LiteScript

You can also add comments to your code, it will help others and yourself, when re-reading old code. I've been reading your code, and comment will help a lot.... example: at https://github.com/djc/runa/blob/master/runac/tokenizer.py
def tokenize(f):  # tokenize is a generator yielding...    parameter:f contains...
	    level = 0
    for line, src in enumerate(f):

also, maybe using longer names for variables will make the code more readable, e.g. why "f" and not "source"?  "f" is "source"?

Thanks for all the feedback! I've been very focused on actually implementing the compiler so far, since I don't think design documentation on its own is very interesting. However, better documentation is now near the top of my to do list (along with exception support). I've actually been working on a Sphinx-generated documentation site recently, which I'll hopefully put up soon. I'll try to include a more elaborate rationale there.
In the mean time, I've started by adding a short top-level introduction to the README in 1eaedd45. I've also added module-level comments to most modules, and function- or class-level comments to the others. If you have any more specific qestions about the design or the implementation, let me know, and I'll write more comments/documentation.

The Sphinx site is online now, at http://runa-lang.org/. Will work on some rationale soon.

I've finally added a rationale to the documentation. I've also been adding a bunch of comments over the past months, hopefully the code should be a bit easier to follow. I'll continue to add some design goals and roadmap to the high-level overview in the documentation, please let me know if there's still stuff missing that you would be interested to see.


docs: fix bird dashboard image scale

Due the scale parameter the image is stretched and has a bad
layout in the documentation.
Signed-off-by: André Martins<EMAIL_ADDRESS>

This change is

test-docs-please

Coverage increased (+0.008%) to 45.615% when pulling 39713f5e89febcdda716ed8efb9ba91ebcb037a2 on pr/fix-bird-guide into b3b29b325faa45ffde6b18983976813f3c768b4d on master.


Bug with expected format in included data

I need to flatten some JSON:API data down in another project so I wanted to look at whether I could leverage the JSONAPI.Utils.DataToParams.process/1 functionality. When I passed in our JSON:API data I got an error:
iex> JSONAPI.Utils.DataToParams.process(file)
** (FunctionClauseError) no function clause matching in anonymous fn/2 in JSONAPI.Utils.DataToParams.process_included/1

    The following arguments were given to anonymous fn/2 in JSONAPI.Utils.DataToParams.process_included/1:

        # 1
        %{
          "attributes" => %{
            "damaged" => nil,
            "expiresAt" => nil,
            "insertedAt" => "2021-11-30T19:15:35Z",
            "integrationMetadata" => %{"customData1" => "__MWJ1071102-MWC1402073"},
            "lotNumber" => nil,
            "quantity" => "300",
            "unit" => "ea",
            "updatedAt" => "2021-11-30T19:15:35Z"
          },
          "id" => "0e4c7852-0ac3-4ee9-8d1d-841ec171976b",
          "relationships" => %{
            "item" => %{
              "data" => %{
                "id" => "8031cf98-89f8-4a1c-a787-b74f6e76a44c",
                "type" => "item"
              },
              "links" => %{"related" => "/items/8031cf98-89f8-4a1c-a787-b74f6e76a44c"}
            }
          },
          "type" => "lineItem"
        }

When I went to the line specified to see what was expected I noticed that we expected a "data" key in each included resources: https://github.com/jeregrine/jsonapi/blob/master/lib/jsonapi/utils/data_to_params.ex#L97 and that's reflected in our tests: https://github.com/jeregrine/jsonapi/blob/master/test/utils/data_to_params_test.exs#L96-L132
 test "processes single includes" do
    incoming = %{
      "data" => %{
        "id" => "1",
        "type" => "user",
        "attributes" => %{
          "name" => "Jerome"
        }
      },
      "included" => [
        %{
          "data" => %{
            "attributes" => %{
              "name" => "Tara"
            },
            "id" => "234",
            "type" => "friend"
          }
        }
      ]
    }

    result = JSONAPI.Utils.DataToParams.process(incoming)

    assert result == %{
             "friend" => [
               %{
                 "name" => "Tara",
                 "id" => "234",
                 "type" => "friend"
               }
             ],
             "id" => "1",
             "type" => "user",
             "name" => "Jerome"
           }
  end

I believe this to be incorrect. If we look at https://jsonapi.org they do not have the "data" key in each of the included resources:
 "included": [{
    "type": "people",
    "id": "9",
    "attributes": {
      "firstName": "Dan",
      "lastName": "Gebhardt",
      "twitter": "dgeb"
    },
    "links": {
      "self": "http://example.com/people/9"
    }
  }, {
    "type": "comments",
    "id": "5",
    "attributes": {
      "body": "First!"
    },
    "relationships": {
      "author": {
        "data": { "type": "people", "id": "2" }
      }
    },
    "links": {
      "self": "http://example.com/comments/5"
    }
  }

If someone else can verify this is in fact a bug I can put together a PR to correct this.

I found potentially 2 other issues with our parsing:

Parsing relationships also requires "data" but per the spec it is not required: https://jsonapi.org/format/#document-resource-object-relationships. In our case some of our associated data only includes a "link" key.
We don't appear to handle nested relationships which is also supported by the spec: https://jsonapi.org/format/#document-resource-objects.


Correct way of using nk.storage_write ?

I've been through the docs and can't figure out something here.  I'm trying to write an object,  but I can't see there is no record getting created. Am I missing something?
local doc = {title='test'}
nk.storage_write({ collection = "app_store", key = "content", user_id = nil, value = doc })

Environment

Nakama: 2.12.0+650b506a
Database: CCL v20.1.4 @ 2020/07/29 22:51:52 (go1.13.9)
Operating System and version: MacOS 10.15.6

You aren't setting the correct permissions on this object. See: https://heroiclabs.com/docs/storage-access-controls/#object-permissions
Most importantly, GitHub Issues are only used for actual server issues/improvements. If you have questions please use the forum:
https://forum.heroiclabs.com

@skitsanos The API is batch orientated. You can see an example on the function reference:
https://heroiclabs.com/docs/runtime-code-function-reference/#storage
In your specific example you should update it to look like:
local doc = {title='test'}
nk.storage_write({
    { collection = "app_store", key = "content", user_id = nil, value = doc }
})

As @mofirouz mentioned it'd be best to ask these kinds of questions on the forums. Thanks 🙏


[SPARK-30885][SQL][FOLLOW-UP] Fix issues where some V1 commands allow tables that are not fully qualified.

What changes were proposed in this pull request?

There are few V1 commands such as REFRESH TABLE that still allow spark_catalog.t because they run the commands with parsed table names without trying to load them in the catalog. This PR addresses this issue.
The PR also addresses the issue brought up in https://github.com/apache/spark/pull/27642#discussion_r382402104.
Why are the changes needed?

To fix a bug where for some V1 commands, spark_catalog.t is allowed.
Does this PR introduce any user-facing change?

Yes, a bug is fixed and REFRESH TABLE spark_catalog.t is not allowed.
How was this patch tested?

Added new test.

Test build #119006 has started for PR 27718 at commit 22743ac.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23753/
Test PASSed.

Test build #119009 has started for PR 27718 at commit 1f48bba.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23756/
Test PASSed.

do we still support spark_catalog.t? It seems we still support it , as SessionCatalogAndTable will extract table name t from spark_catalog.t and pass to the v1 commands. V1 commands will fill the default database for name t.

Test build #119009 has finished for PR 27718 at commit 1f48bba.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Test build #119006 has finished for PR 27718 at commit 22743ac.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119009/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119006/
Test FAILed.

You are right. For v1 commands where the extracted table name doesn't go thru the table lookup, spark_catalog.tbl_name would be allowed. I will address this in this PR.
One way to fix is to check the extracted name in ResolveSessionCatalog and fail early if the name has one part. Is this a reasonable fix?
Also, do you think we will ever move to the new resolution framework (using ResolvedTable, etc.), which will fix this issue as well.

and fail early if the name has one part. Is this a reasonable fix?

Yea I think so.
And I think we will move to the new framework but it's not going to happen in 3.0.

Test build #119131 has started for PR 27718 at commit 1a8f412.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23873/
Test PASSed.

Test build #119131 has finished for PR 27718 at commit 1a8f412.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119131/
Test FAILed.

Test build #119136 has started for PR 27718 at commit 7489e0a.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23878/
Test PASSed.

Test build #119136 has finished for PR 27718 at commit 7489e0a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119136/
Test PASSed.

Test build #119182 has started for PR 27718 at commit f595003.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23922/
Test PASSed.

Test build #119182 has finished for PR 27718 at commit f595003.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119182/
Test PASSed.

Test build #119245 has started for PR 27718 at commit 4add7b2.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23985/
Test PASSed.

Test build #119245 has finished for PR 27718 at commit 4add7b2.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119245/
Test PASSed.

thanks, merging to master/3.0!


⚠ ClamAV has degraded performance

In bf5d16f, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 114 ms

Resolved: ClamAV performance has improved in 1697f9c after 12 minutes.


Feature request: Use DNS instead of random ports

Hi, Thank you for this wonderful project.
It would be great to have all connection go threw a single port and redirected via subdomains (like frp/ngrok).
For example:
xxx.bore.pub
yyy.bore.pub
Thanks,

Unfortunately resolving based on DNS origin is impossible for TCP, since the origin isn't passed in any request metadata like it is for HTTP. Bore is agnostic to any protocol. It is not aware of HTTP by design. Also subdomains complicate deployment (wildcard DNS entries, TLS certificates). For these reasons this is out-of-scope.

@saoron check out rathole, it might fit your needs.

@saoron It looks like https://boringproxy.io/ might do what you want.
https://github.com/boringproxy/boringproxy


grid detail editor - how to disable

hi, does anyone know how to disable/enable a grid detail editor
thanks

This is a ugly solution :disappointed_relieved:
private disableGridEditor(gridEditor: Common.GridEditorBase<any>, isDisable: boolean) {
    if (isDisable) {
        gridEditor.getGridField().find(".editor").css("position", "relative");
        gridEditor.getGridField().find(".editor").append(`<div class='disable-mask-flag' style="position: absolute;top: 0;left: 0;background: #ccc;width: 100%;height: 100%;z-index: 999;opacity: 0.35;"></div>`);
    }
    else {
        gridEditor.getGridField().find(".editor").css("position", "static");
        gridEditor.getGridField().find(".editor").find(".disable-mask-flag").remove();
    }
}

Hi @minhhungit ,
do you mean a detail grid editor?
What exactly do you want to achieve?
A technical/optical disable (greying out and no editing possible) or an invisible-making of the detail grid editor?
With kind regards,
John

@JohnRanger  Yes, I mean grid detail editor, sorry about title (updated)
I showed my solution above (it added a layer on top of grid detail editor, but that solution is ugly, some people may know that technical and can remove that layer using F12)
I don't want that way, so my question is do you know any better way to disable grid detail editor
Thanks

Hi @minhhungit ,
sorry for the longer delay...
What I do when I have to "disable" a detail editor is the following:
Generally for all my detail editors (detail grids) I remove all [editlink] tags for any column that is displayed in the detail grid so no user can trigger the edit of any of these entries by just clicking on an editlink.
Then I add two additional columns at the left of the detail grid (idea from @brunobola not so long ago here in the forum - https://github.com/volkanceylan/Serenity/issues/4304):

Then I attach delete and edit functionality to the icons of these two columns (by hijacking the onclick event).

Now when I have to "disable" a detail grid, I

Remove all buttons on the detail editor (detail grid) which could allow the user to manipulate something in the grid (like the add button)
I am splicing (removing) then the two special columns at the very left

Which gives me a technically disabled detail editor/grid - like this:

Here the relevant code from the detail editor (xyzEditor.ts):
// *******************************************************************************************************************

        //Override onClick
        protected onClick(e: JQueryEventObject, row: number, cell: number): void {
            super.onClick(e, row, cell);

            if (e.isDefaultPrevented())
                return;

            var item = this.itemAt(row);
            var target = $(e.target);

            // if user clicks "i" element, e.g. icon
            if (target.parent().hasClass('inline-action'))
                target = target.parent();

            if (target.hasClass('inline-action')) {
                e.preventDefault();

                // *** has clicked on edit magnifying glass icon ***
                if (target.hasClass('view-details')) {

                    var editRow = (('``' + (row) as RALayoutManager3.Ressorts.RessortsLayoutTransformationDetailsRow) as number);
                    var id = this.view.getIdxById(editRow);
                    if (id == null) {

                        editRow = (('`' + (row) as RALayoutManager3.Ressorts.RessortsLayoutTransformationDetailsRow) as number);
                        id = this.view.getIdxById(editRow);
                        if (id == null) {
                            editRow = row;

                            id = this.view.getIdxById(editRow);
                        }
                    }

                    // *** Edit Row ***
                    this.createEntityDialog(this.getItemType(), dlg => {
                        var dialog = dlg as RALayoutManager3.Common.GridEditorDialog<RessortsLayoutTransformationDetailsRow>;
                        dialog.onDelete = (opt, callback) => {
                            if (!this.deleteEntity(editRow)) {
                                return;
                            }
                            callback({});
                        };

                        dialog.onSave = (opt, callback) => this.save(opt, callback);
                        dialog.loadEntityAndOpenDialog(item);
                    });;
                }
                else if (target.hasClass('delete-row')) {
                    Q.confirm(Q.text("Db.deleteEntry"), () => {

                        //var id = item.__id;
                        var id = this.id(item);
                        this.view.deleteItem(id);

                    });
                }
            }
        }

        // *******************************************************************************************************************

// *******************************************************************************************************************

        protected getAddButtonCaption() {
            return "Add";
        }

        // *******************************************************************************************************************

// *******************************************************************************************************************

        protected initEntityDialog(itemType: string, dialog: Serenity.Widget<any>) {
            super.initEntityDialog(itemType, dialog);

            // *** Debug only ***
            //alert('Rid from Editor: ' + this.RessortId);
            //alert('Tid from Editor: ' + this.TacMasterLayoutTransformationId);

            // *** passing RessortID from grid editor to detail dialog ***
            (dialog as RessortsLayoutTransformationDetailsDialog).RessortId = this.RessortId;

            // *** passing TacMasterLayoutTransformationId from grid editor to detail dialog ***
            (dialog as RessortsLayoutTransformationDetailsDialog).TacMasterLayoutTransformationId = this.TacMasterLayoutTransformationId;

            // *** passing currently existing details from grid editor to detail dialog ***
            (dialog as RessortsLayoutTransformationDetailsDialog).details = this.view.getItems();

        }

        // *******************************************************************************************************************

        public DisableAddButton()
        {
            this.toolbar.findButton('add-button').hide();
        }

        public EnableAddButton() {
            this.toolbar.findButton('add-button').show();
        }

        public DisableModifyIcon() {
            var columns = this.slickGrid.getColumns();

            columns.splice(0, 1);   // *** Delete delete icon column ***
            columns.splice(0, 1);   // *** Delete modify icon column ***

            this.slickGrid.setColumns(columns);
        }

        public EnableModifyIcon() {
            var columns = this.slickGrid.getColumns();

            // *** Add magnifying glass (edit)
            columns.unshift({
                defaultSortAsc: true,
                field: 'Edit Details',
                focusable: true,
                name: '',
                id: 'Edit Detail',
                formatter: function (row, cell, value, columnDef, dataContext) {

                    return '' + '';
                },
                resizable: true,
                selectable: true,
                sortable: true,
                width: 24,
                minWidth: 24,
                maxWidth: 24,
                visible: true
            });

            // *** Add Delete button ***
            columns.unshift({
                field: 'Delete Row',
                name: '',
                formatter: function (row, cell, value, columnDef, dataContext) {

                    return '' + '';
                },
                width: 24,
                minWidth: 24,
                maxWidth: 24
            });

            this.slickGrid.setColumns(columns);

            Serenity.SubDialogHelper.triggerDataChange(this);

        }

If you need to enable or disable these two columns (trash and magnyfying glass) and the add button
from the parent xyzDialog.ts, then you simply can call these methods of the detail editor like this (in the parent xyzDialog.ts, this.form.Detaillist is the form field for the detail grid):
Handle Add button:

this.form.DetailList.EnableAddButton();
this.form.DetailList.DisableAddButton();

Handle the two trash/edit columns:

this.form.DetailList.EnableModifyIcon();
this.form.DetailList.DisableModifyIcon();

Hope this helps you further.
With kind regards,
John

thanks @JohnRanger
I agree that it's a solution !
but honestly I feel it's quite complex just for disabling an editor
hope we have a simpler solution

@minhhungit
yeah - I know. Took me a while to figure this out - If you find a simpler solution, please let me know  as I am also interested in such a solution :-)
I tried other things - but I never was able to work out the toggling back and forth of the editlinks.
With kind regards,
John

Hi @minhhungit ,
just now I had another idea.
Use your approach to "shield" (and potentially optically dim) the whole detail grid, but additionally - within the detail editor / detail grid - add a public variable like this:
public isDisabled: boolean = false;

and override the onClick event within the detail editor / detail grid like this:
        //Override onClick
        protected onClick(e: JQueryEventObject, row: number, cell: number): void {
            super.onClick(e, row, cell);

            if (e.isDefaultPrevented())
                return;

            // *** Here we add a protection so the users cannot click on anything when the detail editor has the isDisabled set to true ***
            if (this.isDisabled)
                return;
        }

Now in your parent xyzDialog.ts  in your disable method, add the following:
private disableGridEditor(gridEditor: Common.GridEditorBase<any>, isDisable: boolean) {
    if (isDisable) {
        gridEditor.isDisabled = true;  // *** here we set the isDisabled flag within the detail editor / detail grid to true (disabled) ***
        gridEditor.getGridField().find(".editor").css("position", "relative");
        gridEditor.getGridField().find(".editor").append(`<div class='disable-mask-flag' style="position: absolute;top: 0;left: 0;background: #ccc;width: 100%;height: 100%;z-index: 999;opacity: 0.35;"></div>`);
    }
    else {
        gridEditor.isDisabled = false;  // *** here we set the isDisabled flag within the detail editor / detail grid to false (enabled) ***
        gridEditor.getGridField().find(".editor").css("position", "static");
        gridEditor.getGridField().find(".editor").find(".disable-mask-flag").remove();
    }
}

Now from the parent xyzDialog.ts - when you want to disable the detail editor/ detail grid - just call your disableGridEditor method.
This not only "shields" the detail editor / detail grid by the layer you put over it - but the detail grid also actively refuses to accept any click on it when the detail grid is disabled.
As this functionality during runtime is embedded within the minified javascript of the whole page, this is substantially more difficult to hack than just press F12 and remove the protecting layer.
Final words:

Eventually it is also needed to capture and "trash" keyboard clicks within the detail grid when it is disabled - but I never have done this - so nothing, which I could contribute quickly.
I didn't try the above yet. But it should work.

Please let me know if this would be a better solution :-)
With kind regards,
John

@JohnRanger  it looks a better solution, thank you
I have not test it yet, but I will test with buttons on grid editor, not sure we can prevent its click event

@minhhungit ,
you should be able to suppress the buttons' click event with this: https://www.w3schools.com/jsref/event_preventdefault.asp
And something like this to re-establish the click:
https://stackoverflow.com/questions/11772926/event-preventdefault-on-first-click-then-remove
Please post here if you have found a good, reasonable solution :-)
With kind regards,
John

Hi @minhhungit ,
did the above resolve your challenge? If yes then would you be willing to share here the tested - final - version? If also yes, then I will make a wiki article out of it.
Regards,
John

@JohnRanger  I have not test it yet sir, I will try

Grids have a readonly property now, might be useful for some cases but needs manual implementation.

thread is old , but in case anyone still looking for it ..
  Serenity.EditorUtils.setReadonly(this.element.find('.editor'), true);                               this.form.detail1.set_readOnly(true);                 this.form.detail1.set_readOnly(true);
works like a charm


Fix  tag issue in no-context model

TODO: fix code, HugginFace readme, and re-do one experiment in the automatic intrinsic evaluations

Fixed in 5df333e200d1cc3015f8d789fba6134f4ac434c8, results will be updated in next arXiv version / NeurIPS camera ready.


fully dockerized development with VS-code devcontainers

A basic addition of a VS-Code devcontainer setup for fully dockerized development.
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration:

Locally on my Linux machine
Test Configuration:

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Awesome, thank you!


can't invite users from German tenant to US teams

Hello:
Is there some kind of country restrictions with Shared channels? I have a shared channel that when I invite users from a German tenant I get the error "you can't share this channel with people from this org"
B2B settings are configure as follows in  both tenants
inbound access setting

B2B collaboration: Allow Access | All users and groups | All Applications
B2B direct: Allow Access | All users and groups | All Applications
Trust Settings: Trust MFA

Outbound access setting

B2B collaboration: Allow Access | All users and groups | All Applications
B2B direct: Allow Access | All users and groups | All Applications

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


Very high emissions of Tritium to air and water for some processes

At Earthster we noticed that several processes have what appears unrealistic emissions of Tritium to water and air. The worst offender seems to be Electricity - SOLAR - South Carolina Electric & Gas Company, which has 3.03e+19 kBq of Tritium to water. But all Electricity - SOLAR, Electricity - MIXED, Electricity - COAL seem to have the same problem. The consequence is very high impacts to human health for e.g. the ReCiPe2016 impact method.
Here is a spreadsheet of processes which have Tritium emission/water for comparison.
do these levels of Tritium emissions make sense?

Thanks for pointing this out! Honestly, I don't have a good feel for what levels of kBq make sense. In our solar model, the tritium emissions come exclusively from aluminum use in construction and the source of aluminum data is USLCI. In the older versions of USLCI (like this one) there were really high emissions/air/Tritium and emissions/water/Tritium emissions - 5.6E4 kBq and 1.1E6 kBq per kg secondary ingot. In newer versions of USLCI, I don't even see tritium listed as an emission for the entire database.  We should update the data within our internal solar and wind unit models with newer USLCI data.
I'll also say you specifically call out SOLAR - South Carolina Electric & Gas, which also has really high CO2 emissions. I imagine that's because of a relatively low amount of generation for 2016 - perhaps a solar plant that was brough online in 2016 and only saw a couple months of operation. Total construction emissions are first allocated on a yearly basis based on an assumed lifetime, and then divided by the yearly generation as reported by EIA. The result is that if there's a low amount of generation in a given year, their could be really high construction emissions.

Thank you for digging this.
I tried to get a sense of what those values would mean. I found this paper reporting an inventory of 3.4e12 kBq of Tritium just after the Fukushima accident, which is way below these values, hence they look weird. We might probably just leave the Tritium out of the Inventory for these processes in our software, too.

This is very useful feedback, but it seems its an error in the former versions of USLCI that just needs to be propagated into these datasets.


Generate SQL -> JOIN : Selectable on foreign keys

Could you please create a feature:  Generate SQL: JOIN based on selectable foreign keys.
Menu-->Database Navigator--> Connection--> Schema--> Table--> ER Diagram: (Generate SQL/JOIN) : SQL Statement should be based on selectable foreign keys.
This feature will require some UI improvements.

thanks for suggestion


(oﾟvﾟ)ノUpdated Chinese Simplified translation 简体中文翻译

φ(゜▽゜*)♪

@KiriKirby Can you please merge the latest from the master branch?


[SMALLFIX] Delete duplicate words

What changes are proposed in this pull request?
Delete duplicate words.
Why are the changes needed?
Please clarify why the changes are needed. For instance,

If you propose a new API, clarify the use case for a new API.
If you fix a bug, describe the bug.

Does this PR introduce any user facing changes?
Please list the user-facing changes introduced by your change, including

change in user-facing APIs
addition or removal of property keys
webui

alluxio-bot, merge this please.


Use top-level import shortcuts in documentation and examples

@mrakitin : Additional work here would be to use the new (top-level import) shortcuts in all the documentation and examples.  First, let's review the implementation.  This is motivated by similar shortcuts in ophyd.
Originally posted by @prjemian in https://github.com/bluesky/hklpy/issues/184#issuecomment-864206431

Some of this work was done in commits c1e1db6e28868 and d43abca75bd4 with respect to the geometries module.

Completion of this should wait until #190 is merged.


Jitsi SDK updation

How can I update Jitsi SDK in this android project?

I need it badly... plz reply anyone

I need it badly... plz reply anyone

I need it badly... plz reply anyone

Your question is very generic.


Question: Bundle files

I'm somewhat new to Rust and very new to ESP on Rust. I am struggling to find information on how to embed and then use file resources on ESP via Rust. I am primarily interested in flashing a directory tree of HTML templates to serve via the HTTP server. I have been embedding these assets in the binary using this:
https://docs.espressif.com/projects/esp-idf/en/stable/esp32s3/api-guides/build-system.html#embedding-binary-data
Is there an equivalent to this for ESP on Rust? Is there a better approach I should follow? I can't seem to find any information or examples in the various books, awesome lists, GH issues, etc.
Cheers

For single files include_bytes! or include_str! should work - for multiple fiels you probably need some external crate.
A quick look at crates.io reveals a lot of those macros but it's not clear if and which of them work for no-std


PEP8 compliance

Went through the current develop branch using a pycodestyle linter to check for PEP8 compliance.  Reduced >3000 non-conforming lines to <150.

Coverage decreased (-2.7%) to 72.605% when pulling 19851181e20a9b45e2cc4c1ecee4bc233a3efe5a on pycodestyle into 444aab11802f7467437a735a24f44dd403672a4e on develop.

Coverage decreased (-2.7%) to 72.605% when pulling 19851181e20a9b45e2cc4c1ecee4bc233a3efe5a on pycodestyle into 444aab11802f7467437a735a24f44dd403672a4e on develop.

I added a unit test from another branch I'm working on to bump the coverage up slightly.  @rstoneback, this is ready for review.

Thanks @rstoneback and @aburrell!  Assuming we are still green after Travis finishes its run, I'll merge this tonight.

Units_label is better than ‘units’ since it lets people use a different spelling or even a different word for their metadata, if desired.
Given the file though, I’m likely the author that didn’t do the best job writing ‘units’.
Cheers,
Russell


Project.json

Since project.json is getting phased out, will you go back to supporting all targetframeworks?
Thanks
https://www.stevejgordon.co.uk/project-json-replaced-by-csproj

The move back to csproj from project.json doesn't change the targetframework support. The toasts plugin will still support .NET Standard 1.1, which is almost every platform except Windows 8.1 SL.


Increase flatpickr version

This is urgent, @jacobmischka because of this bug happening on my project: https://github.com/flatpickr/flatpickr/pull/1938/files.

This package does not lock the dependency, you don't need to update it here to get the latest flatpickr. Just run npm update should work?

You're right. The issue was in another dep.


storage: use async-trait

Convert the StorageRead and StorageWrite traits to use async-trait, this
makes the method signatures much easier to deal with and simplifies the
implementation of each trait.

@bors-libra r+

:pushpin: Commit 8b30b8b has been approved by wqfish

:hourglass: Testing commit 8b30b8b85556d31a4ef2cd15b69193d1a1dbfd10 with merge 7a8f728a43d258412dd217c7cea5a08dde92c439...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: wqfish
Pushing 7a8f728a43d258412dd217c7cea5a08dde92c439 to master...


Single commodity Loop Routes

So I'm getting some bad loop routes right now. Not sure if it's just an issue caused by bad data coming in from eddn or something in the search that needs to be blacklisted. Basically I'm getting a lot of loops coming up that show up as ferrying Gold between two stations in the same system. See attached.

NINJA EDIT: It appears that it's getting caused by stations with 0 demand for an item having a high price in EDDN, for example Palladium in the first line has 0 demand.

Thanks for mentioning this.
I was able to reproduce this and there is something very wrong with the local database.
Deleting EliteMerchantList.sqlite file fixed the issue.

found it
SET exportPrice=exportPrice
facepalm


GORM project

I have a funny feeling, that this is getting popular..
and a lot of issues need to be addressed..

notably complaints
and features not in gorm.. yet..
or misunderstandings

I maintain the revel docs, so I am in on this, but that means creating a
project website.. and a bit of

of an end user manual
a way to have some recipies.. et all..

Indeed maybe we need a "project" and more of a team to do this..
and most of that is answering questions, rather that a a bug in software.
which might end up being a feature, or "miss" feature (depends on marital status)
So I'm in for making more of a guide to how GORM works, cos I'm using it..
And a website along the lines of django, or php flavours..
This stuff needs to be outside of gorm code,
so can a suggest a go-gorm project?
And then all ex php and python and all can update docs, and examples
without messing up the gorm "core".. ;-))
Thats whats in my head at the moment..

and iditos guide to ORM.. and newbie

and sql expert new to orm
Get compilcated straight away with joins and counts.. and joins

ORM is a problem for a start if Not an ORM person..
Go is new and a new pattern for php/python and sqlalchemy et all
ruby.. ?

Anyway Think we need a new project.. for "manual"..

and in same style of revel (which i kinda mantain)
and sqlx = inspiraction http://jmoiron.github.io/sqlx/

But that fails cos it dont ask all the questions, and give the answers...

imho we need to approach backwards..
how do I make go work with my originial schema.. so I can play ;-))))))

Thoughts and thinking out loud.. sorry for noise, and making it easier for newbies
Pedromorgan
go-nutter ;-)

Actually I stared it here..
https://github.com/jinzhu/gorm/wiki
But then its a README
So we need the navigationals chapters and interlinked book..

Yet again the manual is not in the code
and not possible to do int the source code
but maybe we use that to advantage..


[TODO] Wrap eigenCall related functions in contract into a library to save gas

It would be better to provide a library to call eigenCall.

#153 is working on this. If the PR is merged, the task should be closed.

Close due to #153 is merged.


Issue with Create and Modern Dynamics?

Describe the Bug
Hey, we got a lot of Errors on Client side with Modern Dynamics and Create.
The Dev from Modern Dynamic Mentioned, it is a bug from Porting Lib.
could you Look on the issue?
Thanks a Lot
https://github.com/Technici4n/Modern-Dynamics/issues/78
Reproduction Steps
Add Modern Dynamic and Create on Server and Start the Server,
try to join with the client on the server,
client spams in the log a lot of render errors
Expected Result
Client should not spam the log
(500.000 logentrys in 5 minutes)
Screenshots and Videos
No response
Crash Report or Log
No response
Operating System
Windows
Mod Version
0.5.0i
Minecraft Version
1.19.2
Other Mods
No response
Additional Context
No response

Install this mod https://modrinth.com/mod/block_limit_fix


chore(DTFS2-7298): update success banner following moj package fix

Introduction :pencil2:
Due to a now fixed bug in MoJ banner, we had to do a work around to get the padding correct on our success banner.
This now reflects the updated module

In the interest of keeping PR queue minimal, can we close this PR and add the changes to PR #3684 please.


ComboBox in a ScrollViewer in Xaml Islands can be scrolled off the window

Steps to reproduce the bug
In a XAML Islands application, create a ComboBox in a ScrollViewer:
<Page>
    <ScrollViewer>
        <StackPanel>
            <ComboBox>
                <ComboBoxItem Content="Foo" />
                <ComboBoxItem Content="Bar" />
                <ComboBoxItem Content="Baz" />
            </ComboBox>
        </StackPanel>
    <ScrollViewer>
</Page>

(The exact one is over at https://github.com/microsoft/terminal/blob/main/src/cascadia/TerminalSettingsEditor/Launch.xaml#L38-L67)
Run the app, open the comboBox, then mouse over the rest of the scroll viewer and start scrolling.

Steps to reproduce the behavior:

Go to '...'
Click on '....'

Expected behavior
In a non-islands app, you can't scroll the scrollviewer while the combobox is open. You have to dismiss the box first.
Actual behavior
The combo box's entries float off the top of the window into space
Version Info
NuGet package version:
[Microsoft.UI.Xaml.2.5.0-prerelease.201202003]

This is amazing.

@RBrid looks like in a UWP app we disable scrolling while a light dismiss popup is open, likely via the lightdismiss layer that fills the entire screen.  I'm guessing that in an islands scenario that light dismiss layer might not fill the entire screen. which could allow scrolling? Do you concur?
@JesseCol for the islands perspective.

Do we think there's any way to get this fixed without an OS-level update? We get roughly one bug filed every week about this particular bug 😕. It's not particularly painful, just more of an annoyance / polish issue.

I don't think that will be possible, and any fix will definitely not go down level. However I think your likely able to work around this issue, Can you provide more info about the layout of the app? how large is the xaml Island?

The island takes up the entire size of our HWND. When we're running with the tabs in the titlebar, there's a small HWND we place over part of the titlebar (for intercepting input, for dragging the window), but otherwise the entire window is the Terminal.

The page that this particular box is on
is contained in this NavView
that page is then placed inside this Grid
that page is the root content for our app

Hi @zadjii-msft , sorry about this bug.  I believe folks have worked around these types of issues in the past by iterating over the open popups and closing them:
           foreach (Popup p in VisualTreeHelper.GetOpenPopupsForXamlRoot(this.XamlRoot))             {                 p.IsOpen = false;             }
In your case, you could do this in response to ScrollViewer.ViewChanging and when your top-level window gets a WM_MOVE.
Does that help at all?

For future readers - yes that workaround did work for me. For folks who want to do something similar in C++/WinRT, https://github.com/microsoft/terminal/commit/41e48012a is how I did the ScrollViewer.ViewChanging part of this for one of our pages. I'll still have to go through the rest and do the WM_MOVE thing, but this will get me unblocked for now.

There being no activity on an issue means the issue continues existing, not that it disappears!

Another workaround, which works for me, is to change the vertical offset of the popups. Somehow, it forces the XAML runtime to re-compute the position of the popups.
auto popups{ winrt::Windows::UI::Xaml::Media::VisualTreeHelper::GetOpenPopupsForXamlRoot(XamlRoot()) };
for (const auto& popup : popups)
{
    auto offset = popup.VerticalOffset();
    popup.VerticalOffset(offset + 10);
    popup.VerticalOffset(offset);
 }


XdsClient: avoid nesting result in XdsResourceTypeImpl

Slight simplification suggested by @allanrbo.

LGTM!

Looks like this shaves off 43K of bloat, too!


[JS] Remove bin/bin directory from bundles

Describe the bug, including details regarding any error messages, version, and platform.
The generated bundles contain a /bin/bin directory that should not be there.

Component(s)
JavaScript

I haven't looked into it in detail, but the following patch may improve it.
--- a/js/gulp/typescript-task.js
+++ b/js/gulp/typescript-task.js
@@ -34,7 +34,6 @@ export const typescriptTask = ((cache) => memoizeTask(cache, function typescript
     const out = targetDir(target, format);
     const tsconfigPath = path.join(`tsconfig`, `tsconfig.${tsconfigName(target, format)}.json`);
     return compileTypescript(out, tsconfigPath)
-        .pipe(mergeWith(compileBinFiles(target, format)))
         .pipe(takeLast(1))
         .pipe(share({ connector: () => new ReplaySubject(), resetOnError: false, resetOnComplete: false, resetOnRefCountZero: false }))
 }))({});

We will need to check carefully since we want the bin files themselves included.

Is it a problem you need solved in a hurry?
May I work on it?

No rush. Go for it! It should be easy to see whether you succeeded by checking the bundles generated by npm pack. Thanks!

Thanks for the reply!
I got it.

take

Is it correct that the following files generated under targets should not exist?
targets/apache-arrow/bin/bin/arrow2csv.js
targets/apache-arrow/bin/bin/arrow2csv.js.map
targets/apache-arrow/bin/bin/arrow2csv.mjs
targets/apache-arrow/bin/src/bin/arrow2csv.ts
targets/es2015/cjs/bin/bin/arrow2csv.js
targets/es2015/cjs/bin/bin/arrow2csv.js.map
targets/es2015/cjs/bin/src/bin/arrow2csv.ts
targets/es2015/esm/bin/bin/arrow2csv.js
targets/es2015/esm/bin/bin/arrow2csv.js.map
targets/es2015/esm/bin/src/bin/arrow2csv.ts
targets/es2015/umd/bin/bin/arrow2csv.js
targets/es2015/umd/bin/bin/arrow2csv.js.map
targets/es2015/umd/bin/src/bin/arrow2csv.ts
targets/es5/cjs/bin/bin/arrow2csv.js
targets/es5/cjs/bin/bin/arrow2csv.js.map
targets/es5/cjs/bin/src/bin/arrow2csv.ts
targets/es5/esm/bin/bin/arrow2csv.js
targets/es5/esm/bin/bin/arrow2csv.js.map
targets/es5/esm/bin/src/bin/arrow2csv.ts
targets/es5/umd/bin/bin/arrow2csv.js
targets/es5/umd/bin/bin/arrow2csv.js.map
targets/es5/umd/bin/src/bin/arrow2csv.ts
targets/esnext/cjs/bin/bin/arrow2csv.js
targets/esnext/cjs/bin/bin/arrow2csv.js.map
targets/esnext/cjs/bin/src/bin/arrow2csv.ts
targets/esnext/esm/bin/bin/arrow2csv.js
targets/esnext/esm/bin/bin/arrow2csv.js.map
targets/esnext/esm/bin/src/bin/arrow2csv.ts
targets/esnext/umd/bin/bin/arrow2csv.js
targets/esnext/umd/bin/bin/arrow2csv.js.map
targets/esnext/umd/bin/src/bin/arrow2csv.ts

I think so, yes. We should make sure the scripts still work and that the sources are still in a location where the editor can give you correct sources.

https://github.com/apache/arrow/commit/5598d2f42573ed19e7db4aae7adb02af2cd4ccd0#diff-cef18da59d581d0c92a1e262b6e7de2afac26d08cfa38fd8917f12fa9c48960fL2-R2
js/tsconfig/tsconfig.base.json
-  "exclude": ["../node_modules", "../src/bin/*.ts"],
+  "exclude": ["../node_modules"],

This change seems to generate bin without compileBinFiles(https://github.com/apache/arrow/issues/34567#issuecomment-1614001985).


[Snyk] Security upgrade python from 3.7 to 3.13.0rc2

Snyk has created this PR to fix 2 vulnerabilities in the dockerfile dependencies of this project.
Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Snyk changed the following file(s):

samples/contrib/versioned-pipeline-ci-samples/kaggle-ci-sample/visualize_table/Dockerfile

We recommend upgrading to python:3.13.0rc2, as this image has only 187 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Out-of-bounds Write SNYK-DEBIAN12-GLIBC-5927132
  829

Out-of-bounds Write SNYK-DEBIAN12-GLIBC-5927132
  829

Out-of-bounds Write SNYK-DEBIAN12-GLIBC-5927132
  829

Out-of-bounds Write SNYK-DEBIAN12-GLIBC-5927132
  829

CVE-2023-44487 SNYK-DEBIAN12-NGHTTP2-5953379
  829

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Commit Checker results:
**NOTE**: These are the results of the commit checker scans.
If these are not commits from upstream kfp, then please ensure
you adhere to the commit checker formatting

commitchecker verson unknown
Validating 1 commits between e27b68731776c35efe5e363295c3cc4a782cec4f...8c0b371b731c6d6c9c45705bbb8d37840f22fe04

UPSTREAM commit 8c0b371 has invalid summary fix: samples/contrib/versioned-pipeline-ci-samples/kaggle-ci-sample/visualize_table/Dockerfile to reduce vulnerabilities.

The Data Science Pipelines team recommends testing this using the Data Science Pipelines Operator.  Check here for more information on using the DSPO.
To use and deploy a DSP stack with these images (assuming the DSPO is deployed), first save the following YAML to a file named dspa.pr-108.yaml:
apiVersion: datasciencepipelinesapplications.opendatahub.io/v1alpha1
kind: DataSciencePipelinesApplication
metadata:
  name: pr-108
spec:
  dspVersion: v2
  apiServer:
    image: "quay.io/opendatahub/ds-pipelines-api-server:pr-108"
    argoDriverImage: "quay.io/opendatahub/ds-pipelines-driver:pr-108"
    argoLauncherImage: "quay.io/opendatahub/ds-pipelines-launcher:pr-108"
  persistenceAgent:
    image: "quay.io/opendatahub/ds-pipelines-persistenceagent:pr-108"
  scheduledWorkflow:
    image: "quay.io/opendatahub/ds-pipelines-scheduledworkflow:pr-108"
  mlmd:
    deploy: true  # Optional component
    grpc:
      image: "quay.io/opendatahub/mlmd-grpc-server:latest"
    envoy:
      image: "registry.redhat.io/openshift-service-mesh/proxyv2-rhel8:2.3.9-2"
  mlpipelineUI:
    deploy: true  # Optional component
    image: "quay.io/opendatahub/ds-pipelines-frontend:pr-108"
  objectStorage:
    minio:
      deploy: true
      image: 'quay.io/opendatahub/minio:RELEASE.2019-08-14T20-37-41Z-license-compliance'

Then run the following:
cd $(mktemp -d)
git clone git@github.com:opendatahub-io/data-science-pipelines.git
cd data-science-pipelines/
git fetch origin pull/108/head
git checkout -b pullrequest 8c0b371b731c6d6c9c45705bbb8d37840f22fe04
oc apply -f dspa.pr-108.yaml

More instructions here on how to deploy and test a Data Science Pipelines Application.

A set of new images have been built to help with testing out this PR:
API Server: quay.io/opendatahub/ds-pipelines-api-server:pr-108
DSP DRIVER: quay.io/opendatahub/ds-pipelines-driver:pr-108
DSP LAUNCHER: quay.io/opendatahub/ds-pipelines-launcher:pr-108
Persistence Agent: quay.io/opendatahub/ds-pipelines-persistenceagent:pr-108
Scheduled Workflow Manager: quay.io/opendatahub/ds-pipelines-scheduledworkflow:pr-108
MLMD Server: quay.io/opendatahub/mlmd-grpc-server:latest
MLMD Envoy Proxy: registry.redhat.io/openshift-service-mesh/proxyv2-rhel8:2.3.9-2
UI: quay.io/opendatahub/ds-pipelines-frontend:pr-108


Support new default argument for builtin max and min

Starting in Python 3.4 the builtins max and min support a new keyword-only argument default that allows to specify the value to be returned in case of an empty sequence. It appears that future doesn't provide replacement builtins with that semantics. Shouldn't it do so?

Looking into this issue.

Just for reference, see #459


Version for MacOS

This is amazing tool and I would like to ask if there will be version for macOS?

The program can work for mac and a binary can be compiled. Unfortunately I don't have a macOS device to test the steps to get it compiled.
I know people have gotten it working using the source code and command line on mac, I think opus and portaudio are additional dependencies that mac needs to get working.

I have macOS on M1 device and I can try to achieve something if there is some guidance on the topic. Any resource I can look at?

I use Github Actions and PyInstaller to automatically build and upload an exe everytime I make a new release. Github actions supports macOS instances and when PyInstaller is run in a macOS environment it will make an executable for macOS.
The steps will be similar but syntax and dependencies will probably change. You'll need to add a macOS workflow to the workflow file and probably create a spec file thats specific for macOS.
Some resources you can look at
https://pyinstaller.readthedocs.io/en/stable/usage.html#building-mac-os-x-app-bundles
https://pyinstaller.readthedocs.io/en/stable/spec-files.html
https://docs.github.com/en/actions/learn-github-actions

I used brew to install the prerequisites, and the UI comes up nicely, or I am able to use the command line.
However, I never get the output "Playing audio in {channel.name}" from cli.py.
I inserted print statements prior to that and everything up to voice.play(discord.PCMAudio(stream)) works.
I don't know the discord API or the voice API. Thoughts on my next steps?
Oh yeah - unsurprisingly, the bot doesn't play any audio.

Update: found the discord.log. The following error is in it:
2021-08-30 18:09:21,189:DEBUG:discord.gateway: Sending voice websocket frame: {'op': 5, 'd': {'speaking': 1, 'delay': 0}}.
2021-08-30 18:09:21,189:DEBUG:discord.gateway: Sending voice websocket frame: {'op': 5, 'd': {'speaking': 0, 'delay': 0}}.
2021-08-30 18:09:21,193:INFO:discord.opus: error has happened in opus_encoder_ctl
2021-08-30 18:09:21,193:INFO:discord.opus: "invalid argument" has happened

if this helps, I have version 1.3.1 of opus installed.

Reducing the samplerate from 48000 to 48 gets rid of the invalid argument error, but now no error is output and it still doesn't output audio.

Just found the DAP_error.log file. Here's what happens with the sample rate set to 48 (not surprising - including only to contrast with the next error)
  File "/opt/homebrew/lib/python3.9/site-packages/sounddevice.py", line 2738, in _check
    raise PortAudioError(errormsg, err)
sounddevice.PortAudioError: Error opening RawInputStream: Invalid sample rate [PaErrorCode -9997]

Here's the error with the default sample rate from git
2021-08-30 20:35:37 Error on cli connect
Traceback (most recent call last):
  File "/Users/stephen/git/discord-audio-pipe/cli.py", line 18, in connect
    voice.play(discord.PCMAudio(stream))
  File "/opt/homebrew/lib/python3.9/site-packages/discord/voice_client.py", line 564, in play
    self.encoder = opus.Encoder()
  File "/opt/homebrew/lib/python3.9/site-packages/discord/opus.py", line 294, in __init__
    self.set_fec(True)
  File "/opt/homebrew/lib/python3.9/site-packages/discord/opus.py", line 329, in set_fec
    _lib.opus_encoder_ctl(self._state, CTL_SET_FEC, 1 if enabled else 0)
  File "/opt/homebrew/lib/python3.9/site-packages/discord/opus.py", line 92, in _err_lt
    raise OpusError(result)
discord.opus.OpusError: invalid argument
2021-08-30 20:35:37 Task exception was never retrieved
future: <Task finished name='Task-2' coro=<connect() done, defined at /Users/stephen/git/discord-audio-pipe/cli.py:7> exception=SystemExit(1)>
Traceback (most recent call last):
  File "/Users/stephen/git/discord-audio-pipe/cli.py", line 18, in connect
    voice.play(discord.PCMAudio(stream))
  File "/opt/homebrew/lib/python3.9/site-packages/discord/voice_client.py", line 564, in play
    self.encoder = opus.Encoder()
  File "/opt/homebrew/lib/python3.9/site-packages/discord/opus.py", line 294, in __init__
    self.set_fec(True)
  File "/opt/homebrew/lib/python3.9/site-packages/discord/opus.py", line 329, in set_fec
    _lib.opus_encoder_ctl(self._state, CTL_SET_FEC, 1 if enabled else 0)
  File "/opt/homebrew/lib/python3.9/site-packages/discord/opus.py", line 92, in _err_lt
    raise OpusError(result)
discord.opus.OpusError: invalid argument

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/stephen/git/discord-audio-pipe/main.pyw", line 166, in <module>
    loop.run_until_complete(main(bot))
  File<EMAIL_ADDRESS>line 629, in run_until_complete
    self.run_forever()
  File<EMAIL_ADDRESS>line 596, in run_forever
    self._run_once()
  File<EMAIL_ADDRESS>line 1890, in _run_once
    handle._run()
  File<EMAIL_ADDRESS>line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/Users/stephen/git/discord-audio-pipe/cli.py", line 24, in connect
    sys.exit(1)
SystemExit: 1

Running on an Intel Mac, I don't get that error, I instead get this error:
||PaMacCore (AUHAL)|| Error on line 1277: err='-66748', msg=Unknown Error
Exception in voice thread Thread-3
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/discord/player.py", line 603, in run
    self._do_run()
  File "/usr/local/lib/python3.9/site-packages/discord/player.py", line 590, in _do_run
    data = self.source.read()
  File "/usr/local/lib/python3.9/site-packages/discord/player.py", line 117, in read
    ret = self.stream.read(OpusEncoder.FRAME_SIZE)
  File "/Users/stephen/git/discord-audio-pipe/sound.py", line 18, in read
    data = self.stream.read(frames, exception_on_overflow = False)[0]
AttributeError: 'NoneType' object has no attribute 'read'

2021-09-02 22:01:03 Error on change_device
Traceback (most recent call last):
  File "/Users/stephen/git/discord-audio-pipe/gui.py", line 142, in change_device
    self.stream.change_device(selection)
  File "/Users/stephen/git/discord-audio-pipe/sound.py", line 28, in change_device
    self.stream = sd.RawInputStream(device=num)
  File "/usr/local/lib/python3.9/site-packages/sounddevice.py", line 1186, in __init__
    _StreamBase.__init__(self, kind='input', wrap_callback='buffer',
  File "/usr/local/lib/python3.9/site-packages/sounddevice.py", line 892, in __init__
    _check(_lib.Pa_OpenStream(self._ptr, iparameters, oparameters,
  File "/usr/local/lib/python3.9/site-packages/sounddevice.py", line 2738, in _check
    raise PortAudioError(errormsg, err)
sounddevice.PortAudioError: Error opening RawInputStream: Internal PortAudio error [PaErrorCode -9986]
2021-09-02 22:01:06 Task was destroyed but it is pending!
task: <Task pending name='Task-3' coro=<GUI.run_Qt() running at /Users/stephen/git/discord-audio-pipe/gui.py:381> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x113c9dd60>()]>>

Thanks for taking a look, apparently the command for installing PortAudio is
brew install portaudio --HEAD

Without the --head part, other people are reporting errors

Awesome! I got that to work on my Intel Mac. However, on my M1 Mac, I still get the Illegal Argument exception from the sample rate.
Not sure what sample rate I should use.

From your error logs, it looks like the function opus_encoder_ctl(...) from the M1 opus library is expecting different arguments. You could try downgrading your opus or try brew install opus --HEAD like for PortAudio, although I'm not sure if that will fix the issue.

Any luck with the macOS for M1 port?

Bump. This would be excellent if someone could get this working on MacOS.

bump having same issues

The issue should be fixed now in discord.py, you will have to get a dev version of d.py instead of the one in the requirements.txt
$ git clone https://github.com/Rapptz/discord.py
$ cd discord.py
$ python3 -m pip install -U .[voice]

discord.py 2.0.0 released and contains the fix for this issue https://github.com/Rapptz/discord.py/issues/8046, updated the requirements


(112770879) “Washington, D.c.” capitalized incorrectly

Theoretically "." is a case-ignorable character, so "D.C." is conceptually the same as "DC", whose capitalized mapping would be "Dc". This behavior doesn't seem to align with real-world use cases well though. Workaround this by splitting the string with "." and titlecasing each substring individually.

@swift-ci test

@swift-ci please test


SELU

Can you describe a bit about how the SELU scales change in different settings, such as with dropout and ConvNets?
Thanks!
Michael (michael.aurelien)

Hi Michael,
Great question. This is actually pretty well explained in the Self-Normalizing Neural Networks paper that introduces SELU, I highly recommend reading it.
In short, the goal is to ensure that the variance and mean of each consecutive layer in the network remains constant during training and across layers, to avoid the exploding/vanishing gradients issue. The resulting neural net is said to be "Self-Normalizing". The default scale for the SELU activation function is tuned "just right" to ensure this property in a regular feedforward neural net (assuming the inputs have unit variance and zero mean). However, if the inputs have a different variance or mean, then you would need to tweak the SELU hyperparameters (but in practice, it's much simpler to normalize the inputs so that they have zero mean and unit variance).
Also, if you use regular dropout during training, then the neural network will no longer be Self-Normalizing even if you use the SELU activation function.  I won't get into the maths, since it's well explained in the paper, but basically with dropout the variance and mean end up changed at each layer. To avoid this, the paper introduces a variant of dropout, called alpha dropout that is compatible with SELU activation and preserves the Self-Normalizing property of the network.
I have not looked into this much further yet, but I suppose that some architectures will require very specific hyperparameter values for the SELU activation function (i.e., tuning the scale and alpha) in order for the network to be self-normalized (e.g., what to do with a convolutional layer or a pooling layer, or with a recurrent neural net?).
Hope this helps!
Aurélien

Splendid explanation. Thank you. (•◡•)/

Brilliant! I will read the article and get back to you if I put together anything cool. Aurelien is my new hero!!


Expected behavior
Processor load balances and beings processing events.
Actual behavior (include Exception or Stack Trace)
The processor never begins invoking the process event callback, it continuously raises errors instead. The error is raised every 10 seconds, and checking the storage account, there are no leases being created.
To Reproduce
await this.ProcessorClient.StartProcessingAsync(cancellationToken);
Environment:
Azure.Messaging.EventHubs.Processor 5.1.0
Windows Server 2016, NET Framework 4.7.2
Visual Studio 16.5.5

This is the first time my team is using the newer v5 SDK, our previous clients all used v4, where we saw the processor pick up events very quickly and begin working.

We root caused this to the BlobContainerClient that was passed to the processor not handling the connection string that was used. The errors all said that the resource did not exist while trying to enumerate the container.


Remove resets from the replication protocol

tl;dr: collapse the reset mechanism in the protocol to a cold start.
This greatly reduces complexity in the protocol and removes potential
for large scale data loss.
Due to directory purging, we sometimes cannot produce a diff for a
given client's clock. In these situations the protocol sends a
'reset'. This is a full dump of the table with a marker to tell a
client to apply it as an overwrite. (There's logic to handle
concurrent writes.)
The purging/GC behaviour is essential but this way of handling the
situation for replication is undesirable:

If the logic has bugs, we're dealing with entire table re-writes,
and so it's likely to go catastrophically wrong and lead to large
scale data loss. Particularly on the server, which is handling the
data from multiple clients, and applying mass deletes concurrently
for partial views due to privacy. This is very difficult to get
right and makes changing the protocol dangerous and difficult.

Clients will keep up with the server most of the time and so resets
are a rare case. This makes resets an infrequently exercised path
that is not tested in regular day to day operation. With the above
point, they're very dangerous.

They double the complexity of the entire replication algorithm as
they're a different case to handle orthogonal to everything else.

Instead, this diff eliminates push-based resets and replaces them with
a pull based mechanism that (to distinguish it) we call 'rebuilds'.
If we cannot create a diff, due to GC/purge, then we send a message
that simply says 'rebuild'. The recipient then must clear out their
data and reconnect from 0. This collapses this case to a regular cold
start which is a heavily exercised and tested path. It also benefits
the client as they'll receive optimisations that were never
implemented for resets, such as chunking.
Receiving a rebuild works great for clients. The server, however, has
rebuild processing disabled as a) it cannot reconnect to a client
and rebuild and b) we DO NOT WANT to handle mass data rebuilding on
the server, this is where it is most dangerous.
To make this work, we ensure that clients never send a rebuild
message. This is a scalable proposition for clients. We track where
the client has been ack'd up to and ensure we never purge past this
point. When calculating a diff we always have the data needed to
produce it without rebuilds. The server can't do this as it needs to
scale to many clients that can lag arbitrarily.

This was quite the slog. I was surprised by how much I needed to track down, debug, and rework. So sorry it's a large PR: it needs to be merged atomically.
The main change is described above. To make it work and pass tests/soak I had to:

make the soak test much more robust in its expectation checking
rework chunking in the tailer
change filtering for tail since 0 to not exclude user's changes
create groups atomically under a single txn. This required special casing privacy rules specifically for groups to break the cyclic dependency. It also meant moving privacy checks in to the lock in write-csv and checking them incrementally.
relax when we issue rebuilds due to privacy changes. Now we don't rebuild if the change was made by this user. This is more efficient and also leads to a better UX for group creators - see the commit for details.
several more minor changes (I wrote detailed descriptions in all of the commits)

Lastly, here's a good proxy for why I'm doing this: https://github.com/SkipLabs/skdb/pull/182/commits/13c1352d35358e388fefcad253259f532c849cbb I was able to remove ~1k lines of tests as we remove the consideration entirely.

I'm confused. The mem test works for me locally every time. If it runs out of memory it doesn't timeout, it crashes, so I think this is actually due to a perf regression. But I just measured and I actually see a slight perf improvement with my latest changes.
I'm going to try re-running to see if this is reproducible or whether I just got really unlucky.

Have you tried locally when limiting docker to 4 CPUs and 8GB RAM? Sometimes funny perf things happen as you approach memout...

Good idea!

Benchmarking locally, there is no regression in memory or cpu util.
SSHing in to CircleCI, I see that the box is occasionally highly saturated (run length >> num cpu cores). Running the test suite in a loop, the threads and mem regression tests will occasionally timeout: they're longer running and are presumably being starved CPU time.
I bumped the timeout for the flaky tests. Let's see if it passes now...


Lack of coherent high level introductory documentation about Kubernetes

I tried to read a single document that explained the Kubernetes model to me in a coherent way. I could not really find anything: the information I sought seemed to be fragmented across many places. I think we need one document, page etc. which explains in a high level manner what Kuberentes is with a few supporting illustrative examples. I would view this as part of the current "UX" focus. I would be very happy to take a stab at this and to some extent started to do this in a draft document I wrote for a blog that explains how to do logging on Kubernetes.

This was closed by #5063.

Where is the high level documentation about Kubernetes?

https://github.com/GoogleCloudPlatform/kubernetes/blob/361c208a7dd3684a9130d1d8a91093a835fd1880/docs/overview.md
feel free to reopen this issue and assign to yourself if you are interested in pursuing it further. Realistically I don't think we're going to have more time to work on this in the near future given that we have > 100 open issues tagged with milestone 1.0.

Thanks. I have on my long list of TODOs to write an ACM Queue article about Kubernetes. I hope some of that material could be contributed back here.


md-autocomplete optionsSelection

What is the expected behavior?
I want to call a function when an option is selected. After some search it seem that i have to use :
property optionSelections of MdAutocompleteTrigger
In the documentation : https://material.angular.io/components/component/autocomplete optionSelections Stream of autocomplete option selections.
I dont understand that , what is a stream, how to implement this ?
What is the current behavior?
Iam able to have MdAutocompleteTrigger In my component i add : @ViewChild(MdAutocompleteTrigger) trigger:MdAutocompleteTrigger;  ngAfterContentInit() { setTimeout(() =>this.trigger.openPanel()); } but i cannot use optionSelections, can someone can give me an example
I try this ngAfterContentInit() { setTimeout(() => Observable.merge(...this.trigger.optionSelections) .subscribe((option)=>console.log(option))); } but not working
Is there anything else we should know?

Please keep GitHub issues for bug reports / feature requests. Better avenues for troubleshooting / questions are stack overflow, gitter, mailing list, etc.
Here is a plunker example though: https://plnkr.co/edit/AaBESvqvT40htQPlAp0b?p=preview.  In the next release, you shouldn't have to merge the selection events yourself, see https://github.com/angular/material2/pull/3212

Thank you sorry

@kara The sample you provided only fires the option selected "event" once. If you change the text and select another option the new option event is not fired. Any ideas?

thank you 're write


feat(table): row actions

Summary
Support for "row actions" (buttons in last column of table).  The overflow design is still being finalized, so with this implementation all buttons are visible.

Change List (commits, features, bugs, etc)
(see PR)
Related Issues
(none)
Acceptance Test (how to verify the PR)

View stateful story and row expansion and actions story and verify.

:tada: This PR is included in version 1.7.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.7.0 :tada:
The release is available on npm package (@release-1.x dist-tag)
Your semantic-release bot :package::rocket:


drivers: pinctrl: add pinctrl driver for armv7-m/armv8-m

Is your enhancement proposal related to a problem? Please describe.
As noted in #39740 the armv7m/armv8-m implementations uses a custom pinctrl implementation (as seen in https://github.com/zephyrproject-rtos/zephyr/blob/main/boards/arm/v2m_musca_b1/pinmux.c and https://github.com/zephyrproject-rtos/zephyr/blob/main/boards/arm/mps2_an385/pinmux.c).
Describe the solution you'd like
The armv7m/armv8-m implementations should use one of the standard Zephyr pinctrl devicetree representations as described in https://docs.zephyrproject.org/latest/hardware/pinctrl/index.html#devicetree-representation along with a pinctrl driver.
Describe alternatives you've considered
None.
Additional context
None.

@ithinuel Do you have the bandwidth to look at this after the holidays? If you don't, let me know and I'll schedule time in for it myself. It completely fell off my radar. 😬

I think I should be àble to do that at some point in this quarter. 👍

@ithinuel Any plans to address this?

Yes, although low in priority. Should it be escalated to a higher prio?

Yes, although low in priority. Should it be escalated to a higher prio?

Well, pinmux was deprecated in Zephyr v3.2 and the plan was to remove all non-pinctrl muxing too. This was nearly two years ago. I think this deserves some attention.


XRDP-0.9.7 queries

Hi,
On RHEL6 we could see xrdp-0.6.1 only available in epel repository.
Can anyone please let us know does that means this latest version cannot compatible for RHEL6.

It's up to EPEL team.


[FEATURE] task-stealing algorithm with tasks queueing

Duplicate issue

[X] I've searched for any related issues and avoided creating a duplicate issue.

Description
The current implementation is really close to the work-stealing requirements:

one queue per worker
concurrency control per worker

O(1) queue must become O(1) deque (fairly easy, a queue is a specialized deque)
The dedicated stealing worker will be the main one to avoid the race conditions if the empty deque worker perform the stealing itself randomly on the others. Triggering the stealing on the main worker can be an event callback on a worker node event emitter.
It can't be a standalone worker choice strategy, it's more a tasks queueing rescheduling extension that can help at dealing with starvation under load with some worker choice strategies and back pressure not yet generalized to the whole pool.
It can also make things worse under certain circumstances.
References:

https://en.wikipedia.org/wiki/Work_stealing
https://core.ac.uk/download/pdf/148002471.pdf

Attachments
No response

Done in the two variants: under back pressure and once a queue is empty.


AntDetailNav different heights

The height of the the detail nav is with button higher as without button.
Should the detail nav get a fix height to keep the height the same?

Yes please


Fix panic in StateFromPeopleNowPresent modifier

Fixes #102.
Checklist

[x] Tests added if applicable
[x] README updated if applicable
[x] CHANGELOG updated if applicable
[x] If a commit includes a breaking change, include the string [breaking-change] somewhere in the commit message

OK

@rnestler well, then, can you approve this PR please?


Add an Optional About Me Section at the Bottom of Each Post

Added an optional about me section to the bottom of each post.
Accidentally changed the file permissions in source/scss/_partial though... t.t

Thank you so much for these jobs @bdupharm.
BUT this theme will no longer accepts new features，even should be cut something to return the original ideals - clean, clean and clean!
Fork this theme and create your customize theme is free :)

Ohh okay gotcha. Yea I''ll just continue customizing with my forked theme then.
P.S. Looked around for a bit and settled on your theme. It really is very clean and simple. The guys at work like it too. Good job man!


Switch dependencies to the stable versions

Pull Request Test Coverage Report for Build 272

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

Totals

Change from base Build 264:
0.0%

Covered Lines:
4233

Relevant Lines:
7225

💛  - Coveralls


Closes #20 - Get a press with a given ID.

Hi @ches
Just another pull request from the to-do list

Hi @ches
Is this pull request OK for you?
Maybe you could use some help to maintain this repository? :)

Apologies for leaving this unanswered for such a long time.
Hmm, this change would break backwards compatibility so it would need to come with a v2.0 version bump—at this point I'd rather not do that just for this minor change.
It's unfortunate because get_press is clearly the right name for consistency with the rest of the library, but the endpoint for getting a single press item by ID didn't exist when it was first written so that's why this naming wasn't anticipated.
Here's what I think the preferable course for me is now:

Leave get_press unchanged.
Add the new endpoint support with the name get_press_by_id.
Alias get_press to also be callable as get_startup_press (get_press_startups is backward naming IMO under the same reasoning as 06c5df3b355a7da623).
Have get_press issue a deprecation warning that its behavior will change in the next major version release of the library, and users should migrate to using get_startup_press.
For 2.0 we will change get_press_by_id to get_press, and deprecate the former.

Could you make these changes? Please annotate using the @deprecated YARD tag, and I'd be agreeable to adding a helper library with minimal dependencies like deprecations—we do not currently depend even transitively on activesupport so I am not willing to pull it in to use ActiveSupport::Deprecation.
Thanks for your patience!


Update DispatcherUI; can dispatch box with promoted requirement.

Update DispatcherUI; can dispatch box with promoted requirement.
This pull request is related to this other pull request :
https://github.com/ImageEngine/rendering/pull/132

Thanks Cedric!


Rename projects

It should be possible to rename projects (the name is not necessarily the name in the package.json file)

Let me know when this is in - so I can show how to use it (ideally a context menu in Task manager, since it reaches everywhere - but this may not be easy to implement)

Thinking of adding the rename option to the context menu of the project list instead, which was just added:

I use context menus (and expect them in all tools) a lot - it is very convenient, unless (like in Gitter), one can cause a lot of harm if allowing delete without checking whether that was the intent :-)


Initial attempt at a unit test for the EnvelopeEncryptionFilter

ProduceRequestDataCondition feels like something we might want to follow up on regardless of wether you feel these tests are useful for the filter in question.

@SamBarker this looks like a good start, thank you! Can you add something for the fetch path? It doesn't have to be more than a single test, but enough that the rest of us have something to copy?

I've added something, but its not very satisfying yet. In particular it really wants the conditions I've added in https://github.com/kroxylicious/kroxylicious/pull/756 but there is a lot of other cruft to make things work.